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 in a runtime environment of the metadata-driven software application, wherein the mainline is configured to include a mainline version of the metadata document;
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;
receiving, during a user session of the metadata-driven software application running within the runtime environment, a first request to access the metadata document; and
retrieving 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.
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.
164 Citations
24 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 in a runtime environment of the metadata-driven software application, wherein the mainline is configured to include a mainline version of the metadata document; 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; receiving, during a user session of the metadata-driven software application running within the runtime environment, a first request to access the metadata document; and retrieving 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 (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. A method for using a plurality of sandboxes to test changes to a metadata document of a metadata-driven software application, the method comprising:
-
creating the plurality of sandboxes in a runtime environment of the metadata-driven software application, wherein each of the plurality of sandboxes is configured to include a sandbox version of the metadata document, and wherein each sandbox version is based on a mainline version of the metadata document included in a mainline of the runtime environment; and in response to a request received during a user session of the metadata-driven software application running within the runtime environment, retrieving either the mainline version stored in the mainline or one of the sandbox versions included in the plurality of sandboxes, wherein the retrieving is based on whether a sandbox context identifying one of the plurality of sandboxes is present in a session context of the user session.
-
-
22. A runtime environment for facilitating the testing of changes to a metadata document of a metadata-driven software application, the runtime environment comprising:
-
a data repository configured to store a mainline for the metadata-driven software application, the mainline including a mainline version of the metadata document, and to store 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 runtime environment, a request 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. A machine-readable medium for a computer system, the machine-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 in a runtime environment of the metadata-driven software application, wherein the mainline is configured to include a mainline version of the metadata document; 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; receiving, during a user session of the metadata-driven software application running within the runtime environment, a first request to access the metadata document; and retrieving 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.
-
Specification