-
Notifications
You must be signed in to change notification settings - Fork 184
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
feat: New spec and parser for group_info #3423
Conversation
5d3eb97
to
0f15dd6
Compare
|
||
|
||
@datasource(HostContext) | ||
def groups(broker): |
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.
@xiangce this confused me at first. Your not really collecting anything here, but just returning the list of filters for this data spec. What do you think about renaming it to something like group_filters
instead of groups
? Its an unexpected way of using filters, but I believe it provides the same net results.
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.
@bfahr - Updated. Thanks for the suggestion.
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.
@xiangce that looks good, thanks!
* feat: New spec and parser for group_info Signed-off-by: Xiangce Liu <[email protected]> * Add test for datasource 'groups' Signed-off-by: Xiangce Liu <[email protected]> * Add doc entry for groups Signed-off-by: Xiangce Liu <[email protected]> * add doc entry for user_group parser Signed-off-by: Xiangce Liu <[email protected]> * fix examples in doc Signed-off-by: Xiangce Liu <[email protected]> * fix the test of datasource Signed-off-by: Xiangce Liu <[email protected]> * fix the test of datasource - 2 Signed-off-by: Xiangce Liu <[email protected]> * add NOTE for sensitive information Signed-off-by: Xiangce Liu <[email protected]> * add note for filter of groupname Signed-off-by: Xiangce Liu <[email protected]> * change func name Signed-off-by: Xiangce Liu <[email protected]> * Rename the datasource to 'group_filter_list' Signed-off-by: Xiangce Liu <[email protected]> * revert back to return a string Signed-off-by: Xiangce Liu <[email protected]> * rename users Signed-off-by: Xiangce Liu <[email protected]> (cherry picked from commit 598e88d)
* feat: New spec and parser for group_info Signed-off-by: Xiangce Liu <[email protected]> * Add test for datasource 'groups' Signed-off-by: Xiangce Liu <[email protected]> * Add doc entry for groups Signed-off-by: Xiangce Liu <[email protected]> * add doc entry for user_group parser Signed-off-by: Xiangce Liu <[email protected]> * fix examples in doc Signed-off-by: Xiangce Liu <[email protected]> * fix the test of datasource Signed-off-by: Xiangce Liu <[email protected]> * fix the test of datasource - 2 Signed-off-by: Xiangce Liu <[email protected]> * add NOTE for sensitive information Signed-off-by: Xiangce Liu <[email protected]> * add note for filter of groupname Signed-off-by: Xiangce Liu <[email protected]> * change func name Signed-off-by: Xiangce Liu <[email protected]> * Rename the datasource to 'group_filter_list' Signed-off-by: Xiangce Liu <[email protected]> * revert back to return a string Signed-off-by: Xiangce Liu <[email protected]> * rename users Signed-off-by: Xiangce Liu <[email protected]>
Signed-off-by: Xiangce Liu [email protected]
All Pull Requests:
Check all that apply:
Complete Description of Additions/Changes:
New datasource spec and parser for group info