From dbc5a89ab3c1aa73bf44d21cdf8b0681f754d526 Mon Sep 17 00:00:00 2001 From: Mohammad Ghazanfar Ali Danish Date: Fri, 24 Nov 2023 09:34:22 +0100 Subject: [PATCH] Minor refactoring Signed-off-by: Mohammad Ghazanfar Ali Danish --- .../integration/RegistryIntegrationAasRepositoryFeature.java | 4 ++-- .../RegistryIntegrationSubmodelRepositoryFeature.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/basyx.aasrepository/basyx.aasrepository-feature-registry-integration/src/main/java/org/eclipse/digitaltwin/basyx/aasrepository/feature/registry/integration/RegistryIntegrationAasRepositoryFeature.java b/basyx.aasrepository/basyx.aasrepository-feature-registry-integration/src/main/java/org/eclipse/digitaltwin/basyx/aasrepository/feature/registry/integration/RegistryIntegrationAasRepositoryFeature.java index 17c5c33b8..34bdc7437 100644 --- a/basyx.aasrepository/basyx.aasrepository-feature-registry-integration/src/main/java/org/eclipse/digitaltwin/basyx/aasrepository/feature/registry/integration/RegistryIntegrationAasRepositoryFeature.java +++ b/basyx.aasrepository/basyx.aasrepository-feature-registry-integration/src/main/java/org/eclipse/digitaltwin/basyx/aasrepository/feature/registry/integration/RegistryIntegrationAasRepositoryFeature.java @@ -50,7 +50,7 @@ public class RegistryIntegrationAasRepositoryFeature implements AasRepositoryFea private String registryBaseURL; @Value("${basyx.externalurl:}") - private String submodelRepositoryExternalBaseURL; + private String aasRepositoryExternalBaseURL; @Autowired public RegistryIntegrationAasRepositoryFeature(AasRepositoryRegistryLink aasRepositoryRegistryLink) { @@ -78,6 +78,6 @@ public String getName() { @Override public boolean isEnabled() { - return !registryBaseURL.isBlank() && !submodelRepositoryExternalBaseURL.isBlank(); + return !registryBaseURL.isBlank() && !aasRepositoryExternalBaseURL.isBlank(); } } diff --git a/basyx.submodelrepository/basyx.submodelrepository-feature-registry-integration/src/main/java/org/eclipse/digitaltwin/basyx/submodelrepository/feature/registry/integration/RegistryIntegrationSubmodelRepositoryFeature.java b/basyx.submodelrepository/basyx.submodelrepository-feature-registry-integration/src/main/java/org/eclipse/digitaltwin/basyx/submodelrepository/feature/registry/integration/RegistryIntegrationSubmodelRepositoryFeature.java index 1a56931d3..6f5102e71 100644 --- a/basyx.submodelrepository/basyx.submodelrepository-feature-registry-integration/src/main/java/org/eclipse/digitaltwin/basyx/submodelrepository/feature/registry/integration/RegistryIntegrationSubmodelRepositoryFeature.java +++ b/basyx.submodelrepository/basyx.submodelrepository-feature-registry-integration/src/main/java/org/eclipse/digitaltwin/basyx/submodelrepository/feature/registry/integration/RegistryIntegrationSubmodelRepositoryFeature.java @@ -48,7 +48,7 @@ public class RegistryIntegrationSubmodelRepositoryFeature implements SubmodelRep private String registryBaseURL; @Value("${basyx.externalurl:}") - private String aasRepositoryExternalBaseURL; + private String submodelRepositoryExternalBaseURL; @Autowired public RegistryIntegrationSubmodelRepositoryFeature(SubmodelRepositoryRegistryLink submodelRepositoryRegistryLink) { @@ -76,6 +76,6 @@ public String getName() { @Override public boolean isEnabled() { - return !registryBaseURL.isBlank() && !aasRepositoryExternalBaseURL.isBlank(); + return !registryBaseURL.isBlank() && !submodelRepositoryExternalBaseURL.isBlank(); } }