You must add the following configuration properties to application-{env}.yml
if you want to enable integration with an Operations Manager instance
om.apiHost
- a VMware Tanzu Operations Manager API endpointom.enabled
- a boolean property that must be set totrue
om.grantType
- Token grant type
If om.grantType
is set to password
om.username
- username for Operations Manager admin accountom.password
- password for Operations Manager admin accountom.clientId
- must be set toopsman
om.clientSecret
- must be set to blank
If om.grantType
is set to client_credentials
om.username
- must be set to blankom.password
- must be set to blankom.clientId
- the recipient of the tokenom.clientSecret
- the secret passphrase configured for the OAuth client
the
{env}
filename suffix above denotes the Spring Profile you would activate for your environment
or
Add entries in your config/secrets.json
like
"OM_API-HOST": "xxxxxx",
"OM_ENABLED": true