(Glue-2311) Replication processes
Processes are the components of a workflow that move data from one object to another. They can be executed and monitored.
In this section:
Get processes information
Resource GET /processes serve as the main way to list all available Extraction Processes. It supports the following input parameters:
Parameter name | Description | Usage | Notes |
---|---|---|---|
tableName | Filtering based on SNP Glue™ table name | Optional | Array input possible; if used, other parameters are ignored |
package | Filtering based on the SAP development package | Optional | Array input possible |
author | Filtering based on the author | Optional | Array input possible |
processID | Filtering based on the process ID | Optional | Array input possible |
All input parameters are case insensitive.
Example of the REST API call:
GET http://servername:portnumber/dvd/glue/api/v3/processes?sap-client=800
JSON body:
{
"tableName": [
" ZTS_SFLIGHT",
" ZZK_ERPVAL"
]
}
Output:
Functionality is implemented in the SAP class /DVD/GL_EXT2_API_PROCESSES.
Edit a process
The endpoint PATCH /processes allow editing process parameters like fetcher delta type, filters, etc.
Parameter name | Description | Usage | Type |
---|---|---|---|
processes | Array of processes to be patched, the format is the same as the get /processes output | Mandatory | JSON object |
All input parameters are case insensitive.
When changing components “parameters”, all the parameters need to be specified, including the ones that will not be modified.
When passing filter parameters, the field “numb” needs to be set to value 1.
... {
"paramName": "FILTER",
"numb": 1,
"sign": "",
"opti": "",
"low": "CARRID",
"high": ""
}, ...
For all the other parameters, the field “numb” needs to be set to value 0.
Example of the REST API call:
Functionality is implemented in the SAP class /DVD/GL_EXT2_API_PROCESSES.