Skip to content

feat: Add OCI Functions invoke client support (FunctionsInvokeClient) - #18

Closed
paezraphael wants to merge 1 commit into
oracle:mainfrom
paezraphael:feature/functions-invoke-client
Closed

paezraphael wants to merge 1 commit into
oracle:mainfrom
paezraphael:feature/functions-invoke-client

Conversation

@paezraphael

Copy link
Copy Markdown

Summary

Adds support for OCI Functions (InvokeFunction operation) to allow PHP applications to invoke OCI Functions directly with native OCI HTTP request signing, without having to shell out to the OCI CLI or manually implement signing logic.

Description & Key Features

  • src/Oracle/Oci/Functions/FunctionsInvokeClient.php: Client implementing synchronous invokeFunction and invokeFunction_Helper, structured like ObjectStorageClient with explicit per-function endpoint support.
  • src/Oracle/Oci/Functions/FunctionsInvokeAsyncClient.php: Asynchronous version supporting invokeFunctionAsync and invokeFunctionAsync_Helper using Guzzle promise interface.
  • examples/FunctionsInvokeExample.php: Usage example demonstrating function invocation.
  • tests/Functions/FunctionsInvokeClientTest.php: Unit test suite covering endpoint construction, signature generation, header validation, request body payload, and exception handling.

Compatibility & Dependencies

  • Compatible with php >= 5.6 and guzzlehttp/guzzle ^6.5.
  • No new external dependencies.
  • Commits signed off (Signed-off-by: Raphael Paez <paezraphael@gmail.com>).

Signed-off-by: Raphael Paez <paezraphael@gmail.com>
@oracle-contributor-agreement

Copy link
Copy Markdown

Thank you for your pull request and welcome to our community! To contribute, please sign the Oracle Contributor Agreement (OCA).
The following contributors of this PR have not signed the OCA:

To sign the OCA, please create an Oracle account and sign the OCA in Oracle's Contributor Agreement Application.

When signing the OCA, please provide your GitHub username. After signing the OCA and getting an OCA approval from Oracle, this PR will be automatically updated.

If you are an Oracle employee, please make sure that you are a member of the main Oracle GitHub organization, and your membership in this organization is public.

@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Required At least one contributor does not have an approved Oracle Contributor Agreement. label Sep 14, 2026
@paezraphael

Copy link
Copy Markdown
Author

...

@paezraphael
paezraphael marked this pull request as draft September 15, 2026 23:07
@paezraphael
paezraphael marked this pull request as ready for review September 15, 2026 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Required At least one contributor does not have an approved Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant