import { IStepConnectorForm } from '../catalogo-protocol'; const steps: IStepConnectorForm[] = [ { "title":"REST CONNECTOR OVERVIEW", "description":"Complete Rest Connector Service", "type":"overview", "url":"https://sysmapsolutions.atlassian.net/wiki/spaces/QKSDOC/pages/690028581/Catalogo" }, { "title":"REST CONNECTOR CONFIGURATION", "description":"Finish Configuration Connector", "type":"submit", "content":{ "metadata":{ "init":[ ], "data":{ "title":"", "type":"object", "properties":{ "taskRetryConfiguration":{ "title":"Retry Configuration(only for Long Running)", "type":"string", "default":"" }, "replyConnectorErrors":{ "title":" ", "type":"boolean", "default":false }, "mappingResponseHeaders":{ "title":" ", "type":"boolean", "default":false }, "endpoint":{ "title":"Input Endpoint", "type":"string", "default":"" }, "method":{ "title":"Input Method", "type":"string", "default":"" }, "uri":{ "title":"Input Uri", "type":"string", "default":"" } }, "dependencies":{ } } }, "ui":{ "ui:order":[ "taskRetryConfiguration", "replyConnectorErrors", "mappingResponseHeaders", "method", "uri", "endpoint" ], "taskRetryConfiguration":{ "ui:widget":"AntdInput", "ui:options":{ "hint":"

Configuração de retry para task (Referência)

ex: R3/PT1M - 3 repetições com intervalo de 1 min

" } }, "replyConnectorErrors":{ "ui:widget":"AntdCheckBox", "ui:options":{ "checkBoxText":"Reply Connector Errors", "hint":"Defines whether connector error (statusCode and response body) will be propagated to the stream" } }, "mappingResponseHeaders":{ "ui:widget":"AntdCheckBox", "ui:options":{ "checkBoxText":"Mapping Response Headers", "hint":"Defines whether response headers will be added to the task output data context (json response only)" } }, "endpoint":{ "ui:widget":"AntdInput", "ui:options":{ "disabled":false, "hidden":false, "hint":"REST operation endpoint (protocol + host + port)" } }, "method":{ "ui:widget":"AntdInput", "ui:options":{ "disabled":false, "hidden":false, "hint":"REST operation HTTP Method" } }, "uri":{ "ui:widget":"AntdInput", "ui:options":{ "disabled":false, "hidden":false, "hint":"REST operation HTTP Method" } } }, "relationships":[ ], "submit":{ "request":{ "base":"FILE_SYSTEM", "endpoint":{ "source":"", "params":[ ] }, "data":{ }, "header":{ }, "method":"post", "bodyParser":{ "formatter":{ "format":{ "type":"rest", "version":"<%= version %>", "image":"quarks-rest", "taskRetryConfiguration":"<%= taskRetryConfiguration %>", "mappingResponseHeaders":"<%= mappingResponseHeaders %>", "method":"<%= method %>", "endpoint":"<%= endpoint %>", "uri":"<%= uri %>", "replyConnectorErrors":"<%= replyConnectorErrors %>" }, "params":[ { "param":"version", "source":"context(step_0.version)" }, { "param":"taskRetryConfiguration", "source":"formData(taskRetryConfiguration)" }, { "param":"replyConnectorErrors", "source":"formData(replyConnectorErrors)" }, { "param":"mappingResponseHeaders", "source":"formData(mappingResponseHeaders)" }, { "param":"uri", "source":"formData(uri)" }, { "param":"endpoint", "source":"formData(endpoint)" }, { "param":"method", "source":"formData(method)" } ] } } }, "styles":{ "text":"Install", "position":"right" } } } } ] export default steps;