diff options
author | Liam Fallon <liam.fallon@est.tech> | 2023-02-20 16:12:59 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2023-02-20 16:12:59 +0000 |
commit | 705bf225334bff05156ecf44ac72abffe01c859a (patch) | |
tree | 351e2b4669af88c8202e53c9180258a328ba9a3e /packages/policy-clamp-tarball | |
parent | c8c13eef9a8b2c24baf7e5c3b7b2504e90a01e12 (diff) | |
parent | df28b0a551c8397d437d29453abcd2e26bcec9b2 (diff) |
Merge "Add kserve participant"
Diffstat (limited to 'packages/policy-clamp-tarball')
-rwxr-xr-x[-rw-r--r--] | packages/policy-clamp-tarball/pom.xml | 5 | ||||
-rwxr-xr-x | packages/policy-clamp-tarball/src/main/resources/etc/KserveParticipantParameters.yaml | 57 |
2 files changed, 62 insertions, 0 deletions
diff --git a/packages/policy-clamp-tarball/pom.xml b/packages/policy-clamp-tarball/pom.xml index b1349dcc3..4a242ec19 100644..100755 --- a/packages/policy-clamp-tarball/pom.xml +++ b/packages/policy-clamp-tarball/pom.xml @@ -54,6 +54,11 @@ </dependency> <dependency> <groupId>org.onap.policy.clamp.participant</groupId> + <artifactId>policy-clamp-participant-impl-kserve</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.onap.policy.clamp.participant</groupId> <artifactId>policy-clamp-participant-impl-a1pms</artifactId> <version>${project.version}</version> </dependency> diff --git a/packages/policy-clamp-tarball/src/main/resources/etc/KserveParticipantParameters.yaml b/packages/policy-clamp-tarball/src/main/resources/etc/KserveParticipantParameters.yaml new file mode 100755 index 000000000..169217841 --- /dev/null +++ b/packages/policy-clamp-tarball/src/main/resources/etc/KserveParticipantParameters.yaml @@ -0,0 +1,57 @@ +spring: + cloud: + kubernetes: + enabled: false + discovery: + enabled: false + security: + user: + name: participantUser + password: zb!XztG34 + autoconfigure: + exclude: + - org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration + - org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration + - org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration + - org.springframework.boot.autoconfigure.data.web.SpringDataWebAutoConfiguration + - io.kubernetes.client.spring.extended.manifests.config.KubernetesManifestsAutoConfiguration + - io.kubernetes.client.spring.extended.network.config.KubernetesLoadBalancerAutoConfiguration +security: + enable-csrf: false + +participant: + intermediaryParameters: + reportingTimeIntervalMs: 120000 + description: Participant Description + participantId: 101c62b3-8918-41b9-a747-d21eb79c6c04 + clampAutomationCompositionTopics: + topicSources: + - topic: POLICY-ACRUNTIME-PARTICIPANT + servers: + - ${topicServer:message-router} + topicCommInfrastructure: dmaap + fetchTimeout: 15000 + topicSinks: + - topic: POLICY-ACRUNTIME-PARTICIPANT + servers: + - ${topicServer:message-router} + topicCommInfrastructure: dmaap + +customresourcedefinition: + group: serving.kserve.io + version: v1beta1 + plural: inferenceservices + grace-period: 10 + +management: + endpoints: + web: + base-path: / + exposure: + include: health, metrics, prometheus +server: + port: 8087 + servlet: + context-path: /onap/policy/clamp/acm/kserveparticipant + + |