Merge ~bowenfan/snapstore-client:SN2279-model_service_update_commands into snapstore-client:main
Status: | Merged |
---|---|
Approved by: | Bowen Fan |
Approved revision: | 7a3520aef5ab851bb2d754b6399381c05cb0aa38 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~bowenfan/snapstore-client:SN2279-model_service_update_commands |
Merge into: | snapstore-client:main |
Diff against target: |
357 lines (+159/-78) 6 files modified
store_admin/cli/model_service.py (+8/-0) store_admin/cli/runner.py (+8/-0) store_admin/logic/model_service.py (+13/-0) store_admin/logic/tests/conftest.py (+88/-68) store_admin/logic/tests/test_model_service.py (+23/-10) store_admin/webservices.py (+19/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Maximiliano Bertacchini | Approve | ||
Review via email: mp+457353@code.launchpad.net |
Commit message
Add model service update CLI for updating model API key
Model API key is the only updatable attribute in the on-prem model service
for now. Signing key names cannot be updated in a straightforward way because
the user would have to manually update the new corresponding account-key assertion.
Also add associated tests, fixtures, and CLI runner config.
Description of the change
Part of 5 snapstore-client MPs to add model service support
1: Add publishergw support and a skeleton for model service < Done [1]
2: Add remaining create CLI functions < Done [2]
3: List
4: Update < This MP
5: Delete
CLI commands have been implemented, as much as possible, to follow this command structure guidance doc: https:/
On-prem model service spec: https:/
-----
[1] https:/
[2] https:/
Updating diff...
An updated diff will be available in a few minutes. Reload to see the changes.
LGTM +1