...
Drawio | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
The Microservice Bus function provides service registration, discovery and communication services for microservices as well as a gateway for internal & External communication for the services:
...
MSB and DMaaP are complementary. MSB provides the restful API service registration/discovery/routing/API gateway, which addresses the sync/rpc communication pattern in microservice architecture, in contrast, DMaaP provides messages/file transfer, which mainly focused on the async communication pattern in microservices architecture.
2. API definitions
2.1 MSB provides the following interfaces: (Question, is this one interface with 3 LCMs or one interface with these capabilities)
These are separate interfaces.
Interface Name | Interface Definition | Interface Capabilities | API Spec (Swagger) |
---|---|---|---|
MSBE-1 | Registration and Discovery interface | The registration and discovery interface provides the following capabilities:
| Microservice Bus API Documentation#RegisterservicetotheMicroserviceBus |
MSBE-2 | Service Request Interfaces | Provides the capability to deliver and receive a service request and subsequent communication.| | MSB API gateway acts as a proxy between the client and the server, the client just sends the request to MSB API gateway IP+Port, MSB handles the service discovery and reliable communication with the backend service including load balancing, retries, circuit breaker, etc. |
MSBE-3 | MSB Admin Interface | Provides the ability to administer policy and routing for the service requests. | It's a management UI for viewing or modifying registered services, you can find it at HTTPs://MSB_API_AGATEWAY_IP:80 on your running MSB instance. |
...
2.2 MSB consumes the following Interfaces:
...
3. Component Description:
Add link to read-the-docs A more detailed figure and description of the component
https://docs.onap.org/projects/onap-msb-apigateway/en/latest/index.html#master-index
4. known system limitations
MSB API gateway has been performance tested in this scenario:
- Client(wrk) --> MSB API gateway --> Test service(Tomcat)
- Test machine (client, msb and test service): 8 cpu Core, 8G memory
- Network 10000M
...