Refactor envtest mocks & client logic for catalog-source ConfigMap handling#1924
Conversation
…ndling Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
|
/assign @ppadti |
|
@ederign: GitHub didn't allow me to assign the following users: ppadti. Note that only kubeflow members with read permissions, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/hold |
|
Hold until @ppadti does the rest of the refactoring. |
…lt and catalog source Signed-off-by: ppadti <ppadti@redhat.com>
|
/unhold |
|
@ppadti, your changes lgtm! |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mturley The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Description
This PR is a starting point for refactoring based on my conversations with @ppadti. I left a considerable number of TODOs that will be addressed by @ppadti in a FUP PR.
This change aligns our handling of the model-catalog-default-sources and model-catalog-sources ConfigMaps and aligns our test/mock environment (envtest).
In this PR:
Next steps:
FUP PR from @ppadti to write the full implementation
How Has This Been Tested?
run the application in mock mode
make dev-starttry these curl commands:
get all source configs:
add a catalog source config:
get a catalog source config:
Update a catalog source config:
Delete a catalog source config:
Merge criteria:
DCOcheck)