Methods for enabling a computer to migrate microservices and to perform microservice templating
AssigneeADP, Inc.
InventorsJoe Groseclose, Lohit J. Sarma, Darshan Kapadia
Life of this patent
Estimating the term…
Abstract
Enabling migration of code in a service oriented architecture executed in a distributed computing environment. A migration definition for generating migrations is received, the migration definition exposing a tangible set of matchers and filters configured to locate code constructs and codebase settings of the code to be migrated. The code to be migrated is user defined. A deterministic script is scaffolded from the tangible set of matchers and filters to find instances of code to update or settings to update within the distributed environment. The instances of the code settings are updated, whereby the code in the service oriented architecture is migrated.
Claims21
A method comprising:
- migrating executable program code in a service oriented architecture executed in a distributed computing environment by a processor comprising:
- receiving a migration definition for generating migrations, the migration definition exposing a tangible set of matchers and filters configured to locate code constructs and codebase settings of the executable code to be migrated, wherein the executable program code to be migrated is defined by a user;
- scaffolding a deterministic script from a template based on the tangible set of matchers and filters to find instances of code to update or settings to update within the distributed computing environment;
- and
- updating the instances of code or updating the settings, wherein updating is performed by using a parsed or tokenized code tree traversal and stateful data migrations to migrate code to be migrated, wherein updating consumes updates maintained in a centralized repository;
- and independently tracks its own upgraded state,
- wherein stateful data migrations include a toolchain.
The method of claim h further comprising the processor:
- maintaining a state of to where a consuming code base has migrated at each point in time.
A computer program product, comprising:
- a computer-readable storage media comprising instructions which, when executed by a processor, migrates code in a service oriented architecture executed in a distributed computing environment, wherein the code in the service oriented architecture comprises executable program code to be migrated, the instructions comprising:
- first program code for receiving a migration definition for generating migrations, the migration definition exposing a tangible set of matchers and filters configured to locate code constructs and codebase settings of the code to be migrated, wherein the executable program code to be migrated is defined by a user;
- second program code for scaffolding a deterministic script from a template based on the tangible set of matchers and filters to find instances of code to update or settings to update within the distributed computing environment;
- and
- third program code for updating the instances of code or updating the settings, wherein updating is performed by using a parsed or tokenized code tree traversal and stateful data migrations to migrate code to be migrated, wherein updating consumes updates maintained in a centralized repository and independently tracks its own upgraded state
- wherein stateful data migrations include a toolchain.
A computing device comprising:
- a processor;
- and
- a computer-readable storage media comprising instructions which, when executed by the processor, migrates code in a service oriented architecture executed in a distributed computing environment, wherein the code in the service oriented architecture includes executable program code to be migrated, the instructions comprising:
- first program code for receiving a migration definition for generating migrations, the migration definition exposing a tangible set of matchers and filters configured to locate code constructs and codebase settings of the code to be migrated, wherein the executable program code to be migrated is user defined;
- second program code for scaffolding a deterministic script from a template based on the tangible set of matchers and filters to find instances of code to update or settings to update within the distributed computing environment;
- and
- third program code for updating the instances of code or updating the settings, wherein updating is performed by using a parsed or tokenized code tree traversal and stateful data migrations to migrate code to be migrated, wherein updating consumes updates maintained in a centralized repository and independently tracks its own upgraded state
- wherein stateful data migrations include a toolchain.
Dependencies are inferred from the claim text.