From 872e4a5dfa3cba912853b5996f4471bd12c3c34e Mon Sep 17 00:00:00 2001 From: Om Bhardwaj <115864495+OmBhardwajj@users.noreply.github.com> Date: Tue, 25 Jun 2024 10:50:03 +0530 Subject: [PATCH] avniproject#733 | Removed the unnecessary annotations and test file --- .../main/java/org/avni/server/domain/metabase/Database.java | 3 --- .../java/org/avni/server/domain/metabase/DatabaseDetails.java | 3 --- avni-server-api/src/main/resources/application.properties | 2 +- .../avni/server/web/MetabaseControllerIntegrationTest.java | 4 ---- 4 files changed, 1 insertion(+), 11 deletions(-) delete mode 100644 avni-server-api/src/test/java/org/avni/server/web/MetabaseControllerIntegrationTest.java diff --git a/avni-server-api/src/main/java/org/avni/server/domain/metabase/Database.java b/avni-server-api/src/main/java/org/avni/server/domain/metabase/Database.java index 0bf1af408..86b0ce604 100644 --- a/avni-server-api/src/main/java/org/avni/server/domain/metabase/Database.java +++ b/avni-server-api/src/main/java/org/avni/server/domain/metabase/Database.java @@ -1,8 +1,5 @@ package org.avni.server.domain.metabase; -import org.springframework.stereotype.Component; - -@Component public class Database { private Integer id; private String name; diff --git a/avni-server-api/src/main/java/org/avni/server/domain/metabase/DatabaseDetails.java b/avni-server-api/src/main/java/org/avni/server/domain/metabase/DatabaseDetails.java index 416f7bae6..5844499a2 100644 --- a/avni-server-api/src/main/java/org/avni/server/domain/metabase/DatabaseDetails.java +++ b/avni-server-api/src/main/java/org/avni/server/domain/metabase/DatabaseDetails.java @@ -1,8 +1,5 @@ package org.avni.server.domain.metabase; -import org.springframework.stereotype.Component; - -@Component public class DatabaseDetails { private String host; private String port; diff --git a/avni-server-api/src/main/resources/application.properties b/avni-server-api/src/main/resources/application.properties index 220885fae..a76a2ac77 100644 --- a/avni-server-api/src/main/resources/application.properties +++ b/avni-server-api/src/main/resources/application.properties @@ -160,4 +160,4 @@ avni.reportingSystems[2].url=${AVNI_REPORTING_SYSTEM_2_URL:} #metabase metabase.api.url=${METABASE_API_URL:http://localhost:3000/api} -metabase.api.key=${METABASE_API_KEY:mb_RXwY6ip5FKeVjrP3EdZOQrDyajrKBTT7FXF6X2anUCg=} +metabase.api.key=${METABASE_API_KEY:mb_uhFRMqCSre4v/hTZTsQcMnh8k2GCZFX2tGmSBdoxNow=} diff --git a/avni-server-api/src/test/java/org/avni/server/web/MetabaseControllerIntegrationTest.java b/avni-server-api/src/test/java/org/avni/server/web/MetabaseControllerIntegrationTest.java deleted file mode 100644 index 78e829a3b..000000000 --- a/avni-server-api/src/test/java/org/avni/server/web/MetabaseControllerIntegrationTest.java +++ /dev/null @@ -1,4 +0,0 @@ -package org.avni.server.web; - -public class MetabaseControllerIntegrationTest { -}