Skip to content
Snippets Groups Projects
Commit 306f5d28 authored by OZGCloud's avatar OZGCloud
Browse files

Enable spring boot actuator and spring admin registration

parent 272cf2ad
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,7 @@
<mapstruct.version>1.4.1.Final</mapstruct.version>
<lorem.version>2.1</lorem.version>
<faker.version>1.0.2</faker.version>
<spring-admin.version>2.3.1</spring-admin.version>
</properties>
<dependencies>
......@@ -39,6 +40,20 @@
<artifactId>grpc-server-spring-boot-starter</artifactId>
<version>${grpc.spring-boot-starter.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-starter-client</artifactId>
<version>${spring-admin.version}</version>
</dependency>
<!-- own projects -->
<dependency>
......@@ -117,6 +132,14 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<id>build info</id>
<goals>
<goal>build-info</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
......
server:
port: 8085
spring:
boot:
admin:
client:
instance:
prefer-ip: true
url: http://localhost:8090
\ No newline at end of file
spring:
boot:
admin:
client:
instance:
prefer-ip: true
data:
mongodb:
host: 172.30.190.222
\ No newline at end of file
authentication-database: admin
username: root
password: ldsjfa0avjklz
\ No newline at end of file
logging:
level:
ROOT: WARN
de.itvsh: INFO
spring:
application:
name: Pluto
data:
mongodb:
authentication-database: admin
___ _ _ _ _____ ___
| _ \| | | | | ||_ _| / _ \
| _/| |__ | |_| | | | | (_) |
|_| |____| \___/ |_| \___/
${spring-boot.version} ${application.version}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment