This repository has been archived by the owner on Mar 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Node Manager Interface for NCM Registration
IMPORTANT NOTE: This is a breaking change in the following way: create/update node will fail if NodeInfo doesn't contain a valid NCM uri. This means, 1) An instance of NCM must be running, 2) The NCM should be registered with NMM first. NCM Registration should contain the valid http end-point (like, http://localhost:9014) and an ID. NodeInfo should contain this NCM ID. delete node will work only if an NCM is up and running at http://localhost:9014. Currently this is an issue, it is defered to next commit since it requires solving a rather tricky problem but it will be fixed as soon as possible. The same conditions apply to bulk/file upload methods to create, update and delete nodes through NMM. Fix known issues in previous commit - Node creation returns error if the ncm_id has not been registered. - NMM query by ncm_id is working. - NMM is using NCM URI to talk to NCM, except for DELETE (pending issue) - No Unit tests yet, only swagger UI has been used to validate the code. Unit tests don't seem to test the real API, the integration test script for testing NMM to NCM flow will be extended.
- Loading branch information
Showing
5 changed files
with
54 additions
and
43 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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