@itentialopensource/adapter-nokia_nsp_nfm_p
Version:
This adapter integrates with system described as: nfm-p(SAMO).
52 lines (50 loc) • 1.24 kB
JSON
{
"actions": [
{
"name": "getToken",
"protocol": "REST",
"method": "POST",
"entitypath": "/rest-gateway/rest/api/v1/auth/token",
"requestSchema": "schemaTokenReq.json",
"responseSchema": "schemaTokenResp.json",
"timeout": 0,
"sendEmpty": false,
"requestDatatype": "",
"responseDatatype": "",
"headers": {"Authorization": "Basic {b64}{username}:{password}{/b64}"},
"sso":{
"protocol":"https",
"host":"",
"port":443
},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/getToken-default.json"
}
]
},
{
"name": "healthcheck",
"protocol": "REST",
"method": "GET",
"entitypath": "{base_path}/{version}/v2/general/version",
"requestSchema": "schema.json",
"responseSchema": "schema.json",
"timeout": 0,
"sendEmpty": false,
"sendGetBody": false,
"requestDatatype": "",
"responseDatatype": "",
"headers": {},
"responseObjects": [
{
"type": "default",
"key": "",
"mockFile": "mockdatafiles/healthcheck-default.json"
}
]
}
]
}