-
Notifications
You must be signed in to change notification settings - Fork 163
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
Make data connection for S3 model sources AWS-unspecific #1479
Make data connection for S3 model sources AWS-unspecific #1479
Conversation
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.
i have not looked at tests yet.
frontend/src/concepts/pipelines/content/ViewPipelineServerModal.tsx
Outdated
Show resolved
Hide resolved
frontend/src/concepts/pipelines/content/ViewPipelineServerModal.tsx
Outdated
Show resolved
Hide resolved
frontend/src/concepts/pipelines/content/ViewPipelineServerModal.tsx
Outdated
Show resolved
Hide resolved
frontend/src/concepts/pipelines/content/ViewPipelineServerModal.tsx
Outdated
Show resolved
Hide resolved
Looks good. only concern is that this still will always default to export const getDataConnectionProvider = (dataConnection: DataConnection): string => {
switch (dataConnection.type) {
case DataConnectionType.AWS:
return 'AWS S3';
default:
throw new Error('Invalid data connection type');
}
}; @andrewballantyne is this ok |
I think the goal of that issue was to change the display name of the fields, we would support more providers in follow up changes. But I'll defer to @andrewballantyne's response here. |
/lgtm The provider logic doesn't need to be changed |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andrewballantyne The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold Sorry, one sec 😓 |
/unhold Nevermind 😄 |
@manaswinidas thank you. @lucferbux Yeah, the backend code libraries, be they in Python or Go or whatever, have AWS* in their env variables, even though they can work with all S3 compatible providers, that is ok, though. |
Fixes #1381
Description
Changes as suggested in #1381 comment
How Has This Been Tested?
Test Impact
Just
visual changes
as described in #1381 and added test for endpoint required field for "Deploy model"Request review criteria:
Self checklist (all need to be checked):
If you have UI changes:
After the PR is posted & before it merges:
main