Socket
Socket
Sign inDemoInstall

hubot-pulsar

Package Overview
Dependencies
Maintainers
5
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hubot-pulsar

Hubot script to deploy via Pulsar REST API


Version published
Weekly downloads
4
decreased by-20%
Maintainers
5
Weekly downloads
 
Created
Source

hubot-pulsar Build Status npm

About

This is "Pulsar REST API service" hubot script.

Installation

Install it as a usual hubot script. After that configure it to your needs. For that you need to have a config file. The config file will be searched in the following order:

  • The script will try to get the environment variable HUBOT_PULSAR_CONFIG. If this variable exists then it is used as a file path to the config file.
  • If the variable wasn't found then the script will try to locate the file pulsar.config.json in the directory of the hubot installation.

Authorization support is optional, and enabled if the hubot-auth script is loaded.

Config format

{
  "pulsarApi": {
    "url": "<pulsar-rest-api-url>",
    "authToken": "<auth-token>"
  }
}

pulsarApi: Object. Required. It describes the configuration for pulsar-rest-api-client-node.

Deploy.js

For deploying applications. Everyone with the role deployer is allowed to trigger deployments.

The script emits the following events:

  • deploy:start: When a deployment is started
  • deploy:success: When a deployment finished successfully
  • deploy:error: When a deployment fails

Real-life usage example

Please look how this script can be used in your everyday workflow http://www.cargomedia.ch/2015/06/23/pulsar-rest-api.html.

Keywords

FAQs

Package last updated on 13 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc