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

Writable Snapshot DataSource Added #225

Merged
merged 7 commits into from
Oct 23, 2024
Merged

Conversation

Sakshi-dell
Copy link
Contributor

Description

A few sentences describing the overall goals of the pull request's commits.
Writable Snapshot datasource added

GitHub Issues

List the GitHub issues impacted by this PR:

GitHub Issue #

ISSUE TYPE

  • Feature Pull Request
RESOURCE OR DATASOURCE NAME

Writable_Snapshot Datasource

OUTPUT

image

ADDITIONAL INFORMATION

Checklist:

  • I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
  • I have verified that new and existing unit tests pass locally with my changes
  • I have not allowed coverage numbers to degenerate
  • I have maintained at least 80% code coverage
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have maintained backward compatibility

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

  • Unit tests
  • Acceptance tests

@Sakshi-dell Sakshi-dell changed the title Writable Snapshot DaraSource Added Writable Snapshot DataSource Added Oct 23, 2024
@Sakshi-dell
Copy link
Contributor Author

run e2e test WritableSnapshotDatasource

"id": schema.StringAttribute{
Optional: true,
Computed: true,
Description: "Path of the writable snapshot.",
Copy link
Contributor

Choose a reason for hiding this comment

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

ID

MarkdownDescription: "Writable Snapshot state.",
Validators: []validator.String{
stringvalidator.OneOf(
"active",
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need validator for computed attribute?

}
data "powerscale_writable_snapshot" "test" {
filter {
path = data.powerscale_writable_snapshot.preq.writable[0].dst_path
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we create this pre-req on fly?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added writableSnapshotResourceConfig

@Sakshi-dell
Copy link
Contributor Author

run e2e test WritableSnapshotDatasource

@Sakshi-dell Sakshi-dell merged commit 960ad1e into main Oct 23, 2024
7 checks passed
@Sakshi-dell Sakshi-dell deleted the writable-snapshot-datasource branch October 23, 2024 12:33
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