Merge "Add health check, metrics and prometheus endpoints for CL participants"
authorLiam Fallon <liam.fallon@est.tech>
Mon, 15 Nov 2021 14:23:30 +0000 (14:23 +0000)
committerGerrit Code Review <gerrit@onap.org>
Mon, 15 Nov 2021 14:23:30 +0000 (14:23 +0000)
1  2 
packages/policy-clamp-tarball/src/main/resources/etc/ClRuntimeParameters.yaml
packages/policy-clamp-tarball/src/main/resources/etc/PolicyParticipantParameters.yaml
participant/participant-impl/participant-impl-policy/src/main/resources/config/application.yaml
participant/pom.xml
runtime-controlloop/src/main/resources/application.yaml
runtime-controlloop/src/test/resources/application_test.properties

              <groupId>org.onap.policy.clamp</groupId>
              <artifactId>policy-clamp-models</artifactId>
              <version>${project.version}</version>
 +            <exclusions>
 +                <exclusion>
 +                    <groupId>org.springframework.boot</groupId>
 +                    <artifactId>spring-boot-starter-data-jpa</artifactId>
 +                </exclusion>
 +            </exclusions>
          </dependency>
+         <!-- Actuator dependencies for participants added here to avoid http security conflicts in clamp/runtime -->
+         <dependency>
+             <groupId>org.springframework.boot</groupId>
+             <artifactId>spring-boot-starter-actuator</artifactId>
+             <version>${version.springboot}</version>
+         </dependency>
+         <dependency>
+             <groupId>io.micrometer</groupId>
+             <artifactId>micrometer-registry-prometheus</artifactId>
+             <version>${version.io.micrometer}</version>
+         </dependency>
      </dependencies>
  
      <build>