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

Config for et-mfr

Jobs that use the et-mfr adaptor may require authentication. A "credential" for the et-mfr 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.

{}

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": "The Ethipean MFR baseUrl",
"format": "uri",
"default": "https://mfr.moh.gov.et",
"minLength": 1,
"examples": [
"https://mfr.moh.gov.et"
]
},
"username": {
"title": "Username",
"type": "string",
"description": "Username",
"examples": [
"admin"
]
},
"password": {
"title": "Password",
"type": "string",
"description": "Password",
"writeOnly": true,
"examples": [
"@some(!)Str0ngp4ss0w0rd"
]
}
},
"type": "object",
"additionalProperties": true,
"required": []
}