Implement MessageSenderService
This commit is contained in:
7
receiver/src/main/resources/application-local.yml
Normal file
7
receiver/src/main/resources/application-local.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
spring:
|
||||
config:
|
||||
activate:
|
||||
on-profile: local
|
||||
import:
|
||||
- classpath:/local/webclient.yml
|
||||
- "configserver:http://localhost:20085"
|
||||
@@ -4,7 +4,7 @@ spring:
|
||||
main:
|
||||
allow-bean-definition-overriding: true
|
||||
profiles:
|
||||
active: ${SPRING_ACTIVE_PROFILE:development}
|
||||
active: ${SPRING_ACTIVE_PROFILE:local}
|
||||
freemarker:
|
||||
enabled: false
|
||||
|
||||
|
||||
5
receiver/src/main/resources/local/webclient.yml
Normal file
5
receiver/src/main/resources/local/webclient.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
webclient:
|
||||
init: true
|
||||
units:
|
||||
- unit-name: ppn-processor-api
|
||||
base-url: http://localhost:20081
|
||||
@@ -1,6 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<configuration>
|
||||
<springProperty name="DEFAULT_LEVEL_CONFIG" source="log.defaultLevel" />
|
||||
<springProfile name="local">
|
||||
<include resource="logback/logback-development.xml" />
|
||||
<logger name="org.apache.kafka" level="INFO" />
|
||||
</springProfile>
|
||||
<springProfile name="development">
|
||||
<include resource="logback/logback-development.xml" />
|
||||
<logger name="org.apache.kafka" level="INFO" />
|
||||
|
||||
Reference in New Issue
Block a user