-
Notifications
You must be signed in to change notification settings - Fork 427
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
Conversation
updating main
There was a problem hiding this 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
/ok-to-test sha=11774d9 |
Integration tests success for 11774d9 |
|
||
descRows := sqlmock.NewRows([]string{ | ||
"property", "property_type", "property_value", "property_default", | ||
}).AddRow("ENABLED", "Boolean", true, false). |
There was a problem hiding this comment.
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)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure
/ok-to-test sha=251157d |
Integration tests success for 251157d |
Adding S3GOV to the storage_provider list in storage_integration resource. Skipped the tests.
Test Plan
References