Skip to content

Commit a706159

Browse files
CopilotEMaher
andauthored
refactor: derive compare-service resource types from dependency graph and resource-path libs
Replace hardcoded resource type lists with derivations from the same model used by extract and publish: - TOP_LEVEL_TYPES = TIER_1 + TIER_2 + non-child TIER_3 (mirrors extract-service) - getChildTypesOf(parent) uses getDependencies() from dependency-graph.ts so newly added resource types are automatically included - TYPE_OPTIONS map centralises per-type skip/exclude flags - RESOURCE_TYPE_LABEL map centralises display labels with enum-name fallback - McpServer now automatically included as an API child (was previously missing) Agent-Logs-Url: https://github.com/Azure/apiops-cli/sessions/685cf23c-6c2a-4672-b8f8-8f7331c04b88 Co-authored-by: EMaher <9244742+EMaher@users.noreply.github.com>
1 parent a91ee14 commit a706159

1 file changed

Lines changed: 185 additions & 159 deletions

File tree

0 commit comments

Comments
 (0)