-
Notifications
You must be signed in to change notification settings - Fork 162
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 P0 OOTB connection types #3335
base: main
Are you sure you want to change the base?
Add P0 OOTB connection types #3335
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3335 +/- ##
==========================================
- Coverage 84.79% 84.78% -0.01%
==========================================
Files 1315 1315
Lines 29491 29492 +1
Branches 8056 8057 +1
==========================================
- Hits 25006 25005 -1
- Misses 4485 4487 +2
... and 6 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
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.
While the Edit
action is disabled, i can select the duplicate action, then edit the URL from /duplicate/
to /edit/
and then I can save any changes. I believe the operator should just revert the change, however I don't think the user should be able to perform this action. The backend should prevent any request to update the preinstalled resources.
The delete action should not be enabled either. Should it be hidden? @simrandhaliw
Do we know if we should allow the admin to disable these connection types?
namespace: opendatahub | ||
creationTimestamp: null | ||
labels: | ||
opendatahub.io/connection-type: 'true' | ||
opendatahub.io/dashboard: 'true' | ||
annotations: | ||
opendatahub.io/enabled: 'true' | ||
opendatahub.io/username: cluster-admin |
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 don't believe we should include the namespace, creationTimestamp or username annotation.
RHOAIENG-13105
Description
Adds yaml files for OOTB connection types. Updates the connection type page to not allow editing of the OOTB connection types. Fixes an issue where the connection types table does not update when new connections are added or modified.
How Has This Been Tested?
Run the UI and navigate to Settings -> Connection types
Install the connection types:
Verify the connection types are shown in the UI without needing to refresh the page within 30 seconds
From the OpenShift Console, go to Administrator -> Home -> Search
jupyter
OdhApplication and copy itsownerReference
section of the Yaml fileownerReference
section to each of themPre-installed
for thecreator
columnEdit
action in the kebab is disabled for each.Test Impact
None, test already covered this functionality
Request review criteria:
Self checklist (all need to be checked):