diff options
author | 2019-04-11 15:47:00 +0000 | |
---|---|---|
committer | 2019-04-11 15:47:00 +0000 | |
commit | 4ed3b4930b293d5001d4614fcade626a21b32139 (patch) | |
tree | cade22917c0e8b9bd8ce8799f4dc9a7578679c80 /datafile-app-server | |
parent | f560cae7adfbaa90499473bb2f7bbee5d44de8a2 (diff) | |
parent | 4dc06d0e828494352e24a8e47cea1073de25953f (diff) |
Merge "Enabling Spring boot actuator"
Diffstat (limited to 'datafile-app-server')
-rw-r--r-- | datafile-app-server/config/application.yaml | 5 | ||||
-rw-r--r-- | datafile-app-server/pom.xml | 64 |
2 files changed, 65 insertions, 4 deletions
diff --git a/datafile-app-server/config/application.yaml b/datafile-app-server/config/application.yaml index 8985b9b8..504a6f3f 100644 --- a/datafile-app-server/config/application.yaml +++ b/datafile-app-server/config/application.yaml @@ -1,6 +1,11 @@ spring: profiles: active: prod +management: + endpoints: + web: + exposure: + include: "loggers,logfile,health,info,metrics" server: port: 8433 ssl: diff --git a/datafile-app-server/pom.xml b/datafile-app-server/pom.xml index c985a034..ae15ffe7 100644 --- a/datafile-app-server/pom.xml +++ b/datafile-app-server/pom.xml @@ -121,6 +121,39 @@ </execution> </executions> </plugin> + + <plugin> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-maven-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>build-info</goal> + </goals> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>pl.project13.maven</groupId> + <artifactId>git-commit-id-plugin</artifactId> + <executions> + <execution> + <id>get-the-git-infos</id> + <goals> + <goal>revision</goal> + </goals> + </execution> + </executions> + <configuration> + <verbose>true</verbose> + <dotGitDirectory>${project.basedir}/.git</dotGitDirectory> + <dateFormat>MM-dd-yyyy '@' HH:mm:ss Z</dateFormat> + <generateGitPropertiesFile>true</generateGitPropertiesFile> + <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename> + <failOnNoGitDirectory>true</failOnNoGitDirectory> + </configuration> + </plugin> </plugins> </build> @@ -173,6 +206,29 @@ <groupId>commons-net</groupId> <artifactId>commons-net</artifactId> </dependency> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-actuator</artifactId> + </dependency> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-lang3</artifactId> + </dependency> + <dependency> + <groupId>org.apache.httpcomponents</groupId> + <artifactId>httpclient</artifactId> + </dependency> + <dependency> + <groupId>commons-net</groupId> + <artifactId>commons-net</artifactId> + </dependency> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-actuator</artifactId> + </dependency> + + + <!--TESTS DEPENDENCIES --> <dependency> @@ -189,7 +245,7 @@ <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <scope>test</scope> - </dependency> + </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> @@ -230,9 +286,9 @@ <artifactId>spring-boot-configuration-processor</artifactId> <optional>true</optional> </dependency> - <dependency> - <groupId>javax.xml.bind</groupId> - <artifactId>jaxb-api</artifactId> + <dependency> + <groupId>javax.xml.bind</groupId> + <artifactId>jaxb-api</artifactId> </dependency> </dependencies> </project> |