Commit 0687108
Onboards flow-framework plugin to resource-sharing and access control framework (#1251)
* Onboards flow-framework plugin to resource-sharing and access control framework
Signed-off-by: Darshit Chanpura <[email protected]>
* Adds javadoc and a changelog entry
Signed-off-by: Darshit Chanpura <[email protected]>
* Adds tests for resource sharing flow and adds a CI job to run resource-sharing tests
Signed-off-by: Darshit Chanpura <[email protected]>
# Conflicts:
# .github/workflows/test_security.yml
* Explicitly set security spi version to 3.4
Signed-off-by: Darshit Chanpura <[email protected]>
* Refactors test to use in house Recipient class
Signed-off-by: Darshit Chanpura <[email protected]>
* Address PR comments around renaming and version
Signed-off-by: Darshit Chanpura <[email protected]>
* Constant for awaitility version
Signed-off-by: Darshit Chanpura <[email protected]>
* Fix typo in awaitilityVersion
Co-authored-by: Owais Kazi <[email protected]>
Signed-off-by: Daniel Widdis <[email protected]>
* Update ResourceProvider to use anonymous class
Signed-off-by: Daniel Widdis <[email protected]>
* Fix javadocs
Signed-off-by: Daniel Widdis <[email protected]>
* Wrap checked exception from PluginClient
Signed-off-by: Daniel Widdis <[email protected]>
* Fix tests with param index and eq rather than raw strings
Signed-off-by: Daniel Widdis <[email protected]>
* Properly skip ResourceSharingApiIT
Signed-off-by: Daniel Widdis <[email protected]>
* Add unit test for ResourceSharingExtension
Signed-off-by: Daniel Widdis <[email protected]>
* Updates template to include `all_shared_principals` and marks relevant action-requests as DocRequests
Signed-off-by: Darshit Chanpura <[email protected]>
* Fix checkstyle errors
Signed-off-by: Darshit Chanpura <[email protected]>
* Fix early .onResponse return and add all_shared_principals to workflow state reset call
Signed-off-by: Darshit Chanpura <[email protected]>
* Add implementation of type method
Signed-off-by: Darshit Chanpura <[email protected]>
* Completes FlowFrameworkSecureRestApiIT
Signed-off-by: Darshit Chanpura <[email protected]>
* Fixes javadoc CI and addresses flakyness in search test when resource sharing is enab;ed
Signed-off-by: Darshit Chanpura <[email protected]>
* Fixes unit tests
Signed-off-by: Darshit Chanpura <[email protected]>
* Updates coverage and adds missing builder method call in Template class
Signed-off-by: Darshit Chanpura <[email protected]>
* Fix test to wait for async state deletion attempt
Signed-off-by: Daniel Widdis <[email protected]>
---------
Signed-off-by: Darshit Chanpura <[email protected]>
Signed-off-by: Daniel Widdis <[email protected]>
Co-authored-by: Daniel Widdis <[email protected]>
Co-authored-by: Owais Kazi <[email protected]>1 parent 60c3da9 commit 0687108
File tree
51 files changed
+1852
-220
lines changed- .github/workflows
- src
- main
- java/org/opensearch/flowframework
- common
- indices
- model
- transport
- handler
- util
- resources
- META-INF/services
- mappings
- test/java/org/opensearch/flowframework
- indices
- model
- rest
- transport
- handler
- util
- workflow
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
51 files changed
+1852
-220
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
48 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
| 99 | + | |
98 | 100 | | |
99 | 101 | | |
100 | 102 | | |
| |||
193 | 195 | | |
194 | 196 | | |
195 | 197 | | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
196 | 201 | | |
197 | 202 | | |
198 | 203 | | |
| |||
252 | 257 | | |
253 | 258 | | |
254 | 259 | | |
| 260 | + | |
| 261 | + | |
255 | 262 | | |
256 | 263 | | |
257 | 264 | | |
| |||
354 | 361 | | |
355 | 362 | | |
356 | 363 | | |
| 364 | + | |
| 365 | + | |
357 | 366 | | |
358 | 367 | | |
359 | 368 | | |
| |||
382 | 391 | | |
383 | 392 | | |
384 | 393 | | |
| 394 | + | |
385 | 395 | | |
386 | 396 | | |
387 | 397 | | |
388 | 398 | | |
389 | 399 | | |
390 | 400 | | |
391 | 401 | | |
| 402 | + | |
392 | 403 | | |
393 | 404 | | |
394 | 405 | | |
| |||
513 | 524 | | |
514 | 525 | | |
515 | 526 | | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
516 | 531 | | |
517 | 532 | | |
518 | 533 | | |
| |||
545 | 560 | | |
546 | 561 | | |
547 | 562 | | |
548 | | - | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
549 | 570 | | |
550 | 571 | | |
551 | 572 | | |
| |||
573 | 594 | | |
574 | 595 | | |
575 | 596 | | |
| 597 | + | |
| 598 | + | |
576 | 599 | | |
577 | 600 | | |
578 | 601 | | |
| |||
584 | 607 | | |
585 | 608 | | |
586 | 609 | | |
| 610 | + | |
587 | 611 | | |
588 | 612 | | |
589 | 613 | | |
| |||
592 | 616 | | |
593 | 617 | | |
594 | 618 | | |
| 619 | + | |
595 | 620 | | |
596 | 621 | | |
597 | 622 | | |
| |||
Lines changed: 17 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
60 | 61 | | |
61 | 62 | | |
| 63 | + | |
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
| 67 | + | |
65 | 68 | | |
66 | 69 | | |
67 | 70 | | |
| |||
116 | 119 | | |
117 | 120 | | |
118 | 121 | | |
119 | | - | |
| 122 | + | |
120 | 123 | | |
121 | 124 | | |
122 | 125 | | |
| 126 | + | |
| 127 | + | |
123 | 128 | | |
124 | 129 | | |
125 | 130 | | |
| |||
143 | 148 | | |
144 | 149 | | |
145 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
146 | 154 | | |
147 | | - | |
| 155 | + | |
148 | 156 | | |
149 | 157 | | |
150 | 158 | | |
| |||
296 | 304 | | |
297 | 305 | | |
298 | 306 | | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
299 | 314 | | |
Lines changed: 55 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
| |||
264 | 266 | | |
265 | 267 | | |
266 | 268 | | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
267 | 275 | | |
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
| 413 | + | |
413 | 414 | | |
414 | 415 | | |
415 | | - | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
416 | 423 | | |
417 | 424 | | |
418 | 425 | | |
| |||
421 | 428 | | |
422 | 429 | | |
423 | 430 | | |
| 431 | + | |
424 | 432 | | |
425 | 433 | | |
426 | 434 | | |
| |||
0 commit comments