Add repo-family metadata to Fabric registry
This commit is contained in:
parent
3240b78185
commit
0ea99a73d8
15 changed files with 189 additions and 32 deletions
|
|
@ -27,6 +27,7 @@ def test_graph_explorer_manifest_and_payload_validate() -> None:
|
|||
"slug": "railiance-fabric",
|
||||
"name": "Railiance Fabric",
|
||||
"state_hub_repo_id": "2c0de614-e468-4eb6-8157-470649ac8c05",
|
||||
"repo_family": "ownership",
|
||||
},
|
||||
{
|
||||
"slug": "registered-only",
|
||||
|
|
@ -73,6 +74,7 @@ def test_graph_explorer_manifest_and_payload_validate() -> None:
|
|||
|
||||
assert registered_only["data"]["reviewState"] == "candidate"
|
||||
assert registered_only["data"]["unresolved"] is True
|
||||
assert nodes_by_id["repo:railiance-fabric"]["data"]["repoFamily"] == "ownership"
|
||||
assert deployment["data"]["layer"] == "deployment"
|
||||
assert server["data"]["layer"] == "server"
|
||||
assert ":" not in server["data"]["label"]
|
||||
|
|
@ -358,6 +360,7 @@ def test_registry_serves_graph_explorer_exports(tmp_path: Path) -> None:
|
|||
"slug": "railiance-fabric",
|
||||
"name": "Railiance Fabric",
|
||||
"state_hub_repo_id": "2c0de614-e468-4eb6-8157-470649ac8c05",
|
||||
"repo_family": "ownership",
|
||||
}
|
||||
)
|
||||
store.upsert_repository({"slug": "registered-only", "name": "Registered Only"})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue