[SLICEANALYSIS] Enhance BandwidthEvaluator to listen on user's bandwidth threshold
[dcaegen2/services.git] / components / slice-analysis-ms / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 /*******************************************************************************
4  *  ============LICENSE_START=======================================================
5  *  slice-analysis-ms
6  *  ================================================================================
7  *  Copyright (C) 2020-2022 Wipro Limited.
8  *  Copyright (C) 2022 Huawei Canada Limited.
9  *  Copyright (C) 2022 CTC, Inc.
10  *  ================================================================================
11  *     Licensed under the Apache License, Version 2.0 (the "License");
12  *     you may not use this file except in compliance with the License.
13  *     You may obtain a copy of the License at
14  *
15  *          http://www.apache.org/licenses/LICENSE-2.0
16  *
17  *     Unless required by applicable law or agreed to in writing, software
18  *     distributed under the License is distributed on an "AS IS" BASIS,
19  *     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20  *     See the License for the specific language governing permissions and
21  *     limitations under the License.
22  *     ============LICENSE_END=========================================================
23  *
24  *******************************************************************************/
25 -->
26
27 <project xmlns="http://maven.apache.org/POM/4.0.0"
28         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
29         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
30         <modelVersion>4.0.0</modelVersion>
31         <parent>
32                 <groupId>org.onap.oparent</groupId>
33                 <artifactId>oparent</artifactId>
34                 <version>2.0.0</version>
35         </parent>
36         <groupId>org.onap.dcaegen2.services.components</groupId>
37         <artifactId>slice-analysis-ms</artifactId>
38         <version>1.1.5-SNAPSHOT</version>
39         <name>dcaegen2-services-slice-analysis-ms</name>
40         <description>Network slice PM analyser</description>
41         <packaging>jar</packaging>
42         <properties>
43                 <java.version>11</java.version>
44                 <sdk.version>1.8.7</sdk.version>
45                 <spring.version>5.3.20</spring.version>
46                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
47                 <maven.compiler.source>11</maven.compiler.source>
48                 <maven.compiler.target>11</maven.compiler.target>
49                 <docker.image.name>onap/${project.groupId}.${project.artifactId}</docker.image.name>
50                 <!-- NEXUS RELATED SETTINGS -->
51                 <nexusproxy>https://nexus.onap.org</nexusproxy>
52                 <snapshots.path>content/repositories/snapshots/</snapshots.path>
53                 <releases.path>content/repositories/releases/</releases.path>
54                 <site.path>content/sites/site/org/onap/dcaegen2/services/${project.artifactId}/${project.version}</site.path>
55                 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
56                 <sonar.coverage.jacoco.xmlReportPaths>
57                         ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
58                 </sonar.coverage.jacoco.xmlReportPaths>
59         </properties>
60         <dependencies>
61                 <dependency>
62                         <groupId>com.google.code.gson</groupId>
63                         <artifactId>gson</artifactId>
64                         <version>2.9.0</version>
65                 </dependency>
66                 <!-- https://mvnrepository.com/artifact/org.apache.tomcat/tomcat-util -->
67                 <dependency>
68                         <groupId>org.apache.tomcat</groupId>
69                         <artifactId>tomcat-util</artifactId>
70                         <version>9.0.37</version>
71                 </dependency>
72                 <!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-autoconfigure -->
73                 <dependency>
74                         <groupId>org.springframework.boot</groupId>
75                         <artifactId>spring-boot-autoconfigure</artifactId>
76                         <version>2.3.1.RELEASE</version>
77                 </dependency>
78                 <dependency>
79                         <groupId>org.springframework</groupId>
80                         <artifactId>spring-webmvc</artifactId>
81                         <version>${spring.version}</version>
82                 </dependency>
83                 <dependency>
84                         <groupId>org.springframework</groupId>
85                         <artifactId>spring-core</artifactId>
86                         <version>${spring.version}</version>
87                 </dependency>
88                 <dependency>
89                         <groupId>org.springframework</groupId>
90                         <artifactId>spring-beans</artifactId>
91                         <version>${spring.version}</version>
92                 </dependency>
93                 <dependency>
94                         <groupId>org.springframework</groupId>
95                         <artifactId>spring-expression</artifactId>
96                         <version>${spring.version}</version>
97                 </dependency>
98                 <dependency>
99                         <groupId>org.springframework</groupId>
100                         <artifactId>spring-web</artifactId>
101                         <version>${spring.version}</version>
102                 </dependency>
103                 <dependency>
104                         <groupId>org.springframework</groupId>
105                         <artifactId>spring-tx</artifactId>
106                         <version>${spring.version}</version>
107                 </dependency>
108                 <dependency>
109                         <groupId>org.springframework.data</groupId>
110                         <artifactId>spring-data-commons</artifactId>
111                         <version>2.2.0.RELEASE</version>
112                 </dependency>
113                 <dependency>
114                         <groupId>org.apache.commons</groupId>
115                         <artifactId>commons-lang3</artifactId>
116                         <version>3.4</version>
117                 </dependency>
118                 <dependency>
119                         <groupId>io.projectreactor</groupId>
120                         <artifactId>reactor-core</artifactId>
121                         <version>3.4.18</version>
122                 </dependency>
123                 <dependency>
124                         <groupId>io.projectreactor</groupId>
125                         <artifactId>reactor-test</artifactId>
126                         <version>3.4.18</version>
127                         <scope>test</scope>
128                 </dependency>
129                 <dependency>
130                         <groupId>org.onap.dmaap.messagerouter.dmaapclient</groupId>
131                         <artifactId>dmaapClient</artifactId>
132                         <version>1.1.12</version>
133                         <exclusions>
134                                 <exclusion>
135                                         <groupId>org.slf4j</groupId>
136                                         <artifactId>slf4j-log4j12</artifactId>
137                                 </exclusion>
138                                 <exclusion>
139                                         <groupId>log4j</groupId>
140                                         <artifactId>log4j</artifactId>
141                                 </exclusion>
142                                 <exclusion>
143                                         <artifactId>apache-log4j-extras</artifactId>
144                                         <groupId>log4j</groupId>
145                                 </exclusion>
146                         </exclusions>
147                 </dependency>
148                 <!-- cbs client -->
149                 <dependency>
150                         <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
151                         <artifactId>cbs-client</artifactId>
152                         <version>${sdk.version}</version>
153                 </dependency>
154                 <dependency>
155                         <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
156                         <artifactId>dmaap-client</artifactId>
157                         <version>${sdk.version}</version>
158                 </dependency>
159                 <dependency>
160                         <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
161                         <artifactId>http-client</artifactId>
162                         <version>${sdk.version}</version>
163                 </dependency>
164                 <dependency>
165                         <groupId>org.onap.dcaegen2.services.sdk.security.crypt</groupId>
166                         <artifactId>crypt-password</artifactId>
167                         <version>${sdk.version}</version>
168                 </dependency>
169                 <dependency>
170                         <!-- Import dependency management from Spring Boot -->
171                         <groupId>org.springframework.boot</groupId>
172                         <artifactId>spring-boot-dependencies</artifactId>
173                         <version>2.1.3.RELEASE</version>
174                         <type>pom</type>
175                         <scope>import</scope>
176                 </dependency>
177                 <dependency>
178                         <groupId>junit</groupId>
179                         <artifactId>junit</artifactId>
180                         <scope>test</scope>
181                 </dependency>
182                 <dependency>
183                         <groupId>com.fasterxml.jackson.core</groupId>
184                         <artifactId>jackson-core</artifactId>
185                         <version>2.13.3</version>
186                 </dependency>
187                 <dependency>
188                         <groupId>net.javacrumbs.json-unit</groupId>
189                         <artifactId>json-unit-assertj</artifactId>
190                         <version>2.14.0</version>
191                         <scope>test</scope>
192                 </dependency>
193                 <dependency>
194                         <groupId>com.fasterxml.jackson.core</groupId>
195                         <artifactId>jackson-databind</artifactId>
196                         <version>2.13.3</version>
197                 </dependency>
198                 <!-- https://mvnrepository.com/artifact/javax.json/javax.json-api -->
199                 <dependency>
200                         <groupId>javax.json</groupId>
201                         <artifactId>javax.json-api</artifactId>
202                         <version>1.1.2</version>
203                 </dependency>
204                 <dependency>
205                         <groupId>org.springframework.boot</groupId>
206                         <artifactId>spring-boot-starter-web</artifactId>
207                         <version>2.1.3.RELEASE</version>
208                         <exclusions>
209                                 <exclusion>
210                                         <groupId>org.springframework.boot</groupId>
211                                         <artifactId>spring-boot-starter-tomcat</artifactId>
212                                 </exclusion>
213                         </exclusions>
214                 </dependency>
215                 <dependency>
216                         <groupId>org.postgresql</groupId>
217                         <artifactId>postgresql</artifactId>
218                         <version>42.3.6</version>
219                 </dependency>
220                 <dependency>
221                         <groupId>org.springframework.boot</groupId>
222                         <artifactId>spring-boot-starter-data-jpa</artifactId>
223                         <version>2.1.3.RELEASE</version>
224                 </dependency>
225                 <dependency>
226                         <groupId>org.hibernate.javax.persistence</groupId>
227                         <artifactId>hibernate-jpa-2.0-api</artifactId>
228                         <version>1.0.1.Final</version>
229                 </dependency>
230                 <!-- https://mvnrepository.com/artifact/org.springframework/spring-beans -->
231                 <dependency>
232                         <groupId>org.springframework.boot</groupId>
233                         <artifactId>spring-boot-starter-test</artifactId>
234                         <version>2.1.3.RELEASE</version>
235                         <scope>test</scope>
236                         <!-- exclusions> <exclusion> <groupId>org.mockito</groupId>
237                                 <artifactId>mockito-core</artiifactId> </exclusion> </exclusions -->
238                 </dependency>
239                 <!-- https://mvnrepository.com/artifact/org.mockito/mockito-core -->
240                 <dependency>
241                         <groupId>org.mockito</groupId>
242                         <artifactId>mockito-core</artifactId>
243                         <version>2.21.0</version>
244                         <scope>test</scope>
245                 </dependency>
246                 <dependency>
247                         <groupId>com.openpojo</groupId>
248                         <artifactId>openpojo</artifactId>
249                         <version>0.8.10</version>
250                 </dependency>
251                 <dependency>
252                         <groupId>junit</groupId>
253                         <artifactId>junit</artifactId>
254                         <version>4.12</version>
255                         <scope>test</scope>
256                 </dependency>
257                 <!-- https://mvnrepository.com/artifact/org.powermock/powermock-api-mockito2 -->
258                 <dependency>
259                         <groupId>org.powermock</groupId>
260                         <artifactId>powermock-api-mockito2</artifactId>
261                         <version>2.0.2</version>
262                         <exclusions>
263                                 <exclusion>
264                                         <groupId>org.mockito</groupId>
265                                         <artifactId>mockito-all</artifactId>
266                                 </exclusion>
267                         </exclusions>
268                 </dependency>
269                 <!-- https://mvnrepository.com/artifact/org.powermock/powermock-module-junit4 -->
270                 <dependency>
271                         <groupId>org.powermock</groupId>
272                         <artifactId>powermock-module-junit4</artifactId>
273                         <version>2.0.2</version>
274                         <scope>test</scope>
275                 </dependency>
276                 <dependency>
277                         <groupId>org.functionaljava</groupId>
278                         <artifactId>functionaljava</artifactId>
279                         <version>3.0</version>
280                 </dependency>
281                 <dependency>
282                         <groupId>org.apache.httpcomponents</groupId>
283                         <artifactId>httpclient</artifactId>
284                         <version>4.5.13</version>
285                 </dependency>
286                 <!-- https://mvnrepository.com/artifact/commons-beanutils/commons-beanutils -->
287                 <dependency>
288                         <groupId>commons-beanutils</groupId>
289                         <artifactId>commons-beanutils</artifactId>
290                         <version>1.9.4</version>
291                 </dependency>
292                 <!-- mvnrepository.com/artifact/org.eclipse.jetty/jetty-server -->
293                 <dependency>
294                         <groupId>org.eclipse.jetty</groupId>
295                         <artifactId>jetty-server</artifactId>
296                         <version>9.4.41.v20210516</version>
297                 </dependency>
298                 <!-- https://mvnrepository.com/artifact/org.webjars/bootstrap -->
299                 <dependency>
300                         <groupId>org.webjars</groupId>
301                         <artifactId>bootstrap</artifactId>
302                         <version>4.3.1</version>
303                 </dependency>
304                 <!-- https://mvnrepository.com/artifact/javax.xml.bind/jaxb-api -->
305                 <dependency>
306                         <groupId>javax.xml.bind</groupId>
307                         <artifactId>jaxb-api</artifactId>
308                         <version>2.3.0</version>
309                 </dependency>
310                 <!-- https://mvnrepository.com/artifact/org.javassist/javassist -->
311                 <dependency>
312                         <groupId>org.javassist</groupId>
313                         <artifactId>javassist</artifactId>
314                         <version>3.24.1-GA</version>
315                 </dependency>
316                 <dependency>
317                         <groupId>org.apache.tomcat.embed</groupId>
318                         <artifactId>tomcat-embed-core</artifactId>
319                         <version>10.0.21</version>
320                 </dependency>
321                 <!-- https://mvnrepository.com/artifact/nl.jqno.equalsverifier/equalsverifier -->
322                 <dependency>
323                         <groupId>nl.jqno.equalsverifier</groupId>
324                         <artifactId>equalsverifier</artifactId>
325                         <version>3.5.5</version>
326                         <scope>test</scope>
327                 </dependency>
328                 <dependency>
329                         <groupId>ch.qos.logback</groupId>
330                         <artifactId>logback-core</artifactId>
331                         <version>1.2.10</version>
332                  </dependency>
333                  <dependency>
334                         <groupId>org.projectlombok</groupId>
335                         <artifactId>lombok</artifactId>
336                         <version>1.18.22</version>
337                         <scope>provided</scope>
338                 </dependency>
339                 <dependency>
340                         <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
341                         <artifactId>dmaap-client</artifactId>
342                         <version>1.8.7</version>
343                         <scope>test</scope>
344                 </dependency>
345                 <dependency>
346                         <groupId>org.onap.dcaegen2.services.sdk.rest.services</groupId>
347                         <artifactId>dmaap-client</artifactId>
348                         <version>1.8.7</version>
349                         <scope>compile</scope>
350                 </dependency>
351                 <dependency>
352                         <groupId>io.projectreactor</groupId>
353                         <artifactId>reactor-core</artifactId>
354                         <version>3.4.18</version>
355                         <scope>test</scope>
356                 </dependency>
357                 <dependency>
358                         <groupId>io.projectreactor</groupId>
359                         <artifactId>reactor-core</artifactId>
360                         <version>3.4.18</version>
361                         <scope>compile</scope>
362                 </dependency>
363         </dependencies>
364         <build>
365                 <plugins>
366                         <plugin>
367                                 <groupId>org.springframework.boot</groupId>
368                                 <artifactId>spring-boot-maven-plugin</artifactId>
369                                 <version>2.3.1.RELEASE</version>
370                                 <executions>
371                                         <execution>
372                                                 <goals>
373                                                         <goal>repackage</goal>
374                                                 </goals>
375                                         </execution>
376                                 </executions>
377                         </plugin>
378                         <plugin>
379                                 <groupId>com.spotify</groupId>
380                                 <artifactId>docker-maven-plugin</artifactId>
381                                 <configuration>
382                                         <serverId>${onap.nexus.dockerregistry.daily}</serverId>
383                                         <imageName>${onap.nexus.dockerregistry.daily}/${docker.image.name}</imageName>
384                                         <imageTags>
385                                                 <imageTag>${project.version}-${maven.build.timestamp}Z</imageTag>
386                                                 <imageTag>${project.version}</imageTag>
387                                                 <imageTag>latest</imageTag>
388                                         </imageTags>
389                                         <baseImage>nexus3.onap.org:10001/onap/integration-java11:10.0.0</baseImage>
390                                         <user>sliceanalysis></user>
391                                         <dockerDirectory>${project.basedir}/src/main/docker/dockerfile</dockerDirectory>
392                                         <buildArgs>
393                                                 <JAR_FILE>${project.artifactId}-${project.version}.jar</JAR_FILE>
394                                         </buildArgs>
395                                         <resources>
396                                                 <resource>
397                                                         <targetPath>/bin</targetPath>
398                                                         <directory>${project.build.directory}</directory>
399                                                         <include>${project.artifactId}-${project.version}.jar</include>
400                                                 </resource>
401                                                 <resource>
402                                                         <targetPath>/bin</targetPath>
403                                                         <directory>${project.basedir}</directory>
404                                                         <include>entry.sh</include>
405                                                 </resource>
406                                         </resources>
407                                 </configuration>
408                         </plugin>
409                 </plugins>
410         </build>
411 </project>