This is a function to automatically curate data from specific OCI buckets to a persistence bucket and then create a table in an autonomous database.
- Source and target Buckets
- Autonomous Database
- Functions
- Rules
These credentials are required to be created on Cloud Shell for the function to work.
To access buckets:
./.oci/
containingconfig
andoci_api_key.pem
; these are files from an API key of an Oracle user.
To access an autonomous database:
./wallet/
containingewallet.pem
andtnsnames.ora
; these are wallet files downloaded from an autonomous database../wallet_password
containing a password created when downloading a wallet../admin_password
containing an admin user's password for an autonomous database.
To connect an autonomous database with buckets, set connections in the autonomous database and configure a
credential name in ./config.yaml
accordingly.
See ./config.yaml
.