# Oracle Business Intelligence (OBI) Repository (RPD file) - Import

Availability-note[AWS](https://help.talend.com/r/en-US/Cloud/labels-on-talend-help-center/availability-aws)

AWS-only features are available at any of the following URLs: us.cloud.talend.com, eu.cloud.talend.com, ap.cloud.talend.com

## Bridge Specifications

| **Vendor** | **Oracle** |
| --- | --- |
| **Tool Name** | **Oracle Business Intelligence (OBI) Repository (RPD file)** |
| **Tool Version** | **10.1 to 12c** |
| **Tool Web Site** | http://www.oracle.com/technetwork/middleware/bi-foundation/overview/index.html |
| **Supported Methodology** | [Business Intelligence] Data Store (Xml Schemas, Physical Data Model, Logical Data Model), BI Design (RDBMS Source, Dimensional Target, Transformation Lineage, Expression Parsing), Graphical Layout via UDML XML File |
| **Data Profiling** | ![](https://help.qlik.com/talend/en-US/talend-data-catalog/8.0/Content/Resources/images/cross.png) |
| **Incremental Harvesting** | ![](https://help.qlik.com/talend/en-US/talend-data-catalog/8.0/Content/Resources/images/cross.png) |
| **Multi-Model Harvesting** | ![](https://help.qlik.com/talend/en-US/talend-data-catalog/8.0/Content/Resources/images/cross.png) |
| **Remote Repository Browsing for Model Selection** | ![](https://help.qlik.com/talend/en-US/talend-data-catalog/8.0/Content/Resources/images/cross.png) |

**SPECIFICATIONS**  
**Tool:** Oracle / Oracle Business Intelligence (OBI) Repository (RPD file) version 10.1 to 12c via UDML XML File  
See http://www.oracle.com/technetwork/middleware/bi-foundation/overview/index.html  
**Metadata:** [Business Intelligence] Data Store (Xml Schemas, Physical Data Model, Logical Data Model), BI Design (RDBMS Source, Dimensional Target, Transformation Lineage, Expression Parsing), Graphical Layout  
**Component:** OracleBIServer version 11.2.0  
  
**OVERVIEW**  
This import bridge imports an Oracle Business Intelligence Server (formerly Siebel Analytics) model.  
  
**REQUIREMENTS**  
n/a  
  
**FREQUENTLY ASKED QUESTIONS**  
n/a  
  
**LIMITATIONS**  
Refer to the current general known limitations at [MIMB Known Limitations](https://help.qlik.com/talend/en-US/talend-data-catalog/8.0/Subsystems/ModelBridgeGuide/Content/MIMB-Known-Limitations.htm) or bundled in Documentation/ReadMe/MIMBKnownLimitations.html  
  
**SUPPORT**  
Provide a troubleshooting package with:  
- the debug log (can be set in the UI or in conf/conf.properties with MIR\_LOG\_LEVEL=6)  
- the metadata backup if available (can be set in the Miscellaneous parameter with -backup option, although this common option is not implemented on all bridges for technical reasons).  
  
**Q: How do I provide metadata to the support team to reproduce an issue?**  
A: Provide the following files:  
The Oracle BI Administration tool natively stores metadata in a Repository RPD file, so you must supply a copy of that file. By default this file is located in \OracleBI\server\Repository. Provide this file along with the userid and password necessary to open it.  
Alternative method: using Oracle BI Administration tool, connect to a live online repository.  
From the File menu, select 'Copy As...' and specify the name of the local RPD file where the repository copy will be stored.  
Supply that file.

## Bridge Parameters

| **Parameter Name** | **Description** | **Type** | **Values** | **Default** | **Scope** |
| --- | --- | --- | --- | --- | --- |
| **File** | The Oracle BI Administration tool natively stores metadata in a Repository RPD file.<br><br><br><br>For version 12.2.1.4 (OAS 6.4), convert the RPD file to XML format by performing the following steps:<br><br>1. Start a command line console (CMD on Windows)<br><br>2. navigate to the bitools\bin folder of your WebLogic server domain, for example:<br><br>cd Oracle\_Home\user\_projects\domains\bi\bitools\bin<br><br>3. You may use the download repository command 'downloadrpd' to download the live RPD repository used by your instance as a local copy.<br><br>The data model launcher script (datamodel.cmd on Windows or datamodel.sh on Linux) allows running the downloadrpd command, for example:<br><br>datamodel.cmd downloadrpd -O repository.rpd -SI ssi -U weblogic -P weblogicpsw<br><br>You will be prompted to choose a password for this local rpd file.<br><br>Please consult Oracle documentation for details:<br><br>https://docs.oracle.com/en/middleware/bi/analytics-server/metadata-oas/download-repository-command.html<br><br>For other 12.x versions, please consult Oracle documentation for your corresponding version.<br><br>4. Use the 'biserverxmlgen' command line utility (biserverxmlgen.cmd on Windows or biserverxmlgen.sh on Linux) to generate XML:<br><br>biserverxmlgen.cmd -R repository.rpd -P Admin123 -O repository.xml -N -Q -8<br><br>The import bridge uses the generated XML file as input.<br><br><br><br>For version 11.x, convert the RPD file to XML format by performing the following steps:<br><br>1. Run the initialization script to configure a command prompt (or shell) window that is initialized to your Oracle instance:<br><br>For recent 11.x versions it may be bi-init.cmd (or bi-init.sh on UNIX)<br><br>ORACLE\_INSTANCE\bifoundation\OracleBIApplication\coreapplication\setup\bi-init<br><br>For older 11.x versions it may be nqinit.bat (or nqinit.sh on UNIX)<br><br>/u01/wls/oracle/j2ee/bi/bifoundation/server/bin/nqinit.sh<br><br>You may have to configure environment variables such as:<br><br>export ORACLE\_HOME=/u01/wls/oracle/j2ee<br><br>export DOMAIN\_HOME=/u01/wls/oracle/j2ee/user\_projects/domains/mod<br><br>Please consult Oracle documentation for your corresponding version.<br><br>2. Use the 'biserverxmlgen' command line utility to generate XML:<br><br>biserverxmlgen -R paint.rpd -P Admin123 -O paint.xml -N -Q -8<br><br>The import bridge uses the generated XML file as input.<br><br>Note: for version 11.x, the UDML file format is not supported by the import bridge.<br><br><br><br>For version 10.x, convert the RPD file to UDML format by performing the following:<br><br>Use the nQUDMLGen command line utility to generate a UDML file:<br><br>$OracleBIHome$\server\Bin<br><br>QUDMLGen.exe -U Administrator -P Administrator -R paint.rpd -O paint.udml -N -Q -8<br><br>The import bridge uses the generated UDML file as input. | FILE | \*.\* |  | Mandatory |
| **Variable values file** | File defining list of RPD variable values in format:<br><br>variable1\_name=variable1\_value<br><br>variable3\_name=variable2\_value<br><br>...<br><br>variableN\_name=variableN\_value<br><br><br><br>RPD models may use variables to parameterize SQL statements. In many cases, the values which must be assigned to these variables are defined at runtime. In such cases, the import bridge will report warning in the log that it could not determine the value of a variable and will simply leave that variable name without any substitution in the resulting model. In order to determine the correct substitution values for these variables, the import bridge reads a variable value file with the variable names and the correct value to substitute.<br><br><br><br>Place the pathname of a variable value file in this parameter.<br><br><br><br>Variable names are case insensitive and trimmed of all leading and trailing spaces. | FILE | \*.\* |  |  |
| **Optimize for large models** | Specify whether or not to optimize the import for large OBI repository models.<br><br><br><br>'True'<br><br>Ignore foreign keys, joins, relationships, logical foreign keys during import. Also, do not store expression tree objects along with lineage links. Ignoring such objects will result in a smaller model, and require less memory at runtime. This mode is recommended for large UDML or XML input files. This is the default value.<br><br><br><br>'False'<br><br>The entire repository model will be imported. In this mode, more memory is required at runtime. This mode is recommended for small to medium UDML or XML input files. | BOOLEAN | <table><tr><td>False</td></tr><tr><td>True</td></tr></table> | True |  |
| **Miscellaneous** | **INTRODUCTION**<br><br>Specify miscellaneous options starting with a dash and optionally followed by parameters, e.g.<br><br>-connection.cast MyDatabase1="MICROSOFT SQL SERVER"<br><br>Some options can be used multiple times if applicable, e.g.<br><br>-connection.rename NewConnection1=OldConnection1 -connection.rename NewConnection2=OldConnection2;<br><br>As the list of options can become a long string, it is possible to load it from a file which must be located in ${MODEL\_BRIDGE\_HOME}\data\MIMB\parameters and have the extension .txt. In such case, all options must be defined within that file as the only value of this parameter, e.g.<br><br>ETL/Miscellaneous.txt<br><br><br><br>**JAVA ENVIRONMENT OPTIONS**<br><br>**-java.memory &lt;Java Memory's maximum size&gt; (previously -m)**<br><br>1G by default on 64bits JRE or as set in conf/conf.properties, e.g.<br><br>-java.memory 8G<br><br>-java.memory 8000M<br><br><br><br>**-java.parameters &lt;Java Runtime Environment command line options&gt; (previously -j)**<br><br>This option must be the last one in the Miscellaneous parameter as all the text after -java.parameters is passed "as is" to the JRE, e.g.<br><br>-java.parameters -Dname=value -Xms1G<br><br>The following option must be set when a proxy is used to access internet (this is critical to access https://repo.maven.apache.org/maven2/ and exceptionally a few other tool sites) in order to download the necessary third-party software libraries.<br><br>Note: The majority of proxies are concerned with encrypting (HTTPS) the outside (of the company) traffic and trust the inside traffic that can access proxy over HTTP. In this case, an HTTPS request reaches the proxy over HTTP where the proxy HTTPS-encrypts it.<br><br>-java.parameters -java.parameters -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=3128 -Dhttp.proxyUser=user -Dhttp.proxyPassword=pass<br><br><br><br>**MODEL IMPORT OPTIONS**<br><br>**-model.name &lt;model name&gt;**<br><br>Override the model name, e.g.<br><br>-model.name "My Model Name"<br><br><br><br>**-prescript &lt;script name&gt;**<br><br>This option allows running a script before the bridge execution.<br><br>The script must be located in the bin directory (or as specified with M\_SCRIPT\_PATH in conf/conf.properties), and have .bat or .sh extension.<br><br>The script path must not include any parent directory symbol (..).<br><br>The script should return exit code 0 to indicate success, or another value to indicate failure.<br><br>For example:<br><br>-prescript "script.bat arg1 arg2"<br><br><br><br>**-postscript &lt;script name&gt;**<br><br>This option allows running a script after successful execution of the bridge.<br><br>The script must be located in the bin directory (or as specified with M\_SCRIPT\_PATH in conf/conf.properties), and have .bat or .sh extension.<br><br>The script path must not include any parent directory symbol (..).<br><br>The script should return exit code 0 to indicate success, or another value to indicate failure.<br><br>For example:<br><br>-postscript "script.bat arg1 arg2"<br><br><br><br>**-cache.clear**<br><br>Clears the cache before the import, and therefore will run a full import without incremental harvesting.<br><br><br><br>If the model was not changed and the -cache.clear parameter is not used (incremental harvesting), then a new version will not be created.<br><br>If the model was not changed and the -cache.clear parameter is set (full source import instead of incremental), then a new version will be created.<br><br><br><br>**-backup &lt;directory&gt;**<br><br>This option allows to save the bridge input metadata for further troubleshooting. The provided &lt;directory&gt; must be empty.<br><br><br><br>The primary use of this option is for data store import bridges, in particular JDBC based database import bridges.<br><br><br><br>Note that this option is not operational on some bridges including:<br><br>- File based import bridges (as such input files can be used instead)<br><br>- DI/BI repository import bridges (as the tool's repository native backup can be used instead)<br><br>- Some API based import bridges (e.g. COM based) for technical reasons.<br><br><br><br>**DATA CONNECTION OPTIONS**<br><br>Data Connections are produced by the import bridges typically from ETL/DI and BI tools to refer to the source and target data stores they use. These data connections are then used by metadata management tools to connect them (metadata stitching) to their actual data stores (e.g. databases, file system, etc.) in order to produce the full end to end data flow lineage and impact analysis. The name of each data connection is unique by import model. The data connection names used within DI/BI design tools are used when possible, otherwise connection names are generated to be short but meaningful such as the database / schema name, the file system path, or Uniform Resource Identifier (URI). The following option allows to manipulate connections. These options replaces the legacy options -c, -cd, and -cs.<br><br><br><br>**-connection.cast ConnectionName=ConnectionType**<br><br>Casts a generic database connection (e.g. ODBC/JDBC) to a precise database type (e.g. ORACLE) for SQL Parsing, e.g.<br><br>-connection.cast "My Database"="MICROSOFT SQL SERVER".<br><br>The list of supported data store connection types includes:<br><br>ACCESS<br><br>APACHE CASSANDRA<br><br>DB2/UDB<br><br>DENODO<br><br>GOOGLE BIGQUERY<br><br>HIVE<br><br>MYSQL<br><br>NETEZZA<br><br>ORACLE<br><br>POSTGRESQL<br><br>PRESTO<br><br>REDSHIFT<br><br>SALESFORCE<br><br>SAP HANA<br><br>SNOWFLAKE<br><br>MICROSOFT SQL AZURE<br><br>MICROSOFT SQL SERVER<br><br>SYBASE SQL SERVER<br><br>SYBASE AS ENTERPRISE<br><br>TERADATA<br><br>VECTORWISE<br><br>HP VERTICA<br><br><br><br>**-connection.rename OldConnection=NewConnection**<br><br>Renames an existing connection to a new name, e.g.<br><br>-connection.rename OldConnectionName=NewConnectionName<br><br>Multiple existing database connections can be renamed and merged into one new database connection, e.g.<br><br>-connection.rename MySchema1=MyDatabase -connection.rename MySchema2=MyDatabase<br><br><br><br>**-connection.split oldConnection.Schema1=newConnection**<br><br>Splits a database connection into one or multiple database connections.<br><br>A single database connection can be split into one connection per schema, e.g.<br><br>-connection.split MyDatabase<br><br>All database connections can be split into one connection per schema, e.g.<br><br>-connection.split \*<br><br>A database connection can be explicitly split creating a new database connection by appending a schema name to a database, e.g.<br><br>-connection.split MyDatabase.schema1=MySchema1<br><br><br><br>**-connection.map SourcePath=DestinationPath**<br><br>Maps a source path to destination path. This is useful for file system connections when different paths points to the same object (directory or file).<br><br>On Hadoop, a process can write into a CSV file specified with the HDFS full path, but another process reads from a Hive table implemented (external) by the same file specified using a relative path with default file name and extension, e.g.<br><br>-connection.map /user1/folder=hdfs://host:8020/users/user1/folder/file.csv<br><br>On Linux, a given directory (or file) like /data can be referred to by multiple symbolic links like /users/john and /users/paul, e.g.<br><br>-connection.map /data=/users/John -connection.map /data=/users/paul<br><br>On Windows, a given directory like C:\data can be referred to by multiple network drives like M: and N:, e.g.<br><br>-connection.map C:\data=M:\ -connection.map C:\data=N:\<br><br><br><br>**-connection.casesensitive ConnectionName**<br><br>Overrides the default case insensitive matching rules for the object identifiers inside the specified connection, provided the detected type of the data store by itself supports this configuration (e.g. Microsoft SQL Server, MySql etc.), e.g.<br><br>-connection.casesensitive "My Database"<br><br><br><br>**-connection.level AggregationLevel**<br><br>Specifies the aggregation level for the external connections, e.g.-connection.level catalog<br><br>The list of the supported values:<br><br>server<br><br>catalog<br><br>schema (default)<br><br><br><br>**ORACLE BI SERVER OPTIONS**<br><br>**-r**<br><br>Remove the report pages and their graphical structure.<br><br><br><br>**-truststore.file**<br><br>Location of the TrustStore file.<br><br><br><br>**-truststore.password**<br><br>Password of the TrustStore. | STRING |  |  |  |

## Bridge Mapping

| **Meta Integration Repository (MIR)<br>Metamodel<br>(based on the OMG CWM standard)** | **"Oracle Business Intelligence (OBI) Repository (RPD file)"<br>Metamodel<br>Oracle Business Intelligence (RPD Repository)** | **Mapping Comments** |
| --- | --- | --- |
|  |  |  |
| **Attribute** | **External Column, Primary Key Column** |  |
| Comment | Comment |  |
| Description | Definition |  |
| DesignLevel | Design Level |  |
| ExtraConstraint | Constraint |  |
| InitialValue | Initial Value |  |
| Name | Name |  |
| NativeId | Native Id |  |
| Optional | Nullable |  |
| PhysicalName | Physical Name |  |
| Position | Position |  |
| **Class** | **External Table** |  |
| Name | Name |  |
| NativeId | Native Id |  |
| NativeType | Native Type |  |
| PhysicalName | Physical Name |  |
| **ClassDiagram** | **Business Model Diagram** |  |
| Description | Description |  |
| Name | Name |  |
| **Condition** | **Condition** |  |
| Name | Name |  |
| Position | Position |  |
| **ConnectionPackage** | **External Schema** |  |
| Name | Name |  |
| NativeId | Native Id |  |
| NativeType | Native Type |  |
| PhysicalName | Physical Name |  |
| **DataAttribute** | **Static Variable, Dynamic Variable, Session Variable** |  |
| Description | Description |  |
| InitialValue | Initial Value |  |
| Name | Name |  |
| NativeId | Native Id |  |
| NativeType | Native Type |  |
| Optional | Optional |  |
| PhysicalName | Physical Name |  |
| Position | Position |  |
| Usage | Usage |  |
| **DataSet** | **Repository Initialization Block, Session Init Block, Static Variables** |  |
| Description | Description |  |
| Name | Name |  |
| NativeId | Native Id |  |
| NativeType | Native Type |  |
| PhysicalName | Physical Name |  |
| **DesignPackage** | **Physical Display Folder, Logical Display Folder, Repository Variables, Repository Initialization Blocks, Variables, Business Model, Physical, Physical Catalog, Database, Session Initialization Blocks, Business Model and Mapping, Session Variables, Physical Schema** |  |
| Description | Description |  |
| Name | Name |  |
| NativeId | Native Id |  |
| NativeType | Native Type |  |
| PhysicalName | Physical Name |  |
| **Dimension** | **Presentation Fact Table, Logical Dimension, Extended Subject Area, Stored Procedure Table, Select Table, Logical Table, Presentation Table, Alias Table, Logical Fact Table, Physical Table** |  |
| Description | Description |  |
| Hide | Hide |  |
| Name | Name |  |
| NativeId | Native Id |  |
| NativeType | Native Type |  |
| Type | Type | set to VIEW for Select Physical Tables |
| **DimensionAttribute** | **Alias Column, Logical Column, Physical Key Column, Derived Presentation Column, Extended Subject Area Column, Presentation Column, Derived Logical Column, Logical Key Column, Physical Column, Key, Alias Key Column** | **Represents presentation column inside presentation table** |
| Description | Description |  |
| Hide | Hide |  |
| InitialValue | Initial Value |  |
| Name | Name |  |
| NativeId | Native Id |  |
| NativeType | Native Type |  |
| Optional | Optional, Nullable |  |
| OriginalName | Original Name |  |
| Position | Position |  |
| Sort | Sort |  |
| **Hierarchy** | **Hierarchy, Presentation Hierarchy** |  |
| Description | Description |  |
| Name | Name |  |
| NativeId | Native Id |  |
| NativeType | Native Type |  |
| PhysicalName | Physical Name |  |
| Type | Type |  |
| **Join** | **Physical Join, Logical Join, Physical Foreign Key, Logical Foreign Key** |  |
| Description | Description |  |
| Name | Name |  |
| NativeId | Native Id |  |
| NativeType | Native Type |  |
| PhysicalName | Physical Name |  |
| Type | Type |  |
| **Level** | **Presentation Level, Logical Level** |  |
| Description | Description |  |
| Name | Name |  |
| NativeId | Native Id |  |
| NativeType | Native Type |  |
| **Measure** | **Measure** |  |
| DefaultAggregation | Default Aggregation |  |
| Description | Description |  |
| Hide | Hide |  |
| InitialValue | Initial Value |  |
| Name | Name |  |
| NativeId | Native Id |  |
| NativeType | Native Type |  |
| Optional | Optional |  |
| Position | Position |  |
| Sort | Sort |  |
| **OlapSchema** | **Subject Area** |  |
| Description | Description |  |
| Name | Name |  |
| NativeId | Native Id |  |
| NativeType | Native Type |  |
| **StoreConnection** | **External Connection** |  |
| Name | Name |  |
| NativeId | Native Id |  |
| NativeType | Native Type |  |
| PhysicalName | Physical Name |  |
| StoreType | Store Type |  |
| SystemMajorVersion | System Major Version |  |
| SystemMinorVersion | System Minor Version |  |
| SystemReleaseVersion | System Release Version |  |
| SystemType | System Type |  |
| SystemTypeOld | System Type Old |  |
| **StoreModel** | **Repository** |  |
| Author | Author |  |
| CreationTime | Creation Time |  |
| Description | Description |  |
| ModificationTime | Modification Time |  |
| Modifier | Modifier |  |
| Name | Name |  |
| NativeId | Native Id |  |
| NativeType | Native Type |  |
| PhysicalName | Physical Name |  |
| StoreType | Store Type |  |
| SystemMajorVersion | System Major Version |  |
| SystemMinorVersion | System Minor Version |  |
| SystemReleaseVersion | System Release Version |  |
| SystemType | System Type |  |
| SystemTypeOld | System Type Old |  |
| **Synonym** | **Alias** |  |
| Description | Description |  |
| Name | Name |  |
| NativeId | Native Id |  |
| NativeType | Native Type |  |
| PhysicalName | Physical Name |  |