commit | 8a0aacc16f016480914c3e0799719f726b4c54b8 | [log] [tgz] |
---|---|---|
author | Idan Amit <ia096e@intl.att.com> | Thu Jul 19 15:25:18 2018 +0300 |
committer | Idan Amit <ia096e@intl.att.com> | Thu Jul 19 16:00:31 2018 +0300 |
tree | 845511c306aa27a48b480dbf932ee6c936d5ec83 | |
parent | bb656c1e23ba1a6213e2025318e48bea90dbff95 [diff] |
sdc-pubsub repository organize Updated ignore files Change-Id: I51af88117726507c8a1ed6b7c12e90ceb2e8f51b Issue-ID: SDC-1537 Signed-off-by: Idan Amit <ia096e@intl.att.com>
sdc-pubsub npm package.
Installing using npm:
npm install sdc-pubsub
import {PluginPubSub} from 'sdc-pubsub'
var pluginPubSub = require('PluginPubSub')
//eventsClientId=<received from query params> //parentUrl=<received from query params> //eventsToWaitFor = [ “CHECK_IN” ] var client = new PluginPubSub('eventsClientId, parentUrl, eventsToWaitFor')
client.notify(“READY”)
client.on((eventData,event) => { if(eventData.type == ”WINDOW_OUT”) { //do logic } } )
None.
sdc onap wiki https://wiki.onap.org/x/_TX0
Copyright 2018 AT&T, Inc.
Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0