Skip to content

Commit

Permalink
feat: use knowhowto props group
Browse files Browse the repository at this point in the history
  • Loading branch information
Dima Denysenko committed Nov 14, 2023
1 parent d81fd84 commit d34aec2
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dashboard-service/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ management :
prometheus :
enabled : true

ujar :
knowhowto :
build :
description : '@project.description@'
relative-path : ${SERVER_SERVLET_CONTEXT_PATH:/}
Expand Down
2 changes: 1 addition & 1 deletion dashboard-service/src/test/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ embedded :
reuse-container : true
docker-image : rabbitmq:3.12-management-alpine

ujar :
knowhowto :
build :
description : '@project.description@'
relative-path : '/'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "ujar.services")
@ConfigurationProperties(prefix = "knowhowto.services")
public record ServicesProperties(String dashboardService) {
}
2 changes: 1 addition & 1 deletion edge-service/src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ management :
server :
port : 2999

ujar :
knowhowto :
services :
dashboard-service : http://localhost:3000
2 changes: 1 addition & 1 deletion edge-service/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,6 @@ management :
show-values : always
prometheus :
enabled : true
ujar :
knowhowto :
services :
dashboard-service : ${DASHBOARD_SERVICE_URL:http://dashboard-service}
2 changes: 1 addition & 1 deletion edge-service/src/test/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ spring :
application :
name : edge-service

ujar :
knowhowto :
services :
dashboard-service : http://dashboard-service
2 changes: 1 addition & 1 deletion importer-service/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ management :
prometheus :
enabled : true

ujar :
knowhowto :
build :
description : '@project.description@'
relative-path : ${SERVER_SERVLET_CONTEXT_PATH:/}
Expand Down
2 changes: 1 addition & 1 deletion importer-service/src/test/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ embedded :
reuse-container : true
docker-image : rabbitmq:3.12-management-alpine

ujar :
knowhowto :
build :
description : '@project.description@'
relative-path : '/'
Expand Down
2 changes: 1 addition & 1 deletion src/main/docker/prometheus/prometheus.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sample global config for monitoring uJar applications
# Sample global config for monitoring KnowHowSpringBoot applications
global :
scrape_interval : 15s # By default, scrape targets every 15 seconds.
evaluation_interval : 15s # By default, scrape targets every 15 seconds.
Expand Down

0 comments on commit d34aec2

Please sign in to comment.