Versions Compared

Key

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

...

  • load.bat - for Windows
  • load.sh - for Linux

Step 7

Build all modules with "mvn clean install" at the top level - either through Eclipse or via the command line.  Among other things, this will produce a term-server-rest.war file that can be deployed.

Step 8

Deploy the mapping-rest.war file to a Tomcat server - either through Eclipse or a standalone tomcat installation.

Setting up Tomcat in Eclipse is very easy, you follow these steps.

  • Download and install apache tomcat 7 in c:/apache-tomcat-XXXX
  • In Eclipse use the J2EE perspective and click on the "Servers" tab.
  • From here, you can add a server which simply involves pointing Eclipse to the install directory.
  • You can right-click on term-server-rest.war file and use "Run As->Run on Server" to deploy to Tomcat.

Step 9

Check that it all works by going to

http://localhost:8080/term-server-rest/index.html

This should be a "swagger" Api documenting the current state of the API.  

Everything is still configured to use security so you'd need to at least authenticate and then the other methods would be available using "admin" as the auth token. I'll check if this works...