davidjumani opened a new pull request #4164:
URL: https://github.com/apache/cloudstack/pull/4164
## Description
Adds the listall parameter to listLdapConfigurations.
If set to true, and no domainid specified, list all LDAP configurations
irrespective of the linked domain
## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the
boxes that apply: -->
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] Enhancement (improves an existing feature and functionality)
- [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
## How Has This Been Tested?
```
(localhost) 🐱 > list ldapconfigurations listall=true
{
"LdapConfiguration": [
{
"domainid": "3eca21e9-b1f3-11ea-ba9c-50eb71576f75",
"hostname": "primate-qa.cloudstack.cloud",
"port": 389
},
{
"domainid": "2b660440-759f-4490-99ba-cddd9cbff2af",
"hostname": "primate-qa.cloudstack.cloud",
"port": 389
},
{
"hostname": "primate-qa.cloudstack.cloud",
"port": 389
}
],
"count": 3
}
(localhost) 🐱 > list ldapconfigurations
{
"LdapConfiguration": [
{
"hostname": "primate-qa.cloudstack.cloud",
"port": 389
}
],
"count": 1
}
(localhost) 🐱 > list ldapconfigurations
domainid=2b660440-759f-4490-99ba-cddd9cbff2af listall=true
{
"LdapConfiguration": [
{
"domainid": "2b660440-759f-4490-99ba-cddd9cbff2af",
"hostname": "primate-qa.cloudstack.cloud",
"port": 389
}
],
"count": 1
}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]