Commit cd718ba
vdk-core: Adopt 'method' argument in pre-process plugins (#3074)
As part of
03dde45,
the `pre_ingest_process` and `post_ingest_process` hooks of the
IIngesterPlugin were updated to pass the ingest method to
user-implemented ingestion plugins.
This change updates the IngesterBase to pass the `method` argument from
the ingested payloads to the `pre_ingest_process` and
`post_ingest_process` hooks of the registered ingester plugins.
Testing Done: Updated tests
Signed-off-by: Andon Andonov <[email protected]>
Co-authored-by: dakodakov <[email protected]>
Co-authored-by: Duygu Hasan <[email protected]>1 parent 78e0df8 commit cd718ba
File tree
2 files changed
+18
-1
lines changed- projects/vdk-core
- src/vdk/internal/builtin_plugins/ingestion
- tests/vdk/internal/builtin_plugins/ingestion
2 files changed
+18
-1
lines changedLines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
| 440 | + | |
440 | 441 | | |
441 | 442 | | |
442 | | - | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
443 | 450 | | |
444 | 451 | | |
445 | 452 | | |
| |||
450 | 457 | | |
451 | 458 | | |
452 | 459 | | |
| 460 | + | |
453 | 461 | | |
454 | 462 | | |
455 | 463 | | |
| |||
512 | 520 | | |
513 | 521 | | |
514 | 522 | | |
| 523 | + | |
515 | 524 | | |
516 | 525 | | |
517 | 526 | | |
| |||
575 | 584 | | |
576 | 585 | | |
577 | 586 | | |
| 587 | + | |
578 | 588 | | |
579 | 589 | | |
580 | 590 | | |
| |||
584 | 594 | | |
585 | 595 | | |
586 | 596 | | |
| 597 | + | |
587 | 598 | | |
588 | 599 | | |
589 | 600 | | |
| |||
611 | 622 | | |
612 | 623 | | |
613 | 624 | | |
| 625 | + | |
614 | 626 | | |
615 | 627 | | |
616 | 628 | | |
| |||
621 | 633 | | |
622 | 634 | | |
623 | 635 | | |
| 636 | + | |
624 | 637 | | |
625 | 638 | | |
626 | 639 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| 248 | + | |
248 | 249 | | |
249 | 250 | | |
250 | 251 | | |
| |||
276 | 277 | | |
277 | 278 | | |
278 | 279 | | |
| 280 | + | |
279 | 281 | | |
280 | 282 | | |
281 | 283 | | |
| |||
335 | 337 | | |
336 | 338 | | |
337 | 339 | | |
| 340 | + | |
338 | 341 | | |
339 | 342 | | |
340 | 343 | | |
| |||
361 | 364 | | |
362 | 365 | | |
363 | 366 | | |
| 367 | + | |
364 | 368 | | |
0 commit comments