Closed viveksyngh closed 4 years ago
Thanks for report,
We didn't verify Cisco Spark for quite a long time as 3rd party contributed extension, but maybe someone from Community members is using it successfully and can jump in to share his experience and help.
Looks like hubot-spark
adapter is using https://www.npmjs.com/package/ciscospark, which has been deprecated and replaced with https://www.npmjs.com/package/webex.
The webex
package looks like it's a drop-in replacement for the ciscospark
package, which is promising. Hopefully, we may be able to just swap out the dependencies without changing any of our code. This adapter is community supported though, so we'll need somebody who has access to a Webex server to make the changes, test the code, and submit a PR.
Note that the hubot-spark
package will need to be updated to depend on and use webex
instead of ciscospark
, and then st2chatops
will need to be updated to use that fork/version of hubot-spark
.
PR #200 is mostly looking good. And we'll need a new released version of hubot-spark with your fixes in place to rely on in st2chatops.
I have updated it based on the comments.
I have access to Webex and will gladly help anyone who is wanting to work on this.
Hi,
I am using chatops with cisco spark ( Webex Team). I am able to get messages from webex teams room to
st2chatops
but it is failing to handle the messages correctly.chatops.post_message
it not able to send the message to correct room.It is able to get message but not able to identify the roomId correctly as it is using nested object for roomId.
This one I fixed by fixing the code in
hubot-spark
adapter.hubot
starts it prints this error.am I missing something in configuration or this is the correct behavior ?