From aecdcf47e5b59c94deceb1fb51e5490ea7d9ec50 Mon Sep 17 00:00:00 2001 From: langens-jonathan Date: Sat, 3 Sep 2016 19:46:49 +0200 Subject: [PATCH] set readme --- Dockerfile~ | 3 --- README.md | 12 ++++++++++-- README.md~ | 25 ------------------------- 3 files changed, 10 insertions(+), 30 deletions(-) delete mode 100644 Dockerfile~ delete mode 100644 README.md~ diff --git a/Dockerfile~ b/Dockerfile~ deleted file mode 100644 index db6d098..0000000 --- a/Dockerfile~ +++ /dev/null @@ -1,3 +0,0 @@ -FROM tomcat - -COPY target/SCOPES-ENDPOINT-1.0-SNAPSHOT.war /usr/local/tomcat/webapps/scopes.war diff --git a/README.md b/README.md index 0cc190b..243f404 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,11 @@ -# Query Pre Processor +example call -The query pre processor is a micro-service that calculates the real difference that a query will have on a database \ No newline at end of file +method: GET +header: "user-uuid":"JONATHANUUID" +url: http://localhost:8080/sparql?query=select%20*%20where%20%7B%3Fs%20%3Fp%20%3Fo%20.%7D + +example call 2 + +method: GET +header: "user-uuid":"ERIKAUUID" +url: http://localhost:8080/sparql?query=select%20*%20where%20%7B%3Fs%20%3Fp%20%3Fo%20.%7D diff --git a/README.md~ b/README.md~ deleted file mode 100644 index 4695813..0000000 --- a/README.md~ +++ /dev/null @@ -1,25 +0,0 @@ -# JAVA TEMPLATE -A java template that has SPRING MVC and SESAME set up and working out of the box. It also has some support functionality for easier querying the RDF store. - -## Renaming the microservice - -Steps needed to rename your microservice: -1. in the pom.xml replace the artifactId with the name your service will have. -2. in src/main/webapp/WEB-INF/web.xml replace the display name. -3. in src/main/webapp/WEB-INF/web.xml replace the servlet-name (2 locations!) -4. rename the java_template package - -## Example - -For the example scenario to work read the README under example/ - -## TODO'S - -### Logger - -There should be a default logger inserted in the template. - -### Query builder - -A query builder would be a great help for this template, the main objectives would be: -
  1. Facilitate query construction
  2. Protect against SPARQL injection
\ No newline at end of file