@athenz/zts-client
A Node.js client library to access ZTS
Last updated 3 years ago by athenz .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @athenz/zts-client 
SYNC missed versions from official npm registry.

zts-nodejs-client

A Node.js client library to access ZTS. This client library is generated from the RDL(zts.json).

--- Customizing configuration settings ---

The application can change these values by adding a following configuration file, and the file should be a module which exports a function returns the configuration object

File path:

process.cwd() + '/config/config.js'

Configuration object:

module.exports = function() {
  return {
    ztshost: process.env.ZTS_SERVER || 'localhost',
    zts: 'https://localhost:4443/zts/v1/',
    strictSSL: false,
    logLevel: 'debug',
    tokenMinExpiryTime: 900,
    tokenRefresh: 1800,
    disableCache: false
  };
};

License

Licensed under the Apache License, Version 2.0

Current Tags

  • 1.0.0                                ...           latest (3 years ago)

1 Versions

  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 2
Dependencies (5)
Dev Dependencies (42)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |