Eureka! Clinical Standard APIs

A library of classes shared across the Eureka! Clinical platform.

License

License

Categories

Categories

CLI User Interface Eureka Container Microservices
GroupId

GroupId

org.eurekaclinical
ArtifactId

ArtifactId

eurekaclinical-standard-apis
Last Version

Last Version

4.1-Alpha-1
Release Date

Release Date

Type

Type

jar
Description

Description

Eureka! Clinical Standard APIs
A library of classes shared across the Eureka! Clinical platform.
Project URL

Project URL

https://github.com/eurekaclinical/eurekaclinical-standard-apis.git
Project Organization

Project Organization

Emory University
Source Code Management

Source Code Management

https://github.com/eurekaclinical/eurekaclinical-standard-apis.git

Download eurekaclinical-standard-apis

How to add to project

<!-- https://jarcasting.com/artifacts/org.eurekaclinical/eurekaclinical-standard-apis/ -->
<dependency>
    <groupId>org.eurekaclinical</groupId>
    <artifactId>eurekaclinical-standard-apis</artifactId>
    <version>4.1-Alpha-1</version>
</dependency>
// https://jarcasting.com/artifacts/org.eurekaclinical/eurekaclinical-standard-apis/
implementation 'org.eurekaclinical:eurekaclinical-standard-apis:4.1-Alpha-1'
// https://jarcasting.com/artifacts/org.eurekaclinical/eurekaclinical-standard-apis/
implementation ("org.eurekaclinical:eurekaclinical-standard-apis:4.1-Alpha-1")
'org.eurekaclinical:eurekaclinical-standard-apis:jar:4.1-Alpha-1'
<dependency org="org.eurekaclinical" name="eurekaclinical-standard-apis" rev="4.1-Alpha-1">
  <artifact name="eurekaclinical-standard-apis" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.eurekaclinical', module='eurekaclinical-standard-apis', version='4.1-Alpha-1')
)
libraryDependencies += "org.eurekaclinical" % "eurekaclinical-standard-apis" % "4.1-Alpha-1"
[org.eurekaclinical/eurekaclinical-standard-apis "4.1-Alpha-1"]

Dependencies

compile (3)

Group / Artifact Type Version
com.sun.xml.bind : jaxb-core jar 2.3.0.1
javax.xml.bind : jaxb-api jar 2.3.1
com.sun.xml.bind : jaxb-impl jar 2.3.1

provided (6)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.7.29
org.hibernate.javax.persistence : hibernate-jpa-2.1-api jar 1.0.2.Final
javax.ws.rs : javax.ws.rs-api jar 2.1.1
javax.inject : javax.inject jar 1
javax.servlet : javax.servlet-api jar 4.0.1
javax.annotation : jsr250-api jar 1.0

Project Modules

There are no modules declared in this project.

Eureka! Clinical Web Application Standard APIs

Georgia Clinical and Translational Science Alliance (Georgia CTSA), Emory University, Atlanta, GA

What does it do?

It provides standard APIs and related functionality that all Eureka! Clinical projects use. The Eureka! Clinical Common Web Application Framework supports standard web application APIs, including JPA, the Servlet API, JAX-RS, and JSR-330. This project sets the supported versions of those standards as dependencies. It also provides base classes and interfaces for building web applications that use those standards, including:

  • Reading application configuration from a properties file (org.eurekaclinical.standardapis.props)
  • An exception for communicating HTTP status for REST API responses (org.eurekaclinical.standardapis.exception)
  • Interfaces for JPA entities for users, roles and authorization templates (org.eurekaclinical.standardapis.entity)
  • Interfaces for implementing data access objects, and abstract classes for implementing data access objects for users, roles and authorization templates (org.eurekaclinical.standardapis.dao)
  • A filter for getting the user's roles using JPA and assigning them to the user principal (org.eurekaclinical.standardapis.filter)

Latest release: Latest release

Version 3.0.1

Prevent NullPointerException when the user calling a service has no record in the USERS table.

Version 3.0

Generalized user templating.

Version 2.1

Updates dependencies.

Version 2.0

Version 2.0 has sufficient functionality for all Eureka! Clinical web applications to depend on eurekaclinical-standard-apis.

Version 1.0

The initial release provides standards-based implementations for creating JPA entities for managing users, roles and authorization templates; creating data access objects; accessing role information for authorization; reading application configuration; and throwing meaningful exceptions when REST API responses have an error status code. It uses the standard versions specified by the Eureka! Clinical Standard Dependencies parent pom, which are:

  • JPA 2.1 (Java Persistence)
  • Servlet API 3.0.1
  • JAX-RS 2.0.1 (Java API for RESTful Web Services)
  • JSR-330 (standard @Inject and @Provider annotations)

Build requirements

Runtime requirements

Building it

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.

Maven dependency

<dependency>
    <groupId>org.eurekaclinical</groupId>
    <artifactId>eurekaclinical-standard-apis</artifactId>
    <version>version</version>
</dependency>

Developer documentation

Getting help

Feel free to contact us at [email protected].

org.eurekaclinical

Eureka! Clinical

Microservices for clinical and translational research

Versions

Version
4.1-Alpha-1
4.0
4.0-Alpha-5
4.0-Alpha-3
4.0-Alpha-2
4.0-Alpha-1
3.0.1
3.0
3.0-Beta-1
2.2-Beta-1
2.1
2.0
2.0-Alpha-19
2.0-Alpha-18
2.0-Alpha-17
2.0-Alpha-16
2.0-Alpha-15
2.0-Alpha-14
2.0-Alpha-13
2.0-Alpha-12
2.0-Alpha-11
2.0-Alpha-10
2.0-Alpha-9
2.0-Alpha-8
2.0-Alpha-7
2.0-Alpha-6
2.0-Alpha-5
2.0-Alpha-4
2.0-Alpha-3
2.0-Alpha-2
2.0-Alpha-1
1.0
1.0-Alpha-10
1.0-Alpha-9
1.0-Alpha-8
1.0-Alpha-7
1.0-Alpha-6
1.0-Alpha-5
1.0-Alpha-4
1.0-Alpha-3
1.0-Alpha-2
1.0-Alpha-1