Skip to content

Commit

Permalink
feat: Update profiles for new subsribe topic for V2 DTOs
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 committed Jan 22, 2021
1 parent 9cb6a92 commit 9e1f2e5
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 12 deletions.
4 changes: 4 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ module github.com/edgexfoundry/app-service-configurable
go 1.15

require github.com/edgexfoundry/app-functions-sdk-go/v2 v2.0.0-dev.4

replace (
github.com/edgexfoundry/app-functions-sdk-go/v2 => ../app-functions-sdk-go
)
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 9e1f2e5

Please sign in to comment.