aboutsummaryrefslogtreecommitdiffstats
path: root/runtime-acm/src/test/resources/application-test.yaml
blob: 31e54737ed38cca6dc29e9a2cef31597fb782b4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
spring:
  datasource:
    url: jdbc:h2:mem:testdb
    driverClassName: org.h2.Driver
    hikari:
      maxLifetime: 1800000
      maximumPoolSize: 3
  jpa:
    hibernate:
      ddl-auto: create
    open-in-view: false

server:
  servlet:
    context-path: /onap/policy/clamp/acm

runtime:
  topics:
    operationTopic: policy-acruntime-participant
    syncTopic: acm-ppnt-sync
  participantParameters:
    updateParameters:
      maxRetryCount: 3
  topicParameterGroup:
    topicSources:
      -
        topic: ${runtime.topics.operationTopic}
        servers:
          - kafka:9092
        topicCommInfrastructure: NOOP
        fetchTimeout: 15000
    topicSinks:
      -
        topicCommInfrastructure: NOOP
        servers:
          - kafka:9092
        topic: ${runtime.topics.operationTopic}
      -
        topic: ${runtime.topics.syncTopic}
        servers:
            - ${topicServer:kafka:9092}
        topicCommInfrastructure: NOOP
  acmParameters:
    acElementName: org.onap.policy.clamp.acm.AutomationCompositionElement
    acNodeType: org.onap.policy.clamp.acm.AutomationComposition

management:
  endpoints:
    web:
      base-path: /
      exposure:
        include: health, metrics, prometheus
  tracing:
    propagation:
      produce: b3
    sampling:
      probability: 1.0

tracing:
  enabled: true
  exporter:
    endpoint: http://jaeger:4317
    protocol: grpc
  sampler:
    jaeger-remote:
      endpoint: http://jaeger:14250