Add an Oracle Cloud Applications Instance to a Visual Application
If you want to populate a visual application's catalog with REST services from an Oracle Cloud Applications backend, you need to add the Oracle Cloud Applications instance to the same environment as your Visual Builder instance.
All visual applications in the project will use the Oracle Cloud Applications instance URL specified in the environment, but your visual app can be configured to use a different Oracle Cloud Applications backend by specifying a different instance URL under Backends in the Navigator's Services pane. The project-level backend configuration is ignored if you or another developer configures a different Oracle Cloud Applications backend.
You can only add one Oracle Cloud Applications instance to an environment. The instance can reside either in the same identity domain as your VB Studio instance (current identity domain) or in a different identity domain.
- To add an Oracle Cloud
Applications instance from your current identity domain:
- If you're in the Designer, click
at the top left of the header to get to the VB Studio navigator.
- In the VB Studio left navigator, click Environments
.
- In the Service Instances tab, click Add Instance.
- In the Add Service Instances dialog box, select Oracle Cloud Applications under Instance Type.
- Select Identity Domain under Authentication Method.
- Select the Oracle Cloud Applications instance you want to add and click Add.
- If you're in the Designer, click
- To add an Oracle Cloud
Applications instance from another identity domain, you'll need the credentials of a user who can access the Oracle Cloud
Applications instance. Identify a user who can access the Oracle Cloud
Applications instance and get that user's credentials, then follow theses steps:
- If you're in the Designer, click
at the top left of the header to get to the VB Studio navigator.
- In the VB Studio left navigator, click Environments
.
- Select an existing environment or create one.
To create an environment, click Create Environment. In Environment Name and Description, enter a unique name and description, and click Create.
- In the Service Instances tab, click Add Instance.
- In the Add Service Instances dialog, select Oracle Cloud Applications under Instance Type.
- Select Application Credentials under Authentication Method and follow these steps:
- In Base URL, enter the base URL of the Oracle Cloud Applications instance.
- In Instance Name, update the instance's name if you want. The name will be displayed in the Service Instances tab.
- In Username and Password, enter the credentials of a user who can access the Oracle Cloud Applications instance.
- Click Add.
- If you chose OAuth 2.0 as the Authorization Type, you may be prompted to authorize IDCS to acquire OAuth tokens for accessing the target instance. Click Authorize when prompted, then sign in to IDCS with credentials to access the Oracle Cloud
Applications instance.
Note:
OAuth tokens (access and refresh) are typically cycled during regular use. If a token expires during extended periods of inactivity (say, when you're away on vacation), click Actionsand select Renew OAuth Access to restart the OAuth workflow.
- If you're in the Designer, click