-
Notifications
You must be signed in to change notification settings - Fork 42
Clean-up main model: job dispatch interface and adapter #1036
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
Conversation
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Martijn Govers <[email protected]>
…-adapter-prototipe
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
…-adapter-prototipe Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
ce332ac
to
065f5b8
Compare
065f5b8
to
436b9e7
Compare
Signed-off-by: Martijn Govers <[email protected]>
power_grid_model_c/power_grid_model/include/power_grid_model/job_dispatch_adapter.hpp
Outdated
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/job_dispatch_adapter.hpp
Outdated
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/job_dispatch_adapter.hpp
Outdated
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/job_dispatch_adapter.hpp
Outdated
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/job_dispatch_adapter.hpp
Outdated
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/job_dispatch_adapter.hpp
Outdated
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/job_dispatch.hpp
Outdated
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/job_dispatch_adapter.hpp
Outdated
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/job_dispatch.hpp
Outdated
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/job_dispatch.hpp
Outdated
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/job_dispatch_interface.hpp
Outdated
Show resolved
Hide resolved
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
power_grid_model_c/power_grid_model/include/power_grid_model/job_dispatch.hpp
Outdated
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/job_dispatch.hpp
Outdated
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/job_dispatch_adapter.hpp
Outdated
Show resolved
Hide resolved
Is there already test cases that demonstrate how easily this new adapter-interface scheme can be tested with mocks? |
power_grid_model_c/power_grid_model/include/power_grid_model/job_dispatch_interface.hpp
Outdated
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/job_dispatch_interface.hpp
Outdated
Show resolved
Hide resolved
Not yet. That would be part 3 of the saga. But in summary, we just need to test the |
power_grid_model_c/power_grid_model/include/power_grid_model/job_dispatch.hpp
Show resolved
Hide resolved
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Just went through the PR - was quite hard to review. Not complaining - it is inherit to the nature of the PR -> shifting around code 😄 That said: I don't see anything weird in the structure, so if both @figueroa1395 and @mgovers are happy with the content it would be good to go for me as well |
Signed-off-by: Nitish Bharambe <[email protected]>
Signed-off-by: Nitish Bharambe <[email protected]>
power_grid_model_c/power_grid_model/include/power_grid_model/job_dispatch_adapter.hpp
Outdated
Show resolved
Hide resolved
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.
I know that most of the requires
come from existing code, but when would be a good moment to replace them with named concepts?
It is good that you raised this question, because in a follow up PR (#1071) I decided to silence sonar about that, so maybe that isn't the right approach. My thought process was that these |
This reverts commit 6a95434. Signed-off-by: Nitish Bharambe <[email protected]>
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.
LGTM post resolving of all comments.
power_grid_model_c/power_grid_model/include/power_grid_model/job_dispatch.hpp
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/job_dispatch.hpp
Outdated
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/job_dispatch_interface.hpp
Outdated
Show resolved
Hide resolved
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
|
Relates to #1063
Part 2 of the split-up of

MainModelImpl
into the following design: create thejob_dispatch_interface
andjob_dispatch_adapter