RRS Container
Summary
Deploys an embedded web server to handle API requests invoked by users in CAT-RCKMS.
Attributes
Type
Primary
Name
rckms-reports-service
Image
rckms-reports-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.
Generate All Concepts & Value Sets Report
POST /all-concepts-value-sets/generate
Headers
X-Cat-Session*
String
Provide a valid CAT-RCKMS (provisioned by MTS) SessionID token.
Content-Type*
String
Should be set to application/json; charset=utf-8.
Get All Conditions Report
GET /all-conditions
Headers
X-Cat-Session*
String
Provide a valid CAT-RCKMS (provisioned by MTS) SessionID token.
Get All Jurisdictions Status Report
GET /all-jurisdictions-status
Headers
X-Cat-Session*
String
Provide a valid CAT-RCKMS (provisioned by MTS) SessionID token.
Get Metadata for All Concepts & Value Sets Report
GET /all-concepts-value-sets
Headers
X-Cat-Session*
String
Provide a valid CAT-RCKMS (provisioned by MTS) SessionID token.
Get All Concepts & Value Sets Report
GET /all-concepts-value-sets/{{reference}}
Path Parameters
{{reference}}*
String
latest will return most recent version of report. Alternatively, provide a report UUID to fetch that specific instance.
Headers
X-Cat-Session*
String
Provide a valid CAT-RCKMS (provisioned by MTS) SessionID token.
Internal
Liveness Probe
GET /__probes/liveness
Refer to the Kubernetes Documentation for more information on probes.
Readiness Probe
GET /__probes/readiness
Refer to the Kubernetes Documentation for more information on probes.
Environment Variables
All environment variables, unless otherwise indicated, are considered required.
General Variables
PORT
Controls which port the embedded web server is bound to.
Accepted Values
8080defaultAny numerical value. Should match the value of Port parameter in Attributes.
Postgres Database Connectivity
Due to differences in database implementations between AIMS environments, the following Postgres user accounts should be used in MTS and RRS connections:
AIMS Production:
rckmsAIMS Onboard:
rckmsAIMS PRR:
rckms_prr
Knowledge Module Storage Bucket Connectivity
To make storage of reports easier for operators, reports are stored in a separate directory than knowledge modules, enabling the sharing of a single bucket per environment.
CLOUD_STORAGE_BUCKET_NAME
Defines the bucket name/connection URI for the target Knowledge Module storage bucket resource.
Accepted Values
A valid platform connection URI or bucket name per SDK guidance. For Google Cloud Storage buckets, omit the
gs://prefix, and leverage GKE Workload Identity for permitting read and write operations. For AWS S3 buckets, ensure that anAWS_PROFILEor Pod service account workload identity is configured properly for read and write operations.
Intra-mesh Connectivity
CAT_BASE_URI
Define the URI for CAT-RCKMS application for this environment. Used in generating notifications in the Middle Tier Service (MTS).
Accepted Values
Any valid URL, including protocol, hostname, and path. For example,
https://rckms-prod-authoring.aimsplatform.com/orhttps://mirror.rckms.dev/cat/would be considered acceptable values.
MTS_RS_CORE_URI
Define the Kubernetes Service endpoint for MTS "Core" classified interactions.
Accepted Values
Any valid URL, including protocol, hostname, port (optionally inferred by protocol), and path. For example,
http://mts.prd.svc.cluster.local:80/mts-rs-corewould be considered an acceptable value for a service resource namedmts, in theprdnamespace, with a service port of80and a path value ofmts-rs-core.
Logging Level Configuration
LOGGING_LEVEL Optional
This container is configured with Pino logging library, which gives engineers and operators more granular control over logging output in Node applications.
Accepted Values
debugVerbose logging. Useful for triaging.infodefault Standard logging output.warnOutputs log events classified aswarningsor higher.errorOutputs log events classified aserrorsor higher.fatalOnly fatal, typically uncaught exceptions will be logged.silentDisables all logging output.traceExtremely verbose logging.
Sentry Configuration
Probes
Liveness
Mode
HTTP (GET)
Arguments
Path:
/__/probes/livenessPort:
8080(must match container port)
Timings
Initial Delay of
15sPeriod of
60sTimeout of
5s
Thresholds
1Successes3Failures
Readiness
Mode
HTTP (GET)
Arguments
Path:
/__/probes/readinessPort:
8080(must match container port)
Timings
Initial Delay of
15sPeriod of
15sTimeout of
5s
Thresholds
1Successes3Failures
Startup
This container does not utilize startup probes.
Resources
500
768
N/A
1000
1024
N/A
Technology Stack
Container uses Alpine Linux base image from the official Node repository, targeting the Node 14 LTS variant. Deploys an ExpressJS web server for routing requests.
Volume Mounts
This container does not mount any volumes.
Workload Identity
This container requires a Pod Service Account with the following role(s):
Cloud SQL Client / AWS RDS Client User
Google Cloud Storage / AWS S3 Bucket Maintainer
Google Cloud Storage / AWS S3 Bucket Object Creator
Google Cloud Storage / AWS S3 Bucket Object Editor
Code Owners
Last updated