feat: add tenant-store command coverage#212
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (16)
Disabled knowledge base sources:
📝 WalkthroughWalkthroughThis PR introduces new command implementations for API keys, secrets, service accounts, and variables, enabling CRUD and management operations against the tenant-store API. It adds corresponding contract definitions and schema updates, plus a comprehensive test suite validating all new commands. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested reviewers
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
What changed
Why
The tenant-store API added service-account support and already exposed additional fetch/validation endpoints that were not covered by the SDK.
Impact
Consumers can now manage tenant-store service accounts and use the remaining tenant-store read/validation endpoints through
@flowcore/sdk.Validation
deno fmt src/contracts/api-key.ts src/contracts/index.ts src/contracts/service-account.ts src/commands/index.ts src/commands/api-key/api-key.fetch.ts src/commands/api-key/api-key.validate.ts src/commands/api-key/api-key.validate-with-tenant-id.ts src/commands/secret/secret.fetch.ts src/commands/variable/variable.fetch.ts src/commands/service-account/service-account.fetch.ts src/commands/service-account/service-account.list.ts src/commands/service-account/service-account.create.ts src/commands/service-account/service-account.edit.ts src/commands/service-account/service-account.rotate-secret.ts src/commands/service-account/service-account.delete.ts test/tests/commands/tenant-store.test.tsdeno test test/tests/commands/tenant-store.test.tsdeno check src/mod.tsSummary by CodeRabbit
Release Notes
New Features
Tests