Github space for the integration API for Court of Appeal application for the webMethods retirement project
- Intellij
- Docker
- Maven
- Java 21
- Lombok
Local Host: http://127.0.0.1:8080
Actuator Endpoint Local: http://localhost:8080/actuator/health
Code Climate: https://codeclimate.com/github/bcgov/jag-coa
WSDL Endpoint Local:
- localhost:8080/ws/COA.Source.ws.provider:WebCATSDocumentStorageService?WSDL
BASIC_AUTH_PASS: The password for the basic authentication. This can be any value for local.
BASIC_AUTH_USER: The username for the basic authentication. This can be any value for local.
ORDS_HOST: The url for ords rest package.
ORDS_USERNAME: ORDS_HOST authentication
ORDS_PASSWORD: ORDS_HOST authentication
OBJ_STORE_APP_ID: parameter required to request document or ticket
OBJ_STORE_PSW: parameter required to request document or ticket
OBJ_STORE_DB_ID: parameter required to request document or ticket
OBJ_STORE_VERSION: parameter required to request document or ticket
OBJ_STORE_TICKET_LIFETIME: parameter required to request document or ticket
OBJ_STORE_USER: parameter required to request document or ticket
SPLUNK_HTTP_URL: The url for the splunk hec.
SPLUNK_TOKEN: The bearer token to authenticate the application.
SPLUNK_INDEX: The index that the application will push logs to. The index must be created in splunk before they can be pushed to.
- Make sure using java 11 for the project modals and sdk
- Run
mvn compile - Make sure
coa-common-modelsare marked as generated sources roots (xjc)
Option A) Intellij
- Set env variables.
- Run the application
Option B) Jar
- Run
mvn package - Run
cd jag-coa-application - Run
java -jar ./target/jag-coa-application.jar $ENV_VAR$(Note that$ENV_VAR$ are environment variables)
Option C) Docker
- Run
mvn package - Run
cd jag-coa-application - Run
docker build -t coa-application . - Run
docker run -p 8080:8080 coa-application $ENV_VAR$(Note that$ENV_VAR$ are environment variables)
- Do not commit \CRLF use unix line enders
- Run the linter
mvn spotless:apply
- Run
mvn clean verify - Open
jag-coa-application/target/site/jacoco/index.htmlin a browser