X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=main%2Fpom.xml;h=31540674f860b81f79f39d62079c1b3079f4aa67;hb=refs%2Ftags%2F2.8.1;hp=02a75b0a9e10337ea505e924cea0774190457e98;hpb=0cc84e98b23ed2b1e967b578c7a0b48a890f48dd;p=policy%2Fapi.git diff --git a/main/pom.xml b/main/pom.xml index 02a75b0a..31540674 100644 --- a/main/pom.xml +++ b/main/pom.xml @@ -4,7 +4,7 @@ Modified Copyright (C) 2018 Samsung Electronics Co., Ltd. Copyright (C) 2019,2021 AT&T Intellectual Property. All rights reserved. Modifications Copyright (C) 2020-2022 Bell Canada. - Modifications Copyright (C) 2022 Nordix Foundation. + 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. @@ -21,20 +21,20 @@ SPDX-License-Identifier: Apache-2.0 ============LICENSE_END========================================================= --> - + 4.0.0 org.onap.policy.api policy-api - 2.7.1-SNAPSHOT + 2.8.1 - api-main - ${project.artifactId} The main module of Policy Api that handles startup, lifecycle management, and parameters. - org.onap.policy.models @@ -93,30 +93,22 @@ org.springframework.boot spring-boot-starter-actuator - ${version.springboot} org.springframework.boot spring-boot-starter-data-jpa + + org.springdoc + springdoc-openapi-ui + io.micrometer micrometer-registry-prometheus ${version.io.micrometer} runtime - - io.springfox - springfox-boot-starter - ${version.springfox} - - - io.springfox - springfox-swagger-ui - runtime - - @@ -136,6 +128,40 @@ + + 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 @@ -150,4 +176,4 @@ - \ No newline at end of file +