Logistics Wizard / Architecture / logistics-wizard-erp
The Logistics Wizard ERP service provides APIs to simulate working with an ERP system's data.
The API and data models are defined in this Swagger 2.0 file. You can view this file using the Swagger Editor.
The API exposes the following methods:
- log in and get access tokens
- get the list of Products, Distribution Centers, Retailers
- create, retrieve, update, delete Shipments
The API defines the following roles:
- supply chain manager - can view all data and manage Shipments
- retail store manager - can view all data except Inventory and Suppliers
This project includes an ERP simulator that implements the API and data models defined above. The simulator removes the dependency on a real ERP providing an opportunity to demonstrate edge cases like connectivity failures.
In this configuration, the ERP service is only providing access to the data. You deploy the ERP simulator as a Cloud Foundry app in IBM Cloud and connect it to the rest of the system.
This configuration illustrates:
- how to document an API with Swagger.io
- how to quickly implement an API with Loopback.io
- how to configure auto-scaling to cope with additional load
- how to manage failures of a backend service and how to recover
- lost connectivity between the ERP service and its database
- lost connectivity between the other services and the ERP service
Follow these instructions to deploy and work with the cloud-native configuration.
In this configuration, a Secure Gateway sits between the ERP service and the other services. All calls to the ERP service go through the Secure Gateway. Again a real on-prem ERP system is unnecessary, the ERP simulator is used.
This configuration illustrates:
- how to expose an on-prem service outside of the enterprise
- how to configure the security settings of the Secure Gateway
Follow these instructions to deploy and work with the hybrid configuration.
See License.txt for license information.
master | |
---|---|
dev |