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
Support for Multi-Assignments #833
Support for Multi-Assignments #833
Changes from all commits
e797215
63e95f6
aa81448
11d946d
aaa1558
22b0567
46bbbd8
c6f763f
a664187
d855a12
b4d7a80
7573b7b
b73e452
19d48c2
d35d6d5
20f733d
c7ab510
0bcb9a1
ef38921
9d9adbb
7f30eed
efde30e
cc4e5d0
018800d
c4c5fae
eb09c54
661e509
bec7599
d93b137
e8c8314
509011e
e3a18c5
d02b8cd
3a9d6a9
15d64b2
95df24b
e88745b
38f3b53
7524abe
c54783f
8fba9e5
d2e8384
0d09537
89d1c80
c573c90
3f651c5
6aeca26
9e7684b
d61ded4
65b622b
3e415e9
a308a96
a0c699a
7200bed
f691f5c
3528b74
070bafb
f61da79
353e931
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.
Please check if this method can be optimised by better query support of repository. You basically read for every target all active actions, their distribution sets and last but not least all contained software modules. Not sure if this is working out in case of multiple big rollouts addressing same targets
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.
Well, once the same distribution set is encountered again, the software modules incl their metadata are found in the cache (the softwareModuleMetadata map). The targets are currently fetched separately as we want to send a DMF message to each target. We could try to get the actions for all controller IDs using a single DB query but that would not rid us from validating the AMQP addresses and after all we'd need to sort it back again per target before sending the DMF messages.