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

Add support for v1api20230801/Cache.Redis #4287

Merged
merged 6 commits into from
Oct 4, 2024

Conversation

super-harsh
Copy link
Collaborator

Closes #4231

What this PR does / why we need it:

This PR adds support for 20230801 version of Cache.Redis resources

Special notes for your reviewer:

Also have moved samples to their respective version folders

If applicable:

  • this PR contains documentation
  • this PR contains tests
  • this PR contains YAML Samples

v2/azure-arm.yaml Outdated Show resolved Hide resolved
- HostName
- Port
- SSLPort
RedisCreateProperties:
Copy link
Member

Choose a reason for hiding this comment

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

This is commented out in the other API versions? Do you know why?

Copy link
Collaborator Author

@super-harsh super-harsh Sep 23, 2024

Choose a reason for hiding this comment

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

Not sure, but generator forced on this prop to be added it in this time. Although looks like the shape looks the same in older API versions too.

- HostName
- Port
- SSLPort
RedisCreateProperties:
Copy link
Member

Choose a reason for hiding this comment

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

This is commented out in the other API versions? Do you know why?

Copy link
Collaborator Author

@super-harsh super-harsh Sep 23, 2024

Choose a reason for hiding this comment

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

Not sure, but generator forced on this prop to be added it in this time. Although looks like the shape looks the same in older API versions too.

"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
)

func Test_Cache_Redis_20230801_CRUD(t *testing.T) {
Copy link
Member

Choose a reason for hiding this comment

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

Since we're adding this test, wondering if we should remove the test and recordings for Test_Cache_Redis_20201201_CRUD, since it's old and IIRC we decided to only keep around ~2 GA versions and ~1 preview version tests?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done!

@super-harsh super-harsh added this pull request to the merge queue Oct 4, 2024
Merged via the queue into main with commit 2e73972 Oct 4, 2024
8 checks passed
@super-harsh super-harsh deleted the feature/support-latest-redis branch October 4, 2024 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

Feature: Import new version of redis
2 participants