Manage Integration Lookups
These are the steps you'll need to use to import and export Integration lookups via build jobs in VB Studio:
Step | Description | See this topic |
---|---|---|
Configure a build job to export Integration lookups from an Oracle Integration instance. | Creates and executes a job to
|
Configure a Job to Export an Integration Lookup |
Configure a job (or build step) to import an Oracle Integration lookup to a target Oracle Integration instance. | Creates and executes a job to:
|
Configure a Job to Import an Integration Lookup |
Optional: Configure a job (or build step) to delete an Integration lookup that's no longer needed or one that causes a conflict. | Creates and executes a job to delete an OIC lookup on a particular Oracle Integration instance. | Configure a Job to Delete an Integration Lookup |
Configure a Job to Export an Integration Lookup
You can create and use a build step to export Integration lookups and use an After Build step to archive the exported files to Object Storage. Later, you can import the archive containing the exported lookups to a different target Oracle Integration instance.
- In the
left navigator, click
Builds
.
- In the Jobs tab, click + Create Job.
- In the New Job dialog box, in Name, enter a unique name.
- In Description, enter the job's description.
- In Template, select the System Default OL7 for Visual Builder template.
- Click
Create.
The job configuration page is displayed.
- Click the Steps tab.
- From Add Step, select Oracle Integration, and then select Export Lookup.
- In Source Instance , select the environment that points to the Oracle Integration instance from which you want to export the lookups.
- In the Authorization section, Use OAuth is selected by default. You can also select Use Basic, but OAuth is the recommended authorization method (and the only method supported for Oracle Integration 3 instances). You should only use Basic authentication if you run into issues with setting up an OAuth connection and aren't on an Oracle Integration 3 instance.
-
For Use OAuth, the
Authorization is required
message displayed before authorization indicates that this build step needs to be authorized, either by clicking the Authorize button or by running the build manually and, when prompted, entering the credentials of a user who has permissions to perform Oracle Integration operations. After authorization, theAuthorization has been provided
message and the Renew Authorization button are displayed.OAuth tokens (access and refresh) are cycled during regular use. A refresh token is used to obtain an access token whenever a user accesses the target instance. This refresh token is typically valid for seven days. (The token expiration time is set in the IDCS resource app and may be different based on your security requirements.) If the user authenticates with the target instance within the seven-day period, the active refresh token generates a new access token and a new refresh token. This cycle continues indefinitely as long as the refresh token stays valid. If the refresh token expires during extended periods of inactivity (say, when you're away on vacation), click Renew Authorization (or run the job manually, so you're prompted to authorize any expired OAuth tokens).
-
If you select Use Basic, in Username and Password, provide the credentials of a user who has permissions to perform Oracle Integration operations.
-
- In Lookup Name, enter or search for the name of the lookup you want to export from the source Oracle Integration instance.
To search for the lookup name, click
. The Search Lookups dialog is displayed. Press Enter in the Search field to see the list of all lookups on your target instance (if you used Basic authentication, you'll need to specify credentials to see this list). Select the lookup from the list. Instead of selecting the lookup from a list, you can type in a lookup name for the specific lookup, typing in either the full name, or part of it, then selecting it from the narrowed list of choices. The drop-down list initially shows all the instance's lookups available to you.
The Archive Filename shows the archive file that'll contain the exported lookups. Copy the filename (
DivisionLookup.csv
, for example). You'll use it in the next step. - In the After Build tab, click Add After Build Action and select Artifact Archiver.
- Paste the filename you copied in step 11 into the Files to archive field.
- Click Save.
Configure a Job to Import an Integration Lookup
You can create and use a build step to import an Integration lookup exported from another Oracle Integration instance.
- In the
left navigator, click
Builds
.
- In the Jobs tab, click + Create Job.
- In the New Job dialog box, in Name, enter a unique name.
- In Description, enter the job's description.
- In Template, select the System Default OL7 for Visual Builder template.
- Click
Create.
The job configuration page is displayed.
- In the Before Build tab, click Add Before Build Action , and select Copy Artifacts.
- In the From job field, select your Import Lookup build job or enter its name.
- Click the Steps tab.
- From Add Step, select Oracle Integration, and then select Import Lookup.
- In Target Instance , select the environment that points to the Oracle Integration instance into which you want to import the lookups.
- In the Authorization section, Use OAuth is selected by default. You can also select Use Basic, but OAuth is the recommended authorization method (and the only method supported for Oracle Integration 3 instances). You should only use Basic authentication if you run into issues with setting up an OAuth connection and aren't on an Oracle Integration 3 instance.
-
For Use OAuth, the
Authorization is required
message displayed before authorization indicates that this build step needs to be authorized, either by clicking the Authorize button or by running the build manually and, when prompted, entering the credentials of a user who has permissions to perform Oracle Integration operations. After authorization, theAuthorization has been provided
message and the Renew Authorization button are displayed.OAuth tokens (access and refresh) are cycled during regular use. A refresh token is used to obtain an access token whenever a user accesses the target instance. This refresh token is typically valid for seven days. (The token expiration time is set in the IDCS resource app and may be different based on your security requirements.) If the user authenticates with the target instance within the seven-day period, the active refresh token generates a new access token and a new refresh token. This cycle continues indefinitely as long as the refresh token stays valid. If the refresh token expires during extended periods of inactivity (say, when you're away on vacation), click Renew Authorization (or run the job manually, so you're prompted to authorize any expired OAuth tokens).
-
If you select Use Basic, in Username and Password, provide the credentials of a user who has permissions to perform Oracle Integration operations.
-
- In Import Archive Filename, enter the name of the archive file (with .csv extension) containing the lookup to import.
- In Import
method, select how to import the
lookup:
- Choose Add to import a lookup with a new name.
- Choose Replace to import a previously imported lookup.
- Choose Automatic to either add or replace the lookup, depending on whether it already exists on the target instance.
- Click Save.
Configure a Job to Delete an Integration Lookup
You can create and use a build step to delete an Integration lookup from an Oracle Integration instance.
- In the
left navigator, click
Builds
.
- In the Jobs tab, click + Create Job.
- In the New Job dialog box, in Name, enter a unique name.
- In Description, enter the job's description.
- In Template, select the System Default OL7 for Visual Builder template.
- Click Create.
The job configuration page is displayed.
- Click the Steps tab.
- From Add Step, select Oracle Integration, and then select Delete Lookup.
- In Target Instance , select the environment that points to the Oracle Integration instance from which you want to remove the lookups.
- In the Authorization section, Use OAuth is selected by default. You can also select Use Basic, but OAuth is the recommended authorization method (and the only method supported for Oracle Integration 3 instances). You should only use Basic authentication if you run into issues with setting up an OAuth connection and aren't on an Oracle Integration 3 instance.
-
For Use OAuth, the
Authorization is required
message displayed before authorization indicates that this build step needs to be authorized, either by clicking the Authorize button or by running the build manually and, when prompted, entering the credentials of a user who has permissions to perform Oracle Integration operations. After authorization, theAuthorization has been provided
message and the Renew Authorization button are displayed.OAuth tokens (access and refresh) are cycled during regular use. A refresh token is used to obtain an access token whenever a user accesses the target instance. This refresh token is typically valid for seven days. (The token expiration time is set in the IDCS resource app and may be different based on your security requirements.) If the user authenticates with the target instance within the seven-day period, the active refresh token generates a new access token and a new refresh token. This cycle continues indefinitely as long as the refresh token stays valid. If the refresh token expires during extended periods of inactivity (say, when you're away on vacation), click Renew Authorization (or run the job manually, so you're prompted to authorize any expired OAuth tokens).
-
If you select Use Basic, in Username and Password, provide the credentials of a user who has permissions to perform Oracle Integration operations.
-
- In Lookup Name, enter or search for the name of the lookup you want to delete from the target Oracle Integration instance.
To search for the lookup name, click
. The Search Lookups dialog is displayed. Press Enter in the Search field to see the list of all lookups on your target instance (if you used Basic authentication, you'll need to specify credentials to see this list). Select the lookup from the list. Instead of selecting the lookup from a list, you can type in a lookup name for the specific lookup, typing in either the full name, or part of it, then selecting it from the narrowed list of choices. The drop-down list initially shows all the instance's lookups available to you.
- Click Save.