diff --git a/.travis.yml b/.travis.yml index 0272c31..99aec41 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,11 @@ language: java -before_install: mvn install -DskipTests=true -DfinalName=batchrefine-factory-gui-$TRAVIS_TAG +before_install: mvn install -DskipTests=true -DfinalName=xslt-factory-gui-$TRAVIS_TAG deploy: provider: releases api_key: secure: LZJ+lQmKb0ZarneNSDv79ctKnxLFptRRM2bxElrIcdZ8zH2kuwtiuK3Lbiz88yJOfpZnP2HIqAbpaBTxiO/6B7HsoSoO+UHvRD/08RA9/hL0Ey8ignTf0bG7h1djp1fPdJIcz6lb3nvOyX8Mx6lar7naPbPlZAUHTh3h/swQdm0= - file: target/batchrefine-factory-gui-$TRAVIS_TAG-jar-with-dependencies.jar + file: target/xslt-factory-gui-$TRAVIS_TAG-jar-with-dependencies.jar on: - repo: fusepoolP3/p3-batchrefine-factory-gui + repo: fusepoolP3/p3-xslt-factory-gui tags: true all_branches: true diff --git a/README.txt b/README.txt index 1dc3985..7957fe3 100644 --- a/README.txt +++ b/README.txt @@ -1,5 +1,5 @@ -A GUI to configure a batchrefine-transfomer. +A GUI to configure a xslt-transfomer. Compile with @@ -9,9 +9,9 @@ Compile with and start with cd target - java -jar p3-batchrefine-transformer-factory-gui-*-jar-with-dependencies.jar + java -jar p3-xslt-transformer-factory-gui-*-jar-with-dependencies.jar Now you should be able to access the service at: - http://localhost:8101/?transformerBase=http://hetzy1.spaziodati.eu:7100/&transformerRegistry=http://sandbox.fusepool.info:8181/ldp/tr-ldpc# \ No newline at end of file + http://localhost:8101/?transformerBase=http://sanbox.fusepool.info:8164&transformerRegistry=http://sandbox.fusepool.info:8181/ldp/tr-ldpc# \ No newline at end of file diff --git a/pom.xml b/pom.xml index 234ce60..f7ff1be 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 eu.fusepool.p3 - p3-batchrefine-transformer-factory-gui + p3-xslt-transformer-factory-gui 1.0.0-SNAPSHOT jar @@ -11,7 +11,7 @@ UTF-8 1.7 1.7 - eu.fusepool.p3.gui.batchrefine.server.Main + eu.fusepool.p3.gui.xslt.server.Main 1.8 ${project.artifactId}-${project.version} diff --git a/src/main/java/eu/fusepool/p3/gui/batchrefine/server/Arguments.java b/src/main/java/eu/fusepool/p3/gui/batchrefine/server/Arguments.java index ddd4905..22c0990 100644 --- a/src/main/java/eu/fusepool/p3/gui/batchrefine/server/Arguments.java +++ b/src/main/java/eu/fusepool/p3/gui/batchrefine/server/Arguments.java @@ -1,4 +1,4 @@ -package eu.fusepool.p3.gui.batchrefine.server; +package eu.fusepool.p3.gui.xslt.server; import org.wymiwyg.commons.util.arguments.ArgumentsWithHelp; import org.wymiwyg.commons.util.arguments.CommandLine; @@ -7,7 +7,7 @@ public interface Arguments extends ArgumentsWithHelp { @CommandLine(longName = "port", shortName = {"P"}, required = false, defaultValue = "8101", - description = "The port on which the batchrefine tranformer factory shall listen") + description = "The port on which the xslt tranformer factory shall listen") public int getPort(); } diff --git a/src/main/java/eu/fusepool/p3/gui/batchrefine/server/Main.java b/src/main/java/eu/fusepool/p3/gui/batchrefine/server/Main.java index 5b8883c..1167646 100644 --- a/src/main/java/eu/fusepool/p3/gui/batchrefine/server/Main.java +++ b/src/main/java/eu/fusepool/p3/gui/batchrefine/server/Main.java @@ -1,4 +1,4 @@ -package eu.fusepool.p3.gui.batchrefine.server; +package eu.fusepool.p3.gui.xslt.server; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.webapp.WebAppContext; diff --git a/src/main/java/eu/fusepool/p3/gui/batchrefine/server/Resources.java b/src/main/java/eu/fusepool/p3/gui/batchrefine/server/Resources.java index baac5a6..823bad8 100644 --- a/src/main/java/eu/fusepool/p3/gui/batchrefine/server/Resources.java +++ b/src/main/java/eu/fusepool/p3/gui/batchrefine/server/Resources.java @@ -1,4 +1,4 @@ -package eu.fusepool.p3.gui.batchrefine.server; +package eu.fusepool.p3.gui.xslt.server; import javax.ws.rs.GET; import javax.ws.rs.Path; diff --git a/src/main/resources/webapp/WEB-INF/web.xml b/src/main/resources/webapp/WEB-INF/web.xml index dde9221..d1a3369 100644 --- a/src/main/resources/webapp/WEB-INF/web.xml +++ b/src/main/resources/webapp/WEB-INF/web.xml @@ -15,7 +15,7 @@ com.sun.jersey.config.property.packages - eu.fusepool.p3.gui.batchrefine.server + eu.fusepool.p3.gui.xslt.server 1 diff --git a/src/main/resources/webapp/index.html b/src/main/resources/webapp/index.html index c26a0e3..d3644a5 100644 --- a/src/main/resources/webapp/index.html +++ b/src/main/resources/webapp/index.html @@ -3,7 +3,7 @@ - Batchrefine Transformer Factory UI + XSLT Transformer Factory UI @@ -24,15 +24,15 @@
-
diff --git a/src/main/resources/webapp/js/index.js b/src/main/resources/webapp/js/index.js index db85ce6..92ac72d 100644 --- a/src/main/resources/webapp/js/index.js +++ b/src/main/resources/webapp/js/index.js @@ -9,7 +9,7 @@ $(document).ready(function () { var resultDiv = $("#resultDiv"); resultDiv.hide(); function transformerUri() { - return tranformerBase+"?refinejson="+encodeURIComponent($("#refineJson").val()); + return tranformerBase+"?xslt="+encodeURIComponent($("#xslt").val()); } $('#generate').on("click", function() { $('#resultValue').val(transformerUri()); @@ -22,12 +22,12 @@ $(document).ready(function () { "@prefix trldpc: ."+ "<> a trldpc:TransformerRegistration;"+ " trldpc:transformer <"+transformerUri()+">;"+ - " dct:title 'Batchrefine transformer'@en;"+ - " dct:description 'A Batchrefine transformer using "+$("#refineJson").val()+"'."; + " dct:title 'XSLT transformer'@en;"+ + " dct:description 'An XSLT transformer using "+$("#xslt").val()+"'."; //hideMessages(); startLoading(); var container = $("#transformerRegistry").val(); - var tentativeName = "batchrefine-transformer"; + var tentativeName = "xslt-transformer"; var headerCollection = { "Slug" : tentativeName }; function registerSuccess(response, textStatus, request) { // Getting the name of the created resource & letting the user know about the successful creation