NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Find the src.main/resources folder in the graph-resolve root folder and edit the application.properties to match you Arangodb install.


Code Block
languagebash
server.error.whitelabel.enabled=false

...

Code Block
languagebash



hostName=localhost:8080

address=127.0.0.1

port=8529

protocol=HTTP_JSON

usr=root

pwd=lexgrid

Where hostName, address, port, usr, and pwd are all locally determined variables for Arangodb.

You will have to pass this password to the container via something like setenv.sh in the /bin or /libexec/bin folder of the Tomcat root install directory since it does not seem to read it here.

-Dpwd=<your password>

Build the application with Maven:

...

You may choose not to install the sample data or other terminologies and append -DskipTests to build without testing

mvn clean install -DskipTests 


If the build is successful, the resulting war file will be in the target directory.  

Deploy to the Tomcat container and start Tomcat

A suitable smoke test when there is content loaded to Arangodb is:


Code Block
https://<my graph resolver uri>/databases

which should return something like the following:

Code Block
languagetext
{
	dataBases: [
	"NCI_Thesaurus",
	"NDFRT",
	"UMLS_SemNet",
	"owl2lexevs"
	]
}



.