blob: 85e0aa3429eae871db9897f29e0d75602463c279 [file] [log] [blame]
import {processorApiConfig} from '../config/app-config';
export default {
"name": "blueprint",
"connector": "rest",
"baseURL": processorApiConfig.http.url,
"crud": false,
"debug": true,
"operations": [{
"template": {
"method": "GET",
"url": processorApiConfig.http.url + "/blueprint-model/",
"headers": {
"accepts": "application/json",
"content-type": "application/json",
"authorization": processorApiConfig.http.authToken
},
"responsePath": "$.*"
},
"functions": {
"getAllblueprints": []
}
},
{
"template": {
"method": "GET",
"url": processorApiConfig.http.url + "/blueprint-model/search/{tags}",
"headers": {
"accepts": "application/json",
"content-type": "application/json",
"authorization": processorApiConfig.http.authToken
},
"responsePath": "$.*"
},
"functions": {
"getByTags": ["tags"]
}
},
]
};