StackStorm / hubot-stackstorm

Hubot plugin for integration with StackStorm event-driven infrastructure automation platform.
Apache License 2.0
49 stars 39 forks source link

Update st2client.js to support customizing st2stream url #143

Closed shusugmt closed 7 years ago

shusugmt commented 7 years ago

Currently, URL for st2stream is fixed to $ST2_API/stream

This is not ideal if running 1ppc mode in st2-docker because without that, st2chatops need to rely on st2web container running nginx which proxies /api/stream to st2stream backend.

arm4b commented 7 years ago

:+1: for a configurable env var, similar to existing ST2_AUTH_URL.

shusugmt commented 7 years ago

@armab I just opened PR for this. Can you please check it?

shusugmt commented 7 years ago

144 solved this.