Changes

Summary

  1. Return 409 Conflict in REST API for ENITY_UNIQUENESS exceptions (details)
  2. Update OpenAPI with 409 responses (details)
  3. Prevent username change at backend (details)
  4. Fixed retrieval of CertificateInfos (details)
  5. Added additional GwtErrorCodes (details)
  6. Fix a few tests (details)
Commit 52adf6458fb27867b5640042d277607bc2c8fe3f by Claudio Mezzasalma
Return 409 Conflict in REST API for ENITY_UNIQUENESS exceptions

Signed-off-by: Claudio Mezzasalma <claudio.mezzasalma@eurotech.com>
The file was addedrest-api/core/src/main/java/org/eclipse/kapua/app/api/core/exception/mapper/KapuaEntityUniquenessExceptionMapper.java
The file was addedrest-api/core/src/main/java/org/eclipse/kapua/app/api/core/exception/model/EntityUniquenessExceptionInfo.java
Commit 5cd52fe577be92ab34e74bae6265ebfda1087910 by Claudio Mezzasalma
Update OpenAPI with 409 responses

Signed-off-by: Claudio Mezzasalma <claudio.mezzasalma@eurotech.com>
The file was modifiedrest-api/resources/src/main/resources/openapi/jobStep/job-scopeId-jobId-steps.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/deviceOperation/deviceOperation-scopeId-deviceId.yaml (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/openapi.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/accessInfo/accessInfo-scopeId-accessInfoId-permissions.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/role/rolePermission-scopeId-roleId.yaml (diff)
Commit 49d0ea2e9eb2f86718604b7673dfda69d15655fd by Claudio Mezzasalma
Prevent username change at backend

Signed-off-by: Claudio Mezzasalma <claudio.mezzasalma@eurotech.com>
The file was modifiedservice/user/test/src/test/resources/features/UserService.feature (diff)
The file was modifiedservice/user/internal/src/main/java/org/eclipse/kapua/service/user/internal/UserServiceImpl.java (diff)
The file was modifiedservice/user/test-steps/src/main/java/org/eclipse/kapua/service/user/steps/UserServiceSteps.java (diff)
Commit b9fa30c19ffd0166e63adec9359e792b5dd96b1c by Alberto Codutti
Fixed retrieval of CertificateInfos

Signed-off-by: Alberto Codutti <alberto.codutti@eurotech.com>
The file was modifiedconsole/module/certificate/src/main/java/org/eclipse/kapua/app/console/module/certificate/server/GwtCertificateInfoServiceImpl.java (diff)
The file was modifiedconsole/module/certificate/src/main/java/org/eclipse/kapua/app/console/module/certificate/shared/service/GwtCertificateInfoService.java (diff)
The file was modifiedconsole/module/device/src/main/java/org/eclipse/kapua/app/console/module/device/client/device/keystore/dialog/KeystoreItemAddCertificateInfoDialog.java (diff)
Commit 57607872ff059cffebd24471a4c1e51317764c37 by Alberto Codutti
Added additional GwtErrorCodes

Signed-off-by: Alberto Codutti <alberto.codutti@eurotech.com>
The file was modifiedconsole/module/api/src/main/java/org/eclipse/kapua/app/console/module/api/server/util/KapuaExceptionHandler.java (diff)
The file was modifiedconsole/module/api/src/main/java/org/eclipse/kapua/app/console/module/api/client/GwtKapuaErrorCode.java (diff)
Commit f657f34b81bd2a01713f9b66aa4c0b4a5cdb4780 by Claudio Mezzasalma
Fix a few tests

Signed-off-by: Claudio Mezzasalma <claudio.mezzasalma@eurotech.com>
The file was modifiedqa/integration/src/test/resources/features/user/UserPermissionI9n.feature (diff)
The file was modifiedqa/integration/src/test/resources/features/user/UserRoleServiceI9n.feature (diff)