Skip to content

Commit

Permalink
feat: Update profiles for new subsribe topic for V2 DTOs (#175)
Browse files Browse the repository at this point in the history
All profiles using ZMQ for MessageBus have `edgex/events` added to existing `SubscribeTopics`.
All profiles using MQTT for MessageBus have `edgex/events/#` added to existing `SubscribeTopics`.

closes #174

Signed-off-by: lenny <leonard.goodell@intel.com>
  • Loading branch information
lenny-goodell authored Jan 25, 2021
1 parent 9cb6a92 commit b2b5516
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 14 deletions.
5 changes: 4 additions & 1 deletion Attribution.txt
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,7 @@ github.com/go-playground/validator/v10 (MIT) https://github.com/go-playground/va
https://github.com/go-playground/validator/blob/master/LICENSE

leodido/go-urn (MIT) https://github.com/leodido/go-urn
https://github.com/leodido/go-urn
https://github.com/leodido/go-urn

gopkg.in/yaml.v2 (Apache 2.0) https://github.com/go-yaml/yaml/
https://github.com/go-yaml/yaml/blob/v2.2.2/LICENSE
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/edgexfoundry/app-service-configurable

go 1.15

require github.com/edgexfoundry/app-functions-sdk-go/v2 v2.0.0-dev.4
require github.com/edgexfoundry/app-functions-sdk-go/v2 v2.0.0-dev.7
4 changes: 2 additions & 2 deletions res/http-export/configuration.toml
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ Timeout = "30s"
Port = 48080

[Binding]
Type="messagebus"
SubscribeTopics="events"
Type="edgex-messagebus"
SubscribeTopics="events, edgex/events"

[MessageBus]
Type = "zero"
Expand Down
4 changes: 2 additions & 2 deletions res/mqtt-export/configuration.toml
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ Timeout = "30s"
Port = 48080

[Binding]
Type="messagebus"
SubscribeTopics="events"
Type="edgex-messagebus"
SubscribeTopics="events, edgex/events"

[MessageBus]
Type = "zero"
Expand Down
4 changes: 2 additions & 2 deletions res/rules-engine-mqtt/configuration.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ Type = "consul"
Port = 48080

[Binding]
Type="messagebus"
SubscribeTopics="events"
Type="edgex-messagebus"
SubscribeTopics="events, edgex/events/#"
PublishTopic="rules-events"

[MessageBus]
Expand Down
4 changes: 2 additions & 2 deletions res/rules-engine-redis/configuration.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ RetryWaitPeriod = "1s"
AuthType = 'X-Vault-Token'

[Binding]
Type="messagebus"
SubscribeTopics="events"
Type="edgex-messagebus"
SubscribeTopics="events, edgex/events"
PublishTopic="rules-events"

[MessageBus]
Expand Down
4 changes: 2 additions & 2 deletions res/rules-engine/configuration.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ Type = "consul"
Port = 48080

[Binding]
Type="messagebus"
SubscribeTopics="events"
Type="edgex-messagebus"
SubscribeTopics="events, edgex/events"
PublishTopic="rules-events"

[MessageBus]
Expand Down
4 changes: 2 additions & 2 deletions res/sample/configuration.toml
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ Timeout = "30s"
Port = 48080

[Binding]
Type="messagebus"
SubscribeTopics="events"
Type="edgex-messagebus"
SubscribeTopics="events, edgex/events"
PublishTopic="example"

[MessageBus]
Expand Down

0 comments on commit b2b5516

Please sign in to comment.