From 4694c152f69380f4d3d64bde0a13d15fb59a71f3 Mon Sep 17 00:00:00 2001 From: "a.sreekumar" Date: Fri, 3 Dec 2021 11:27:32 +0000 Subject: Migrate pap startup & controllers to spring boot This commit migrates pap config, startup and controllers to spring boot. Change-Id: Icf91d728160a23db614dfba6b40ddccd2f6163a5 Issue-ID: POLICY-3754 Signed-off-by: a.sreekumar --- main/pom.xml | 78 +++++++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 56 insertions(+), 22 deletions(-) (limited to 'main/pom.xml') diff --git a/main/pom.xml b/main/pom.xml index b2868c92..dc77119f 100644 --- a/main/pom.xml +++ b/main/pom.xml @@ -2,7 +2,7 @@ ============LICENSE_START======================================================= Copyright (C) 2019 Nordix Foundation. Modifications Copyright (C) 2019-2020 AT&T Intellectual Property. - Modifications Copyright (C) 2020 Bell Canada. + Modifications Copyright (C) 2020-2021 Bell Canada. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -36,27 +36,43 @@ - commons-cli - commons-cli + org.springframework.boot + spring-boot-starter-web - org.onap.policy.common - common-parameters - ${policy.common.version} + org.springframework.boot + spring-boot-starter-security - org.onap.policy.common - utils - ${policy.common.version} + org.springframework.boot + spring-boot-starter-aop + ${version.springboot} - org.onap.policy.common - policy-endpoints - ${policy.common.version} + org.springframework.boot + spring-boot-starter-actuator + ${version.springboot} + + + io.micrometer + micrometer-registry-prometheus + ${version.io.micrometer} + runtime + + + io.springfox + springfox-boot-starter + ${version.springfox} + + + io.springfox + springfox-swagger-ui + runtime + org.onap.policy.common - gson + policy-endpoints ${policy.common.version} @@ -74,11 +90,6 @@ policy-models-provider ${policy.models.version} - - org.projectlombok - lombok - provided - org.onap.policy.common utils-test @@ -91,15 +102,24 @@ test - org.assertj - assertj-core + com.h2database + h2 test - com.h2database - h2 + junit + junit + test + + + org.junit.vintage + junit-vintage-engine test + + org.springframework.boot + spring-boot-starter-test + @@ -120,5 +140,19 @@ + + + org.springframework.boot + spring-boot-maven-plugin + + + + repackage + + package + + + + \ No newline at end of file -- cgit 1.2.3-korg