hubot-akamai-ccu
A hubot scirpt that talks Akamai CCU REST API https://api.ccu.akamai.com/ccu/v2/docs/index.html
Last updated 5 years ago by cou929 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hubot-akamai-ccu 
SYNC missed versions from official npm registry.

hubot-akamai-ccu npm version Build Status Dependency Status

A hubot scirpt that talks Akamai CCU REST API https://api.ccu.akamai.com/ccu/v2/docs/index.html

See src/akamai-ccu.coffee for full documentation.

Installation

In hubot project repo, run:

npm install hubot-akamai-ccu --save

Then add hubot-akamai-ccu to your external-scripts.json:

["hubot-akamai-ccu"]

Sample Interaction

user1> hubot akamai-ccu remove cache http://your.domain/foo on staging
hubot> Request accepted.
The request would be completed in 240 seconds.
You can check progress with `akamai-ccu purge status /ccu/v2/purges/foo-bar-baz`

user1> hubot akamai-ccu purge status /ccu/v2/purges/foo-bar-baz
hubot> originalEstimatedSeconds: 240
originalQueueLength: 0
purgeId: foo-bar-baz
purgeStatus: In-Progress
submittedBy: you@exmple.com
progressUri: /ccu/v2/purges/foo-bar-baz

user1> hubot akamai-ccu queue length
hubot> The queue length is 1

Configuration

  • HUBOT_AKAMAI_CCU_USERNAME
    • User name for API authentication. Required.
  • HUBOT_AKAMAI_CCU_PASSWORD
    • Password for API authentication. Required.
  • HUBOT_AKAMAI_CCU_ALLOWED_URL_REGEXP
    • Regexp pattern to allow to purge. Optional. Default to all url.
  • HUBOT_AKAMAI_CCU_ALLOWED_CPCODE
    • Comma separated CP Codes to allow purge. Optional. Default to all CP Codes.

Current Tags

  • 0.0.4                                ...           latest (5 years ago)

3 Versions

  • 0.0.4                                ...           5 years ago
  • 0.0.3                                ...           5 years ago
  • 0.0.2                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |