Skip to content
Aborted

Changes

Summary

  1. fix(rest-api): handle missing account in `ServiceConfigurations` to prevent NPE (details)
  2. improve: enhance account not null check (details)
Commit 1eba601cb2b30e4f90c82e91c7966a4751dd5687 by MDeLuise
fix(rest-api): handle missing account in `ServiceConfigurations` to prevent NPE

Throw `KapuaEntityNotFoundException` when `Account` is not found for given `scopeId` in `ServiceConfigurations` resource. This prevents `NullPointerException` when `scopeId` does not match any account.
The file was modified rest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/ServiceConfigurations.java (diff)
Commit 09ac94c6224188c024624f5806ba88cdd6dd1d4f by MDeLuise
improve: enhance account not null check
The file was modified rest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/ServiceConfigurations.java (diff)