X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=main%2Fpom.xml;h=ba3ed6160991b10a0633caaea41165eeb950e418;hb=0101c74b3eddc147cd8371d38b5b7ff3c4d9f5f2;hp=c1ac1733ac07f04b62679a9041ebae26a9536fe4;hpb=851984a0701f59aa0a97546862bdbe1ffb39c666;p=policy%2Fapi.git diff --git a/main/pom.xml b/main/pom.xml index c1ac1733..ba3ed616 100644 --- a/main/pom.xml +++ b/main/pom.xml @@ -2,7 +2,9 @@ ============LICENSE_START======================================================= Copyright (C) 2018 Ericsson. All rights reserved. Modified Copyright (C) 2018 Samsung Electronics Co., Ltd. - Copyright (C) 2019 AT&T Intellectual Property. All rights reserved. + Copyright (C) 2019,2021 AT&T Intellectual Property. All rights reserved. + Modifications Copyright (C) 2020-2022 Bell Canada. + Modifications Copyright (C) 2022 Nordix Foundation. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -19,49 +21,92 @@ SPDX-License-Identifier: Apache-2.0 ============LICENSE_END========================================================= --> - 4.0.0 org.onap.policy.api policy-api - 2.0.0-SNAPSHOT + 2.8.0 - main + api-main ${project.artifactId} The main module of Policy Api that handles startup, lifecycle management, and parameters. + + org.onap.policy.models + policy-models-pdp + ${policy.models.version} + org.onap.policy.common - capabilities + spring-utils ${policy.common.version} - commons-cli - commons-cli + com.h2database + h2 - com.google.code.gson - gson + org.assertj + assertj-core + test org.onap.policy.common - common-parameters + utils-test ${policy.common.version} + test - org.onap.policy.models - policy-models-tosca - ${policy.models.version} + org.junit.vintage + junit-vintage-engine + test + + + org.springframework.boot + spring-boot-starter-test + test - org.projectlombok - lombok - provided + com.google.code.gson + gson + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-json + + + + + org.springframework.boot + spring-boot-starter-security + + + org.springframework.boot + spring-boot-starter-actuator + + + org.springframework.boot + spring-boot-starter-data-jpa + + + org.springdoc + springdoc-openapi-ui + + + io.micrometer + micrometer-registry-prometheus + ${version.io.micrometer} + runtime @@ -83,6 +128,53 @@ + + + io.swagger.codegen.v3 + swagger-codegen-maven-plugin + ${version.swagger.codegen.v3} + + + code-gen + + generate + + + ${project.basedir}/src/main/resources/openapi/openapi.yaml + org.onap.policy.api.main.rest + org.onap.policy.models.tosca.authorative.concepts + org.onap.policy.api.main.rest.genapi + spring + false + false + + ToscaServiceTemplate=org.onap.policy.models.tosca.authorative.concepts.ToscaServiceTemplate, + ToscaNodeTemplateArray=java.util.List, + HealthCheckReport=org.onap.policy.common.endpoints.report.HealthCheckReport, + StatisticsReport=org.onap.policy.api.main.rest.provider.statistics.StatisticsReport, + + + src/gen/java + java11 + true + true + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + repackage + + package + + + + -