Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ASCII-931][component] Create orchestrator forwarder component #21058
[ASCII-931][component] Create orchestrator forwarder component #21058
Changes from 13 commits
cdb7e15
fa1f9ae
b1d1ddc
79993ab
0d4ecc2
2b3fcf4
4478b03
caf6083
9320f52
0fa5a80
115bcda
f7014d3
08849de
d1e42ce
756095c
ef27ea6
5dd6261
b0ab887
a8a5812
4591318
c3e47ca
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As can be seen here, I believe the security agent does not need the orchestrator forwarder
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, it doesn't and this is the reason why it is not enabled. See
fx.Supply(orchestratorForwarderImpl.Params{UseOrchestratorForwarder: false})
few lines upper.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah ok indeed, what would happen if we did not provide the module and the params supply ? Wouldn't it default to disabled as well ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because the
demultiplexer
uses theorchestrator forwarder
,orchestrator forwarder
is always mandatory when using thedemultiplexer
(Fx refuses to start the application if the module and the params are missing).Note: There are units tests that check subcommands provides all the require modules and params. There is a linter to make sure all subcommand are tested (I also have a card to check there is no missing tests for other cases).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok understood