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
|
|
@ -375,6 +375,11 @@ def fabric_graph_explorer_payload(
|
|||
"confidence": 1.0 if has_snapshot else 0.3,
|
||||
"visualSize": 56 if has_snapshot else 42,
|
||||
"ownership": "registry",
|
||||
"repoFamily": str(repo.get("repo_family") or ""),
|
||||
"ownershipRepo": str(repo.get("ownership_repo") or ""),
|
||||
"primaryRail": str(repo.get("primary_rail") or ""),
|
||||
"supportedRails": repo.get("supported_rails") if isinstance(repo.get("supported_rails"), list) else [],
|
||||
"substrateKind": str(repo.get("substrate_kind") or ""),
|
||||
"displayState": "show",
|
||||
"visibilitySource": "default",
|
||||
"visibilityReason": "default",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue