Skip to content

EnexaProject/enexa-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java CI with Maven

enexa-service

Implementation of the ENEXA service The project documentation can be found here. For the repository-specific documentation, visit this link.

Build the Dockerfile

mvn package -DskipTests
docker build -t enexa-service:latest .

Run the Docker image

For local testing

Triplestore

You will need a triplestore. The following command starts a Fuseki triplestore with the same configurations as is defined in fuseki-deployment.yaml.

docker pull stain/jena-fuseki
docker run -e ADMIN_PASSWORD=pw123 -e FUSEKI_DATASET_1=enexa -p 3030:3030 stain/jena-fuseki:latest 

The triplestore can be tested using this query.

Starting the ENEXA Service

Requirements: You need to create the mentioned local directories (i.e., /tmp/modules, /tmp/enexa, /tmp/enexa-shared-dir-claim)

export ENEXA_MODULE_DIRECTORY=/tmp/modules; \
export ENEXA_SERVICE_URL=http://localhost:8080; \
export ENEXA_SHARED_DIRECTORY=/tmp/enexa; \
export ENEXA_SHARED_VOLUME=/tmp/enexa-shared-dir-claim; \
export ENEXA_META_DATA_ENDPOINT=http://localhost:3030/enexa/; \
export ENEXA_META_DATA_GRAPH=http://example.org/meta-data; \
export ENEXA_RESOURCE_NAMESPACE=http://example.org/resource/; \
java -jar target/enexa-service-0.0.1-SNAPSHOT.jar 

running fuseki

sudo docker run --name fuseki-dev -p 3030:3030 -e FUSEKI_DATASET_1=mydataset -e FUSEKI_DATASET_2=otherdataset -e ADMIN_PASSWORD=pw123 -v /home/farshad/test/enexa/metadata:/fuseki stain/jena-fuseki

About

The core ENEXA service providing functionalities.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •