Skip to content

Commit

Permalink
HCK-5008: add plugin adapter to change value type
Browse files Browse the repository at this point in the history
  • Loading branch information
sahanr committed Apr 1, 2024
1 parent b166a9e commit 06a6715
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions adapter/0.1.70.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
/**
* Copyright © 2016-2024 by IntegrIT S.A. dba Hackolade. All rights reserved.
*
* The copyright to the computer software herein is the property of IntegrIT S.A.
* The software may be used and/or copied only with the written permission of
* IntegrIT S.A. or in accordance with the terms and conditions stipulated in
* the agreement/contract under which the software has been supplied.
*
* {
* "add": {
* "entity": [<names of new property>],
* "container": [<names of new property>],
* "model": [<names of new property>],
* "view": [<names of new property>],
* "field": {
* "<type>": [<names of new property>]
* }
* },
* "delete": {
* "entity": [<names of new property>],
* "container": [<names of new property>],
* "model": [<names of new property>],
* "view": [<names of new property>],
* "field": {
* "<type>": [<names of new property>]
* }
* },
* "modify": {
* "entity": [
* {
* "from": { <properties that identify record> },
* "to": { <properties that need to be changed> }
* }
* ],
* "container": [],
* "model": [],
* "view": [],
* "field": []
* },
* }
*/
{
"modify": {
"field": [
[
"convertPropertyValueToType",
{
"fieldKeyword": "sample",
"convertToType": "number",
"dependency": {
"key": "type",
"value": "numeric"
}
}
]
]
}
}

0 comments on commit 06a6715

Please sign in to comment.