Sandbox support for metadata in running applications
First Claim
1. A method for facilitating the testing of changes to a metadata document of a metadata-driven software application, the method comprising:
- creating a mainline version of the metadata document in a runtime environment of the metadata-driven software application, wherein content of the metadata document defines at least in part a user-facing appearance and a behavior of the metadata-driven software application;
creating at least one sandbox in the runtime environment of the metadata-driven software application, wherein each of the at least one sandbox is configured to include a sandbox version of the metadata document, and wherein each sandbox version is based on the mainline version;
during a user session of the metadata-driven software application running within the runtime environment, receiving from the metadata-driven software application a first request to access the metadata document; and
retrieving either the mainline version or the sandbox version of the metadata document in response to the first request, wherein the retrieving is based on whether a sandbox context identifying the at least one sandbox is present in a session context of the user session.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques for using a sandbox to test changes to the metadata of a metadata-driven application. In one set of embodiments, a mainline and a sandbox are created in a runtime environment of a metadata-driven application. The mainline is configured to include a mainline version of a metadata document of the application. The sandbox is configured to include a sandbox (i.e., test) version of the metadata document. At application runtime, requests to access and/or modify the metadata document are serviced either from the mainline or the sandbox based on a sandbox context of the current user session. Thus, changes to the metadata document may be tested on the sandbox version without affecting the mainline version, and vice versa. In various embodiments, multiple sandboxes may be supported in the runtime environment. In further embodiments, the sandbox version may be merged into the mainline version without bringing the runtime environment offline.
205 Citations
32 Claims
-
1. A method for facilitating the testing of changes to a metadata document of a metadata-driven software application, the method comprising:
-
creating a mainline version of the metadata document in a runtime environment of the metadata-driven software application, wherein content of the metadata document defines at least in part a user-facing appearance and a behavior of the metadata-driven software application; creating at least one sandbox in the runtime environment of the metadata-driven software application, wherein each of the at least one sandbox is configured to include a sandbox version of the metadata document, and wherein each sandbox version is based on the mainline version; during a user session of the metadata-driven software application running within the runtime environment, receiving from the metadata-driven software application a first request to access the metadata document; and retrieving either the mainline version or the sandbox version of the metadata document in response to the first request, wherein the retrieving is based on whether a sandbox context identifying the at least one sandbox is present in a session context of the user session. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21)
-
-
22. A system comprising:
-
a processor configured to execute a metadata-driven software application in a runtime environment; a memory storing a metadata document containing content that defines at least in part a user-facing appearance or a behavior of the metadata-driven software application; a data repository configured to store a mainline version of the metadata document for the metadata-driven software application and at least one sandbox for the metadata-driven software application, the at least one sandbox including a sandbox version of the metadata document, the sandbox version being based on the mainline version; and a server communicatively coupled with the data repository, the server running a metadata engine configured to; receive, during a user session of the metadata-driven software application running within the system, a request from the metadata-driven software application to access the metadata document; and retrieve either the mainline version or the sandbox version in response to the first request, wherein the retrieving is based on whether a sandbox context identifying the at least one sandbox is present in a session context of the user session. - View Dependent Claims (23, 24, 25)
-
-
26. A non-transitory computer-readable medium for a computer system, the non-transitory computer-readable medium having stored thereon a series of instructions which, when executed by a processing component, cause the processing component to facilitate the testing of changes to a metadata document of a metadata-driven software application by:
-
creating a mainline version of the metadata document in a runtime environment of the metadata-driven software application, wherein content of the metadata document defines at least in part a user-facing appearance and a behavior of the metadata-driven software application; creating at least one sandbox in the runtime environment of the metadata-driven software application, wherein the at least one sandbox is configured to include a sandbox version of the metadata document, and wherein the sandbox version is based on the mainline version; during a user session of the metadata-driven software application running within the runtime environment, receiving from the metadata-driven software application a first request to access the metadata document; and retrieving either the mainline version or the sandbox version of the metadata document in response to the first request, wherein the retrieving is based on whether a sandbox context identifying the at least one sandbox is present in a session context of the user session. - View Dependent Claims (27, 28, 29, 30, 31, 32)
-
Specification