Commit e9aab109 authored by Labros Papadopoulos's avatar Labros Papadopoulos
Browse files

fix: spotless apply

parent ef951bb5
Loading
Loading
Loading
Loading
Loading
+2 −2
Changes for src/main/java/org/etsi/osl/hypo/api/fabric/clients/ZitiExceptionMapper.java: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -29,8 +29,8 @@ public class ZitiExceptionMapper implements ResponseExceptionMapper<RuntimeExcep

        return switch (status) {
            case 400 -> new ZitiClientException("Bad request sent to Ziti: " + body, status);
            case 401 -> new ZitiClientException(
                    "Ziti authentication failed (invalid zt-session)", status);
            case 401 ->
                    new ZitiClientException("Ziti authentication failed (invalid zt-session)", status);
            case 403 -> new ZitiClientException("Forbidden request to Ziti API", status);
            case 404 -> new ZitiClientException("Ziti resource not found", status);
            case 409 -> new ZitiClientException("Ziti identity already exists", status);
+1 −0
Changes for src/main/java/org/etsi/osl/hypo/api/fabric/model/ConfigTypesResponse.java: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ public class ConfigTypesResponse {
        private String updatedAt;
        private String name;
    }

    //
    @Data
    public static class Links {
+4 −2
Changes for src/main/java/org/etsi/osl/hypo/api/fabric/service/NetworkControllerService.java: 4 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -56,8 +56,10 @@ public class NetworkControllerService {

    public NetworkControllerResponse createNetworkController(
            NetworkControllerDto networkControllerDto)
            throws DuplicateNetworkControllerException, NetworkControllerAuthenticationException,
                    DomainIdentityNotFoundException, NetworkControllerCreationException {
            throws DuplicateNetworkControllerException,
                    NetworkControllerAuthenticationException,
                    DomainIdentityNotFoundException,
                    NetworkControllerCreationException {
        try {
            String networkName = networkControllerDto.getNetworkName();
            if (StringUtils.isNotBlank(networkName)) {