An open API service indexing awesome lists of open source software.

https://github.com/qubole/hubot-qubole

Interaction with Qubole Data Services APIs via Hubot framework
https://github.com/qubole/hubot-qubole

hubot qds qubole

Last synced: 3 months ago
JSON representation

Interaction with Qubole Data Services APIs via Hubot framework

Awesome Lists containing this project

README

          

# hubot-qubole
Interaction with [Qubole](https://qubole.com) Data Services APIs via Hubot framework

## Configuration

* Register the auth token value as an environment variables when starting your bot (as usual with Hubot scripts).
* `export HUBOT_QUBOLE_AUTH_TOKEN=your_auth_token`

* If you are not working on api.qubole.com, then you can override the api endpoint as well (optional)
* `export HUBOT_QUBOLE_BASE_URL=https://.qubole.com/api/latest`

If you are using Heroku to host your bot, replace `export ...` with `heroku set:config ...`.

## Adding to Your Hubot

See full instructions [here](https://github.com/github/hubot/blob/master/docs/scripting.md#npm-packages).

1. `npm install hubot-qubole --save` (updates your `package.json` file)
2. Open the `external-scripts.json` file in the root directory (you may need to create this file) and add an entry to the array (e.g. `[ 'hubot-qubole' ]`).

## Commands

- `hubot command status` - Display an overall status of a command
- `hubot cluster status` - Display the status of given cluster id
- `hubot cluster nodes` - Display the nodes information of given cluster id
- `hubot cluster usage` - Show the usage statistics for the given cluster id
- `hubot schedule status` - Display the status of given schedule id
- `hubot schedule runs` - Shows the last 10 run of a given schedule
- `hubot template status` - Display the status of given template id
- `hubot template runs` - Shows the last 10 run of a given template
- `hubot note status` - Display the status of a given notebook id
- `hubot qcuh` - Shows the QCUH consumed in ongoing month