From f1e9c646787225109f6c7ee66a088889056f89ee Mon Sep 17 00:00:00 2001 From: "Saravanan, Madheswaran" Date: Wed, 7 Nov 2018 18:36:41 -0500 Subject: Bootstrapping hybrid app (Angular v1 and v6) Issue-ID: PORTAL-356 Change-Id: I1ee7f6a51eb71dff2128a112afdefff5776f2ffe Change-Id: I1ee7f6a51eb71dff2128a112afdefff5776f2ffe Signed-off-by: Saravanan, Madheswaran --- ecomp-sdk/epsdk-app-os/README.md | 3 + ecomp-sdk/epsdk-app-os/pom.xml | 123 ++++++++++++++++++++- .../ds2-samplePages/ngsamplePage.html | 70 ++++++++++++ 3 files changed, 194 insertions(+), 2 deletions(-) create mode 100644 ecomp-sdk/epsdk-app-os/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-samplePages/ngsamplePage.html (limited to 'ecomp-sdk/epsdk-app-os') diff --git a/ecomp-sdk/epsdk-app-os/README.md b/ecomp-sdk/epsdk-app-os/README.md index 675919bb..1c59c836 100644 --- a/ecomp-sdk/epsdk-app-os/README.md +++ b/ecomp-sdk/epsdk-app-os/README.md @@ -12,6 +12,9 @@ like Apache Tomcat. Eclipse users must install the M2E-WTP connector, see https://www.eclipse.org/m2e-wtp/ ## Release Notes +Version 2.5.0 +- PORTAL-356 Bootstrapping hybrid applications (Angular and AngularJS) + Version 2.3.0 - PORTAL 254 ECOMP AAF jar - PORTAL-281 Portal SDK AAF jar throws null pointer exception diff --git a/ecomp-sdk/epsdk-app-os/pom.xml b/ecomp-sdk/epsdk-app-os/pom.xml index 21f75af3..7ccc1776 100644 --- a/ecomp-sdk/epsdk-app-os/pom.xml +++ b/ecomp-sdk/epsdk-app-os/pom.xml @@ -41,6 +41,17 @@ ${project.artifactId} + + maven-clean-plugin + 3.0.0 + + + + ${basedir}/ngapp/app/dist + + + + org.apache.maven.plugins maven-surefire-plugin @@ -120,13 +131,120 @@ + + maven-resources-plugin + 2.5 + + + copy-angularjs-step1 + process-resources + + copy-resources + + + ${basedir}/ngapp + + + ../epsdk-app-overlay/src/main/webapp/ngapp + + + + + + + + + com.github.eirslett + frontend-maven-plugin + 1.6 + + + v8.11.3 + 5.6.0 + ${basedir}/ngapp + + + + install node and npm + compile + + install-node-and-npm + + - + + npm install + compile + + npm + + + + + npm run build + compile + + npm + + + + run build + + + + + + + maven-resources-plugin + 2.5 + + + + copy-angular-final-step2 + prepare-package + + copy-resources + + + ${basedir}/target/epsdk-app-os/app + + + ${basedir}/ngapp/dist + + + + + + + + + org.apache.maven.plugins maven-war-plugin - 2.0.2 + 3.2.2 @@ -143,6 +261,7 @@ epsdk-app-overlay + **/ngapp diff --git a/ecomp-sdk/epsdk-app-os/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-samplePages/ngsamplePage.html b/ecomp-sdk/epsdk-app-os/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-samplePages/ngsamplePage.html new file mode 100644 index 00000000..b774579a --- /dev/null +++ b/ecomp-sdk/epsdk-app-os/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-samplePages/ngsamplePage.html @@ -0,0 +1,70 @@ + + + + + + + Sample Page NG + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + -- cgit 1.2.3-korg