Last active
February 3, 2021 22:17
-
-
Save NicolasGeraud/db3c78b7036dbc89cd894cc1e67bc9da to your computer and use it in GitHub Desktop.
transform.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"operation": "shift", | |
"spec": { | |
"components": { | |
"*": { | |
"name": "[&1].key", | |
"version": "[&1].value" | |
} | |
} | |
} | |
} | |
] |
For a 1<->1 mapping, here is a sample :
data:
[
{
"key": "test",
"value": "test-value"
}
]
jolt transformation :
[
{
"operation": "default",
"spec": {}
}
]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://raw.githubusercontent.com/gravitee-io/release/3.0.0/release.json