From 7e2d182fcb121f26f237f8b0da474dd0a830a64e Mon Sep 17 00:00:00 2001 From: dvasunin Date: Thu, 23 Feb 2023 20:44:45 +0200 Subject: [PATCH 1/2] fix some smell --- .../SelfDescriptionFactoryApplication.java | 1 - .../org/eclipse/tractusx/selfdescriptionfactory/Utils.java | 5 +++++ .../SelfDescriptionFactoryApplicationTests.java | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/eclipse/tractusx/selfdescriptionfactory/SelfDescriptionFactoryApplication.java b/src/main/java/org/eclipse/tractusx/selfdescriptionfactory/SelfDescriptionFactoryApplication.java index 73bcbfd3..a381206d 100644 --- a/src/main/java/org/eclipse/tractusx/selfdescriptionfactory/SelfDescriptionFactoryApplication.java +++ b/src/main/java/org/eclipse/tractusx/selfdescriptionfactory/SelfDescriptionFactoryApplication.java @@ -26,7 +26,6 @@ import org.springframework.boot.context.properties.ConfigurationPropertiesScan; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.FullyQualifiedAnnotationBeanNameGenerator; -import org.springframework.scheduling.annotation.EnableAsync; @SpringBootApplication(exclude = {SecurityAutoConfiguration.class }) @ComponentScan(nameGenerator = FullyQualifiedAnnotationBeanNameGenerator.class) diff --git a/src/main/java/org/eclipse/tractusx/selfdescriptionfactory/Utils.java b/src/main/java/org/eclipse/tractusx/selfdescriptionfactory/Utils.java index 461ac2ce..0f3b1a39 100644 --- a/src/main/java/org/eclipse/tractusx/selfdescriptionfactory/Utils.java +++ b/src/main/java/org/eclipse/tractusx/selfdescriptionfactory/Utils.java @@ -33,6 +33,11 @@ import static io.vavr.control.Try.failure; public class Utils { + + private Utils() { + throw new IllegalStateException("Utility class"); + } + public static Function> mapFailure(Function f) { return ex -> failure(f.apply(ex)); diff --git a/src/test/java/org/eclipse/tractusx/selfdescriptionfactory/SelfDescriptionFactoryApplicationTests.java b/src/test/java/org/eclipse/tractusx/selfdescriptionfactory/SelfDescriptionFactoryApplicationTests.java index 926200a0..1d2a6f10 100644 --- a/src/test/java/org/eclipse/tractusx/selfdescriptionfactory/SelfDescriptionFactoryApplicationTests.java +++ b/src/test/java/org/eclipse/tractusx/selfdescriptionfactory/SelfDescriptionFactoryApplicationTests.java @@ -28,6 +28,7 @@ class SelfDescriptionFactoryApplicationTests { @Test void contextLoads() { + // here we assert the context is brought up } } From 71bcc7cf51c6fa618dd43a09cbbe7d75296eec4a Mon Sep 17 00:00:00 2001 From: adkumar1 Date: Fri, 24 Feb 2023 15:09:34 +0530 Subject: [PATCH 2/2] Update Chart.yaml --- charts/SDFactory/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/SDFactory/Chart.yaml b/charts/SDFactory/Chart.yaml index 4f0e63a9..4a697353 100644 --- a/charts/SDFactory/Chart.yaml +++ b/charts/SDFactory/Chart.yaml @@ -37,7 +37,7 @@ sources: # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 2.0.0 +version: 2.0.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to