Some of the DB read request are wasteful and not optimized.
e.g. for global vs. subaccount scoped brokers - global brokers are identified by retrieving all brokers and looping to find out brokers w/o subaccount ID
Approach
An additional method for querying the DB was introduced: a named query
Pull Request status
[x] Initial implementation
[ ] Refactoring
[x ] Unit tests
[ ] Integration tests
Feel free to construct the checklist with whatever items seem most reasonable for your change. You could disassemble the Implementation part to even smaller separate checklist items if you're working on something big for example. But do make the effort to provide a checklist of some sort so that the core team as well as the community can have an idea about the progress of your Pull Request.
Pull Request Template
Prerequisites
https://jtrack.wdf.sap.corp/browse/SAPCPCFS-14735
Motivation
Some of the DB read request are wasteful and not optimized.
e.g. for global vs. subaccount scoped brokers - global brokers are identified by retrieving all brokers and looping to find out brokers w/o subaccount ID
Approach
An additional method for querying the DB was introduced: a named query
Pull Request status
Feel free to construct the checklist with whatever items seem most reasonable for your change. You could disassemble the Implementation part to even smaller separate checklist items if you're working on something big for example. But do make the effort to provide a checklist of some sort so that the core team as well as the community can have an idea about the progress of your Pull Request.