blob: e3fc64402962a1dc1ab60f2fa05c0be5578e5c0f [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>
rameshiyer272821dc42024-11-19 08:29:11 +000029 <version>8.0.2-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.tavares6555f7c2024-11-04 11:33:12 +000047 <groupId>org.onap.policy.common</groupId>
48 <artifactId>common-parameters</artifactId>
49 <version>${policy.common.version}</version>
50 </dependency>
51 <dependency>
52 <groupId>org.onap.policy.common</groupId>
53 <artifactId>gson</artifactId>
54 <version>${policy.common.version}</version>
55 <scope>runtime</scope>
56 </dependency>
57 <dependency>
58 <groupId>org.onap.policy.common</groupId>
59 <artifactId>message-bus</artifactId>
60 <version>${policy.common.version}</version>
adheli.tavares7f630942022-03-09 10:39:29 +000061 </dependency>
adheli.tavares32bc4122024-04-02 15:12:31 +010062 <dependency>
63 <groupId>org.onap.policy.common</groupId>
64 <artifactId>policy-endpoints</artifactId>
65 <version>${policy.common.version}</version>
66 </dependency>
67 <dependency>
68 <groupId>org.onap.policy.common</groupId>
69 <artifactId>spring-utils</artifactId>
70 <version>${policy.common.version}</version>
71 </dependency>
72 <dependency>
adheli.tavares6555f7c2024-11-04 11:33:12 +000073 <groupId>org.onap.policy.common</groupId>
74 <artifactId>utils</artifactId>
75 <version>${policy.common.version}</version>
adheli.tavares32bc4122024-04-02 15:12:31 +010076 </dependency>
77 <dependency>
adheli.tavares6555f7c2024-11-04 11:33:12 +000078 <groupId>org.onap.policy.models</groupId>
79 <artifactId>policy-models-base</artifactId>
80 <version>${policy.models.version}</version>
adheli.tavares32bc4122024-04-02 15:12:31 +010081 </dependency>
82 <dependency>
adheli.tavares6555f7c2024-11-04 11:33:12 +000083 <groupId>org.onap.policy.models</groupId>
84 <artifactId>policy-models-errors</artifactId>
85 <version>${policy.models.version}</version>
adheli.tavares32bc4122024-04-02 15:12:31 +010086 </dependency>
87 <dependency>
adheli.tavares6555f7c2024-11-04 11:33:12 +000088 <groupId>org.onap.policy.models</groupId>
89 <artifactId>policy-models-tosca</artifactId>
90 <version>${policy.models.version}</version>
adheli.tavares32bc4122024-04-02 15:12:31 +010091 </dependency>
92 <dependency>
adheli.tavares6555f7c2024-11-04 11:33:12 +000093 <groupId>com.google.code.gson</groupId>
94 <artifactId>gson</artifactId>
adheli.tavares32bc4122024-04-02 15:12:31 +010095 </dependency>
96 <dependency>
adheli.tavares6555f7c2024-11-04 11:33:12 +000097 <groupId>io.micrometer</groupId>
98 <artifactId>micrometer-core</artifactId>
adheli.tavares32bc4122024-04-02 15:12:31 +010099 </dependency>
100 <dependency>
adheli.tavares6555f7c2024-11-04 11:33:12 +0000101 <groupId>io.micrometer</groupId>
102 <artifactId>micrometer-registry-prometheus</artifactId>
103 <scope>runtime</scope>
adheli.tavares32bc4122024-04-02 15:12:31 +0100104 </dependency>
105 <dependency>
adheli.tavares6555f7c2024-11-04 11:33:12 +0000106 <groupId>io.micrometer</groupId>
107 <artifactId>micrometer-tracing-bridge-otel</artifactId>
108 <scope>runtime</scope>
adheli.tavares32bc4122024-04-02 15:12:31 +0100109 </dependency>
110 <dependency>
adheli.tavares6555f7c2024-11-04 11:33:12 +0000111 <groupId>io.opentelemetry</groupId>
112 <artifactId>opentelemetry-context</artifactId>
adheli.tavares32bc4122024-04-02 15:12:31 +0100113 </dependency>
114 <dependency>
115 <groupId>io.opentelemetry</groupId>
116 <artifactId>opentelemetry-exporter-otlp</artifactId>
117 </dependency>
118 <dependency>
119 <groupId>io.opentelemetry</groupId>
adheli.tavares6555f7c2024-11-04 11:33:12 +0000120 <artifactId>opentelemetry-sdk-extension-autoconfigure</artifactId>
121 <scope>runtime</scope>
122 </dependency>
123 <dependency>
124 <groupId>io.opentelemetry</groupId>
adheli.tavares32bc4122024-04-02 15:12:31 +0100125 <artifactId>opentelemetry-sdk-extension-jaeger-remote-sampler</artifactId>
126 </dependency>
127 <dependency>
128 <groupId>io.opentelemetry</groupId>
adheli.tavares6555f7c2024-11-04 11:33:12 +0000129 <artifactId>opentelemetry-sdk-trace</artifactId>
adheli.tavares32bc4122024-04-02 15:12:31 +0100130 </dependency>
131 <dependency>
adheli.tavares6555f7c2024-11-04 11:33:12 +0000132 <groupId>io.swagger.core.v3</groupId>
133 <artifactId>swagger-annotations-jakarta</artifactId>
adheli.tavares32bc4122024-04-02 15:12:31 +0100134 </dependency>
135 <dependency>
adheli.tavares6555f7c2024-11-04 11:33:12 +0000136 <groupId>io.swagger.core.v3</groupId>
137 <artifactId>swagger-models-jakarta</artifactId>
138 </dependency>
139 <dependency>
140 <groupId>jakarta.validation</groupId>
141 <artifactId>jakarta.validation-api</artifactId>
142 </dependency>
143 <dependency>
144 <groupId>jakarta.ws.rs</groupId>
145 <artifactId>jakarta.ws.rs-api</artifactId>
146 </dependency>
147 <dependency>
148 <groupId>org.apache.commons</groupId>
149 <artifactId>commons-collections4</artifactId>
150 </dependency>
151 <dependency>
152 <groupId>org.apache.tomcat.embed</groupId>
153 <artifactId>tomcat-embed-core</artifactId>
154 <scope>runtime</scope>
155 </dependency>
156 <dependency>
157 <groupId>org.aspectj</groupId>
158 <artifactId>aspectjweaver</artifactId>
159 </dependency>
160 <dependency>
161 <groupId>org.eclipse.jetty.toolchain</groupId>
162 <artifactId>jetty-jakarta-servlet-api</artifactId>
163 </dependency>
164 <dependency>
165 <groupId>org.glassfish.jersey.core</groupId>
166 <artifactId>jersey-client</artifactId>
167 <scope>runtime</scope>
168 </dependency>
169 <dependency>
170 <groupId>org.projectlombok</groupId>
171 <artifactId>lombok</artifactId>
172 </dependency>
173 <dependency>
174 <groupId>org.slf4j</groupId>
175 <artifactId>slf4j-api</artifactId>
176 </dependency>
177 <dependency>
178 <groupId>org.springdoc</groupId>
179 <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
180 <scope>runtime</scope>
181 </dependency>
182 <dependency>
183 <groupId>org.springframework</groupId>
184 <artifactId>spring-beans</artifactId>
185 </dependency>
186 <dependency>
187 <groupId>org.springframework</groupId>
188 <artifactId>spring-context</artifactId>
189 </dependency>
190 <dependency>
191 <groupId>org.springframework</groupId>
192 <artifactId>spring-core</artifactId>
193 </dependency>
194 <dependency>
195 <groupId>org.springframework</groupId>
196 <artifactId>spring-tx</artifactId>
197 </dependency>
198 <dependency>
199 <groupId>org.springframework</groupId>
200 <artifactId>spring-web</artifactId>
201 </dependency>
202 <dependency>
203 <groupId>org.springframework</groupId>
204 <artifactId>spring-webflux</artifactId>
205 <scope>runtime</scope>
206 </dependency>
207 <dependency>
208 <groupId>org.springframework</groupId>
209 <artifactId>spring-webmvc</artifactId>
210 </dependency>
211 <dependency>
212 <groupId>org.springframework.boot</groupId>
213 <artifactId>spring-boot</artifactId>
214 </dependency>
215 <dependency>
216 <groupId>org.springframework.boot</groupId>
217 <artifactId>spring-boot-autoconfigure</artifactId>
218 </dependency>
219 <dependency>
220 <groupId>org.springframework.boot</groupId>
221 <artifactId>spring-boot-starter-actuator</artifactId>
222 <scope>runtime</scope>
223 </dependency>
224 <dependency>
225 <groupId>org.springframework.boot</groupId>
226 <artifactId>spring-boot-starter-aop</artifactId>
227 <scope>runtime</scope>
228 </dependency>
229 <dependency>
230 <groupId>org.springframework.boot</groupId>
231 <artifactId>spring-boot-starter-data-jpa</artifactId>
232 <scope>runtime</scope>
233 </dependency>
234 <dependency>
235 <groupId>org.springframework.boot</groupId>
236 <artifactId>spring-boot-starter-security</artifactId>
237 <scope>runtime</scope>
238 </dependency>
239 <dependency>
240 <groupId>org.springframework.boot</groupId>
241 <artifactId>spring-boot-starter-validation</artifactId>
242 <scope>runtime</scope>
243 </dependency>
244 <dependency>
245 <groupId>org.springframework.boot</groupId>
246 <artifactId>spring-boot-starter-web</artifactId>
247 <scope>runtime</scope>
248 </dependency>
249 <dependency>
250 <groupId>org.springframework.boot</groupId>
251 <artifactId>spring-boot-starter-webflux</artifactId>
252 <scope>runtime</scope>
253 </dependency>
254 <dependency>
255 <groupId>org.springframework.data</groupId>
256 <artifactId>spring-data-jpa</artifactId>
257 </dependency>
258 <dependency>
259 <groupId>org.springframework.security</groupId>
260 <artifactId>spring-security-config</artifactId>
261 </dependency>
262 <dependency>
263 <groupId>org.springframework.security</groupId>
264 <artifactId>spring-security-web</artifactId>
adheli.tavares32bc4122024-04-02 15:12:31 +0100265 </dependency>
266 <dependency>
267 <groupId>org.apache.kafka</groupId>
268 <artifactId>kafka-clients</artifactId>
269 <scope>runtime</scope>
270 </dependency>
271 <dependency>
adheli.tavares6555f7c2024-11-04 11:33:12 +0000272 <groupId>com.h2database</groupId>
273 <artifactId>h2</artifactId>
adheli.tavares32bc4122024-04-02 15:12:31 +0100274 <scope>test</scope>
275 </dependency>
276 <dependency>
277 <groupId>org.assertj</groupId>
278 <artifactId>assertj-core</artifactId>
279 <scope>test</scope>
280 </dependency>
281 <dependency>
adheli.tavares6555f7c2024-11-04 11:33:12 +0000282 <groupId>org.junit.jupiter</groupId>
283 <artifactId>junit-jupiter-api</artifactId>
284 <scope>test</scope>
285 </dependency>
286 <dependency>
adheli.tavares32bc4122024-04-02 15:12:31 +0100287 <groupId>org.mockito</groupId>
288 <artifactId>mockito-core</artifactId>
289 <scope>test</scope>
290 </dependency>
291 <dependency>
adheli.tavares6555f7c2024-11-04 11:33:12 +0000292 <groupId>org.springframework</groupId>
293 <artifactId>spring-test</artifactId>
294 <scope>test</scope>
295 </dependency>
296 <dependency>
297 <groupId>org.springframework.boot</groupId>
298 <artifactId>spring-boot-starter-test</artifactId>
299 <scope>test</scope>
300 </dependency>
301 <dependency>
302 <groupId>org.springframework.boot</groupId>
303 <artifactId>spring-boot-test</artifactId>
304 <scope>test</scope>
305 </dependency>
306 <dependency>
307 <groupId>org.springframework.boot</groupId>
308 <artifactId>spring-boot-test-autoconfigure</artifactId>
adheli.tavares32bc4122024-04-02 15:12:31 +0100309 <scope>test</scope>
310 </dependency>
adheli.tavares0af6a682024-11-13 11:31:33 +0000311
312 <!-- these netty dependencies need to be uplifted later in parent-->
313 <dependency>
314 <groupId>io.netty</groupId>
315 <artifactId>netty-all</artifactId>
316 <version>${version.netty}</version>
317 </dependency>
318 <dependency>
319 <groupId>io.netty</groupId>
320 <artifactId>netty-buffer</artifactId>
321 <version>${version.netty}</version>
322 </dependency>
323 <dependency>
324 <groupId>io.netty</groupId>
325 <artifactId>netty-codec</artifactId>
326 <version>${version.netty}</version>
327 </dependency>
328 <dependency>
329 <groupId>io.netty</groupId>
330 <artifactId>netty-codec-http2</artifactId>
331 <version>${version.netty}</version>
332 </dependency>
333 <dependency>
334 <groupId>io.netty</groupId>
335 <artifactId>netty-common</artifactId>
336 <version>${version.netty}</version>
337 </dependency>
338 <dependency>
339 <groupId>io.netty</groupId>
340 <artifactId>netty-handler</artifactId>
341 <version>${version.netty}</version>
342 </dependency>
343 <dependency>
344 <groupId>io.netty</groupId>
345 <artifactId>netty-handler-proxy</artifactId>
346 <version>${version.netty}</version>
347 </dependency>
liamfallon20c74872021-05-26 11:02:07 +0100348 </dependencies>
FrancescoFioraEstd5fb4e02021-07-05 10:36:42 +0100349
350 <build>
351 <plugins>
lapentafd9d345f32022-10-26 16:43:00 +0100352 <!-- Swagger code generation. -->
353 <plugin>
354 <groupId>io.swagger.codegen.v3</groupId>
355 <artifactId>swagger-codegen-maven-plugin</artifactId>
lapentafd9d345f32022-10-26 16:43:00 +0100356 <executions>
357 <execution>
358 <id>code-gen</id>
359 <goals>
360 <goal>generate</goal>
361 </goals>
362 <configuration>
363 <inputSpec>${project.basedir}/src/main/resources/openapi/openapi.yaml</inputSpec>
liamfallonc998a3a2022-11-11 13:43:16 +0000364 <invokerPackage>org.onap.policy.clamp.acm.runtime.main.rest</invokerPackage>
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +0000365 <modelPackage>org.onap.policy.clamp.models.acm.concepts</modelPackage>
liamfalloncf5af3f2022-12-01 15:24:57 +0000366 <apiPackage>org.onap.policy.clamp.acm.runtime.main.rest.gen</apiPackage>
lapentafd9d345f32022-10-26 16:43:00 +0100367 <language>spring</language>
368 <generateModels>false</generateModels>
369 <generateSupportingFiles>false</generateSupportingFiles>
liamfallonc998a3a2022-11-11 13:43:16 +0000370 <importMappings>
371 ToscaServiceTemplates=org.onap.policy.models.tosca.authorative.concepts.ToscaServiceTemplates,
372 ToscaServiceTemplate=org.onap.policy.models.tosca.authorative.concepts.ToscaServiceTemplate,
373 ToscaNodeTemplate=org.onap.policy.models.tosca.authorative.concepts.ToscaNodeTemplate,
374 AutomationCompositions=org.onap.policy.clamp.models.acm.concepts.AutomationCompositions,
375 SimpleResponse=org.onap.policy.clamp.models.acm.messages.rest.SimpleResponse,
liamfallonf5ebd502022-12-16 10:17:46 +0000376 AcTypeStateUpdate=org.onap.policy.clamp.models.acm.messages.rest.commissioning.AcTypeStateUpdate,
377 AcInstanceStateUpdate=org.onap.policy.clamp.models.acm.messages.rest.instantiation.AcInstanceStateUpdate,
liamfallonc998a3a2022-11-11 13:43:16 +0000378 InstancePropertiesResponse=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstancePropertiesResponse,
379 CommissioningResponse=org.onap.policy.clamp.models.acm.messages.rest.commissioning.CommissioningResponse,
380 InstantiationCommand=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstantiationCommand,
FrancescoFioraEst5e0f7912022-12-09 14:38:10 +0000381 InstantiationResponse=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstantiationResponse,
382 InstantiationUpdate=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstantiationUpdate
liamfallonc998a3a2022-11-11 13:43:16 +0000383 </importMappings>
lapentafd9d345f32022-10-26 16:43:00 +0100384 <configOptions>
385 <sourceFolder>src/gen/java</sourceFolder>
adheli.tavares4407ea62023-08-11 15:10:44 +0100386 <dateLibrary>java17</dateLibrary>
lapentafd9d345f32022-10-26 16:43:00 +0100387 <interfaceOnly>true</interfaceOnly>
388 <useTags>true</useTags>
adheli.tavares4407ea62023-08-11 15:10:44 +0100389 <jakarta>true</jakarta>
lapentafd9d345f32022-10-26 16:43:00 +0100390 </configOptions>
391 </configuration>
392 </execution>
393 </executions>
394 </plugin>
FrancescoFioraEstd5fb4e02021-07-05 10:36:42 +0100395 <plugin>
adheli.tavares7f630942022-03-09 10:39:29 +0000396 <groupId>org.apache.maven.plugins</groupId>
397 <artifactId>maven-remote-resources-plugin</artifactId>
adheli.tavares7f630942022-03-09 10:39:29 +0000398 <configuration>
399 <resourceBundles>
400 <resourceBundle>org.onap.policy.clamp:policy-clamp-examples:${project.version}</resourceBundle>
401 </resourceBundles>
402 </configuration>
403 <executions>
404 <execution>
405 <goals>
406 <goal>process</goal>
407 </goals>
408 </execution>
409 </executions>
410 </plugin>
411 <plugin>
FrancescoFioraEstd5fb4e02021-07-05 10:36:42 +0100412 <groupId>org.springframework.boot</groupId>
413 <artifactId>spring-boot-maven-plugin</artifactId>
adheli.tavares4407ea62023-08-11 15:10:44 +0100414 <version>${version.springboot}</version>
FrancescoFioraEstd5fb4e02021-07-05 10:36:42 +0100415 <executions>
416 <execution>
417 <goals>
418 <goal>repackage</goal>
419 </goals>
420 <phase>package</phase>
421 </execution>
422 </executions>
423 </plugin>
424 </plugins>
425 </build>
liamfallon20c74872021-05-26 11:02:07 +0100426</project>