@skroutz/hypernova-service

1.4.0 • Public • Published

Skroutz Hypernova Mircorservice

A wrapper around Airbnb's Hypernova that supports component versioning

Installation

This service is packed as an npm module and is distrubed via NPM registry.

$ npm install -g @skroutz/hypernova-service

Or with yarn

$ yarn global add @skroutz/hypernova-service

Command Line Options

Options:
  --version                  Show version number                   [boolean]
  -h, --help                 Show help                             [boolean]
  -p, --port                 port number to run the server
                                                    [number] [default: 3030]
  --production               Server production mode on/off
                                                  [boolean] [default: false]
  --debug                    Debug mode on/off    [boolean] [default: false]
  --release-load-path        Path to the root of the skroutzHypernova
                             releases.     [string] [default: "./testdata/"]
  --statsd-report-interval   Interval to report to statsd (in seconds)
                                                       [number] [default: 5]
  --statsd-host              Host to send metrics to
                                             [string] [default: "localhost"]
  --statsd-hostname          Hostname reported to StatsD. Overrides
                             FQDN/Hostname autodetection logic.
                                                    [string] [default: null]
  --release-expiry           Release expiry time (in seconds). After that
                             time, the files will be unloaded from the RAM
                                                       [number] [default: 5]
  --release-unload-interval  Interval that the release invalidate function
                             will run (in seconds)     [number] [default: 5]
  --release-unload-policy    Defines how releases get unloaded.
                   [string] [choices: "ttl", "file-change"] [default: "ttl"]
  --sentry-datacenter        Extra tag reported to Sentry.
                                                    [string] [default: null]
  --sentry-env               Sentry environment. Will be used as the
                             environment parameter when reporting an
                             exception to Sentry.
                                          [choices: "staging", "production"]
  --sentry-dsn               Sentry DSN in order to use the API. Obtained in
                             https://sentry.skroutz.gr/settings/skroutz/{you
                             r-project}/keys/                       [string]

More documentation here!

Readme

Keywords

none

Package Sidebar

Install

npm i @skroutz/hypernova-service

Weekly Downloads

403

Version

1.4.0

License

MIT

Unpacked Size

23 kB

Total Files

6

Last publish

Collaborators

  • fgkolf
  • gnanou
  • pharlez
  • gagiatsos
  • chalarangelo