Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
SuiteTalk API Proxy
Clojure
tag: 5

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
packaging
src/sweettalk
.gitignore
README.md
project.clj

README.md

Sweettalk, NetSuite API Proxy

This is a HTTP server which proxies requests to the NetSuite 'Suitetalk' API, handling pooling of concurrent connections to within the users limits.

Usage

Clone the repository and then start the server...

lein run

This will start a web server on the default port 8080.

Configuration

All configuration is handled through environment variables.

# netsuite
export ST_WS_URL="https://webservices.sandbox.netsuite.com"
export ST_WS_CONNECTIONS=1

# http server
export ST_HTTP_PORT=8080

# logging
export ST_LOG_LEVEL="warn"
export ST_LOG_PATTERN="%m"
export ST_LOG_FILE="logs/access.log"

# statsd
export ST_STATSD_HOST="localhost"
export ST_STATSD_PORT=8126

Box UK

Packaging is handled by the standard process, and the app can be configured using the above environment variables via:

/etc/sweettalk.conf

Then controlled as a normal service.

Something went wrong with that request. Please try again.