Refinements to the dependency exploration ui
This commit is contained in:
parent
07c9a95efc
commit
356c0026ef
8 changed files with 408 additions and 36 deletions
|
|
@ -1154,6 +1154,7 @@ def get_dependency_graph(
|
|||
base_analysis_run_id: int | None = Query(default=None),
|
||||
target_analysis_run_id: int | None = Query(default=None),
|
||||
profile_id: int | None = Query(default=None),
|
||||
use_latest_profile: bool = Query(default=True),
|
||||
service: RegistryService = Depends(get_service),
|
||||
) -> dict[str, object]:
|
||||
try:
|
||||
|
|
@ -1162,6 +1163,7 @@ def get_dependency_graph(
|
|||
base_analysis_run_id=base_analysis_run_id,
|
||||
target_analysis_run_id=target_analysis_run_id,
|
||||
profile_id=profile_id,
|
||||
use_latest_profile=use_latest_profile,
|
||||
)
|
||||
except NotFoundError as exc:
|
||||
raise HTTPException(status_code=404, detail=str(exc)) from exc
|
||||
|
|
@ -1189,6 +1191,7 @@ def filter_dependency_graph(
|
|||
profile_id=profile_id,
|
||||
rules=payload.rules,
|
||||
manual_overrides=payload.manual_overrides,
|
||||
use_latest_profile=profile_id is not None,
|
||||
)
|
||||
except NotFoundError as exc:
|
||||
raise HTTPException(status_code=404, detail=str(exc)) from exc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue