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

tools/data-api: refactoring to use the new Data API SDK [Phase 2] #3786

Merged
merged 5 commits into from
Feb 15, 2024

Conversation

tombuildsstuff
Copy link
Contributor

@tombuildsstuff tombuildsstuff commented Feb 12, 2024

Dependent on #3784

This PR implements Phase 2 of #3754 by switching ./tools/data-api over to using the new Data API SDK.

@tombuildsstuff
Copy link
Contributor Author

I've run a full generation which runs clean with these changes:

 $ git status                                                                                                                                                                                                                          (main)
Refresh index: 100% (99677/99677), done.
On branch main
Your branch is up to date with 'origin/main'.

nothing to commit, working tree clean

@tombuildsstuff tombuildsstuff marked this pull request as ready for review February 13, 2024 08:51
@tombuildsstuff tombuildsstuff requested a review from a team February 13, 2024 08:51
@hashicorp hashicorp deleted a comment from github-actions bot Feb 13, 2024
@hashicorp hashicorp deleted a comment from github-actions bot Feb 13, 2024
@hashicorp hashicorp deleted a comment from github-actions bot Feb 13, 2024
@hashicorp hashicorp deleted a comment from github-actions bot Feb 13, 2024
@hashicorp hashicorp deleted a comment from github-actions bot Feb 13, 2024
@hashicorp hashicorp deleted a comment from github-actions bot Feb 13, 2024
@tombuildsstuff tombuildsstuff added tool/data-api Issues with the Data API refactor labels Feb 13, 2024
@tombuildsstuff tombuildsstuff changed the title tools/data-api: refactoring to use the new Data API SDK tools/data-api: refactoring to use the new Data API SDK [Phase 2] Feb 13, 2024
@tombuildsstuff tombuildsstuff changed the base branch from main to refactor/1-duplicating-models February 14, 2024 16:24
Base automatically changed from refactor/1-duplicating-models to main February 15, 2024 10:04
This includes aliases for some of the more popular types - and also helpers specifically for the
different types of Resource ID Segments (since these are widely used across the codebase).
@@ -36,3 +39,5 @@ require (
)

replace github.com/hashicorp/pandora/tools/sdk => ../sdk
Copy link
Contributor Author

Choose a reason for hiding this comment

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

note this is still used since testhelpers (and config need somewhere else to live, but that's a cross-project thing)

@hashicorp hashicorp deleted a comment from github-actions bot Feb 15, 2024
@hashicorp hashicorp deleted a comment from github-actions bot Feb 15, 2024
@hashicorp hashicorp deleted a comment from github-actions bot Feb 15, 2024
Copy link

Breaking Changes

No Breaking Changes were found 👍

Copy link

Summary of Changes

No Breaking or Non-Breaking Changes were found 👍

Copy link

New Resource ID Segments containing Static Identifiers

No new Resource ID Segments containing Static Identifiers were identified in the set of changes 🤙.

@hashicorp hashicorp deleted a comment from github-actions bot Feb 15, 2024
@hashicorp hashicorp deleted a comment from github-actions bot Feb 15, 2024
@hashicorp hashicorp deleted a comment from github-actions bot Feb 15, 2024
Copy link
Member

@catriona-m catriona-m left a comment

Choose a reason for hiding this comment

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

Left a couple of minor comments but otherwise this LGTM!

Copy link

Breaking Changes

No Breaking Changes were found 👍

Copy link

Summary of Changes

No Breaking or Non-Breaking Changes were found 👍

Copy link

New Resource ID Segments containing Static Identifiers

No new Resource ID Segments containing Static Identifiers were identified in the set of changes 🤙.

@tombuildsstuff tombuildsstuff merged commit b4376ef into main Feb 15, 2024
3 checks passed
@tombuildsstuff tombuildsstuff deleted the refactor/2-data-api branch February 15, 2024 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor tool/data-api Issues with the Data API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants