MTS Container
Summary
MTS can best be described as a monolithic application, encompassing a multitude of submodules deployed as a single Java application. Of note, MTS bundles the Legacy CAT Primefaces web application, which HLN aims to fully deprecate and incorporate the CRUD functionality within the modern CAT-RCKMS web application.
Attributes
Type
Primary
Name
middle-tier-service
Image
middle-tier-service
Image Pull Policy
Always
Command
Arguments
Port
8080
Security Context
Allow Privilege Escalation:
false
Endpoints
External-to-Cluster
This container does have external-to-cluster exposed endpoints. As MTS provides a RESTful API interface for most of RCKMS data state objects, this document would be extraordinarily long and complex provide a list of all endpoints.
Internal
Liveness Probe
GET
/mts-rs-rckms/
At this time, MTS does not have a dedicated liveness probe endpoint. This endpoint will return a "Hello World!" message if the Payara web application server has initialized and is operating in a nominal state.
Readiness Probe
GET
/mts-rs-rckms/
At this time, MTS does not have a dedicated readiness probe endpoint. This endpoint will return a "Hello World!" message if the Payara web application server has initialized and is operating in a nominal state.
Environment Variables
All environment variables, unless otherwise indicated, are considered required.
General Variables
Postgres Database Connectivity
Legacy CAT ("Primefaces") Configuration
Intra-mesh Connectivity
MTS RESTful Services (RS) Configuration
Probes
Liveness
Mode
HTTP (GET)
Arguments
Path:
/mts-rs-rckms/
Port:
8080
(must match container port)
Timings
Initial Delay of
45s
Period of
30s
Timeout of
5s
Thresholds
1
Successes1
Failures
Readiness
Mode
HTTP (GET)
Arguments
Path:
/mts-rs-rckms/
Port:
8080
(must match container port)
Timings
Initial Delay of
45s
Period of
30s
Timeout of
5s
Thresholds
1
Successes1
Failures
Startup
Resources
2000
5120
N/A
Technology Stack
Container is built upon a Payara Server (derived from GlassFish Server), Debian base image, which includes OpenJDK 8 (Java Version 8u151).
As this base image is no longer actively supported, HLN has modified the encompassing Dockerfile to perform a variety of package updates from Debian 11 "Bullseye" repositories, as well as removing unused and outdated binaries.
Volume Mounts
java-diag
/hln/diagnostics
Workload Identity
MTS requires connectivity to a writable Postgres database instance.
Code Owners
Blake Minghelli
HLN Consulting, LLC
blake@hln.com
Last updated