摘要:
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.
摘要:
Techniques for facilitating the sharing of metadata. In one set of embodiments, a metadata document is referenced by a plurality of software applications as a URL, the URL comprising a protocol component identifying a specialized protocol name and a path component identifying a name and namespace of the metadata document. The specialized protocol name indicates that the metadata document is a shared document stored in a shared metadata repository. When an application in the plurality of software applications needs to access the metadata document, the URL is passed to a URL resolver configured to identify the shared metadata repository based on configuration information associated with the application. The metadata document is then retrieved from the shared metadata repository. Since many existing application framework components and standards are adapted to reference metadata documents as URLs, embodiments of the present invention facilitate metadata reuse with minimal or no code changes to the applications or their underlying framework.
摘要:
A method and apparatus for reducing down time in updating applications with metadata is provided. The application contains both code and metadata. A copy of the application is made. A software update is installed on the copy of the application. During installation, the original application continues to run and service users, who may modify the metadata of the original application. Periodically, the metadata of the copy of the application is updated to incorporate changes to the metadata of the original application. When the software update is completed, users are prevented from further modifying the metadata of the original application. The metadata of the copy of the application is updated to incorporate the final changes to the metadata of the original application. Users are redirected from the original application to the copy of the application.
摘要:
Techniques for facilitating the sharing of metadata. In one set of embodiments, a metadata document is referenced by a plurality of software applications as a URL, the URL comprising a protocol component identifying a specialized protocol name and a path component identifying a name and namespace of the metadata document. The specialized protocol name indicates that the metadata document is a shared document stored in a shared metadata repository. When an application in the plurality of software applications needs to access the metadata document, the URL is passed to a URL resolver configured to identify the shared metadata repository based on configuration information associated with the application. The metadata document is then retrieved from the shared metadata repository. Since many existing application framework components and standards are adapted to reference metadata documents as URLs, embodiments of the present invention facilitate metadata reuse with minimal or no code changes to the applications or their underlying framework.
摘要:
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.
摘要:
A method and apparatus for reducing down time in updating applications with metadata is provided. The application contains both code and metadata. A copy of the application is made. A software update is installed on the copy of the application. During installation, the original application continues to run and service users, who may modify the metadata of the original application. Periodically, the metadata of the copy of the application is updated to incorporate changes to the metadata of the original application. When the software update is completed, users are prevented from further modifying the metadata of the original application. The metadata of the copy of the application is updated to incorporate the final changes to the metadata of the original application. Users are redirected from the original application to the copy of the application.