mirror of
https://github.com/floci-io/floci.git
synced 2026-11-27 07:39:24 -05:00
fix(eventbridge): resolve indexed input paths (#6929)
This commit is contained in:
1 parent
aecabcb783
commit
e2d65a6378
2 files changed
+15
-1
No files matched your search
+2
-1
@@ -450,7 +450,8 @@ public class EventBridgeInvoker {
|
||||
}
|
||||
|
||||
private static String toPointer(String jsonPath) {
|
||||
return (jsonPath.startsWith("$") ? jsonPath.substring(1) : jsonPath).replace('.', '/');
|
||||
return (jsonPath.startsWith("$") ? jsonPath.substring(1) : jsonPath)
|
||||
.replaceAll("\\[(\\d+)\\]", "/$1").replace('.', '/');
|
||||
}
|
||||
|
||||
String extractJsonPath(String jsonPath, String eventJson) {
|
||||
|
||||
Reference in new issue
Block a user