diff options
Diffstat (limited to 'mod/designtool/designtool-web')
-rw-r--r-- | mod/designtool/designtool-web/pom.xml | 3 | ||||
-rwxr-xr-x | mod/designtool/designtool-web/sh/start.sh | 11 |
2 files changed, 4 insertions, 10 deletions
diff --git a/mod/designtool/designtool-web/pom.xml b/mod/designtool/designtool-web/pom.xml index 8806964..fc24024 100644 --- a/mod/designtool/designtool-web/pom.xml +++ b/mod/designtool/designtool-web/pom.xml @@ -27,6 +27,7 @@ limitations under the License. <version>1.0.1-SNAPSHOT</version> </parent> <artifactId>designtool-web</artifactId> + <version>1.0.2-SNAPSHOT</version> <packaging>war</packaging> <name>dcaegen2-platform-mod-designtool-web</name> <properties> @@ -84,7 +85,7 @@ limitations under the License. <dependency> <groupId>org.onap.dcaegen2.platform.mod</groupId> <artifactId>nifi-war-to-jar</artifactId> - <version>${project.version}</version> + <version>1.0.1-SNAPSHOT</version> <scope>provided</scope> </dependency> <dependency> diff --git a/mod/designtool/designtool-web/sh/start.sh b/mod/designtool/designtool-web/sh/start.sh index 8658983..b0393de 100755 --- a/mod/designtool/designtool-web/sh/start.sh +++ b/mod/designtool/designtool-web/sh/start.sh @@ -51,16 +51,9 @@ prop_replace 'nifi.web.proxy.context.path' "${NIFI_WEB_PROXY_CO # replace value conditionally if the property name exists otherwise append if grep -q 'nifi.dcae.jars.index.url' $nifi_props_file then - prop_replace 'nifi.dcae.jars.index.url' "${NIFI_DCAE_JARS_INDEX_URL:-http://genprocessor-http/nifi-jars/}" + prop_replace 'nifi.dcae.jars.index.url' "${NIFI_DCAE_JARS_INDEX_URL:-http://genprocessor-http:8080/nifi-jars/}" else - prop_append 'nifi.dcae.jars.index.url' "${NIFI_DCAE_JARS_INDEX_URL:-http://genprocessor-http/nifi-jars/}" -fi - -if grep -q 'nifi.ui.dcae.distibutor.api.url' $nifi_props_file -then - prop_replace 'nifi.ui.dcae.distibutor.api.url' "${NIFI_DCAE_DISTRIBUTOR_API_URL:-http://distributor-api}" -else - prop_append 'nifi.ui.dcae.distibutor.api.url' "${NIFI_DCAE_DISTRIBUTOR_API_URL:-http://distributor-api}" + prop_append 'nifi.dcae.jars.index.url' "${NIFI_DCAE_JARS_INDEX_URL:-http://genprocessor-http:8080/nifi-jars/}" fi . "${scripts_dir}/update_cluster_state_management.sh" |