dnet-applications/libs/dnet-wf-service/src/main/resources/wf_templates/simple_repo_bye.json

123 lines
1.4 KiB
JSON

{
"parameters":[
{
"name":"wfConfId",
"description":"the Configuration to delete"
},
{
"name":"dsId",
"description":"the Datasource ID"
},
{
"name":"apiId",
"description":"the Api ID"
},
{
"name":"nativeMdStoreId",
"description":"Native Metadata Store ID"
},
{
"name":"cleanedMdStoreId",
"description":"Cleaned Metadata Store ID"
}
],
"graph":[
{
"name":"LOAD_DS_INFO",
"type":"loadDatasourceInfo",
"start": true,
"input":[
{
"name":"dsId",
"ref":"dsId"
},
{
"name":"apiId",
"ref":"apiId"
}
],
"output":[
{
"name":"ds",
"env":"ds"
},
{
"name":"api",
"env":"api"
}
],
"arcs":[
{
"to":"DELETE_DC"
},
{
"to":"DELETE_DMF"
}
]
},
{
"name":"DELETE_DC",
"type":"deleteMdStore",
"input":[
{
"name":"mdId",
"ref":"nativeMdStoreId"
}
],
"arcs":[
{
"to":"DELETE_WF_CONF"
}
]
},
{
"name":"DELETE_OAF",
"type":"deleteMdStore",
"input":[
{
"name":"mdId",
"ref":"cleanedMdStoreId"
}
],
"arcs":[
{
"to":"DELETE_WF_CONF"
}
]
},
{
"name":"DELETE_WF_CONF",
"type":"registerWfConfiguration",
"join": true,
"input":[
{
"name":"wfConfId",
"ref":"wfConfId"
}
]
}
]
}