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