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: Include project id in client side filter for get accounts data source #576

Merged
merged 4 commits into from
Feb 20, 2024

Conversation

kpdhulipala
Copy link
Contributor

@kpdhulipala kpdhulipala commented Feb 16, 2024

feat: Include project id in client side filter for get accounts data source
PR in ne-go: equinix/ne-go#29
Closes the issue : #471

@kpdhulipala kpdhulipala changed the title Include project id in client side filter for get accounts data source feat: Include project id in client side filter for get accounts data source Feb 16, 2024
Copy link
Contributor

@rling-equinix rling-equinix left a comment

Choose a reason for hiding this comment

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

Lgtm

Copy link
Member

@displague displague left a comment

Choose a reason for hiding this comment

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

This is optional client-side filtering of the equinix_network_account results based on a matching project_id. PR looks to do just that.

The field is added to the datasource documentation.

The test lines added verify that the datasource results now includes the project_id field.

What is not being tested is the filtering by project_id. The test isn't used in E2E testing, so it's hard to say how many results we would get back in the results. The code appears to be correct and I would expect the filter to work.

@rling-equinix rling-equinix merged commit 905f67a into equinix:main Feb 20, 2024
2 of 3 checks passed
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