@e3labs/sync-erp-connector v0.0.30
sync-erp-connector
Sync-ing iSA with your ERP :D
Installation
yarn global add @e3labs/sync-erp-connector
or
npm install -g @e3labs/sync-erp-connector (not tested)
Usage
sync-erp-connector start
Starts the server
Options:
-p, --serverPort <port>Set a port of this application (default: 3000)-k, --apiKey <key>Set your ApiKey-e, --endpoint <url>Set the URL to process syncs-u, --sqlUser <user-name>Set an Oracle user name-s, --sqlPassword <password>Set an Oracle password-t, --sqlPath <path>Set an Oracle path with TSNAME. Example: 0.0.0.0/dev-l, --level <level>Set a logger level (see https://github.com/winstonjs/winston#logging-levels) (default: "verbose")-f, --filePath <path>Load all the configuration from a file-h, --helpoutput usage information
Using -f, --filePath option, you have to use the full path of the file.
Ex:
sync-erp-connector start -f \$PWD/.env
sync-erp-connector doctor
Checks if for a given filePath, the server can run without problems
Options:
-f, --filePath <path>(required) Load all the configuration from a file-l, --level <level>Set a logger level (see https://github.com/winstonjs/winston#logging-levels) (default: "verbose")
sync-erp-connector failedEvents
Show the events that failed to sync
Options:
-f, --filePath <path>(required) Load all the configuration from a file-r, --retryRetry to sync all entries in the failed list-c, --clearDelete all entries in the failed list
Configuration File
The configuration file can be in any text format. A exemple of file are below
serverPort=number
apiKey=string
endpoint=string
sqlUser=string
sqlPassword=string
sqlPath=stringserverPort: numberA port that this service will runapiKey: stringYour API Keyendpoint: stringA HTML address that represents iSA Public APIsqlUser: stringOracle database usersqlPassword: stringOracle database passwordsqlPath: stringOracle database address (i.e: 0.0.0.0/prod)
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago