Kohler Orders To SAP
This is service takes open orders from Sphere Client and converts it to an XML Object that fits the Kohler schema for SAP. Once the order has been sent to SAP it will update the status of the of the order in the commercetools project from Open to Confirmed.
Microservice uses the following technologies:
Make sure you have installed all of the following prerequisites on your development machine:
Node.js - Download & Install Node.js and the npm package manager. Version 6.9
Gulp - Make sure you've installed Node.js and npm first, then install gulp globally using npm:
$ npm install -g gulp
The first thing you should do is install the Node.js dependencies.
$ npm install
The code is based on ES6, so in order to run in environments that do not fully support ES6 we need Babel to transpile the code from ES6 to ES5.
The destination path is the /app folder
After installing the dependencies for running with development config:
For running with prod config:
Check for JS code quality
The configuration is stored in a yaml file that is saved within Iron.io
To access go to the Iron Work, click the codes tab, and then reference the config box on the right