Fix listing management server by parameters#3840
Conversation
DaanHoogland
left a comment
There was a problem hiding this comment.
code lgtm, description makes sense but no testing done
yadvr
left a comment
There was a problem hiding this comment.
LGTM, did not test it. A unit test would be nice to get to introduced @davidjumani usually good practice but otherwise not mandatory.
|
@davidjumani can you rebase against 4.13, as the issue asked for PR to be against 4.13 branch? |
ad1d56d to
43ac58d
Compare
|
LGTM based on code changes |
|
@rhtyd I understand these words: "help", "hello", "thanks", "package", "test" Blessed contributors for kicking Trillian test jobs: ['rhtyd', 'nvazquez', 'PaulAngus', 'borisstoyanov', 'DaanHoogland', 'shwstppr', 'andrijapanicsb', 'Spaceman1984', 'Pearl1594', 'davidjumani'] |
|
Trillian test result (tid-835)
|
| Pair<List<ManagementServerHostVO>, Integer> result = listManagementServersInternal(cmd); | ||
| List<ManagementServerResponse> hostResponses = new ArrayList<>(); | ||
|
|
||
| for(ManagementServerHostVO host : result.first()) { |
The List Management Server api returns a list of all the management servers but fails when trying to list by id or name. This ensures that it fetches the details as per the parameters passed. Fixes: apache#3833
Description
The List Management Server api returns a list of all the management servers but fails when trying to list by id or name. This ensures that it fetches the details as per the parameters passed.
Fixes: #3833
Types of changes
How Has This Been Tested?
Verified by testing the api with and without parameters