Member since
04-01-2019
10
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1352 | 06-19-2019 11:34 AM |
05-28-2021
03:07 PM
Hi @jerry_pylarinos and @mburgess I am seeing weird behavior in the same scenario but the only difference is my spec has expression language inside Jspec and it never resolved after pulling from the cache and passing as an attribute to jolttransform. Is that a bug? like if you jspec.json has [
{
"operation": "modify-overwrite-beta",
"spec": {
"id": "${UUID()}"
}
}
] and your generate flow file has {
"id" : "anyname"
} You result looks like this {
"id":"${UUID()}"
} How to evaluate expression langauge here?
... View more
06-19-2019
11:34 AM
I solved this by using a GenerateFlowFile processor to create an attribute url and to trigger the InvokeHTTP processor at the schedule rate of interest. On a failure condition (e.g. InvokeHTTP connection timeout) I use an UpdateAttribute processor to assign to the attribute url the Remote URL using a Regex: ${invokehttp.java.exception.message:substringAfterLast('/'):substringBefore(':')}
... View more