From d4ae5afa3ebb165f58221c740f76b253ae3d147c Mon Sep 17 00:00:00 2001 From: Serhii Filonenko Date: Wed, 26 Jun 2024 11:42:01 +0300 Subject: [PATCH] HCK-6862: update rename adapter --- adapter/0.2.3.json | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/adapter/0.2.3.json b/adapter/0.2.3.json index 3691ead..2b2c710 100644 --- a/adapter/0.2.3.json +++ b/adapter/0.2.3.json @@ -41,18 +41,37 @@ */ { "modify": { + "container": [ + { + "from": { + "Name": { "type": "RegExp", "value": ".*" } + }, + "to": { + "keyName": { "type": "Source", "path": "Name" } + } + }, + { + "from": { + "Type": { "type": "RegExp", "value": ".*" } + }, + "to": { + "keyType": { "type": "Source", "path": "Type" } + } + } + ], "field": [ { "from": { - "": true + "": { "type": "RegExp", "value": "true|false" } }, "to": { - "key": true + "key": { "type": "Source", "path": "" } } } ] }, "delete": { + "container": ["Name", "Type"], "field": [""] } }