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

Add connection deviceId and moduleId to incoming messages on Amqp #537

Merged
merged 2 commits into from
Jul 3, 2018

Conversation

varunpuranik
Copy link
Contributor

Checklist

  • I have read the contribution guidelines.
  • I added or modified the existing tests to cover the change (we do not allow our test coverage to go down).
  • This pull-request is submitted against the master branch.

Description of the changes

Incoming messages for modules should contain ConnectionDeviceId and ConnectionModuleId properties indicating the source of the message. This already works for Mqtt. This PR adds support fo that on Amqp.

myagley pushed a commit to Azure/iotedge that referenced this pull request Jun 29, 2018
…qp outgoing messages

Outgoing messages for modules should contain ConnectionDeviceId and ConnectionModuleId properties indicating the source of the message. This already works for Mqtt. This PR adds support fo that on Amqp.
This also needed a corresponding change on the SDK side, here is the PR for that - Azure/azure-iot-sdk-csharp#537
Copy link
Member

@CIPop CIPop left a comment

Choose a reason for hiding this comment

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

Thanks @varunpuranik . As far as I understand this Edge feature never worked before so there is no app-compat breaking change.

Please increase the contract version for iothub\device\src\Microsoft.Azure.Devices.Client.csproj, 1.17.0 (should be 1.17.1 with your changes) by editing \versions.csv.

}
}
}
}
Copy link
Member

Choose a reason for hiding this comment

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

Nit: new line at EOF to keep git happy.

Copy link
Member

@CIPop CIPop left a comment

Choose a reason for hiding this comment

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

Thanks @varunpuranik !

@az-iot-builder-01 az-iot-builder-01 merged commit 0bc1826 into Azure:master Jul 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants