liamfallon | 20c7487 | 2021-05-26 11:02:07 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
adheli.tavares | 32bc412 | 2024-04-02 15:12:31 +0100 | [diff] [blame] | 4 | Copyright (C) 2021-2024 Nordix Foundation. |
liamfallon | 20c7487 | 2021-05-26 11:02:07 +0100 | [diff] [blame] | 5 | ================================================================================ |
| 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.tavares | 4407ea6 | 2023-08-11 15:10:44 +0100 | [diff] [blame] | 22 | <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"> |
liamfallon | 20c7487 | 2021-05-26 11:02:07 +0100 | [diff] [blame] | 24 | <modelVersion>4.0.0</modelVersion> |
| 25 | |
| 26 | <parent> |
| 27 | <groupId>org.onap.policy.clamp</groupId> |
| 28 | <artifactId>policy-clamp</artifactId> |
saul.gill | 0156559 | 2024-05-20 11:09:09 +0100 | [diff] [blame] | 29 | <version>8.0.0-SNAPSHOT</version> |
liamfallon | 20c7487 | 2021-05-26 11:02:07 +0100 | [diff] [blame] | 30 | </parent> |
| 31 | |
liamfallon | 4309804 | 2022-01-25 19:55:43 +0000 | [diff] [blame] | 32 | <artifactId>policy-clamp-runtime-acm</artifactId> |
liamfallon | 20c7487 | 2021-05-26 11:02:07 +0100 | [diff] [blame] | 33 | <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.tavares | 4407ea6 | 2023-08-11 15:10:44 +0100 | [diff] [blame] | 44 | <version>${project.version}</version> |
liamfallon | 20c7487 | 2021-05-26 11:02:07 +0100 | [diff] [blame] | 45 | </dependency> |
FrancescoFioraEst | d5fb4e0 | 2021-07-05 10:36:42 +0100 | [diff] [blame] | 46 | <dependency> |
adheli.tavares | 7f63094 | 2022-03-09 10:39:29 +0000 | [diff] [blame] | 47 | <groupId>org.onap.policy.clamp</groupId> |
| 48 | <artifactId>policy-clamp-examples</artifactId> |
| 49 | <version>${project.version}</version> |
| 50 | </dependency> |
adheli.tavares | 32bc412 | 2024-04-02 15:12:31 +0100 | [diff] [blame] | 51 | <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> |
liamfallon | 20c7487 | 2021-05-26 11:02:07 +0100 | [diff] [blame] | 160 | </dependencies> |
FrancescoFioraEst | d5fb4e0 | 2021-07-05 10:36:42 +0100 | [diff] [blame] | 161 | |
| 162 | <build> |
| 163 | <plugins> |
lapentafd | 9d345f3 | 2022-10-26 16:43:00 +0100 | [diff] [blame] | 164 | <!-- Swagger code generation. --> |
| 165 | <plugin> |
| 166 | <groupId>io.swagger.codegen.v3</groupId> |
| 167 | <artifactId>swagger-codegen-maven-plugin</artifactId> |
lapentafd | 9d345f3 | 2022-10-26 16:43:00 +0100 | [diff] [blame] | 168 | <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> |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 176 | <invokerPackage>org.onap.policy.clamp.acm.runtime.main.rest</invokerPackage> |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 177 | <modelPackage>org.onap.policy.clamp.models.acm.concepts</modelPackage> |
liamfallon | cf5af3f | 2022-12-01 15:24:57 +0000 | [diff] [blame] | 178 | <apiPackage>org.onap.policy.clamp.acm.runtime.main.rest.gen</apiPackage> |
lapentafd | 9d345f3 | 2022-10-26 16:43:00 +0100 | [diff] [blame] | 179 | <language>spring</language> |
| 180 | <generateModels>false</generateModels> |
| 181 | <generateSupportingFiles>false</generateSupportingFiles> |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 182 | <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, |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 188 | AcTypeStateUpdate=org.onap.policy.clamp.models.acm.messages.rest.commissioning.AcTypeStateUpdate, |
| 189 | AcInstanceStateUpdate=org.onap.policy.clamp.models.acm.messages.rest.instantiation.AcInstanceStateUpdate, |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 190 | 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, |
FrancescoFioraEst | 5e0f791 | 2022-12-09 14:38:10 +0000 | [diff] [blame] | 193 | InstantiationResponse=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstantiationResponse, |
| 194 | InstantiationUpdate=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstantiationUpdate |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 195 | </importMappings> |
lapentafd | 9d345f3 | 2022-10-26 16:43:00 +0100 | [diff] [blame] | 196 | <configOptions> |
| 197 | <sourceFolder>src/gen/java</sourceFolder> |
adheli.tavares | 4407ea6 | 2023-08-11 15:10:44 +0100 | [diff] [blame] | 198 | <dateLibrary>java17</dateLibrary> |
lapentafd | 9d345f3 | 2022-10-26 16:43:00 +0100 | [diff] [blame] | 199 | <interfaceOnly>true</interfaceOnly> |
| 200 | <useTags>true</useTags> |
adheli.tavares | 4407ea6 | 2023-08-11 15:10:44 +0100 | [diff] [blame] | 201 | <jakarta>true</jakarta> |
lapentafd | 9d345f3 | 2022-10-26 16:43:00 +0100 | [diff] [blame] | 202 | </configOptions> |
| 203 | </configuration> |
| 204 | </execution> |
| 205 | </executions> |
| 206 | </plugin> |
FrancescoFioraEst | d5fb4e0 | 2021-07-05 10:36:42 +0100 | [diff] [blame] | 207 | <plugin> |
adheli.tavares | 7f63094 | 2022-03-09 10:39:29 +0000 | [diff] [blame] | 208 | <groupId>org.apache.maven.plugins</groupId> |
| 209 | <artifactId>maven-remote-resources-plugin</artifactId> |
adheli.tavares | 7f63094 | 2022-03-09 10:39:29 +0000 | [diff] [blame] | 210 | <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> |
FrancescoFioraEst | d5fb4e0 | 2021-07-05 10:36:42 +0100 | [diff] [blame] | 224 | <groupId>org.springframework.boot</groupId> |
| 225 | <artifactId>spring-boot-maven-plugin</artifactId> |
adheli.tavares | 4407ea6 | 2023-08-11 15:10:44 +0100 | [diff] [blame] | 226 | <version>${version.springboot}</version> |
FrancescoFioraEst | d5fb4e0 | 2021-07-05 10:36:42 +0100 | [diff] [blame] | 227 | <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> |
liamfallon | 20c7487 | 2021-05-26 11:02:07 +0100 | [diff] [blame] | 238 | </project> |