GithubHelp home page GithubHelp logo

thdtjsdn / logistics-wizard-erp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ibm-cloud/logistics-wizard-erp

0.0 1.0 0.0 212 KB

Defines the API used by the Logistics Wizard to access data from an ERP system. Also provides a default implementation to be used as a simulator.

License: Other

HTML 1.25% JavaScript 98.31% Shell 0.44%

logistics-wizard-erp's Introduction

Logistics Wizard ERP

Codacy Badge Coverage Status

WORK IN PROGRESS

This service is part of the larger Logistics Wizard project.

Overview

With the Logistics Wizard app, we focus on the planning and delivery of products from distribution centers to retail locations. The Logistics Wizard ERP service defines a subset of a full ERP system data model and the API to access this system.

API Definition

The API and data models are defined in this Swagger 2.0 file. You can view this file in the Swagger Editor.

The API allows to:

  • 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

Logistics Wizard ERP Simulator

This project includes an ERP simulator implementing the API and data models defined above. With the simulator we remove the dependency on a real ERP giving us more flexibility to demonstrate edge cases like connectivity failures.

Supported use cases

The ERP service can be used to demonstrate different capabilities and configuration of IBM Bluemix.

Basic configuration to support for the use cases of the other services

In this configuration, the ERP service is only providing access to the data. We deploy the ERP simulator as a regular Cloud Foundry app in Bluemix and connect it to the rest of the system.

This configuration illustrates:

  • how to integrate with a Service Discovery service in a microservice architecture
  • 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 when it becomes available again
    • lost of connectivity between the ERP service and its database
    • lost of connectivity between the other services and the ERP service

>>> Follow these instructions to deploy and work with this configuration.

Hybrid configuration to access a on-prem ERP service

In this configuration, the Secure Gateway sits between the ERP service and the other services. All calls to the ERP service go through the Secure Gateway. We don't require a real on-prem ERP system, 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.

License

See License.txt for license information.

logistics-wizard-erp's People

Contributors

l2fprod avatar jakepeyser avatar rvennam avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.