Georgia Clinical and Translational Science Alliance (Georgia CTSA), Emory University, Atlanta, GA
It implements a proxy servlet and router for web clients to access the web services provided by eurekaclinical-i2b2-integration-service.
The 2.0 series will port the proxy over to the new eurekaclinical-i2b2-integration-service.
The version 1 series implements the proxy and router for all service functionality, but it assumes the old version of the service (i2b2-eureka-service).
- Oracle Java JRE 8
- Tomcat 7
- Also running
- The eurekaclinical-i2b2-integration-service war
- The cas-server war
You can call all of eurekaclinical-i2b2-integration-service's REST APIs through the proxy. Replace /protected/api
with /proxy-resource
. The point of doing this is for web clients -- you can deploy the webapp on the same server as web client, and deploy the service on a separate server.
The project uses the maven build tool. Typically, you build it by invoking mvn clean install
at the command line. For simple file changes, not additions or deletions, you can usually use mvn install
. See https://github.com/eurekaclinical/dev-wiki/wiki/Building-Eureka!-Clinical-projects for more details.
You can run this project in an embedded tomcat by executing mvn process-resources cargo:run -Ptomcat
after you have built it. It will be accessible in your web browser at https://localhost:8443/eurekaclinical-i2b2-integration-webapp/. Your username will be superuser
.
This webapp is configured using a properties file located at /etc/ec-i2b2-integration/application.properties
. It supports the following properties:
eurekaclinical.i2b2integrationwebapp.callbackserver
= https://hostname:porteurekaclinical.i2b2integrationservice.url
= https://hostname.of.service:port/eurekaclinical-i2b2-integration-serviceeurekaclinical.i2b2integrationwebapp.url
= https://hostname:port/eurekaclinical-i2b2-integration-webappcas.url
=https://hostname.of.casserver:port/cas-server
A Tomcat restart is required to detect any changes to the configuration file.
- Stop Tomcat.
- Remove any old copies of the unpacked war from Tomcat's webapps directory.
- Copy the warfile into the Tomcat webapps directory, renaming it to remove the version. For example, rename
eurekaclinical-i2b2-integration-webapp-1.0.war
toeurekaclinical-i2b2-integration-webapp.war
. - Start Tomcat.
<dependency>
<groupId>org.eurekaclinical</groupId>
<artifactId>eurekaclinical-i2b2-integration-webapp</artifactId>
<version>version</version>
</dependency>
Feel free to contact us at help@eurekaclinical.org.