- Intellij
- Docker
- Maven
- Java 11
- Lombok
- RabbitMQ
Local Host: http://127.0.0.1:8080
Actuator Endpoint Local: http://localhost:8080/actuator/health
Code Climate: https://codeclimate.com/github/bcgov/jag-icon-2
WSDL Endpoint Local:
- common-1-1:
-
localhost:8080/common-1-1/ICON2.Source.EReporting.ws.provider:Audit?WSDL
-
localhost:8080/common-1-1/ICON2.Source.MyInfo.ws.provider:MyInfo?WSDL
-
localhost:8080/common-1-1/ICON2.Source.EReporting.ws.provider:EReporting?WSDL
-
localhost:8080/common-1-1/ICON2.Source.Common.ws.provider:ErrorHandling?WSDL
-
localhost:8080/common-1-1/ICON2.Source.HealthServiceRequest.ws.provider:HSR?WSDL
-
localhost:8080/common-1-1/ICON2.Source.Message.ws.provider:Message?WSDL
-
localhost:8080/common-1-1/ICON2.Source.Version.ws.provider:PackageInfo?WSDL
-
localhost:8080/common-1-1/ICON2.Source.Common.ws.provider:SessionParameter?WSDL
-
localhost:8080/common-1-1/ICON2.Source.TombStoneInfo.ws.provider:TombStoneInfo?WSDL
-
localhost:8080/common-1-1/ICON2.Source.TrustAccount.ws.provider:TrustAccount?WSDL
-
localhost:8080/common-1-1/ICON2.Source.VisitSchedule.ws.provider:VisitSchedule?WSDL
-
Biometrics:
- localhost:8080/Biometrics/ICON2_Biometrics.Source.Biometrics.ws.provider:Biometrics?WSDL
-
common-1-2:
- localhost:8080/common-1-2/ICON2.Source.Authorization.ws.provider:AuthAuth?WSDL
-
MyFiles:
- localhost:8080/MyFiles/ICON2_MyFiles.Source.MyFiles.ws:MyFiles?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: credential of ORDS_HOST.
ORDS_PASSWORD: credential of ORDS_HOST.
- common-application-1-1:
- PING_QUEUE_NAME: RabbitMQ queue name for testing, up to 255 bytes of UTF-8 characters.
- PING_ROUTING_KEY: RabbitMQ routing key linking to PING_QUEUE_NAME for testing.
- HSR_SERVICE_URL: A HealthServiceRequest web service url
- HSR_QUEUE_NAME: RabbitMQ queue name for hsr messages, up to 255 bytes of UTF-8 characters.
- HSR_ROUTING_KEY: RabbitMQ routing key linking to HSR_QUEUE_NAME.
- RABBIT_EXCHANGE_NAME: RabbitMQ direct exchange name, which links a pair of routing key and queue name
- RABBIT_MQ_HOST: RabbitMQ host, 'localhost' by default if installing a RabbitMQ on a local computer
- RABBIT_MQ_USERNAME: RabbitMQ host username
- RABBIT_MQ_PASSWORD: RabbitMQ host password
- common-Comparison-Tool-1-1/Common-Comparison-Tool-1-2:
- API_HOST: Spring Boot API url
- WM_HOST: webMethods url
- hsr-application:
- HSR_QUEUE_NAME: RabbitMQ queue name for hsr messages, up to 255 bytes of UTF-8 characters.
- HSR_SERVICE_URL: A HealthServiceRequest web service url
- RABBIT_MQ_HOST: RabbitMQ host, 'localhost' by default if installing a RabbitMQ on a local computer
- RABBIT_MQ_USERNAME: RabbitMQ host username
- RABBIT_MQ_PASSWORD: RabbitMQ host password
- biometrics-application:
- ONLINE_SERVICE_ID: Biometrics Online Service Id
- IPS_HOST: IPS web service url
- BCS_HOST: BCS web service url
- IIS_HOST: IIS web service url
-
AutomatedTests
- API_HOST: Integration Test url
-
myfiles-application/common-application-1-2:
- none
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
icon2-common-models
andicon2-hsr-models
are marked as generated sources roots (xjc)
Run docker run -p 5672:5672 -p 15672:15672 rabbitmq:management
Option A) Intellij
- Set env variables.
- Run the application
Option B) Jar, e.g., to run 'jag-icon2-common-application' application
- Run
mvn package
- Run
cd jag-icon2-common-application
- Run
java -jar ./target/jag-icon2-common-application.jar $ENV_VAR$
(Note that$ENV_VAR$ are environment variables)
Option C) Docker, e.g., to run 'jag-icon2-common-application' application
- Run
mvn package
- Run
cd jag-icon2-common-application
- Run
docker build -t jag-icon2-common-application .
from root folder - Run
docker run -p 8080:8080 jag-icon2-common-application $ENV_VAR$
(Note that$ENV_VAR$ are environment variables)
- http://localhost:15672/
- Username: 'guest' by default
- Password: 'guest' by default
- Do not commit \CRLF use unix line enders
- Run the linter
mvn spotless:apply
- Run
mvn clean verify
- Open
ccd-code-coverage/target/site/jacoco/index.html
in a browser