YAML Config
This information is incomplete. |
---|
YAML configuration files are used for the AMT Control Center ("cc.config.yaml") and AMT applications ("amt-config.yaml). Each key and setting found in these files is described below, and indicated whether the setting applies to the Control Center or applications with an 'X'.
cc-config.yaml | amt-config.yaml | |
version – example: version: v1 |
X | X |
name |
X | X |
environment |
X | X |
basePath – example: basePath:
"C:\\AMT" |
X | |
applicationName |
X | |
applicationPackage – example: applicationPackage:
com.helloword.company |
X | |
remoteApplicationPackages |
X | |
<application 1> – example: appXX:
com.helloword.company |
X | |
<application 2> – example: appYY:
com.helloword.company |
X | |
The Secure Storage section. secureStorages |
X | X |
- id: <config1> It is possible to add multiple Secure Storage configurations and use them simultaneously. |
X | X |
vaultType – example: vaultType: Simple
|
X | X |
vaultConfiguration |
X | X |
vaultFilePath |
X | X |
securePath (Simple vault only) |
X | X |
engineVersion (HashiCorp vault only) |
X | X |
serverCertificate |
X | X |
keyPath default: /certs/server1.key |
X | X |
certificatePath default: /certs/server1.pem |
X | X |
azureCredentialType |
X | X |
azureVaultName |
X | X |
vaultClass ... |
X | X |
The Authentication section. Authentication |
X | X |
type – default: type: OIDC |
X | X |
settings |
X | X |
issuerURL |
X | X |
clientID |
X | X |
returnUrl |
X | X |
The Database configuration section. First define the database kind: systemDatabase, transactionDatabase, or applicationDatabase. systemDatabase |
X | |
transactionDatabase |
X | |
applicationDatabase |
X | |
type – example: type: POSTGRES
|
X | X |
settings |
X | X |
name |
X | X |
schema |
X | X |
username |
X | X |
password |
X | X |
driverClassname
|
X | X |
url
|
X | X |
hibernateDialect – example: hibernateDialect:
org.hibernate.dialect.PostgreSQLDialect
|
X | X |
hibernateShowSql – default: hibernateShowSQL:
false |
X | X |
connectionPoolSize – default: connectionPoolSize:
200 |
X | X |
lockTimeoutSeconds – default: lockTimeoutSeconds:
20 |
X | X |
lockTimeoutReportsProgramsSeconds – default: lockTimeoutReportsProgramsSeconds: 5 |
X | X |
sqlCommandTimeout – default: sqlCommandTimeout:
30 |
X | X |
nlsLanguage (Oracle databases only) – example: nlsLanguage: AMERICAN |
X | X |
The Applications for the Control Center. Add an entry for each applications to configure their connection settings individually. applications |
X | |
<Application Name> |
X | |
host |
X | |
gRPCPort |
X | |
httpOnly |
X | |
The Cluster and Remote Cluster sections. A cluster configuration allows the bundling or separation of applications, and controllers. A cluster consists of a single node or multiple nodes (optional), including remote clusters. A remote cluster allows for starting transactions on a remote application. cluster |
X | |
remoteCluster |
X | |
type – example: type: PEKKO |
X | |
mode – default: mode: SINGLE_NODE
|
X | |
nodes |
X | |
<node name> |
X | |
settings |
X | |
host |
X | |
gRPCPort |
X | |
restPort |
X | |
httpOnly – default: httpOnly: false |
X | |
jobQueues – default: jobQueues: default |
X | |
The Runtime section for AMT applications. runtime |
X | |
settings |
X | |
customSignEncoding – default: customSignEncoding:
"" Example: customSignEncoding: RQPONMLKJ}{ABCDEFGHI |
X | |
cacheWorkingStorage – default: cacheWorkingStorage:
false |
X | |
storeCompInASCII – default: storeCompInASCII:
false |
X | |
translationFileEBCDIC – example: translationFileEBCDIC: "C:\\AMT\translationFileEBCDIC" |
X | |
useAmtCursor – default: useAmtCursor:
false |
X | |
clientTimeout – default: clientTimeout:
3000 |
X | |
transactionTimeout – default: transactionTimeout:
3000 |
X | |
grpcIdleTimeout – default: grpcIdleTimeout:
60 |
X | |
fileMessageSize – default: fileMessageSize:
2 |
X | |
urimap – example: urimap: "urimap.yaml" |
X | |
pythonInterpreter – default: pythonInterpreter:
python |
X | |
useDate – example: useDate:
20250123 |
X | |
The COBOL Configuration section for AMT applications. cobolConfig |
X | |
cwaSize – default: cwaSize: 0 |
X |
Sample Files
cc-config.yaml | amt-config.yaml |
--- #################################################################################################### # # CONTROL-CENTER CONFIGURATION # General Control-Center related configuration items. # #################################################################################################### version: v1 name: AMT Control Center Java Configuration Template environment: DEV #################################################################################################### # # SECURE STORAGE # Settings related to the secure storage provider. This ties into the database settings later on. # #################################################################################################### secureStorages: # Secure Storage can be configured in a couple of different ways. # See the Secure Storage Wiki page for more information. vaultType: Simple vaultConfiguration: vaultFilePath: C:/AMT/cc-secrets.txt #################################################################################################### # # CONTROL-CENTER NODE # Settings related to the Control-Center REST server. # #################################################################################################### node: host: 0.0.0.0 restPort: 9001 httpOnly: false # Will disable TLS if set to true. #################################################################################################### # # AUTHENTICATION CONFIGURATION # Settings related to the external authentication provider. # #################################################################################################### authentication: type: OIDC settings: issuerURL: https://login.microsoftonline.com/<id>/v2.0 clientID: <id> #################################################################################################### # # SUPPORTED APPLICATIONS # Configure any application that the Control-Center will be managing. # #################################################################################################### applications: custmanibm: host: localhost gRPCPort: 8080 httpOnly: false # Will disable TLS if set to true. #################################################################################################### # # SYSTEM DATABASE CONFIGURATION # Settings related to the system database. Values can be keys for the configured key vault # from the Secure Storage section up above. # #################################################################################################### systemDatabase: type: POSTGRES settings: name: amtsystem schema: amtsystem username: amtsystem password: amtsystem driverClassname: org.postgresql.Driver url: jdbc:postgresql://db:5432/amtsystem hibernateDialect: org.hibernate.dialect.PostgreSQLDialect # Uncomment these if you want to override the default values. #hibernateShowSql: false #connectionPoolSize: 200 #lockTimeoutSeconds: 20 #lockTimeoutReportsProgramsSeconds: 5 #sqlCommandTimeout: 30 #################################################################################################### # # TRANSACTION DATABASE CONFIGURATION (ENABLE & USE WHEN CONFIGURING A TRANSACTION DATABASE) # Settings related to the transaction database. Values can be keys for the configured key vault # from the Secure Storage section up above. # #################################################################################################### #transactionDatabase: # type: POSTGRES # settings: # name: amtsystransaction |
--- #################################################################################################### # # APPLICATION CONFIGURATION # General application related configuration items. # #################################################################################################### version: v1 name: AMT GO Java Application Configuration Template environment: DEV basePath: "C:\\Amt" applicationName: <application> |