mvn clean installto compile.- Ececute
target/bin/webapp > tomcat.8334/out.logto start the server. - All the API functionalities can be tested using http://localhost:8334/demo.jsp
- Get uploaded datasets (GET):- http://localhost:8334/datasets returns a json string.
- Upload a dataset (POST):- Post the multipart file http://localhost:8334//uploadFile.
- Start learning (GET) :- http://localhost:8334/learner/start?dataset=iris.arff&email=artisan@gmail.com.
- Get generated shapelets json file (GET) :- http://localhost:8334/learner/results?dataset=iris returns a json string.
- Generate queries for processed json files (GET) :- http://localhost:8334/learner/queries?dataset=iris returns a json string with all the queries for the selected dataset.
- Get dataset details (GET) :- http://localhost:8334/getDetails?dataset=iris.arff returns a String.
- Download the log file (GET) :- http://localhost:8334/download.log
-
Then copy the Command line argumemts for running remote JVM.
-
Open
target\bin\webappand add the copied line beforetech.artisanhub.launch.Main \"$@"and put a\after that.exec "$JAVACMD" $JAVA_OPTS \ $EXTRA_JVM_ARGUMENTS \ -classpath "$CLASSPATH" \ -Dapp.name="webapp" \ -Dapp.pid="$$" \ -Dapp.repo="$REPO" \ -Dbasedir="$BASEDIR" \ -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000 \ tech.artisanhub.launch.Main \ "$@" -
Ececute
target\bin\webappto start the server.
