|
68 | 68 | - [ ] T025 [US1] Implement transitive dependency resolver in src/services/transitive-resolver.ts (scan policies for named value refs \{\{name\}\}, backend refs set-backend-service, policy fragment refs include-fragment; scan apiInformation.json for apiVersionSetId; fixed-point expansion; --no-transitive bypass per research.md R4) |
69 | 69 | - [ ] T026 [US1] Implement secret redaction in src/services/secret-redactor.ts (detect properties.secret === true on named values, replace properties.value with redaction marker per research.md R5) |
70 | 70 | - [ ] T027 [US1] Implement workspace-scoped extraction in src/services/workspace-extractor.ts (list workspaces, extract workspace-scoped resources under workspaces/{name}/ using same resource-extractor with workspace context prefix per FR-010) |
71 | | -- [ ] T028 [US1] Register extract command in src/cli/extract-command.ts (Commander subcommand with --resource-group, --service-name, --output, --filter, --no-transitive, --spec-format flags; wire to extract-service per contracts/cli-commands.md) |
| 71 | +- [ ] T028 [US1] Register extract command in src/cli/extract-command.ts (Commander subcommand with --resource-group, --service-name, --output, --filter, --no-transitive flags; wire to extract-service per contracts/cli-commands.md) |
72 | 72 | - [ ] T029 [US1] Implement JSON output mode for extract in src/cli/extract-command.ts (--format json: machine-readable JSON to stdout with resource counts and file paths per FR-013) |
73 | 73 |
|
74 | 74 | **Checkpoint**: `apiops extract` works end-to-end for all 33 resource types with filtering, parallelism, and secret redaction |
|
158 | 158 |
|
159 | 159 | - [ ] T055 [P] Implement OTel integration in src/lib/otel-setup.ts (load --otel config YAML, initialize NodeSDK with OTLP exporter, create spans per resource type/resource, metrics for counts/duration per research.md R9) |
160 | 160 | - [ ] T056 [P] Add --api-version global flag support in src/cli/index.ts and src/clients/apim-client.ts (override default 2024-05-01 per FR-012) |
161 | | -- [ ] T057 [P] Implement --spec-format option for extract in src/services/api-extractor.ts (request specific format from APIM export API where conversion supported; fallback to native with warning per FR-011) |
162 | 161 | - [ ] T058 Run quickstart.md validation (execute each quickstart command against a test APIM instance, verify expected outputs) |
163 | 162 | - [ ] T059 Add bin entry to package.json and shebang to src/cli/index.ts for global npm install (`npx apiops` / `npm install -g`) |
164 | 163 |
|
@@ -248,4 +247,4 @@ T029: JSON output mode → src/cli/extract-command.ts |
248 | 247 | 4. Add US3 (CI/CD) → Test in GitHub Actions pipeline |
249 | 248 | 5. Add US4 (Init) → Test scaffold generation in empty repo |
250 | 249 | 6. Add US5 (Extensibility) → Verify new command pattern |
251 | | -7. Polish → OTel, spec-format, quickstart validation |
| 250 | +7. Polish → OTel, quickstart validation |
0 commit comments