-
Notifications
You must be signed in to change notification settings - Fork 313
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(rest.cloudconnection.provider): Cloud Connections REST Api (#4950)
* Added bundle skeleton * Added first code implementation. * Added some methods implementation * First partial implementation * Code cleanup * fixed line length * fixed error in bundle renaming during build. * added missing annotation * added missing annotation 2 * Full featured * Several fixes * Some variables renaming * Migrated to org.eclipse.kura.rest.configuration.api classes * commented unready module * Refactored code to reduce cognitive complexity. * Added test skeleton * Added test for `/cloudEntries` * Removed checked exceptions throwing in init. * some fixes * other fixes. * refactored according with new naming * code cleanup * Minor methods name changes * minor fixes. * Removed unused DEBUG_MESSSAGE. * Now if a stackComponent doesn't exist for a specific pid, an empty list is returned. * Changed the returned error codes. * replaced cloudServicePid with cloudEndpointPid * Added KuraErrorCode.NOT_FOUND if connectionId is not found. * Changer returned error code. * Almost finished tests. * Added all tests. * Fixed shouldDeleteCloudEndpoint * Replaced CloudService-test pid with constant. * Replace void return with `javax.ws.rs.core.Response` * Fixed test. * Added different specific PID for executions on different Transport * Fixed error in pid * Refactored tests. * Removed unused resources. * Added `rest.cloudconnection` permission to snapshot_0.xml files * Updated copyright header. * Updated year in the copyright plate. * Refactored code to remove cognitive complexity. * Fixed wrong class type * Fixed reversed fields. * Added check on managed CloudconnectionPids existence.
- Loading branch information
1 parent
2815ab7
commit 091122a
Showing
54 changed files
with
2,763 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
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
Oops, something went wrong.