X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=main%2Fpom.xml;h=31540674f860b81f79f39d62079c1b3079f4aa67;hb=d37db3147faf247c226e455bb38bb3aa6efdd6e5;hp=381d39f18bc58e9d357d35e04900861bea871d2a;hpb=e156fb8bf79ee361793af0aef4db5228c4c16f20;p=policy%2Fapi.git diff --git a/main/pom.xml b/main/pom.xml index 381d39f1..31540674 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-2023 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,66 +21,94 @@ SPDX-License-Identifier: Apache-2.0 ============LICENSE_END========================================================= --> - + 4.0.0 org.onap.policy.api policy-api - 2.0.0-SNAPSHOT + 2.8.1 - - 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.onap.policy.models - policy-models-provider - ${policy.models.version} + org.springframework.boot + spring-boot-starter-test + test - org.projectlombok - lombok - provided + com.google.code.gson + gson - com.h2database - h2 - test + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-json + + + + + org.springframework.boot + spring-boot-starter-security - org.mariadb.jdbc - mariadb-java-client + 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 - @@ -97,6 +127,53 @@ + + + io.swagger.codegen.v3 + swagger-codegen-maven-plugin + + + 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, + PolicyFetchMode=org.onap.policy.api.main.rest.PolicyFetchMode + + + src/gen/java + java11 + true + true + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + repackage + + package + + + + -