Resource deployment based on conditions
First Claim
1. A method, comprising:
- identifying, during a build of an application, conditions under which resources are applicable to a build of the application, the resources including variants for use by the application in particular contexts;
creating an index that enumerates the resources, references to the resources, metadata corresponding to the resources, and the conditions under which the resources are applicable to the build of the application, wherein the index is further to enable detection of a change in the at least one resource, enforce constraints on the at least one resource, enforce licensing, and enforce authentication based at least in part on the metadata;
recognizing tokens in the metadata enumerated in the index to find the resources that meet applicability information of a resource package for the application; and
automatically partitioning the resources into the resource package for use by the application at runtime based at least in part on the conditions and metadata in the index, the resource package including at least one reference to at least one of the resources based at least in part on at least one of the conditions matching at least one other of the conditions of one other of the resources in the resource package.
2 Assignments
0 Petitions
Accused Products
Abstract
Architecture that facilitates the package partitioning of application resources based on conditions, and the package applicability based on the conditions. An index is created for a unified lookup of the available resources. At build time of an application, the resources are indexed and determined to be applicable based on the conditions. The condition under which the resource is applicable is then used to automatically partition the resource into an appropriate package. Each resource package then becomes applicable under the conditions in which the resources within it are applicable, and is deployed to the user if the user merits the conditions (e.g., an English user will receive an English package of English strings, but not a French package). Before the application is run, the references to the resources are merged and can be used to do appropriate lookup of what resources are available.
-
Citations
20 Claims
-
1. A method, comprising:
-
identifying, during a build of an application, conditions under which resources are applicable to a build of the application, the resources including variants for use by the application in particular contexts; creating an index that enumerates the resources, references to the resources, metadata corresponding to the resources, and the conditions under which the resources are applicable to the build of the application, wherein the index is further to enable detection of a change in the at least one resource, enforce constraints on the at least one resource, enforce licensing, and enforce authentication based at least in part on the metadata; recognizing tokens in the metadata enumerated in the index to find the resources that meet applicability information of a resource package for the application; and automatically partitioning the resources into the resource package for use by the application at runtime based at least in part on the conditions and metadata in the index, the resource package including at least one reference to at least one of the resources based at least in part on at least one of the conditions matching at least one other of the conditions of one other of the resources in the resource package. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer-implemented resource management system, comprising:
-
at least one processor; one or more memory devices having computer-executable instructions stored thereon that are executable by the at least one processor to perform operations comprising; identifying, at a build time of an application, at least one condition under which at least one resource is applicable to a build of the application; generator, at the build time of the application, an index indicating the at least one condition, the at least one resource, and metadata corresponding to the at least one resource, wherein the indexing component is further to enable detection of a change in the at least one resource, enforce constraints on the at least one resource, enforce licensing, and enforce authentication based at least in part on the metadata; automatically partitioning the at least one resource indicated in the index into at least one resource package for use by the application based at least in part on the at least one condition and the metadata, the at least one resource package including a reference to the at least one resource based at least in part on the at least one condition matching at least one other condition of one other resource in the at least one resource package; and recognizing, at a runtime of the application, tokens in the metadata to find applicable resources that meet specific applicability information of the at least one resource package. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13)
-
-
14. A memory device having instructions stored thereon that, in response to execution by a processing device, cause the processing device to perform operations comprising:
-
identifying conditions under which resources are applicable to a build of an application at a build time of the application, the resources including variants for use by the application in particular contexts; creating an index that enumerates the resources during the build time of the application, references to the resources, metadata corresponding to the resources, and the conditions under which the resources are applicable to the build of the application, wherein the index is further to enable detection of a change in the at least one resource, enforce constraints on the at least one resource, enforce licensing, and enforce authentication based at least in part on the metadata; recognizing tokens in the metadata in the index to find the resources that meet applicability information of a resource package for the application during a run time of the application; and partitioning the resources into the resource package for use by the application based at least in part on the conditions and the metadata in the index, the resource package including at least one reference to at least one of the resources based at least in part on at least one of the conditions matching at least one other of the conditions of one other of the resources in the resource package. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification