Oracle Cloud Serverless Functions unleashed: exposing OCI Functions through API Gateway

Create dynamic group with matching rule (that ensures that the API Gateway is a member of the dynamic group)

Create a policy with three statements (that grant privileges to the dynamic group)

Create an API deployment and a route with Oracle Function as backend type; select the target Function

Invoke the Function through the new public endpoint on the API Gateway (once all changes have been processed)

curl -X POST \
https://ohv2pohmm.apigateway.us-ashburn-1.oci.customer-oci.com/fn/hello \
-d ‘{
“name”:”John Dimbleby”,
“payload”:{“param1″:”221", “param2″:”Some Payload value”}
}’

Resources

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store