Repository navigation
feat: add Functions API and related services - #15
Merged
Merged
Conversation
Remove the sandbox clients, route constants, and public accessor, and update the contract inventory and API docs. BREAKING CHANGE: remove Frontal.sandbox() and the SandboxClient and SandboxLanguagesClient APIs.
…viders, WebhookEndpoints services
…o mention Functions guide
…unctions come from TypeScript SDK
|
frontal-labs is on CodeRabbit Free, which includes PR summaries. Ask your admin to upgrade for code reviews.
ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (55)
💤 Files with no reviewable changes (23)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe PR adds a typed Java Functions API client for function CRUD, versions, deployments, and executions. It adds JSON models, service-specific GET retry defaults, tests, and documentation. It also removes existing API reference pages and the enterprise-readiness page. ChangesFunctions API client
Existing API reference removals
Estimated code review effort: 4 (Complex) | ~60 minutes Sequence Diagram(s)sequenceDiagram
participant Frontal
participant FunctionsClient
participant ApiClient
participant FunctionsAPI
Frontal->>FunctionsClient: Access functions()
FunctionsClient->>ApiClient: Send Functions endpoint request
ApiClient->>FunctionsAPI: Dispatch HTTP request
FunctionsAPI-->>ApiClient: Return response
ApiClient-->>FunctionsClient: Return typed response
Comment |
|
❌ The last analysis has failed. |
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.
This PR adds the Functions API client with model classes, resource clients, and tests. It also adds new service enum constants (INVOCATIONS, PROVIDERS, WEBHOOK_ENDPOINTS) and updates retry configuration for Functions service.
Summary by CodeRabbit