The image shows the architecture for monetizing data by setting up a payment
framework on OCI. It comprises three elements:
- An on-premises location
- An OCI implementation
- The internet
The on-premises location shares an ERP service and a CRM service with the OCI
implementation.
The OCI location contains
- instances of the data products autonomous data warehouse and Oracle Machine
Learning
- An instance of Oracle Functions
- An API gateway
- An instance of Oracle's Identity and Access Management service.
A client application and a payment processor (for example, Stripe) reside on the
internet.
The components are interconnected by numbered arrows that describe this dataflow:
- The customer authenticates with identity provider.
- The customer accesses the data product API through an API Gateway,
which will later apply its own policies (for example, throttling) after
authorizing the request.
- The API Gateway invokes a function to authorize the request.
- The function validates provided customer tokens with the identity
provider.
- The function then checks the customer’s access rights to data
product in the CRM or other system and also checks whether subscription or
per-use payment applies. If a subscription applies, the function checks whether
it is valid.
- The function records data product use for payment:
- Recording use in a ledger; and/or
- Executing an online payment through a payment provider.
- Once authorized and monetized, the API Gateway provides access to
data product.