-
Notifications
You must be signed in to change notification settings - Fork 191
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 optional name to payload of thing created message #888
Add optional name to payload of thing created message #888
Conversation
Signed-off-by: Ammar Bikic <[email protected]>
…CREATED Signed-off-by: Ammar Bikic <[email protected]>
Signed-off-by: Ammar Bikic <[email protected]>
…_ATTRIBUTES Signed-off-by: Ammar Bikic <[email protected]>
…RIBUTES Signed-off-by: Ammar Bikic <[email protected]>
…ATED Signed-off-by: Ammar Bikic <[email protected]>
Thanks for taking the time to contribute to hawkBit! We really appreciate this. Make yourself comfortable while I'm looking for a committer to help you with your contribution. |
52e35af
to
158f442
Compare
Signed-off-by: Ammar Bikic <[email protected]>
Signed-off-by: Ammar Bikic <[email protected]>
...t-dmf/hawkbit-dmf-amqp/src/main/java/org/eclipse/hawkbit/amqp/AmqpMessageHandlerService.java
Outdated
Show resolved
Hide resolved
...t-dmf/hawkbit-dmf-amqp/src/main/java/org/eclipse/hawkbit/amqp/AmqpMessageHandlerService.java
Outdated
Show resolved
Hide resolved
...t-dmf/hawkbit-dmf-amqp/src/main/java/org/eclipse/hawkbit/amqp/AmqpMessageHandlerService.java
Outdated
Show resolved
Hide resolved
...t-dmf/hawkbit-dmf-amqp/src/main/java/org/eclipse/hawkbit/amqp/AmqpMessageHandlerService.java
Outdated
Show resolved
Hide resolved
...f/hawkbit-dmf-amqp/src/test/java/org/eclipse/hawkbit/amqp/AmqpMessageHandlerServiceTest.java
Outdated
Show resolved
Hide resolved
...dmf/hawkbit-dmf-api/src/main/java/org/eclipse/hawkbit/dmf/json/model/DmfAttributeUpdate.java
Outdated
Show resolved
Hide resolved
...mf/hawkbit-dmf-api/src/main/java/org/eclipse/hawkbit/dmf/json/model/DmfTargetProperties.java
Outdated
Show resolved
Hide resolved
...repository-jpa/src/main/java/org/eclipse/hawkbit/repository/jpa/JpaControllerManagement.java
Outdated
Show resolved
Hide resolved
...repository-jpa/src/main/java/org/eclipse/hawkbit/repository/jpa/JpaControllerManagement.java
Show resolved
Hide resolved
...repository-jpa/src/main/java/org/eclipse/hawkbit/repository/jpa/JpaControllerManagement.java
Show resolved
Hide resolved
...-repository-test/src/main/java/org/eclipse/hawkbit/repository/test/util/TestdataFactory.java
Outdated
Show resolved
Hide resolved
...-repository-test/src/main/java/org/eclipse/hawkbit/repository/test/util/TestdataFactory.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Ammar Bikic <[email protected]>
Signed-off-by: Ammar Bikic <[email protected]>
Signed-off-by: Ammar Bikic <[email protected]>
...t-dmf/hawkbit-dmf-amqp/src/main/java/org/eclipse/hawkbit/amqp/AmqpMessageHandlerService.java
Show resolved
Hide resolved
...repository-jpa/src/main/java/org/eclipse/hawkbit/repository/jpa/JpaControllerManagement.java
Outdated
Show resolved
Hide resolved
...repository-jpa/src/main/java/org/eclipse/hawkbit/repository/jpa/JpaControllerManagement.java
Show resolved
Hide resolved
...repository-jpa/src/main/java/org/eclipse/hawkbit/repository/jpa/JpaControllerManagement.java
Outdated
Show resolved
Hide resolved
...-repository-test/src/main/java/org/eclipse/hawkbit/repository/test/util/TestdataFactory.java
Show resolved
Hide resolved
Signed-off-by: Ammar Bikic <[email protected]>
…ATED Signed-off-by: Ammar Bikic <[email protected]>
Signed-off-by: Ammar Bikic <[email protected]>
Signed-off-by: Ammar Bikic <[email protected]>
👍 |
Signed-off-by: Ammar Bikic <[email protected]>
The purpose of |
...repository-jpa/src/main/java/org/eclipse/hawkbit/repository/jpa/JpaControllerManagement.java
Outdated
Show resolved
Hide resolved
…ting the name property in THING_CREATED message Signed-off-by: Ammar Bikic <[email protected]>
...dmf/hawkbit-dmf-api/src/main/java/org/eclipse/hawkbit/dmf/json/model/DmfAttributeUpdate.java
Outdated
Show resolved
Hide resolved
...t-dmf/hawkbit-dmf-amqp/src/main/java/org/eclipse/hawkbit/amqp/AmqpMessageHandlerService.java
Outdated
Show resolved
Hide resolved
...t-dmf/hawkbit-dmf-amqp/src/main/java/org/eclipse/hawkbit/amqp/AmqpMessageHandlerService.java
Outdated
Show resolved
Hide resolved
...t-dmf/hawkbit-dmf-amqp/src/main/java/org/eclipse/hawkbit/amqp/AmqpMessageHandlerService.java
Outdated
Show resolved
Hide resolved
...t-dmf/hawkbit-dmf-amqp/src/main/java/org/eclipse/hawkbit/amqp/AmqpMessageHandlerService.java
Outdated
Show resolved
Hide resolved
...epository-jpa/src/test/java/org/eclipse/hawkbit/repository/jpa/ControllerManagementTest.java
Outdated
Show resolved
Hide resolved
...epository-jpa/src/test/java/org/eclipse/hawkbit/repository/jpa/ControllerManagementTest.java
Outdated
Show resolved
Hide resolved
...epository-jpa/src/test/java/org/eclipse/hawkbit/repository/jpa/ControllerManagementTest.java
Outdated
Show resolved
Hide resolved
...epository-jpa/src/test/java/org/eclipse/hawkbit/repository/jpa/ControllerManagementTest.java
Outdated
Show resolved
Hide resolved
...epository-jpa/src/test/java/org/eclipse/hawkbit/repository/jpa/ControllerManagementTest.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Ammar Bikic <[email protected]>
Signed-off-by: Ammar Bikic <[email protected]>
Signed-off-by: Ammar Bikic <[email protected]>
…l_name_to_thing_created # Conflicts: # docs/content/apis/dmf_api.md # hawkbit-dmf/hawkbit-dmf-amqp/src/main/java/org/eclipse/hawkbit/amqp/AmqpMessageHandlerService.java # hawkbit-dmf/hawkbit-dmf-amqp/src/test/java/org/eclipse/hawkbit/amqp/AmqpMessageHandlerServiceTest.java # hawkbit-repository/hawkbit-repository-api/src/main/java/org/eclipse/hawkbit/repository/ControllerManagement.java # hawkbit-repository/hawkbit-repository-jpa/src/main/java/org/eclipse/hawkbit/repository/jpa/JpaControllerManagement.java # hawkbit-repository/hawkbit-repository-jpa/src/test/java/org/eclipse/hawkbit/repository/jpa/ControllerManagementTest.java
Signed-off-by: Ammar Bikic <[email protected]>
...t-dmf/hawkbit-dmf-amqp/src/main/java/org/eclipse/hawkbit/amqp/AmqpMessageHandlerService.java
Outdated
Show resolved
Hide resolved
...f/hawkbit-dmf-amqp/src/test/java/org/eclipse/hawkbit/amqp/AmqpMessageHandlerServiceTest.java
Outdated
Show resolved
Hide resolved
...epository-jpa/src/test/java/org/eclipse/hawkbit/repository/jpa/ControllerManagementTest.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Ammar Bikic <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks Good!
* First implementation pushed because of debugging purpose Signed-off-by: Ammar Bikic <[email protected]> * Add name field and tests regarding name field functionality in THING_CREATED Signed-off-by: Ammar Bikic <[email protected]> * SonarQube realted changes in name field functionality in THING_CREATED Signed-off-by: Ammar Bikic <[email protected]> * Add name field and tests regarding name field functionality in UPDATE_ATTRIBUTES Signed-off-by: Ammar Bikic <[email protected]> * Adapt documentation due to name field in THING_CREATED and UPDATE_ATTRIBUTES Signed-off-by: Ammar Bikic <[email protected]> * Add integration tests regarding name field functionality in THING_CREATED Signed-off-by: Ammar Bikic <[email protected]> * Reformat after finding format bug regarding THING_CREATED Signed-off-by: Ammar Bikic <[email protected]> * Reformat after finding the real format bug regarding THING_CREATED Signed-off-by: Ammar Bikic <[email protected]> * Reformat regarding THING_CREATED Signed-off-by: Ammar Bikic <[email protected]> * Use constant in THING_CREATED Signed-off-by: Ammar Bikic <[email protected]> * Format in THING_CREATED Signed-off-by: Ammar Bikic <[email protected]> * Resolving peer review comments regarding THING_CREATED Signed-off-by: Ammar Bikic <[email protected]> * Resolving peer review comments (organize imports) regarding THING_CREATED Signed-off-by: Ammar Bikic <[email protected]> * Refactoring regarding THING_CREATED Signed-off-by: Ammar Bikic <[email protected]> * Refactoring due to peer review Signed-off-by: Ammar Bikic <[email protected]> * Refactoring due to peer review Signed-off-by: Ammar Bikic <[email protected]> * Excluding UPDATE_ATTRIBUTES changes and provide functionality of updating the name property in THING_CREATED message Signed-off-by: Ammar Bikic <[email protected]> * Refactoring due to peer review Signed-off-by: Ammar Bikic <[email protected]> * Refactoring due to peer review Signed-off-by: Ammar Bikic <[email protected]> * Fix SonarQube finding Signed-off-by: Ammar Bikic <[email protected]> * Merge master into current branch Signed-off-by: Ammar Bikic <[email protected]> * Fix peer review findings Signed-off-by: Ammar Bikic <[email protected]>
A new optional filed "name" was added to the THING_CREATED message. It can also be used to update the name of an existing thing. Hence to that the documentation also needed to be updated.