Skip to content

Commit

Permalink
feat: [PQ-233] delete event excluded (#2588)
Browse files Browse the repository at this point in the history
[PQ-233] delete event excluded

Co-authored-by: pasqualespica <[email protected]>
Co-authored-by: Pasquale Spica <[email protected]>
  • Loading branch information
3 people authored Nov 25, 2024
1 parent cf99606 commit 04f5b5e
Show file tree
Hide file tree
Showing 4 changed files with 145 additions and 101 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,38 +82,49 @@
"isSequential": true,
"activities": [
{
"name": "WriteEvhub",
"type": "WebActivity",
"name": "check for delete",
"type": "IfCondition",
"dependsOn": [],
"policy": {
"timeout": "0.12:00:00",
"retry": 0,
"retryIntervalInSeconds": 30,
"secureOutput": false,
"secureInput": false
},
"userProperties": [],
"typeProperties": {
"method": "POST",
"url": {
"value": "@concat('${evh_base_url}', '/gec-ingestion-bundles-dl/messages')",
"expression": {
"value": "@if(contains(item(), 'idPsp'), true, false)",
"type": "Expression"
},
"connectVia": {
"referenceName": "AutoResolveIntegrationRuntime",
"type": "IntegrationRuntimeReference"
},
"body": {
"value": "@item()",
"ifTrueActivities": [
{
"name": "WriteEvhub",
"type": "WebActivity",
"dependsOn": [],
"policy": {
"timeout": "0.12:00:00",
"retry": 0,
"retryIntervalInSeconds": 30,
"secureOutput": false,
"secureInput": false
},
"userProperties": [],
"typeProperties": {
"method": "POST",
"url": {
"value": "@concat('${evh_base_url}', '/gec-ingestion-bundles-dl/messages')",
"type": "Expression"
},
"authentication": {
"type": "MSI",
"resource": {
"value": "@pipeline().globalParameters.evhBaseUrl",
"type": "Expression"
"connectVia": {
"referenceName": "AutoResolveIntegrationRuntime",
"type": "IntegrationRuntimeReference"
},
"body": {
"value": "@item()",
"type": "Expression"
},
"authentication": {
"type": "MSI",
"resource": "${evh_base_url}"
}
}
}
}
]
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
}
},
"dataset": {
"referenceName": "${inputdataset}",
"referenceName": "${inputdataset}",
"type": "DatasetReference"
},
"firstRowOnly": false
Expand All @@ -82,38 +82,49 @@
"isSequential": true,
"activities": [
{
"name": "WriteEvhub",
"type": "WebActivity",
"name": "check delete events",
"type": "IfCondition",
"dependsOn": [],
"policy": {
"timeout": "0.12:00:00",
"retry": 0,
"retryIntervalInSeconds": 30,
"secureOutput": false,
"secureInput": false
},
"userProperties": [],
"typeProperties": {
"method": "POST",
"url": {
"value": "@concat('${evh_base_url}', '/gec-ingestion-cibundles-dl/messages')",
"expression": {
"value": "@if(contains(item(), 'idPsp'), true, false)",
"type": "Expression"
},
"connectVia": {
"referenceName": "AutoResolveIntegrationRuntime",
"type": "IntegrationRuntimeReference"
},
"body": {
"value": "@item()",
"type": "Expression"
},
"authentication": {
"type": "MSI",
"resource": {
"value": "@pipeline().globalParameters.evhBaseUrl",
"type": "Expression"
"ifTrueActivities": [
{
"name": "WriteEvhub",
"type": "WebActivity",
"dependsOn": [],
"policy": {
"timeout": "0.12:00:00",
"retry": 0,
"retryIntervalInSeconds": 30,
"secureOutput": false,
"secureInput": false
},
"userProperties": [],
"typeProperties": {
"method": "POST",
"url": {
"value": "@concat('${evh_base_url}', '/gec-ingestion-cibundles-dl/messages')",
"type": "Expression"
},
"connectVia": {
"referenceName": "AutoResolveIntegrationRuntime",
"type": "IntegrationRuntimeReference"
},
"body": {
"value": "@item()",
"type": "Expression"
},
"authentication": {
"type": "MSI",
"resource": "{evh_base_url}"
}
}
}
}
]
}
}
]
Expand All @@ -140,7 +151,7 @@
"userProperties": [],
"typeProperties": {
"dataset": {
"referenceName": "${inputdataset}",
"referenceName": "${inputdataset}",
"type": "DatasetReference"
},
"enableLogging": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,38 +82,49 @@
"isSequential": true,
"activities": [
{
"name": "WriteEvhub",
"type": "WebActivity",
"name": "check delete events",
"type": "IfCondition",
"dependsOn": [],
"policy": {
"timeout": "0.12:00:00",
"retry": 0,
"retryIntervalInSeconds": 30,
"secureOutput": false,
"secureInput": false
},
"userProperties": [],
"typeProperties": {
"method": "POST",
"url": {
"value": "@concat('${evh_base_url}', '/gec-ingestion-paymenttypes-dl/messages')",
"expression": {
"value": "@if(contains(item(), 'idPsp'), true, false)",
"type": "Expression"
},
"connectVia": {
"referenceName": "AutoResolveIntegrationRuntime",
"type": "IntegrationRuntimeReference"
},
"body": {
"value": "@item()",
"ifTrueActivities": [
{
"name": "WriteEvhub",
"type": "WebActivity",
"dependsOn": [],
"policy": {
"timeout": "0.12:00:00",
"retry": 0,
"retryIntervalInSeconds": 30,
"secureOutput": false,
"secureInput": false
},
"userProperties": [],
"typeProperties": {
"method": "POST",
"url": {
"value": "@concat('${evh_base_url}', '/gec-ingestion-paymenttypes-dl/messages')",
"type": "Expression"
},
"authentication": {
"type": "MSI",
"resource": {
"value": "@pipeline().globalParameters.evhBaseUrl",
"type": "Expression"
"connectVia": {
"referenceName": "AutoResolveIntegrationRuntime",
"type": "IntegrationRuntimeReference"
},
"body": {
"value": "@item()",
"type": "Expression"
},
"authentication": {
"type": "MSI",
"resource": "{evh_base_url}"
}
}
}
}
]
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
}
},
"dataset": {
"referenceName": "${inputdataset}",
"referenceName": "PDND_CDC_GEC_TOUCHPOINTS_JSON_Dataset",
"type": "DatasetReference"
},
"firstRowOnly": false
Expand All @@ -82,38 +82,49 @@
"isSequential": true,
"activities": [
{
"name": "WriteEvhub",
"type": "WebActivity",
"name": "check delete events",
"type": "IfCondition",
"dependsOn": [],
"policy": {
"timeout": "0.12:00:00",
"retry": 0,
"retryIntervalInSeconds": 30,
"secureOutput": false,
"secureInput": false
},
"userProperties": [],
"typeProperties": {
"method": "POST",
"url": {
"value": "@concat('${evh_base_url}', '/gec-ingestion-touchpoints-dl/messages')",
"expression": {
"value": "@if(contains(item(), 'idPsp'), true, false)",
"type": "Expression"
},
"connectVia": {
"referenceName": "AutoResolveIntegrationRuntime",
"type": "IntegrationRuntimeReference"
},
"body": {
"value": "@item()",
"ifTrueActivities": [
{
"name": "WriteEvhub",
"type": "WebActivity",
"dependsOn": [],
"policy": {
"timeout": "0.12:00:00",
"retry": 0,
"retryIntervalInSeconds": 30,
"secureOutput": false,
"secureInput": false
},
"userProperties": [],
"typeProperties": {
"method": "POST",
"url": {
"value": "@concat('${evh_base_url}', '/gec-ingestion-touchpoints-dl/messages')",
"type": "Expression"
},
"authentication": {
"type": "MSI",
"resource": {
"value": "@pipeline().globalParameters.evhBaseUrl",
"type": "Expression"
"connectVia": {
"referenceName": "AutoResolveIntegrationRuntime",
"type": "IntegrationRuntimeReference"
},
"body": {
"value": "@item()",
"type": "Expression"
},
"authentication": {
"type": "MSI",
"resource": "{evh_base_url}"
}
}
}
}
]
}
}
]
Expand Down

0 comments on commit 04f5b5e

Please sign in to comment.