canonical / canonical/charm-integration-testing

Ensure support for endpoint validators running on `provides` side

Open
#438 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
6
Forks
1
Avg merge
1d 22h
Merged PRs (30d)
96

Description

Currently endpoint validators are only run from the "requiring" side of the relationship. They should run for `provides` as well.

An example is `prometheus_scrape`, where the requirer provides a metrics http endpiont. There isn't anything for the requirer to do, instead the provider should check that the metrics endpoint is reachable.

Contributor guide

Open the contributing guide

Research direction

Start by tracing where endpoint validators are invoked from the requiring side, then inspect the prometheus_scrape relationship example described in the issue. Done means validators also run from the provides side so the provider can check that the metrics endpoint is reachable.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.