Hi Karthik,
You can use API to GET all DVF's for particular tenant and then POST it into another tenant.
curl --location 'https://console.reltio.com/datamodeler/services/dvf/api/{{tenantID}}/dataValidationFunctions' \
--header 'Authorization: Bearer kknk-hgfuyf' \
--header 'env: {{env}}'
Using above API you will get all DVF's wrto tenant and if needed '/entityTypes/{{entityType}}' to get specific Entity.
In the response remove all the uri and POST using below API:
curl --location 'https://console.reltio.com/datamodeler/services/dvf/api/{{tenantID}}/dataValidationFunctions/entityTypes/{{entityType}}' \
--header 'Authorization: Bearer afhoiahiaf' \
--header 'env: {{env}}' \
--header 'Content-Type: application/json' \
--data '[
{
"name": "Sample",
"label": "",
"description": "Hello",
"expression": "exists(attributes.Name.value)",
"action": "WARNING",
"validationEvent": "ALL",
"message": "Missing Name",
"createdBy": "me",
"createdTime": "",
"updatedBy": "me",
"updatedTime": "",
"status": "ACTIVE",
"attribute": "configuration/entityTypes/{{entityType}}/attributes/{{attributeName}}"
}
]'
Using above cURL you can get and post in other tenants. Let us know if you find any difficulty.
------------------------------
Sheshadri V
Fresh Gravity
------------------------------
Original Message:
Sent: 06-22-2023 09:14
From: Karthik karthik
Subject: Migrating DVF from Reltio to Test
Hi Team,
when we migrated the L3 config from Dev to Test, DVF Functions are not migrated.
Is there any other approach to migrate the DVF .
------------------------------
Karthik karthik
PWC
------------------------------