Skip to content

router: initial implementation + clean up - #126

Draft
mweibel wants to merge 5 commits into
masterfrom
feat-router
Draft

router: initial implementation + clean up#126
mweibel wants to merge 5 commits into
masterfrom
feat-router

Conversation

@mweibel

@mweibel mweibel commented Aug 4, 2026

Copy link
Copy Markdown
  • adds the router and interface modules, including minimal unit tests for the changed api.py logic
  • fixes a bunch of things which I saw while developing the new modules
  • adds the possibility to override the API URL everywhere
  • adds contributor docs which I had to figure out

The individual commits should be reviewable and have appropriate commit messages. Best would be to not squash merge this to keep the history.

Question to the reviewer: Should I already update the changelog.yaml file with 2.6.0 changelog or will we do this later in case anything else comes in between?

mweibel added 3 commits August 4, 2026 15:17
Correct the `loaad_balancer_listener` typo that excluded the
load_balancer_listener module from the cloudscale action group, and add the
missing volume_snapshot module.
Guard against a null resource list returned by the API, and correct a typo in
the "resource not found" error message.

This occured when trying to run the integration tests against a resource
not yet in the prod API.
Replace hardcoded https://api.cloudscale.ch/v1 URLs across the integration
suite with a cloudscale_api_url override that defaults to production. Add an
api_url module_defaults block per target and an integration_config.yml.template
documenting the override so the suite can run against a staging API.
mweibel added 2 commits August 5, 2026 13:32
Add the cloudscale_ch.cloud.router and cloudscale_ch.cloud.interface modules
with integration test targets, register them in the cloudscale action group,
and add a router cleanup task. The new targets use the configurable
cloudscale_api_url so they can run against a staging API.
Add a contributor guide for setting up the collection layout, running
sanity/integration tests, overriding the integration test API URL, and
building the module documentation locally.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant