Tenant copy operation in a microservice architecture
AssigneeSap SE
InventorsBalaji Vummiti, Chandan V. A
Life of this patent
Estimating the term…
Abstract
Computer-readable media, methods, and systems are disclosed for copying tenant data within a cloud-based microservice architecture including a Kubernetes cluster. Copy tasks are generated for a plurality of microservices and progress of the copy tasks is monitored by updating one or more statuses associated with the copy tasks. One or more job files may be generated for each microservice including executable code for copying the tenant data within the microservice or within a data store associated with the respective microservice.
Claims20
One or more non-transitory computer-readable media storing computer-executable instructions that, when executed by a processor, perform a method for copying tenant data within a cloud-based microservice architecture including a Kubernetes cluster, the method comprising:
- initiating, on a tenant service, a tenant copy operation associated with a set of tenant data for a tenant;
- generating a copy task for each of a plurality of microservices subscribed to the tenant service;
- executing one or more events of the copy task including copying the set of tenant data in the plurality of microservices;
- determining that the copy task is completed for at least one microservice of the plurality of microservices;
- responsive to determining that the copy task is completed for the at least one microservice, updating a status for the respective copy task;
- determining that the copy task is completed for each of the plurality of microservices;
- and
- responsive to determining that the copy task is completed for each of the microservices, updating a status of the tenant copy operation in the tenant service.
A method for copying tenant data within a cloud-based microservice architecture including a Kubernetes cluster, the method comprising:
- initiating, on a tenant service, a tenant copy operation associated with a set of tenant data for a tenant;
- generating a copy task for each of a plurality of microservices subscribed to the tenant service;
- executing one or more events of the copy task including copying the set of tenant data in the plurality of microservices;
- determining that the copy task is completed for at least one microservice of the plurality of microservices;
- responsive to determining that the copy task is completed for the at least one microservice, updating a status for the respective copy task;
- determining that the copy task is completed for each of the plurality of microservices;
- and
- responsive to determining that the copy task is completed for each of the microservices, updating a status of the tenant copy operation in the tenant service.
A cloud-based microservice system comprising:
- a Kubernetes cluster with a plurality of microservices;
- and
- a processor programmed to perform a method for copying tenant data within a cloud-based microservice system, the method comprising:
- initiating, on a tenant service, a tenant copy operation associated with a set of tenant data for a tenant;
- generating a copy task for each of the plurality of microservices, the plurality of microservices subscribed to the tenant service;
- executing one or more events of the copy task including copying the set of tenant data in the plurality of microservices;
- determining that the copy task is completed for at least one microservice of the plurality of microservices;
- responsive to determining that the copy task is completed for the at least one microservice, updating a status for the respective copy task;
- determining that the copy task is completed for each of the plurality of microservices;
- and
- responsive to determining that the copy task is completed for each of the microservices, updating a status of the tenant copy operation in the tenant service.
Dependencies are inferred from the claim text.