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

Implement map data sources for policy services and groups #1476

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ksamoray
Copy link
Collaborator

@ksamoray ksamoray commented Dec 3, 2024

These data sources allows the retrieval of the entire tables from NSX to save multiple calls to the backend.

Fixes: #696

@ksamoray
Copy link
Collaborator Author

ksamoray commented Dec 3, 2024

/test-all

return err
}
for _, r := range results.Results {
groupMap := make(map[string]interface{})
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we want to error out for duplicate display_name?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep done

@ksamoray ksamoray force-pushed the list_data_sources branch 2 times, most recently from 873c26d to 7c7fde9 Compare December 5, 2024 12:34
@annakhm annakhm changed the title Implement map data sources for policy services and groups WIP: Implement map data sources for policy services and groups Dec 12, 2024
@annakhm annakhm changed the title WIP: Implement map data sources for policy services and groups [WIP] Implement map data sources for policy services and groups Dec 12, 2024
These data sources allows the retrieval of the entire tables from NSX to save multiple calls to the backend.

Fixes: vmware#696

Signed-off-by: Kobi Samoray <[email protected]>
@ksamoray ksamoray changed the title [WIP] Implement map data sources for policy services and groups Implement map data sources for policy services and groups Dec 22, 2024
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.

Policy Datasources for leveraging built-in services
2 participants