-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request juju#18634 from gfouillet/v4/dqlite/resources/wire…
…up/remove-domain-resources juju#18634 prdesc Remove `domain.Resources`, `domain.ApplicationResources`, `domain.UnitResources` * Use instead same named struct in core * Replace `Tag` by `coreunit.Name` in `core.UnitResource` * Remove `DownloadProgress` from `UnitResource` * Replace `Resource.ID` by `Resource.UUID` * Change `ApplicationID` to `ApplicationName` in `Resource` * Replace `Username` by `RetrievedBy` in `Resource` No change in facade, rpc/params remains the same, but some fields are deprecated. > [!WARNING] > prdesc [x] Based on juju#18615... Wait for it to land. This PR remove domain.Resource and update core.Resource to match with what is expected for new resource domain. ## Checklist <!-- If an item is not applicable, use `~strikethrough~`. --> - [X] Code style: imports ordered, good names, simple structure, etc - [X] Comments saying why design decisions were made - [X] Go unit tests, with comments saying what you're testing - [X] [Integration tests](https://github.com/juju/juju/tree/main/tests), with comments saying what you're testing - [X] [doc.go](https://discourse.charmhub.io/t/readme-in-packages/451) added or updated in changed packages ## QA steps Deploy application with resources and check if things continue to run smoothly :) ## Documentation changes None ## Links Based on juju#18615
- Loading branch information
Showing
47 changed files
with
568 additions
and
718 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.