Saltar al contenido principal
Esta página no tiene versión en español, así que te la mostramos en inglés.

Config for maximo

Jobs that use the maximo adaptor may require authentication. A "credential" for the maximo adaptor will follow the schema below. When using the CLI, you can set up your own state.configuration by using the sample below.

Sample Configuration​

Paste this into the configuration key of your state.json file and modify the values to run jobs locally.

{
"baseUrl": "https://maximo-demo76.mro.com",
"username": "test@openfn.org",
"password": "@some(!)password"
}

Full Schema​

The full configuration schema describes each attribute of the credential and notes those that are required.

{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"baseUrl": {
"title": "Base URL",
"type": "string",
"description": "Maximo instance base URL",
"format": "uri",
"minLength": 1,
"examples": [
"https://maximo-demo76.mro.com"
]
},
"username": {
"title": "Username",
"type": "string",
"description": "Maximo instance username",
"minLength": 1,
"examples": [
"test@openfn.org"
]
},
"password": {
"title": "Password",
"type": "string",
"description": "Maximo instance password",
"writeOnly": true,
"minLength": 1,
"examples": [
"@some(!)password"
]
}
},
"type": "object",
"additionalProperties": true,
"required": [
"baseUrl",
"username",
"password"
]
}