diff options
author | Vijay Venkatesh Kumar <vv770d@att.com> | 2019-03-18 17:34:00 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-03-18 17:34:00 +0000 |
commit | a2c70c61422b115b2b683c68b1bfacceb44e09c3 (patch) | |
tree | e5ab5663b4e7064aeadd1448ba6632bfd5cbcb32 /pnda-ztt-app/Makefile | |
parent | 4d147ebcb1e732721b9de11e894063936c4e3b6b (diff) | |
parent | d6be49830611313368e29ddaab8d0c314a3767c1 (diff) |
Merge "Uprev spark/kafka to resolve vulnerabilities"
Diffstat (limited to 'pnda-ztt-app/Makefile')
-rw-r--r-- | pnda-ztt-app/Makefile | 9 |
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 $< $@ |