Enforcing runtime policies in a networked computing environment
First Claim
1. A computer-implemented method for enforcing runtime policies in a networked computing environment, comprising:
- identifying an application having computer code comprising;
a first portion of the computer code corresponding to a first component of the application, anda second portion of the computer code corresponding to a second component of the application;
applying a first annotation to the first portion of the computer code, the first annotation comprising metadata defining a set of runtime policies for executing the first portion of computer code and data;
applying a second annotation to the second portion of the computer code, the second annotation comprising metadata defining a set of runtime policies for executing the second portion of computer code and the data;
receiving a request to run the application;
dynamically determining a set of parameters corresponding to the execution of the computer code and the data of the application, wherein the set of parameters comprises a geographic location for executing the computer code and data;
comparing the set of parameters corresponding to the execution of the computer code and the data of the application with the set of runtime policies for executing each of the first portion of computer code, the second portion of computer code, and the data; and
enforcing, at a runtime of the application, the set of runtime policies for executing each of the first portion of the computer code, the second portion of the computer code, and the data by running the first portion of the application without running the second portion of the application.
4 Assignments
0 Petitions
Accused Products
Abstract
Embodiments of the present invention provide approaches for enforcing runtime policies in a networked computing environment (e.g., a cloud computing environment). Specifically, in a typical embodiment, computer code and data of an application is annotated with metadata defining a set of runtime policies for executing the computer code and data. Once a request is received to run the application, a set of parameters (e.g., geographic location) corresponding to the execution of the computer code and data of the application is dynamically determined, and compared to the runtime policies. The runtime policies for executing the computer code and data are then enforced at runtime. This includes either running the application, or preventing the running of the application in the case that the set of parameters corresponding to the execution of the computer code and data of the application do not satisfy the runtime policies.
-
Citations
17 Claims
-
1. A computer-implemented method for enforcing runtime policies in a networked computing environment, comprising:
-
identifying an application having computer code comprising; a first portion of the computer code corresponding to a first component of the application, and a second portion of the computer code corresponding to a second component of the application; applying a first annotation to the first portion of the computer code, the first annotation comprising metadata defining a set of runtime policies for executing the first portion of computer code and data; applying a second annotation to the second portion of the computer code, the second annotation comprising metadata defining a set of runtime policies for executing the second portion of computer code and the data; receiving a request to run the application; dynamically determining a set of parameters corresponding to the execution of the computer code and the data of the application, wherein the set of parameters comprises a geographic location for executing the computer code and data; comparing the set of parameters corresponding to the execution of the computer code and the data of the application with the set of runtime policies for executing each of the first portion of computer code, the second portion of computer code, and the data; and enforcing, at a runtime of the application, the set of runtime policies for executing each of the first portion of the computer code, the second portion of the computer code, and the data by running the first portion of the application without running the second portion of the application. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A system for enforcing runtime policies in a networked computing environment, comprising:
-
a memory medium comprising instructions; a bus coupled to the memory medium; and a processor coupled to the bus that when executing the instructions causes the system to; identify an application having computer code comprising; a first portion of the computer code corresponding to a first component of the application, and a second portion of the computer code corresponding to a second component of the application; apply a first annotation to the first portion of the computer code, the first annotation comprising metadata defining a set of runtime policies for executing the first portion of computer code and data; apply a second annotation to the second portion of the computer code, the second annotation comprising metadata defining a set of runtime policies for executing the second portion of computer code and the data; receiving a request to run the application; dynamically determine a set of parameters corresponding to the execution of the computer code and the data of the application, wherein the set of parameters comprises a geographic location for executing the computer code and data; compare the set of parameters corresponding to the execution of the computer code and the data of the application with the set of runtime policies for executing each of the first portion of computer code, the second portion of computer code, and the data; and enforce, at a runtime of the application, the set of runtime policies for executing each of the first portion of the computer code, the second portion of the computer code, and the data by running the first portion of the application without running the second portion of the application. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computer program product for enforcing runtime policies in a networked computing environment, the computer program product comprising a computer readable hardware storage device, and program instructions stored on the computer readable storage media, to:
-
identify an application having computer code comprising; a first portion of the computer code corresponding to a first component of the application, and a second portion of the computer code corresponding to a second component of the application; apply a first annotation to the first portion of the computer code, the first annotation comprising metadata defining a set of runtime policies for executing the first portion of computer code and data; apply a second annotation to the second portion of the computer code, the second annotation comprising metadata defining a set of runtime policies for executing the second portion of computer code and the data; receive a request to run the application; dynamically determine a set of parameters corresponding to the execution of the computer code and the data of the application, wherein the set of parameters comprises a geographic location for executing the computer code and data; compare the set of parameters corresponding to the execution of the computer code and the data of the application with the set of runtime policies for executing each of the first portion of computer code, the second portion of computer code, and the data; and enforce, at a runtime of the application, the set of runtime policies for executing each of the first portion of the computer code, the second portion of the computer code, and the data by running the first portion of the application without running the second portion of the application. - View Dependent Claims (14, 15, 16, 17)
-
Specification