Skip to content
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

Merged
merged 0 commits into from
Jun 2, 2022
Merged

feat: New spec and parser for group_info #3423

merged 0 commits into from
Jun 2, 2022

Conversation

xiangce
Copy link
Contributor

@xiangce xiangce commented May 26, 2022

Signed-off-by: Xiangce Liu [email protected]

All Pull Requests:

Check all that apply:

  • Have you followed the guidelines in our Contributing document, including the instructions about commit messages?
  • Is this PR to correct an issue?
  • Is this PR an enhancement?

Complete Description of Additions/Changes:

New datasource spec and parser for group info

@xiangce xiangce force-pushed the sap_sudo branch 3 times, most recently from 5d3eb97 to 0f15dd6 Compare May 26, 2022 10:04
@xiangce xiangce requested a review from psachin May 31, 2022 07:02


@datasource(HostContext)
def groups(broker):
Copy link
Contributor

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.

Copy link
Contributor Author

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.

Copy link
Contributor

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!

@xiangce xiangce merged commit 598e88d into master Jun 2, 2022
@xiangce xiangce deleted the sap_sudo branch June 2, 2022 05:18
xiangce added a commit that referenced this pull request Jun 2, 2022
* 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)
xiangce added a commit that referenced this pull request Sep 6, 2024
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants