System and methods for independently deploying services while preserving a unified local development environment
AssigneeAlfred E. Mann Foundation for Scientific Research
InventorJay VILORIA
Life of this patent
Estimating the term…
Abstract
The present disclosure generally relates to systems and methods for independently deploying services while preserving a unified local development environment. Such systems may advantageously allow developers to work locally with familiar web frameworks and configure how monolithic API endpoints will be split and deployed into separate servers. For instance, because the code base is shared locally, each service will have access to shared dependencies.
Claims20
A system for independently deploying services while preserving a unified local development environment, comprising:
- a local development environment comprising a monolithic Application Programing Interface (API) having a shared code base, and a set of API endpoints hosted on a single local server;
- and
- a deployment pipeline configured to deploy a plurality of services independently on separate servers based on separating the set of API endpoints into a plurality of non-overlapping subsets of API endpoints, wherein each of the non-overlapping subsets of API endpoints corresponds to a separably deployable service.
A method for independently deploying services while preserving a unified local development environment, comprising:
- sharing, in a local development environment, a code base locally, wherein the local development environment comprises a monolithic Application Programing Interface (API) having the shared code base and a set of API endpoints hosted on a single local server;
- and
- deploying a plurality of services independently on separate servers based on separating the set of API endpoints into a plurality of non-overlapping subsets of API endpoints, wherein each of the non-overlapping subsets of API endpoints corresponds to a separably deployable service.
A system for independently deploying services while preserving a unified local development environment, comprising:
- a local development environment including a shared code base that implements a monolithic Application Programming Interface (API), the monolithic API exposing a plurality of API endpoints that are registered in a single local application instance executing on a single local server;
- a configuration file stored in the shared code base and defining, for each of a plurality of services:
- (a) a non-overlapping subset of the API endpoints to be exposed by that service, and (b) deployment metadata including an entry-point identifier for a service application instance and access-permission requirements for external resources;
- and
- a deployment pipeline that is configured, based on the configuration file, to:
- (a) build, for each service, the service application instance that registers only the corresponding non-overlapping subset of the API endpoints from the shared code base, and
- (b) deploy each service application instance to a respective server as an independently deployable service with least privilege access to external resources in accordance with the access-permission requirements,
- wherein the local development environment maintains monolithic behavior by registering all of the plurality of API endpoints in the single local application instance while the deployment pipeline separately deploys the services by the non-overlapping subsets.
Dependencies are inferred from the claim text.