hubot-qubole
v1.0.4
Published
Interaction with Qubole Data Services APIs via Hubot framework
Readme
hubot-qubole
Interaction with Qubole 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_tokenIf you are not working on api.qubole.com, then you can override the api endpoint as well (optional)
export HUBOT_QUBOLE_AUTH_TOKEN=https://<env>.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.
npm install hubot-qubole --save(updates yourpackage.jsonfile)- Open the
external-scripts.jsonfile 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 <id> status- Display an overall status of a commandhubot cluster <id> status- Display the status of given cluster idhubot cluster <id> nodes- Display the nodes information of given cluster idhubot cluster <id> usage- Show the usage statistics for the given cluster idhubot schedule <id> status- Display the status of given schedule idhubot schedule <id> runs- Shows the last 10 run of a given schedulehubot template <id> status- Display the status of given template idhubot template <id> runs- Shows the last 10 run of a given templatehubot note <id> status- Display the status of a given notebook idhubot qcuh- Shows the QCUH consumed in ongoing month
