X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=pom.xml;h=6990dcae917bd71e04958b8312d2a75b55480000;hb=30cece48b7e8acc218f95f2593cabc3e04b03bc5;hp=21a0c04aa1b0cbdb5e48d38fbe1040023661da40;hpb=b4f7cb6d61094a770aed1d886303cd5d16091389;p=clamp.git diff --git a/pom.xml b/pom.xml index 21a0c04a..6990dcae 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ ============LICENSE_START======================================================= ONAP CLAMP ================================================================================ - Copyright (C) 2017 AT&T Intellectual Property. All rights + Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); @@ -19,7 +19,6 @@ limitations under the License. ============LICENSE_END============================================ =================================================================== - ECOMP is a trademark and service mark of AT&T Intellectual Property. --> 4.0.0 org.onap.clamp clds - 2.0.0-SNAPSHOT + 2.0.1-SNAPSHOT clamp org.onap.oparent oparent - 1.0.0-SNAPSHOT + 1.1.0 - This project build the ONAP CLAMP JAR that contains AJSC + CLAMP code. + This project build the ONAP CLAMP JAR that contains CLAMP back-end code and its UI part. By Default "mvn clean install" command will execute also the unit tests and the integration tests. The integration tests require a docker engine running. - If you want to skip the intergation test you can by doing: + If you want to skip the integration test you can by doing: "mvn clean install -DskipITs=true" For Spring it's possible to specify the application.properties location "mvn clean install -Dspring.config.location=classpath:application-test.properties" The application.properties contains the location of the CLAMP parameters files: - - org.onap.clamp.config.files.cldsReference=classpath:/clds/clds-reference.properties - - org.onap.clamp.config.files.cldsPolicyConfig=classpath:/clds/clds-policy-config.properties - org.onap.clamp.config.files.cldsUsers=classpath:/clds/clds-users.json - org.onap.clamp.config.files.globalClds=classpath:/clds/globalClds.properties - - + + - yyyy.MM.dd'T'hh.mm.ss'Z' + yyyyMMdd'T'HHmmss'Z' ${project.version} ${maven.build.timestamp} 1.8 @@ -66,12 +63,15 @@ UTF-8 3306 - 0.0.3-oss + 8085 git-server 1.8 - 6.1.0.6-oss - 6.2.0.6-oss - 6.1.0.3-oss + + 2.0.0-rc4 + 20.0 + 1.0.0 + 2.20.1 + 1.5.12.RELEASE java jacoco @@ -85,6 +85,7 @@ true true false + @@ -141,15 +142,31 @@ JBoss.org Maven repository https://repository.jboss.org/nexus/content/groups/public + + jcentral + bintray + http://jcenter.bintray.com + + false + + + - org.springframework.boot spring-boot-dependencies - 1.4.1.RELEASE + ${springboot.version} + pom + import + + + + org.apache.camel + camel-spring-boot-dependencies + ${camel.version} pom import @@ -158,120 +175,111 @@ - commons-io - commons-io - 2.6 + com.att.eelf + eelf-core + ${eelf.core.version} + - com.googlecode.json-simple - json-simple - 1.1 + org.apache.camel + camel-spring-boot-starter - org.apache.commons - commons-vfs2 - 2.0 + org.apache.camel + camel-jaxb-starter - - org.springframework.security - spring-security-test - - test + org.apache.camel + camel-servlet-starter - - - - com.att.ajsc - sdk-java-common-logging - ${sdk.java.common.logging} - - - org.springframework.boot - spring-boot-starter-tomcat - compile - + javax.xml.bind + jaxb-api + 2.3.0 + + org.springframework.boot - spring-boot-starter-actuator - - - org.springframework.boot - spring-boot-starter-security + spring-boot-starter-web org.springframework.boot - spring-boot-starter-test - test + spring-boot-starter-tomcat - joda-time - joda-time + com.paypal.springboot + resteasy-spring-boot-starter + 2.3.4-RELEASE org.springframework - spring-context + spring-jdbc - org.slf4j - slf4j-api - - - javax.ws.rs - javax.ws.rs-api - 2.0 + org.springframework.boot + spring-boot-starter-security - org.springframework - spring-test + org.springframework.boot + spring-boot-starter-actuator - junit - junit + org.springframework.boot + spring-boot-starter-test + test + + + com.vaadin.external.google + android-json + + + - org.mockito - mockito-all - 1.9.5 + ch.qos.logback + logback-core + 1.2.3 - commons-logging - commons-logging - 1.1.1 + ch.qos.logback + logback-classic + 1.2.3 - org.springframework - spring-aspects + commons-dbcp + commons-dbcp + 1.4 - com.fasterxml.jackson.core - jackson-core + commons-io + commons-io + 2.6 - com.fasterxml.jackson.core - jackson-databind + com.googlecode.json-simple + json-simple - org.springframework - spring-webmvc + org.apache.commons + commons-vfs2 + 2.2 - org.springframework.boot - spring-boot-starter-web + joda-time + joda-time - log4j - log4j - 1.2.17 + org.slf4j + slf4j-api - org.springframework.boot - spring-boot + javax.ws.rs + javax.ws.rs-api + 2.0 - org.springframework.boot - spring-boot-autoconfigure + junit + junit javax.transaction @@ -288,62 +296,20 @@ hibernate-annotations 3.5.6-Final - - org.apache.geronimo.specs - geronimo-jpa_2.0_spec - 1.1 - dom4j dom4j - 1.6.1 - - - - com.att.ajsc - sdk-java-camel-rest - ${sdk.camel.rest} - - - com.att.ajsc - sdk-java-camunda-core - ${sdk.camunda.core} - - - mysql - mysql-connector-java - - - - - - org.springframework - spring-context-support - - - - com.att.ajsc - sdk-java-common-interceptors - ${csi.logging} - - - org.eclipse.jetty.orbit - javax.servlet - - - com.att.ajsc - ajsc-core - - - - org.onap.policy.engine PolicyEngineAPI - 1.1.0 + 1.2.0 + + com.google.guava + guava + log4j log4j @@ -356,20 +322,24 @@ apache-log4j-extras log4j - - jackson-databind - com.fasterxml.jackson.core - mysql mysql-connector-java + + commons-io + commons-io + + + grizzly-http + org.glassfish.grizzly + org.onap.policy.common ONAP-Logging - 1.1.0 + 1.1.3 log4j @@ -388,7 +358,7 @@ org.onap.policy.engine PolicyEngineUtils - 1.1.0 + 1.1.3 log4j @@ -402,12 +372,24 @@ apache-log4j-extras log4j + + mysql + mysql-connector-java + + + org.mariadb.jdbc + mariadb-java-client + + + com.att.nsa + dmaapClient + org.onap.policy.drools-applications policy-yaml - 1.1.0 + 1.1.3 log4j @@ -426,7 +408,7 @@ org.onap.policy.drools-applications sdc - 1.1.0 + 1.1.3 log4j @@ -445,7 +427,7 @@ org.onap.policy.drools-applications aai - 1.1.0 + 1.1.3 log4j @@ -461,26 +443,11 @@ - - com.fasterxml.jackson.core - jackson-databind - 2.6.3 - - - com.fasterxml.jackson.dataformat - jackson-dataformat-yaml - 2.6.3 - org.apache.commons commons-csv 1.3 - - org.jboss.resteasy - resteasy-client - 3.0.8.Final - com.sun.faces jsf-api @@ -491,14 +458,69 @@ jsf-impl 2.1.7 + + + org.codehaus.plexus + plexus-utils + 3.0.24 + + + commons-fileupload + commons-fileupload + 1.3.3 + + + org.jboss.spec.javax.ws.rs + jboss-jaxrs-api_2.0_spec + 1.0.1.Final + org.mariadb.jdbc mariadb-java-client - 2.1.1 + 2.2.1 - - + + + org.onap.sdc.sdc-distribution-client + sdc-distribution-client + 1.3.0 + + + org.onap.sdc.sdc-tosca + sdc-tosca + 1.3.0 + + + + io.springfox + springfox-swagger2 + 2.4.0 + test + + + io.github.robwin + assertj-swagger + 0.2.0 + test + + + io.github.swagger2markup + swagger2markup-spring-restdocs-ext + 1.2.0 + test + + + + + + false + + jcenter-releases + jcenter + http://jcenter.bintray.com + + clamp @@ -507,6 +529,7 @@ src/test/resources **/*.jks + **/*.csar true @@ -518,6 +541,14 @@ false https + + src/test/resources/example/sdc + + **.csar + + false + example/sdc + @@ -534,6 +565,192 @@ + + org.codehaus.mojo + exec-maven-plugin + 1.6.0 + + + docker_info0 + validate + + exec + + + env + + + + docker_info2 + validate + + exec + + + ls + + -latr + /var/run/docker.sock + + + + + + docker_info3 + validate + + exec + + + cat + + /etc/hosts + + + + + docker_info4 + validate + + exec + + + curl + + -v + http://127.0.0.1:2375/info + + + + + docker_info5 + validate + + exec + + + netstat + + -tulnp + + + + + + + + + com.sebastian-daschner + jaxrs-analyzer-maven-plugin + 0.14 + + + test + + analyze-jaxrs + + + swagger + ../docs/swagger/ + + + + + + + + io.github.swagger2markup + swagger2markup-maven-plugin + 1.3.1 + + + io.github.swagger2markup + swagger2markup-import-files-ext + 1.3.1 + + + io.github.swagger2markup + swagger2markup-spring-restdocs-ext + 1.3.1 + + + + ${project.basedir}/docs/swagger/swagger.json + ${project.build.directory}/asciidoc/generated + + ASCIIDOC + + + + + test + + convertSwagger2markup + + + + + + + + org.asciidoctor + asciidoctor-maven-plugin + 1.5.3 + + + org.asciidoctor + asciidoctorj-pdf + 1.5.0-alpha.10.1 + + + org.jruby + jruby-complete + 1.7.21 + + + + ${project.basedir}/src/main/resources/asciidoc + swagger.adoc + + book + left + 3 + + + + + ${project.build.directory}/asciidoc/generated + + + + + + output-html + test + + process-asciidoc + + + html5 + ${project.basedir}/docs/swagger + ${project.basedir}/src/main/resources/META-INF/resources/ + + + + output-pdf + test + + process-asciidoc + + + pdf + ${project.basedir}/docs/swagger + + + + org.codehaus.groovy.maven gmaven-plugin @@ -596,7 +813,7 @@ org.springframework.boot spring-boot-maven-plugin - 1.5.3.RELEASE + ${springboot.version} @@ -621,8 +838,10 @@ com.spotify docker-maven-plugin - 1.0.0 + 1.1.0 + + http://127.0.0.1:2375 onap/clamp src/main/docker docker-hub @@ -801,13 +1020,42 @@ + + python:2-slim + python + + python + + + ${project.basedir}/src/test/resources/http-cache/:/usr/src/http-cache-app + ${project.basedir}/src/test/resources/http-cache/example/:/usr/src/http-cache-app/data-cache + + + + + + 8080 + + direct + + + + + ${docker.http-cache.port.host}:8080 + + /usr/src/http-cache-app + + ./start_http_cache.sh ${python.http.proxy.param} --python_proxyaddress=localhost:${docker.http-cache.port.host} + + + ${skipITs} - mariadb-start-for-it + docker-start-for-it pre-integration-test start @@ -817,7 +1065,7 @@ - mariadb-stop-for-it + docker-stop-for-it post-integration-test stop