Eureka! Clinical User Agreement Webapp
What does it do?
It provides web pages for users to sign user agreements and for administrators to create and update a user agreement. It also implements a proxy servlet and router for web clients to access the web services provided by eurekaclinical-user-agreement-service.
Version 3.0 development series
Updates dependencies and improves performance.
The version 1 series implements the proxy for eurekaclinical-user-agreement-service. It also provides basic screens for signing agreements, creating agreements and updating agreements.
- Oracle Java JRE 8
- Tomcat 7
- Also running
Proxied REST APIs
You can call all of eurekaclinical-user-agreement-service's REST APIs through the proxy. Replace
/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.
Performing system tests
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-user-agreement-webapp/. Your username will be
This webapp is configured using a properties file located at
/etc/ec-user-agreement/application.properties. It supports the following properties:
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
- Start Tomcat.
<dependency> <groupId>org.eurekaclinical</groupId> <artifactId>eurekaclinical-user-agreement-webapp</artifactId> <version>version</version> </dependency>
Feel free to contact us at firstname.lastname@example.org.