diff --git a/src/main/java/com/commafeed/backend/service/ApplicationPropertiesService.java b/src/main/java/com/commafeed/backend/service/ApplicationPropertiesService.java index cd12c872..fdcfc6c9 100644 --- a/src/main/java/com/commafeed/backend/service/ApplicationPropertiesService.java +++ b/src/main/java/com/commafeed/backend/service/ApplicationPropertiesService.java @@ -10,10 +10,6 @@ public class ApplicationPropertiesService { bundle = ResourceBundle.getBundle("application"); } - public String getDatasource() { - return bundle.getString("datasource"); - } - public String getVersion() { return bundle.getString("version"); } @@ -21,8 +17,4 @@ public class ApplicationPropertiesService { public String getGitCommit() { return bundle.getString("git.commit"); } - - public boolean isProduction() { - return Boolean.valueOf(bundle.getString("production")); - } } diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 71f55473..263d9922 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,4 +1,2 @@ version=${project.version} -production=${production} -datasource=${jpa.datasource.name} git.commit=${git.commit.id.abbrev} \ No newline at end of file