Microservice Autowiring via Shape Definitions
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Microservice architectures are cumbersome to set up, requiring users to specify numerous parameters and write extensive code to connect resources, making the process complex and user-unfriendly.
Innovation Solution
A system and method for automatically connecting microservice components by defining primary resources, determining dependent resources, and using a provisioning object to provision resources, which simplifies the setup process through autowiring, reducing the need for users to know detailed connection details.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Manufacturing precision
If manual configuration of microservice resources is used, then connection details can be precisely controlled, but setup complexity and time increase significantly
Solution Approach 1:
The system enables self-service through automatic resource discovery and connection establishment. The provisioning controller automatically discovers resources, determines their shapes, and establishes connections without requiring manual configuration, thereby reducing setup time while maintaining connection precision through automated shape validation and matching.
Solution Approach 2:
The system performs preliminary actions by pre-defining resource shapes and connection templates. The shape definition phase prepares connection specifications in advance, and the provisioning controller uses these pre-prepared shapes to automatically establish connections, eliminating the need for manual configuration during deployment.
2Manufacturing precision
If detailed connection parameters are manually specified, then connection accuracy is maintained, but ease of operation decreases
Solution Approach 1:
The system performs self-service by automatically discovering resources and determining their shapes. The provisioning controller autonomously retrieves shape definitions, matches them with resource instances, and establishes connections without requiring user intervention, thereby maintaining connection accuracy while dramatically improving ease of operation.
Solution Approach 2:
The shape definition acts as an intermediary between resource types and connection requirements. Instead of requiring users to specify detailed connection parameters, the system uses shape definitions as intermediaries that automatically translate resource types into appropriate connection configurations, maintaining accuracy while simplifying operation.
3Device complexity
If automatic resource provisioning is implemented, then setup complexity is reduced, but control over connection details is lost
Solution Approach 1:
Shape definitions serve as intermediaries that preserve connection detail control in automatic provisioning. The provisioning controller uses shape definitions to automatically determine connection parameters, ensuring that even though provisioning is automated, the connection details are precisely controlled through the shape specification layer.
Solution Approach 2:
Connection specifications are prepared in advance through shape definitions. The provisioning controller uses these pre-defined shapes to automatically provision resources with precise connection details, reducing setup complexity while maintaining control over connection parameters through the preliminary shape configuration.
4Manufacturing precision
If comprehensive resource definitions are required, then provisioning accuracy is improved, but information processing overhead increases
Solution Approach 1:
The system segments resource information into modular shape definitions. Instead of requiring comprehensive resource definitions to be processed as a single unit, the provisioning controller processes individual shape definitions for each resource type, reducing information processing overhead while maintaining provisioning accuracy through systematic shape matching.
Solution Approach 2:
Shape definitions serve multiple functions: they define resource characteristics, specify connection requirements, and guide provisioning operations. This multi-functionality reduces the need for separate comprehensive definitions, decreasing information processing overhead while maintaining provisioning accuracy through the universal shape specification.
Data Source
AI summary
Disclosed is a computer implemented method for automatically connecting multiple components of a microservice architecture, comprising receiving a definition of a primary resource to be provided by a provider; determining a dependent resource of the primary resource based on the definition of the primary resource; requesting the primary resource to determine one or more shapes of the primary resource, wherein a shape is information about the primary resource that is necessary for the dependent resource to depend on the primary resource; receiving the one or more shapes of the primary resource; providing the one or more shapes of the primary resource to the dependent resource; and determining a provisioning object based on the one or more shapes of the primary resource, wherein, in use, the provisioning object can be used by a provisioning controller to provision the resource by the provider.


