feat(oci-events): add native Events integration - #7544
feat(oci-events): add native Events integration#7544BillLeoutsakosvl346 wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Greptile SummaryAdds a native OCI Events integration for discovering and managing event-routing rules.
Confidence Score: 5/5The PR appears safe to merge, with the previously reported invalid Create Rule option fixed and no new actionable issues found. Create Rule now exposes only Enabled and Disabled, both of which normalize to booleans accepted by the create schema; Update Rule alone retains “Keep current.” The other changes since the previous review are formatting and ordering adjustments without behavioral impact. The filename finding was correctly withdrawn after confirming the repository’s service-name convention.
|
| Filename | Overview |
|---|---|
| apps/sim/blocks/blocks/oci_events.ts | Defines the OCI Events workflow block and now limits Create Rule’s enabled-state choices to schema-valid booleans. |
| apps/sim/lib/internal/oci-events/execute-tool.ts | Implements authenticated internal dispatch, validation, cancellation, and stable provider-error handling. |
| apps/sim/lib/internal/oci-events/input.ts | Defines bounded schemas for rule operations, structured conditions, actions, tags, pagination, and concurrency inputs. |
| apps/sim/lib/internal/oci-events/operations.ts | Constructs OCI Events API requests and projects bounded rule responses and headers. |
| apps/sim/lib/selectors/server/providers/oci-events.ts | Provides credential-bound, compartment-scoped rule discovery and detail selection. |
| apps/sim/lib/selectors/server/providers/oci-events.test.ts | Covers selector behavior and the corrected operation-dependent enabled-state options. |
Sequence Diagram
sequenceDiagram
participant User as Workflow user
participant Block as OCI Events block
participant Handler as Internal tool handler
participant Auth as Credential authorization
participant OCI as OCI Events API
User->>Block: Configure operation and inputs
Block->>Handler: "Dispatch oci_events_* tool"
Handler->>Handler: Validate bounded operation input
Handler->>Auth: Authorize workspace credential use
Auth-->>Handler: Authorized service-account credential
Handler->>OCI: Send signed Events request
OCI-->>Handler: Rule data, ETag, or mutation status
Handler-->>Block: Return bounded structured projection
Reviews (3): Last reviewed commit: "feat(oci-events): add native Events inte..." | Re-trigger Greptile
9d92dda to
beb5dfb
Compare
beb5dfb to
5ab6fab
Compare
Summary
feat/oci-foundationat3fa59e758f5d282e95978aca7482a91a4f3dcee5, with one integration commit above it.Type of Change
Testing
5ab6fab6626ce092801e6e2a17f44c51a18dcea1: lint, audits, generated consistency, workspace type checks, all three test shards, schema synchronization, and app build.Checklist