@e3labs/sync-erp-connector

0.0.30 • Public • Published

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)

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.300latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.300
0.0.290
0.0.280
0.0.260
0.0.250
0.0.240
0.0.230
0.0.220
0.0.210
0.0.200
0.0.190
0.0.180
0.0.170
0.0.150
0.0.140
0.0.130
0.0.120
0.0.110
0.0.100
0.0.81
0.0.70
0.0.60
0.0.50
0.0.41
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i @e3labs/sync-erp-connector

Weekly Downloads

2

Version

0.0.30

License

ISC

Unpacked Size

8.55 MB

Total Files

13

Last publish

Collaborators

  • marvinmiguel
  • gleeerme
  • carlosnack
  • nickcarva
  • andregomesoliveira
  • blira
  • caio.lucas
  • cassion
  • recabp