Add base_path field to custom provider config (#7558)

Signed-off-by: Dan Prince <dprince@redhat.com>
This commit is contained in:
Dan Prince
2026-02-27 19:47:08 -05:00
committed by GitHub
parent 6e4d6fe1f2
commit d1fe375f30
6 changed files with 29 additions and 4 deletions
@@ -100,6 +100,8 @@ pub struct UpdateCustomProviderRequest {
pub requires_auth: bool,
#[serde(default)]
pub catalog_provider_id: Option<String>,
#[serde(default)]
pub base_path: Option<String>,
}
fn default_requires_auth() -> bool {
@@ -655,6 +657,7 @@ pub async fn create_custom_provider(
headers: request.headers,
requires_auth: request.requires_auth,
catalog_provider_id: request.catalog_provider_id,
base_path: request.base_path,
},
)?;
@@ -726,6 +729,7 @@ pub async fn update_custom_provider(
headers: request.headers,
requires_auth: request.requires_auth,
catalog_provider_id: request.catalog_provider_id,
base_path: request.base_path,
},
)?;