feat: add v2 control plane API - #3630
Open
praveen902012 wants to merge 2 commits into
Open
Conversation
Collaborator
|
this seems to be two features in one PR, not sure how much of an overlap this is with the long-promised v2 api |
- Implemented index and create actions for incoming routes. - Added route serialization and validation for HTTP endpoints. - Integrated domain verification before enabling incoming mail. fix(control_plane): improve error handling during server provisioning - Enhanced error logging for provisioning failures. - Included original error as the cause in ProvisioningError. docs(api): update API documentation and Postman collections - Added new endpoints for incoming routes to the API documentation. - Created a Postman collection for testing the Control API v2. - Updated environment variables for Postman usage. test(api): add tests for incoming routes and lifecycle - Implemented tests for incoming route creation and validation. - Added lifecycle tests for the Control API v2 to ensure all endpoints function correctly. - Enhanced existing tests to cover new functionality and error cases.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/api/v2management control plane for organizations, servers, domains, credentials, webhooks, usage, auditing, and idempotency.Validation
bundle exec rspec(841 examples, 0 failures)bundle exec rubocop db/migrate/20260830000001_create_organizations.rb db/migrate/20260830000002_create_control_api_keys.rb db/migrate/20260830000003_create_api_idempotency_keys.rb db/migrate/20260830000004_create_audit_events.rb db/migrate/20260830000005_create_usage_events.rb spec/requests/api/v2/organizations_spec.rbbash script/test_owner_email_uniqueness.sh(6 examples, 0 failures)