From 0c3b1891ba08d419cc1e053a32f48563512fd9fb Mon Sep 17 00:00:00 2001 From: Tal Gitelman Date: Wed, 4 Oct 2017 16:56:23 +0300 Subject: ONAP normative fixes Change-Id: I56d55c8591beefbd984f99bbc099579ad1ef6303 Issue-ID: SDC-410 Signed-off-by: Tal Gitelman --- catalog-be/pom.xml | 54 ----------------------------- catalog-fe/pom.xml | 37 +------------------- sdc-os-chef/pom.xml | 71 ++++++++++++++++++++++++++++++++++---- sdc-os-chef/sdc-backend/Dockerfile | 2 -- 4 files changed, 65 insertions(+), 99 deletions(-) diff --git a/catalog-be/pom.xml b/catalog-be/pom.xml index f4a2c30d99..5b13e028d8 100644 --- a/catalog-be/pom.xml +++ b/catalog-be/pom.xml @@ -610,41 +610,6 @@ - - org.apache.maven.plugins - maven-dependency-plugin - - - copy-dependencies - package - - copy-dependencies - - - compile - - - - copy-installed - install - - copy - - - - - ${project.groupId} - ${project.artifactId} - ${project.version} - ${project.packaging} - - - ${project.parent.basedir}/sdc-os-chef/sdc-backend/ - - - - - com.jcabi jcabi-maven-plugin @@ -662,25 +627,6 @@ maven-resources-plugin 2.6 - - copy-normatives - install - - copy-resources - - - ${project.parent.basedir}/sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-normatives/files/default - - - ./target - - normatives.tar.gz - - - - - - copy-tosca-folder diff --git a/catalog-fe/pom.xml b/catalog-fe/pom.xml index 757e543dcb..d79d6aab47 100644 --- a/catalog-fe/pom.xml +++ b/catalog-fe/pom.xml @@ -323,42 +323,7 @@ - - - org.apache.maven.plugins - maven-dependency-plugin - - - copy-dependencies - package - - copy-dependencies - - - compile - - - - copy-installed - install - - copy - - - - - ${project.groupId} - ${project.artifactId} - ${project.version} - ${project.packaging} - - - ${project.parent.basedir}/sdc-os-chef/sdc-frontend/ - - - - - + org.eclipse.jetty jetty-maven-plugin diff --git a/sdc-os-chef/pom.xml b/sdc-os-chef/pom.xml index 3ad8a4b811..a4c8036214 100644 --- a/sdc-os-chef/pom.xml +++ b/sdc-os-chef/pom.xml @@ -4,6 +4,8 @@ 4.0.0 sdc-os-chef + pom + org.openecomp.sdc @@ -32,24 +34,47 @@ - - ${project.basedir}\sdc-cassandra\chef-repo\cookbooks\cassandra-actions\attributes\ - + ${project.basedir}\sdc-cassandra\chef-repo\cookbooks\cassandra-actions\attributes\ false **/default.rb - - - ${project.parent.basedir}/sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default - + + + ${project.parent.basedir}/sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/files/default + false + Artifact-Generator.properties error-configuration.yaml ecomp-error-configuration.yaml logback.xml + + + ${project.parent.basedir}/sdc-os-chef/sdc-backend + false + + *.war + + + + + ${project.parent.basedir}/sdc-os-chef/sdc-frontend/ + false + + *.war + + + + ${project.basedir}/sdc-backend/chef-repo/cookbooks/sdc-normatives/files/default + false + + normatives.tar.gz + + + @@ -157,6 +182,12 @@ ${basedir}/sdc-backend + + ${project.parent.basedir}/catalog-be/target + + catalog-be-${project.version}.war + + ${project.parent.basedir}/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/target @@ -168,6 +199,7 @@ + copy-resources-fe validate @@ -177,6 +209,12 @@ ${basedir}/sdc-frontend + + ${project.parent.basedir}/catalog-fe/target + + catalog-fe-${project.version}.war + + ${project.parent.basedir}/openecomp-ui/target @@ -186,6 +224,7 @@ + copy-tests-suites validate @@ -222,6 +261,24 @@ + + copy-normatives + validate + + copy-resources + + + ${project.parent.basedir}/sdc-os-chef/sdc-backend/chef-repo/cookbooks/sdc-normatives/files/default + + + ${project.parent.basedir}/catalog-be/target + + normatives.tar.gz + + + + + diff --git a/sdc-os-chef/sdc-backend/Dockerfile b/sdc-os-chef/sdc-backend/Dockerfile index 9052e74b52..dd38726be3 100644 --- a/sdc-os-chef/sdc-backend/Dockerfile +++ b/sdc-os-chef/sdc-backend/Dockerfile @@ -4,8 +4,6 @@ COPY chef-solo /root/chef-solo/ COPY chef-repo/cookbooks/. /root/chef-solo/cookbooks/ -#RUN python /root/chef-solo/cookbooks/sdc-normatives/files/default/get-pip.py - ADD onboarding-be-*.war ${JETTY_BASE}/webapps/ ADD catalog-be-*.war ${JETTY_BASE}/webapps/ -- cgit 1.2.3-korg