summaryrefslogtreecommitdiffstats
path: root/mod/designtool/designtool-web/sh
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2020-03-20 17:30:51 +0000
committerGerrit Code Review <gerrit@onap.org>2020-03-20 17:30:51 +0000
commitbcccdb62fe0dd1f7d9fb356363ef8889ebfdf5e8 (patch)
tree83cff89b2cebcbcd52a53901a2a4816ec5dfcf3a /mod/designtool/designtool-web/sh
parent27507bb81f6bcfc66fd88d23b7b44ec2deffb027 (diff)
parent2d1528b34c45a650e2407bbc90737cc4ca6ec042 (diff)
Merge "Link DCAE MOD design tool to Acumos Adapter"
Diffstat (limited to 'mod/designtool/designtool-web/sh')
-rwxr-xr-xmod/designtool/designtool-web/sh/applypatches.sh13
1 files changed, 2 insertions, 11 deletions
diff --git a/mod/designtool/designtool-web/sh/applypatches.sh b/mod/designtool/designtool-web/sh/applypatches.sh
index 47de89c..0b20969 100755
--- a/mod/designtool/designtool-web/sh/applypatches.sh
+++ b/mod/designtool/designtool-web/sh/applypatches.sh
@@ -36,14 +36,10 @@ jar xf $NIFI_BASE_DIR/nifi-current/lib/nifi-framework-nar-$NIFI_VERSION.nar \
# patch jar files
cd $PATCHES/WEB-INF/classes
set +f
-jar uf $NIFI_BASE_DIR/nifi-toolkit-current/lib/nifi-client-dto-$NIFI_VERSION.jar \
- org/apache/nifi/web/api/dto/FlowConfigurationDTO*.class
jar uf $TARGETS/META-INF/bundled-dependencies/nifi-jetty-$NIFI_VERSION.jar \
org/apache/nifi/web/server/JettyServer*.class
jar uf $NIFI_BASE_DIR/nifi-current/lib/nifi-properties-$NIFI_VERSION.jar \
org/apache/nifi/util/NiFiProperties*.class
-jar uf $NIFI_BASE_DIR/nifi-current/lib/nifi-runtime-$NIFI_VERSION.jar \
- org/apache/nifi/NiFi*.class
jar uf $NIFI_BASE_DIR/nifi-toolkit-current/lib/nifi-framework-core-api-$NIFI_VERSION.jar \
org/apache/nifi/controller/AbstractPort*.class
jar uf $TARGETS/META-INF/bundled-dependencies/nifi-framework-nar-loading-utils-$NIFI_VERSION.jar \
@@ -52,7 +48,6 @@ jar uf $TARGETS/META-INF/bundled-dependencies/nifi-framework-nar-loading-utils-$
# patch war files
cd $PATCHES
jar uf $TARGETS/META-INF/bundled-dependencies/nifi-web-api-$NIFI_VERSION.war \
- WEB-INF/classes/org/apache/nifi/web/StandardNiFiServiceFacade*.class \
WEB-INF/classes/org/apache/nifi/web/api/dto/DtoFactory*.class \
WEB-INF/classes/org/apache/nifi/web/dao/impl/StandardConnectionDAO*.class
set -f
@@ -73,6 +68,7 @@ sed -i \
-e '/nf.FlowVerison/{r nf-flow-version-min.js' -e 'd}' \
-e '/controllerConfig/{r nf-settings-min.js' -e 'd}' \
-e '/this.breadcrumbs/{r nf-ng-breadcrumbs-controller-min.js' -e 'd}' \
+ -e '/Canvas.GlobalMenuCtrl=/{r nf-ng-canvas-global-menu-controller-min.js' -e 'd}' \
-e '/processor-types-table/{r nf-ng-processor-component-min.js' -e 'd}' \
js/nf/canvas/nf-canvas-all.js
sed -i \
@@ -83,19 +79,14 @@ gzip -k \
js/nf/canvas/nf-canvas-all.js \
js/nf/summary/nf-summary-all.js
jar uf $TARGETS/META-INF/bundled-dependencies/nifi-web-ui-$NIFI_VERSION.war \
- $(find WEB-INF/classes/org/apache/jsp/WEB_002dINF WEB-INF/pages WEB-INF/partials css js images -type f -print)
+ $(find WEB-INF/classes/org/apache/jsp/WEB_002dINF WEB-INF/pages WEB-INF/partials css js images fonts -type f -print)
# patch scripts
cp common.sh start.sh $NIFI_BASE_DIR/scripts/
# patch nar files
cd $TARGETS
-cp $NIFI_BASE_DIR/nifi-toolkit-current/lib/nifi-client-dto-$NIFI_VERSION.jar \
- META-INF/bundled-dependencies/nifi-client-dto-$NIFI_VERSION.jar
-jar uf $NIFI_BASE_DIR/nifi-current/lib/nifi-site-to-site-reporting-nar-$NIFI_VERSION.nar \
- META-INF/bundled-dependencies/nifi-client-dto-$NIFI_VERSION.jar
cp $NIFI_BASE_DIR/nifi-toolkit-current/lib/nifi-framework-core-api-$NIFI_VERSION.jar \
META-INF/bundled-dependencies/nifi-framework-core-api-$NIFI_VERSION.jar
jar uf $NIFI_BASE_DIR/nifi-current/lib/nifi-framework-nar-$NIFI_VERSION.nar \
- META-INF/bundled-dependencies/nifi-client-dto-$NIFI_VERSION.jar \
META-INF/bundled-dependencies/nifi-framework-core-api-$NIFI_VERSION.jar \
META-INF/bundled-dependencies/nifi-framework-nar-loading-utils-$NIFI_VERSION.jar \
META-INF/bundled-dependencies/nifi-jetty-$NIFI_VERSION.jar \