Added proper logging to sdc-listener MS
[ccsdk/cds.git] / ms / sdclistener / application / src / main / resources / application.yaml
1 listenerservice:
2   config:
3     asdcAddress: ${asdcAddress:localhost:8443}
4     messageBusAddress: ${messageBusAddress:localhost}
5     user: ${sdcusername:cds}
6     password: ${password:Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U}
7     pollingInterval: ${pollingInterval:15}
8     pollingTimeout: ${pollingTimeout:60}
9     relevantArtifactTypes: ${relevantArtifactTypes:TOSCA_CSAR}
10     consumerGroup: ${consumerGroup:cds-id-local}
11     environmentName: ${environmentName:AUTO}
12     consumerId: ${consumerId:cds-id-local}
13     keyStorePassword: ${keyStorePassword}
14     keyStorePath: ${keyStorePath}
15     activateServerTLSAuth : ${activateServerTLSAuth:false}
16     isUseHttpsWithDmaap: ${isUseHttpsWithDmaap:false}
17     archivePath: ${archivePath:/opt/app/onap/cds-sdc-listener/}
18     grpcAddress: ${grpcAddress:localhost}
19     grpcPort: ${grpcPort:9111}
20     authHeader: ${authHeader:Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==}
21 #port needed by Liveness probe
22 server:
23   port: ${healthcheckPort:9000}
24 #set spring.main.web-environment=false if you want to NOT to open a port for healthcheck.
25 spring:
26   main:
27     web-environment: ${sprintWebListenerEnabled:true}
28
29
30
31 cdslistener:
32   healthcheck:
33     baseUrl: http://localhost:9000/
34 #servicename = SDC Listener service and service link = /api/v1/sdclistener/healthcheck (this is used to check if sdclistener is up depending on all services status)
35 #if you want to add more service it will like [service-name,service-link],[],[]
36     mapping-service-name-with-service-link: "[SDC Listener service,/api/v1/sdclistener/healthcheck]"
37
38 management:
39   endpoint:
40     health:
41       show-details: always
42
43
44   endpoints:
45     web:
46       exposure:
47         include: "*"
48
49 endpoints:
50   user:
51     name: eHbVUbJAj4AG2522cSbrOQ==
52     password: eHbVUbJAj4AG2522cSbrOQ==