The SRU/CQL/FCS Conformance Tester.
This webapp allows to test compliance of an endpoint with the CLARIN FCS specification. See details at CLARIN FCS: Technical Details.
- Java 8 (required to build Vaadin webapp)
git clone [email protected]:clarin-eric/fcs-sru-client.git
cd fcs-sru-client
mvn installgit clone [email protected]:clarin-eric/fcs-simple-client.git
cd fcs-simple-client
mvn install- Requires Java 8
mvn clean packageJETTY_VERSION="9.4.51.v20230217"
# download latest jetty release
wget https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-distribution/${JETTY_VERSION}/jetty-distribution-${JETTY_VERSION}.zip
unzip jetty-distribution-${JETTY_VERSION}.zip
rm jetty-distribution-${JETTY_VERSION}.zip
cd jetty-distribution-${JETTY_VERSION}/
# (optional)
java -jar start.jar --add-to-start=http,deploy
# link / add webapp war file
cd webapps/
cp ../../target/FCSEndpointTester-X.Y.Z-SNAPSHOT.war ROOT.war
cd ..
# run
java -jar start.jarBuild the docker image:
# add --progress=plain to see build output
docker build -t fcs-endpoint-tester .Run container and map local port 8080 to container port 8080. The application will be at http://localhost:8080/.
docker run --rm -it -p 8080:8080 fcs-endpoint-tester