mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
fix(pipes): invoke non-Lambda targets per-record instead of batch envelope (#590)
This commit is contained in:
1 parent
e5848487aa
commit
02facf40f6
2 files changed
+59
-18
No files matched your search
+4
-2
@@ -91,11 +91,11 @@ class PipesPollerIntegrationTest {
|
||||
.statusCode(200)
|
||||
.extract().body().asString();
|
||||
|
||||
if (body.contains("hello from pipes") || body.contains("Records")) {
|
||||
if (body.contains("hello from pipes")) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
assertTrue(body.contains("hello from pipes") || body.contains("Records"),
|
||||
assertTrue(body.contains("hello from pipes"),
|
||||
"Target queue should contain forwarded message but got: " + body);
|
||||
}
|
||||
|
||||
@@ -502,6 +502,8 @@ class PipesPollerIntegrationTest {
|
||||
}
|
||||
assertTrue(body.contains("transformed"),
|
||||
"Target should contain the InputTemplate-transformed message but got: " + body);
|
||||
assertTrue(body.contains("template-test-payload"),
|
||||
"InputTemplate should resolve $.body to the original message body but got: " + body);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in new issue
Block a user