summaryrefslogtreecommitdiffstats
path: root/pnda-ztt-app/Makefile
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2019-03-18 17:34:00 +0000
committerGerrit Code Review <gerrit@onap.org>2019-03-18 17:34:00 +0000
commita2c70c61422b115b2b683c68b1bfacceb44e09c3 (patch)
treee5ab5663b4e7064aeadd1448ba6632bfd5cbcb32 /pnda-ztt-app/Makefile
parent4d147ebcb1e732721b9de11e894063936c4e3b6b (diff)
parentd6be49830611313368e29ddaab8d0c314a3767c1 (diff)
Merge "Uprev spark/kafka to resolve vulnerabilities"
Diffstat (limited to 'pnda-ztt-app/Makefile')
-rw-r--r--pnda-ztt-app/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/pnda-ztt-app/Makefile b/pnda-ztt-app/Makefile
index 7c08bde..69226cc 100644
--- a/pnda-ztt-app/Makefile
+++ b/pnda-ztt-app/Makefile
@@ -1,6 +1,7 @@
-SERVER=https://knox.example.com:8443/gateway/pnda/deployment
+SERVER=https://knox.example.com:8443/gateway/pnda/repository
APP=src/universal/sparkStreaming/PndaZTTApp/PndaZTTApp.jar
-PACKAGE=pnda-ztt-app-0.0.3.tar.gz
+PACKAGE=pnda-ztt-app-0.0.4.tar.gz
+DEBUG=-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005"
app: ## Build the application jar
sbt assembly
@@ -9,13 +10,13 @@ package: ## Build the deployable package
sbt 'universal:packageZipTarball'
deploy: ## Deploy the package to PNDA cluster
- curl -k -u pnda:pnda -X PUT $(SERVER)/packages/$(PACKAGE) --data-binary @target/universal/$(PACKAGE) > /dev/null
+ curl -k -u pnda:pnda -X PUT $(SERVER)/packages/ --upload-file target/universal/$(PACKAGE) > /dev/null
list: ## Show the deployed packages
curl $(SERVER)/packages
delete: ## Delete the deployed package
- curl -XDELETE $(SERVER)/packages/$(PACKAGE)
+ curl -k -u pnda:pnda -XDELETE $(SERVER)/packages/$(PACKAGE)
test/PndaZTTApp.jar: $(APP) test/application.properties
cp $< $@