0.0.30 • Published 4 years ago

@e3labs/sync-erp-connector v0.0.30

Weekly downloads
28
License
ISC
Repository
-
Last release
4 years ago

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, --help output 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:

sync-erp-connector failedEvents

Show the events that failed to sync

Options:

  • -f, --filePath <path> (required) Load all the configuration from a file
  • -r, --retry Retry to sync all entries in the failed list
  • -c, --clear Delete 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=string
  • serverPort: number A port that this service will run
  • apiKey: string Your API Key
  • endpoint: string A HTML address that represents iSA Public API
  • sqlUser: string Oracle database user
  • sqlPassword: string Oracle database password
  • sqlPath: string Oracle database address (i.e: 0.0.0.0/prod)
0.0.30

4 years ago

0.0.28

4 years ago

0.0.29

4 years ago

0.0.26

4 years ago

0.0.25

4 years ago

0.0.24

4 years ago

0.0.21

4 years ago

0.0.22

4 years ago

0.0.23

4 years ago

0.0.20

4 years ago

0.0.19

4 years ago

0.0.17

4 years ago

0.0.18

4 years ago

0.0.13

4 years ago

0.0.14

4 years ago

0.0.15

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago