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: S3GOV support to storage_integration #1133

Merged
merged 14 commits into from
Jul 14, 2022

Conversation

sfc-gh-kumaurya
Copy link
Contributor

Adding S3GOV to the storage_provider list in storage_integration resource. Skipped the tests.

Test Plan

References

Copy link

@sfc-gh-afedorov sfc-gh-afedorov left a comment

Choose a reason for hiding this comment

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

lgtm, one option addition if you'd like to be familiar with that part would be to add a unit test that uses S3GOV but I don't think it's necessary as that would be near identical to what we have now

@sfc-gh-jalin
Copy link
Contributor

/ok-to-test sha=11774d9

@github-actions
Copy link

Integration tests success for 11774d9


descRows := sqlmock.NewRows([]string{
"property", "property_type", "property_value", "property_default",
}).AddRow("ENABLED", "Boolean", true, false).
Copy link
Contributor

Choose a reason for hiding this comment

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

minor comment - could you reformat the lines to be aligned like the following?

.AddRow("ENABLED", "Boolean", true, false)
.AddRow("STORAGE_PROVIDER", "String", "S3GOV", nil)
.AddRow("STORAGE_ALLOWED_LOCATIONS", "List", "s3://bucket-a/path-a/,s3://bucket-b/", nil)
.AddRow("STORAGE_BLOCKED_LOCATIONS", "List", "s3://bucket-c/path-c/,s3://bucket-d/", nil)
...
.AddRow("STORAGE_AWS_EXTERNAL_ID", "String", "AGreatExternalID", nil)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure

@sfc-gh-jalin
Copy link
Contributor

/ok-to-test sha=251157d

@github-actions
Copy link

Integration tests success for 251157d

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