✨ [REST-API] device management for wire graph#4357
Open
Agnul97 wants to merge 17 commits intoeclipse-kapua:developfrom
Open
✨ [REST-API] device management for wire graph#4357Agnul97 wants to merge 17 commits intoeclipse-kapua:developfrom
Agnul97 wants to merge 17 commits intoeclipse-kapua:developfrom
Conversation
2dcb9a8 to
9533d77
Compare
… internal KuraXmlConfigPropertiesAdapter mashaller/unmarshaller
foo
9533d77 to
33cc5de
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Kura WIRE-V1 request handler allows to remotely manage several aspects of the Wire Graph functionality
Among the endpoints offered by the request handler, the following three are the object of this PR:
GET /graph/snapshot
PUT /graph/snapshot
DEL /graph
With the GET a user is able to download the wire graph snapshot, a subset of the device configuration limited to the wire graph and wiregraph-related components, with the Kapua normalised encoding. Wiregraph snapshot can be prepared for later upload on another device or in the same device.
With the DEL the user can cleanly delete the current wire graph in the target device so that it can be safely replaced by a new graph avoiding issues due to the merge of components operated by Kura.
With the PUT the user can upload the wire graph snapshot.
This PR adds such operations along with their rest-api.