Skip to content

Commit

Permalink
feat: update envirioment global
Browse files Browse the repository at this point in the history
  • Loading branch information
Ar3secchim committed Nov 23, 2023
1 parent 888d53f commit 8f9f44e
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

@Configuration
public class TechnicalVisitQueue {
@Value("${config.TechnicalVisit.queue.out}")
@Value("${config.technical-visit.queue.out}")
private String queue;

@Bean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

@Configuration
public class WebClientConfig<StockClient> {
@Value("${config.technicalVisit.url}")
@Value("${config.technical-visit.url}")
private String technicalVisitUrl;

@Bean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,15 @@
"name": "spring.config.technicalVisit.queue.out",
"type": "java.lang.String",
"description": "A description for 'spring.config.technicalVisit.queue.out'"
},
{
"name": "config.technical-visit.url",
"type": "java.lang.String",
"description": "A description for 'config.technical-visit.url'"
},
{
"name": "config.technical-visit.queue.out",
"type": "java.lang.String",
"description": "A description for 'config.technical-visit.queue.out'"
}
]}
10 changes: 5 additions & 5 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ spring:
size: 50
checkout-timeout: 10000

config:
technicalVisit:
url: http://localhost:9081
queue:
out: shedule_technical_visit
config:
technical-visit:
url: http://localhost:9081
queue:
out: shedule_technical_visit


0 comments on commit 8f9f44e

Please sign in to comment.