summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBogumil Zebek <bogumil.zebek@nokia.com>2020-06-25 09:06:11 +0200
committerZebek Bogumil <bogumil.zebek@nokia.com>2020-07-02 08:40:33 +0200
commitdfc831bbb63ca3f42dc78135bfcca66b07cd5db2 (patch)
tree025d49791fad181265da02b4cc392879e9a48a02 /Makefile
parente23d317a7c5ab6f0ce61054750c95748c1f26fef (diff)
Upgrade java from 8 to 113.5.0
Issue-ID: DCAEGEN2-2287 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com> Change-Id: I1a80ac133798ec6fbd96696aaa292244b1feec05
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..6dd1f67
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,18 @@
+all: build start-service
+.PHONY: build
+
+build:
+ @echo "##### Build inventory api jar file #####"
+ mvn clean package
+ @echo "##### DONE #####"
+
+start-service:
+ @echo "##### Start inventory api service #####"
+ @echo "########################### IMPORTANT ############################################################################################"
+ @echo "##### Before you start service you must properly configure connection to database in ./tools/congif_local.json! #####"
+ @echo "##### Now service should up and running pls check: http://localhost:9080/swagger.json or http://localhost:9080/servicehealth #####"
+ @echo "##################################################################################################################################"
+
+ java -DdevMode=true --add-opens java.base/java.lang=ALL-UNNAMED -jar ./target/inventory-api-3.5.0-SNAPSHOT.jar server ./tools/config_local.json
+
+ @echo "##### DONE #####"