From d6be49830611313368e29ddaab8d0c314a3767c1 Mon Sep 17 00:00:00 2001 From: Donald Hunter Date: Mon, 18 Mar 2019 11:57:39 +0000 Subject: Uprev spark/kafka to resolve vulnerabilities Change-Id: Ibc18238a7fe7886c6da6b6d295de0d32d4620aa7 Issue-ID: DCAEGEN2-1207 Signed-off-by: Donald Hunter --- pnda-ztt-app/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'pnda-ztt-app/Makefile') 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 $< $@ -- cgit 1.2.3-korg