Skip to content

Add wrapper directive migration framework - #3809

Open
Ramses Sanchez-Hernandez (ramsessanchez) wants to merge 2 commits into
powershell-v3from
ramsess/migrateDirectives
Open

Ramses Sanchez-Hernandez (ramsessanchez) wants to merge 2 commits into
powershell-v3from
ramsess/migrateDirectives

Conversation

@ramsessanchez

Copy link
Copy Markdown
Contributor

Summary

  • pilot migration of Compliance cmdlet-surface directives into Compliance_cmdletConfigurations.cs
  • keep AutoRest directives active and annotate their wrapper disposition
  • store reviewed v1.0/beta operation evidence per module in src/<Module>/wrapper/<Module>_directiveMigrationMap.json
  • add deterministic, read-only inventory tooling that classifies directives and aggregates module-local mappings
  • distinguish reviewed mappings, automatically resolved candidates, deferred non-cmdlet directives, and unresolved selectors

Validation

  • ./tools/Test-WrapperDirectiveMigrationInventory.ps1
  • repository inventory: 303 directives (2 mapped, 5 resolved candidates, 12 deferred, 284 unresolved)
  • dotnet test tools/WrapperGenerator.Tests/WrapperGenerator.Tests.csproj -c Release --no-restore --nologo -v minimal (196 passed)
  • focused beta Compliance generation: nested /dataSource PATCH/DELETE suppressed; parent item operations and nested GET retained

Scope

This PR intentionally does not regenerate or commit complete v1.0 or beta wrapper module output. Profile generation and broader module migrations will be handled in separate, measured follow-up PRs.

Pilot module-level directive mappings with Compliance and add read-only inventory tooling for measured v1.0 and beta migration planning.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant