blob: 1110b3a6cd6ee242ada0bf0aff89078bedb28fc0 [file] [log] [blame]
liamfallon20c74872021-05-26 11:02:07 +01001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ============LICENSE_START=======================================================
adheli.tavares32bc4122024-04-02 15:12:31 +01004 Copyright (C) 2021-2024 Nordix Foundation.
liamfallon20c74872021-05-26 11:02:07 +01005 ================================================================================
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17
18 SPDX-License-Identifier: Apache-2.0
19 ============LICENSE_END=========================================================
20-->
21
adheli.tavares4407ea62023-08-11 15:10:44 +010022<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
liamfallon20c74872021-05-26 11:02:07 +010024 <modelVersion>4.0.0</modelVersion>
25
26 <parent>
27 <groupId>org.onap.policy.clamp</groupId>
28 <artifactId>policy-clamp</artifactId>
saul.gill01565592024-05-20 11:09:09 +010029 <version>8.0.0-SNAPSHOT</version>
liamfallon20c74872021-05-26 11:02:07 +010030 </parent>
31
liamfallon43098042022-01-25 19:55:43 +000032 <artifactId>policy-clamp-runtime-acm</artifactId>
liamfallon20c74872021-05-26 11:02:07 +010033 <name>${project.artifactId}</name>
34
35 <dependencies>
36 <dependency>
37 <groupId>org.onap.policy.clamp</groupId>
38 <artifactId>policy-clamp-common</artifactId>
39 <version>${project.version}</version>
40 </dependency>
41 <dependency>
42 <groupId>org.onap.policy.clamp</groupId>
43 <artifactId>policy-clamp-models</artifactId>
adheli.tavares4407ea62023-08-11 15:10:44 +010044 <version>${project.version}</version>
liamfallon20c74872021-05-26 11:02:07 +010045 </dependency>
FrancescoFioraEstd5fb4e02021-07-05 10:36:42 +010046 <dependency>
adheli.tavares7f630942022-03-09 10:39:29 +000047 <groupId>org.onap.policy.clamp</groupId>
48 <artifactId>policy-clamp-examples</artifactId>
49 <version>${project.version}</version>
50 </dependency>
adheli.tavares32bc4122024-04-02 15:12:31 +010051 <dependency>
52 <groupId>org.onap.policy.common</groupId>
53 <artifactId>policy-endpoints</artifactId>
54 <version>${policy.common.version}</version>
55 </dependency>
56 <dependency>
57 <groupId>org.onap.policy.common</groupId>
58 <artifactId>spring-utils</artifactId>
59 <version>${policy.common.version}</version>
60 </dependency>
61 <dependency>
62 <groupId>org.springframework.boot</groupId>
63 <artifactId>spring-boot-starter-web</artifactId>
64 </dependency>
65 <dependency>
66 <groupId>org.springframework.boot</groupId>
67 <artifactId>spring-boot-autoconfigure</artifactId>
68 </dependency>
69 <dependency>
70 <groupId>org.springframework.boot</groupId>
71 <artifactId>spring-boot-starter-aop</artifactId>
72 </dependency>
73 <dependency>
74 <groupId>org.springframework.boot</groupId>
75 <artifactId>spring-boot-starter-actuator</artifactId>
76 </dependency>
77 <dependency>
78 <groupId>org.springframework.boot</groupId>
79 <artifactId>spring-boot-starter-webflux</artifactId>
80 </dependency>
81 <dependency>
82 <groupId>org.springframework.boot</groupId>
83 <artifactId>spring-boot-starter-data-jpa</artifactId>
84 </dependency>
85 <dependency>
86 <groupId>org.springframework.boot</groupId>
87 <artifactId>spring-boot-starter-validation</artifactId>
88 </dependency>
89 <dependency>
90 <groupId>org.springframework.security</groupId>
91 <artifactId>spring-security-web</artifactId>
92 </dependency>
93 <dependency>
94 <groupId>org.springframework.security</groupId>
95 <artifactId>spring-security-config</artifactId>
96 </dependency>
97 <dependency>
98 <groupId>org.springframework.boot</groupId>
99 <artifactId>spring-boot-starter-security</artifactId>
100 </dependency>
101 <dependency>
102 <groupId>org.apache.tomcat.embed</groupId>
103 <artifactId>tomcat-embed-core</artifactId>
104 </dependency>
105 <dependency>
106 <groupId>org.springdoc</groupId>
107 <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
108 </dependency>
109 <dependency>
110 <groupId>io.opentelemetry</groupId>
111 <artifactId>opentelemetry-exporter-otlp</artifactId>
112 </dependency>
113 <dependency>
114 <groupId>io.opentelemetry</groupId>
115 <artifactId>opentelemetry-sdk-extension-jaeger-remote-sampler</artifactId>
116 </dependency>
117 <dependency>
118 <groupId>io.opentelemetry</groupId>
119 <artifactId>opentelemetry-sdk-extension-autoconfigure</artifactId>
120 </dependency>
121 <dependency>
122 <groupId>io.micrometer</groupId>
123 <artifactId>micrometer-tracing-bridge-otel</artifactId>
124 </dependency>
125 <dependency>
126 <groupId>io.micrometer</groupId>
127 <artifactId>micrometer-registry-prometheus</artifactId>
128 </dependency>
129 <dependency>
130 <groupId>org.apache.kafka</groupId>
131 <artifactId>kafka-clients</artifactId>
132 <scope>runtime</scope>
133 </dependency>
134 <dependency>
135 <groupId>org.springframework.boot</groupId>
136 <artifactId>spring-boot-starter-test</artifactId>
137 <scope>test</scope>
138 </dependency>
139 <dependency>
140 <groupId>org.junit.jupiter</groupId>
141 <artifactId>junit-jupiter</artifactId>
142 <version>${version.jupiter}</version>
143 <scope>test</scope>
144 </dependency>
145 <dependency>
146 <groupId>org.assertj</groupId>
147 <artifactId>assertj-core</artifactId>
148 <scope>test</scope>
149 </dependency>
150 <dependency>
151 <groupId>org.mockito</groupId>
152 <artifactId>mockito-core</artifactId>
153 <scope>test</scope>
154 </dependency>
155 <dependency>
156 <groupId>com.h2database</groupId>
157 <artifactId>h2</artifactId>
158 <scope>test</scope>
159 </dependency>
liamfallon20c74872021-05-26 11:02:07 +0100160 </dependencies>
FrancescoFioraEstd5fb4e02021-07-05 10:36:42 +0100161
162 <build>
163 <plugins>
lapentafd9d345f32022-10-26 16:43:00 +0100164 <!-- Swagger code generation. -->
165 <plugin>
166 <groupId>io.swagger.codegen.v3</groupId>
167 <artifactId>swagger-codegen-maven-plugin</artifactId>
lapentafd9d345f32022-10-26 16:43:00 +0100168 <executions>
169 <execution>
170 <id>code-gen</id>
171 <goals>
172 <goal>generate</goal>
173 </goals>
174 <configuration>
175 <inputSpec>${project.basedir}/src/main/resources/openapi/openapi.yaml</inputSpec>
liamfallonc998a3a2022-11-11 13:43:16 +0000176 <invokerPackage>org.onap.policy.clamp.acm.runtime.main.rest</invokerPackage>
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000177 <modelPackage>org.onap.policy.clamp.models.acm.concepts</modelPackage>
liamfalloncf5af3f2022-12-01 15:24:57 +0000178 <apiPackage>org.onap.policy.clamp.acm.runtime.main.rest.gen</apiPackage>
lapentafd9d345f32022-10-26 16:43:00 +0100179 <language>spring</language>
180 <generateModels>false</generateModels>
181 <generateSupportingFiles>false</generateSupportingFiles>
liamfallonc998a3a2022-11-11 13:43:16 +0000182 <importMappings>
183 ToscaServiceTemplates=org.onap.policy.models.tosca.authorative.concepts.ToscaServiceTemplates,
184 ToscaServiceTemplate=org.onap.policy.models.tosca.authorative.concepts.ToscaServiceTemplate,
185 ToscaNodeTemplate=org.onap.policy.models.tosca.authorative.concepts.ToscaNodeTemplate,
186 AutomationCompositions=org.onap.policy.clamp.models.acm.concepts.AutomationCompositions,
187 SimpleResponse=org.onap.policy.clamp.models.acm.messages.rest.SimpleResponse,
liamfallonf5ebd502022-12-16 10:17:46 +0000188 AcTypeStateUpdate=org.onap.policy.clamp.models.acm.messages.rest.commissioning.AcTypeStateUpdate,
189 AcInstanceStateUpdate=org.onap.policy.clamp.models.acm.messages.rest.instantiation.AcInstanceStateUpdate,
liamfallonc998a3a2022-11-11 13:43:16 +0000190 InstancePropertiesResponse=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstancePropertiesResponse,
191 CommissioningResponse=org.onap.policy.clamp.models.acm.messages.rest.commissioning.CommissioningResponse,
192 InstantiationCommand=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstantiationCommand,
FrancescoFioraEst5e0f7912022-12-09 14:38:10 +0000193 InstantiationResponse=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstantiationResponse,
194 InstantiationUpdate=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstantiationUpdate
liamfallonc998a3a2022-11-11 13:43:16 +0000195 </importMappings>
lapentafd9d345f32022-10-26 16:43:00 +0100196 <configOptions>
197 <sourceFolder>src/gen/java</sourceFolder>
adheli.tavares4407ea62023-08-11 15:10:44 +0100198 <dateLibrary>java17</dateLibrary>
lapentafd9d345f32022-10-26 16:43:00 +0100199 <interfaceOnly>true</interfaceOnly>
200 <useTags>true</useTags>
adheli.tavares4407ea62023-08-11 15:10:44 +0100201 <jakarta>true</jakarta>
lapentafd9d345f32022-10-26 16:43:00 +0100202 </configOptions>
203 </configuration>
204 </execution>
205 </executions>
206 </plugin>
FrancescoFioraEstd5fb4e02021-07-05 10:36:42 +0100207 <plugin>
adheli.tavares7f630942022-03-09 10:39:29 +0000208 <groupId>org.apache.maven.plugins</groupId>
209 <artifactId>maven-remote-resources-plugin</artifactId>
adheli.tavares7f630942022-03-09 10:39:29 +0000210 <configuration>
211 <resourceBundles>
212 <resourceBundle>org.onap.policy.clamp:policy-clamp-examples:${project.version}</resourceBundle>
213 </resourceBundles>
214 </configuration>
215 <executions>
216 <execution>
217 <goals>
218 <goal>process</goal>
219 </goals>
220 </execution>
221 </executions>
222 </plugin>
223 <plugin>
FrancescoFioraEstd5fb4e02021-07-05 10:36:42 +0100224 <groupId>org.springframework.boot</groupId>
225 <artifactId>spring-boot-maven-plugin</artifactId>
adheli.tavares4407ea62023-08-11 15:10:44 +0100226 <version>${version.springboot}</version>
FrancescoFioraEstd5fb4e02021-07-05 10:36:42 +0100227 <executions>
228 <execution>
229 <goals>
230 <goal>repackage</goal>
231 </goals>
232 <phase>package</phase>
233 </execution>
234 </executions>
235 </plugin>
236 </plugins>
237 </build>
liamfallon20c74872021-05-26 11:02:07 +0100238</project>