Managing service dependencies across virtual machines in a development environment
First Claim
1. A method, comprising:
- retrieving information identifying one or more service dependencies for a first service hosted by a virtual machine being instantiated in a development environment; and
for each service dependency of the one or more service dependencies;
identifying whether the service dependency is accessible by the first service in the development environment;
upon determining that the service dependency is not accessible by the first service in the development environment;
spawning an instance of the service dependency by one of;
instantiating a virtual machine to execute the instance of the service dependency, wherein the service dependency comprises a dependency internal to the development environment, orauthenticating with a provider of the service dependency and requesting that the provider of the service dependency spawn an instance of the service dependency, wherein the service dependency comprises a dependency external to the development environment; and
connecting the service dependency to the virtual machine hosting the first service; and
upon determining that the service dependency is accessible by the first service in the development environment, connecting the service dependency to the virtual machine hosting the first service.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure relates to managing service dependencies in a virtual machine-based development environment. An example method generally includes retrieving information identifying one or more service dependencies for a first service hosted by a virtual machine being instantiated in a development environment. For each service dependency of the one or more service dependencies, a service dependency manager identifies whether the service dependency is accessible by the first service in the development environment. Upon determining that the service dependency is not accessible by the first service in the development environment, the service dependency manager spawns an instance of the service dependency and connects the service dependency to the virtual machine hosting the first service. If the service dependency is accessible by the first service in the development environment, the service dependency manager connects the service dependency to the virtual machine hosting the first service.
8 Citations
18 Claims
-
1. A method, comprising:
-
retrieving information identifying one or more service dependencies for a first service hosted by a virtual machine being instantiated in a development environment; and for each service dependency of the one or more service dependencies; identifying whether the service dependency is accessible by the first service in the development environment; upon determining that the service dependency is not accessible by the first service in the development environment; spawning an instance of the service dependency by one of; instantiating a virtual machine to execute the instance of the service dependency, wherein the service dependency comprises a dependency internal to the development environment, or authenticating with a provider of the service dependency and requesting that the provider of the service dependency spawn an instance of the service dependency, wherein the service dependency comprises a dependency external to the development environment; and connecting the service dependency to the virtual machine hosting the first service; and upon determining that the service dependency is accessible by the first service in the development environment, connecting the service dependency to the virtual machine hosting the first service. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method, comprising:
-
retrieving information identifying one or more service dependencies for a first service hosted by a virtual machine being instantiated in a development environment; for each service dependency of the one or more service dependencies; identifying whether the service dependency is accessible by the first service in the development environment by; transmitting one or more status request messages to one or more virtual machines executing in the development environment, and determining that the service dependency is not accessible by the first service if one of; an invalid response to the one or more status request messages is received within a timeout period, or a response to the one or more status request messages is not received within a timeout period; upon determining that the service dependency is not accessible by the first service in the development environment; spawning an instance of the service dependency; and connecting the service dependency to the virtual machine hosting the first service; and upon determining that the service dependency is accessible by the first service in the development environment, connecting the service dependency to the virtual machine hosting the first service. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A method, comprising:
-
retrieving information identifying one or more service dependencies for a first service hosted by a virtual machine being instantiated in a development environment; for each service dependency of the one or more service dependencies; identifying whether the service dependency is accessible by the first service in the development environment by; transmitting one or more status request messages to one or more virtual machines executing in the development environment, and determining that the service dependency is accessible by the first service if a valid response to the one or more status request messages is received within a timeout period; upon determining that the service dependency is not accessible by the first service in the development environment; spawning an instance of the service dependency; and connecting the service dependency to the virtual machine hosting the first service; and upon determining that the service dependency is accessible by the first service in the development environment, connecting the service dependency to the virtual machine hosting the first service. - View Dependent Claims (15, 16, 17, 18)
-
Specification