NCIP/lexevs-service

Name: lexevs-service

Owner: National Cancer Informatics Program

Description: A CTS2 Framework Service Plugin based on LexEVS

Created: 2013-02-15 05:25:07.0

Updated: 2017-08-28 06:44:03.0

Pushed: 2017-06-14 15:32:32.0

Homepage: null

Size: 3038

Language: Java

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

LexEVS CTS2 Service

A CTS2 Framework Service Plugin based on LexEVS.

Installation (Non-OSGi)

Clone the LexEVS Service Plugin: `git clone https://github.com/cts2/lexevs-service.git`

Set MAVEN_OPTS to insure there are no out of memory errors: `export MAVEN_OPTS="-Xmx1000m -XX:MaxPermSize=500m"`

Build the Plugin: `mvn clean install`

Create a `$USER_HOME/.cts2/[context]/configdirectory. The ``context``` should be the name of your WAR file.

For example, if you install the Plugin into Tomcat as `lexevs.war, the configuration directory for that service will be ``$USER_HOME/.cts2/lexevs/config```.

Configuration Files

There are several configuration files used to customize the service. These will all be placed in the `$USER_HOME/.cts2/[context]/config` directory.

cts2-deployment.properties (Required)

Parameters:

Example - cts2-deployment.properties

.suppress=true
lexevs.properties (Required)

Parameters:

Example - lexevs.properties

ice.pid=edu.mayo.cts2.framework.plugin.service.lexevs
ONFIG_FILE=/Applications/LexEVS/resources/config/lbconfig.props
esolutionServiceUrl=https://informatics.mayo.edu/cts2/services/uriresolver/
webapp-config.properties (Optional)

Example - webapp-config.properties

ice.pid=edu.mayo.cts2.framework.webapp.rest.config
wHtmlRendering=false
StackTrace=false
HomePage=false
wSoap=false
ortEmail=support@yourservice.org
rnateHomePage=http://alternateHomepage.com
oReturn=100
server-context.properties (Optional)

Example - server-context.properties

ice.pid=ServerContext
er.root=http://myservice.org/lexevs

The resulting directory structure should resemble:

R_HOME
 .cts2
   |_ [context]
          |_ config
                |_ cts2-deployment.properties (required)
                |_ lexevs.properties (required)
                |_ webapp-config.properties (optional)
                |_ server-context.properties (optional)

Install the resulting WAR file in `target/to the ``webapps/``` directory of a Tomcat installation.

Normally Tomcat will need to be started with JVM options set for increased heap size and permgen size: CATALINA_OPTS=“-Xmx2048m -XX:MaxPermSize=128m

You will find more details in the following links:

Travis Build Status

Build Status


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.