FailedChanges

Summary

  1. Return 201 for Created and 204 for No Content (details)
  2. Throw KapuaException instead of Exception (details)
  3. Use base class for static references (details)
  4. Other Sonar fixes (details)
  5. Change return codes in OpenAPI spec (details)
  6. More 201 and 204 returns (details)
Commit dad78a836b31a0199ba8cb44d2f82d286b07f11a by claudio.mezzasalma
Return 201 for Created and 204 for No Content

Signed-off-by: Claudio Mezzasalma <claudio.mezzasalma@eurotech.com>
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/AccessInfos.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/Users.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceEvents.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceManagementOperationNotifications.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceManagementOperations.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/Devices.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/Streams.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/AccessPermissions.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/StreamsJson.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/Groups.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/Tags.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DataMessagesJson.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/AbstractKapuaResource.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/RolesPermissions.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/Accounts.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/EndpointInfos.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/Roles.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/AccessRoles.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DataMessages.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/Credentials.java (diff)
Commit d8a2962c47c40a2809defb427e97dad4b567d662 by claudio.mezzasalma
Throw KapuaException instead of Exception

Signed-off-by: Claudio Mezzasalma <claudio.mezzasalma@eurotech.com>
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceEvents.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/JobSteps.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/EndpointInfos.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceManagementOperationNotifications.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/JobTargets.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceManagementBundles.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/Tags.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/Accounts.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceManagementRequests.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceConnectionOptions.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/ServiceConfigurations.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/StreamsJson.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/AccessRoles.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DataChannels.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DataClients.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DataMessagesJson.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DataMetrics.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/Jobs.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/JobExecutions.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/AccessPermissions.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/RolesPermissions.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/Users.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/Credentials.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/Groups.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceManagementRequestsJson.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceManagementSnapshots.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/AccessInfos.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DataMessages.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceManagementAssets.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceManagementPackages.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceManagementCommands.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceManagementOperations.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/Streams.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceConnections.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceManagementConfigurations.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/JobTriggers.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/Authentication.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/Domains.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/Roles.java (diff)
Commit 7fcaef2148895936d413c735f0842b52814fbaa1 by claudio.mezzasalma
Use base class for static references

Signed-off-by: Claudio Mezzasalma <claudio.mezzasalma@eurotech.com>
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/Accounts.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/AccessPermissions.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/Domains.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/Jobs.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/Roles.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceManagementOperationNotifications.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/JobExecutions.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/Users.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/AccessRoles.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/JobTriggers.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/Tags.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/Groups.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/JobSteps.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/JobTargets.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/RolesPermissions.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceManagementOperations.java (diff)
Commit b55a00171dd5075ce3ecc7d9bb2ae791f76abeb8 by claudio.mezzasalma
Other Sonar fixes

Signed-off-by: Claudio Mezzasalma <claudio.mezzasalma@eurotech.com>
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/model/message/JsonKapuaPayload.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DataMessages.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceManagementPackages.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceManagementRequests.java (diff)
Commit 7846f60f8e40309f91b15f48ee3a8df722295015 by claudio.mezzasalma
Change return codes in OpenAPI spec

Signed-off-by: Claudio Mezzasalma <claudio.mezzasalma@eurotech.com>
The file was modifiedrest-api/resources/src/main/resources/openapi/stream/stream-scopeId.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/role/role-scopeId-roleId.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/user/user-scopeId-userId.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/device/device-scopeId-deviceId.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/deviceNotification/deviceNotification-scopeId-deviceId-operationId-notificationId.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/endpointInfo/endpointInfo-scopeId.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/role/role-scopeId.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/group/group-scopeId.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/credential/credential-scopeId-credentialId-unlock.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/credential/credential-scopeId.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/accessInfo/accessInfo-scopeId-accessInfoId-permissions.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/tag/tag-scopeId.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/accessInfo/accessInfo-scopeId.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/deviceEvent/deviceEvent-scopeId-deviceId-deviceEventId.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/deviceOperation/deviceOperation-scopeId-deviceId-operationId.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/role/rolePermission-scopeId-roleId.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/accessInfo/accessInfo-scopeId-accessInfoId-permissions-accessPermissionId.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/tag/tag-scopeId-tagId.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/account/account-scopeId.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/role/rolePermission-scopeId-roleId-permissionId.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/endpointInfo/endpointInfo-scopeId-endpointInfoId.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/accessInfo/accessInfo-scopeId-accessInfoId.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/account/account-scopeId-accountId.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/group/group-scopeId-groupId.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/user/user-scopeId.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/device/device-scopeId.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/accessInfo/accessInfo-scopeId-accessInfoId-roles.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/credential/credential-scopeId-credentialId.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/accessInfo/accessInfo-scopeId-accessInfoId-roles-accessRoleId.yaml (diff)
Commit d2ec6f5d85c9140e31716812af03968c542d807e by claudio.mezzasalma
More 201 and 204 returns

Signed-off-by: Claudio Mezzasalma <claudio.mezzasalma@eurotech.com>
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceManagementConfigurations.java (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/devicePackage/devicePackage-scopeId-deviceId-_uninstall.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/authentication/authentication-logout.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/devicePackage/devicePackage-scopeId-deviceId-_download.yaml (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/Authentication.java (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/deviceSnapshot/deviceSnapshot-scopeId-deviceId-snapshotId-_rollback.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/deviceConfiguration/deviceConfiguration-scopeId-deviceId.yaml (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceManagementBundles.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceManagementSnapshots.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/DeviceManagementPackages.java (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/deviceBundle/deviceBundle-scopeId-deviceId-_start.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/deviceBundle/deviceBundle-scopeId-deviceId-_stop.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/deviceConfiguration/deviceConfiguration-scopeId-deviceId-componentId.yaml (diff)