Oracle Integration invoking OCI Functions (python) – Part 1 Creating the python function by Niall Commiskey
March 15, 2022 Leave a comment
OIC is part of the OCI family, a family of rich services that can be leveraged from your integrations and processes. This post shows how easy it is to create a python function in OCI Functions. The next post will cover leveraging this python function from OIC. So to the simple use case – product discounts – the python function will apply these for me. I know it is a banal example but aren’t we all experts at extrapolating? Starting point is a simple python function I have created.
This is a simple helloWorld example, I will modify to include the discount functionality I mentioned at the outset - the business logic is simple – If the product is iBike and the quantity ordered is > 30 then apply a 10% discount; all other others get a 5% discount. Here is the revised code – first I make a copy of the default function. Read the complete article here.
For regular information on Oracle PaaS become a member in the PaaS (Integration & Process) Partner Community please register here.
Blog
Twitter
LinkedIn
Facebook
Wiki
Technorati Tags: SOA Community,Oracle SOA,Oracle BPM,OPN,Jürgen Kress