Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Update profiles for new subsribe topic for V2 DTOs #175

Merged
merged 1 commit into from
Jan 25, 2021

Conversation

lenny-goodell
Copy link
Member

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Using SDK that only supports V1 Event Model
All profiles that use MessageBus subscribe to events topic only.

Issue Number: #174

What is the new behavior?

Updated to latest SDK that supports V2 Event DTO
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.

Does this PR introduce a breaking change?

  • Yes
  • No

Are there any new imports or modules? If so, what are they used for and why?

no

Are there any specific instructions or things that should be known prior to reviewing?

Other information

@lenny-goodell lenny-goodell linked an issue Jan 22, 2021 that may be closed by this pull request
@lenny-goodell
Copy link
Member Author

This PR is in draft until PR edgexfoundry/app-functions-sdk-go#616 is merged.

@@ -115,8 +115,8 @@ Timeout = "30s"
Port = 48080

[Binding]
Type="messagebus"
SubscribeTopics="events"
Type="edgex-messagebus"
Copy link
Member Author

@lenny-goodell lenny-goodell Jan 25, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note old type of messagebus is going away in Ireland. Type of edgex-messagebus was added for Hanoi.

AlexCuse
AlexCuse previously approved these changes Jan 25, 2021
jim-wang-intel
jim-wang-intel previously approved these changes Jan 25, 2021
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 edgexfoundry#174

Signed-off-by: lenny <leonard.goodell@intel.com>
@lenny-goodell lenny-goodell merged commit b2b5516 into edgexfoundry:master Jan 25, 2021
@lenny-goodell lenny-goodell deleted the v2-dto branch January 25, 2021 21:26
@lenny-goodell lenny-goodell linked an issue Feb 19, 2021 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants