|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.5.0) E17060-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMasterRepositorySetup
This interface defines methods to create and upgrade an ODI Master Repository.
Field Summary | |
---|---|
static int |
MASTER_REPOSITORY_MAX_ID Master repository ID maximum value. |
Method Summary | |
---|---|
boolean |
createMasterRepository(JdbcProperties pMasterRepositoryJdbcProperties, java.lang.String pDbaUsername, char[] pDbaPassword, int pMasterRepositoryId, TechnologyName pMasterTechnology, boolean pOverwrite, AuthenticationConfiguration pAuthenticationConfiguration, PasswordStorageConfiguration pPasswordStorageConfiguration) Create an ODI master repository into the database specified by the given parameters. |
boolean |
createMasterRepository(java.lang.String pMasterUrl, java.lang.String pMasterDriver, java.lang.String pMasterUsername, java.lang.String pMasterPassword, int pMasterRepositoryId, TechnologyName pMasterTechnology, boolean pOverwrite, AuthenticationConfiguration pAuthenticationConfiguration, PasswordStorageConfiguration pPasswordStorageConfiguration, IMassImportExportResource pMasterImportSource) Deprecated. replaced by #createMasterRepository(JdbcProperties, String, String, int, TechnologyName, boolean, AuthenticationConfiguration, PasswordStorageConfiguration) and createMasterRepositoryFromExport(JdbcProperties, String, char[], int, TechnologyName, boolean, IMassImportExportResource) |
boolean |
createMasterRepositoryFromExport(JdbcProperties pMasterRepositoryJdbcProperties, java.lang.String pDbaUsername, char[] pDbaPassword, int pMasterRepositoryId, TechnologyName pMasterTechnology, boolean pOverwrite, IMassImportExportResource pMasterImportSource) Creates an ODI master repository into the database specified by the given parameters and populates the master with informations from a master export. |
void |
upgradeMasterRepository(JdbcProperties pMasterRepositoryJdbcProperties) Deprecated. replaced by #upgradeMasterRepository(JdbcProperties, String, String) |
void |
upgradeMasterRepository(JdbcProperties pMasterRepositoryJdbcProperties, java.lang.String pDbaUsername, char[] pDbaPassword) Upgrade the master repository schema for the database specified by the given parameters. |
void |
upgradeMasterRepository(java.lang.String pMasterUrl, java.lang.String pMasterDriver, java.lang.String pMasterUsername, java.lang.String pMasterPassword, TechnologyName pMasterTechnology) Deprecated. replaced by IMasterRepositorySetup#upgradeMasterRepository(JdbcProperties, String, String) |
Field Detail |
---|
static final int MASTER_REPOSITORY_MAX_ID
Method Detail |
---|
boolean createMasterRepository(java.lang.String pMasterUrl, java.lang.String pMasterDriver, java.lang.String pMasterUsername, java.lang.String pMasterPassword, int pMasterRepositoryId, TechnologyName pMasterTechnology, boolean pOverwrite, AuthenticationConfiguration pAuthenticationConfiguration, PasswordStorageConfiguration pPasswordStorageConfiguration, IMassImportExportResource pMasterImportSource) throws RepositorySetupException
#createMasterRepository(JdbcProperties, String, String, int, TechnologyName, boolean, AuthenticationConfiguration, PasswordStorageConfiguration)
and createMasterRepositoryFromExport(JdbcProperties, String, char[], int, TechnologyName, boolean, IMassImportExportResource)
This method will create the tables for master repository in the database schema, and will initialize internal master repository configuration. According to the type of pAuthenticationConfiguration parameter it will also
That method return true
if the repository has been created, and false
in case a previous repository was found but invoker had asked to not overwrite any existing repository.
pMasterUrl
- the url of the database where the master repository will be createdpMasterDriver
- the JDBC driver name of the databasepMasterUsername
- the username to connect to the databasepMasterPassword
- the password to connect to the databasepMasterRepositoryId
- the ID of the repository that will be createdpMasterTechnology
- the technology of the databasepOverwrite
- true
to override an existing repository, false
otherwise. Note that overwrite of a repository having a different version might fail. In this case please cleanup your database schema manually.pAuthenticationConfiguration
- the authentication configurationpPasswordStorageConfiguration
- the PasswordStorageConfiguration
to use for this repository. If this parameter is null the one defined in the specified pMasterImportSource if any will be used otherwise the PasswordStorageConfiguration.InternalPasswordStorageConfiguration
will be used.pMasterImportSource
- the location of master repository configuration to use. If this parameter is null the default configuration shipped with the product will be used.true
if the repository has been created, false
otherwiseRepositorySetupException
- if failed to create that Master RepositoryRepositoryScriptsNotFoundException
- if the script files can't be foundvoid upgradeMasterRepository(java.lang.String pMasterUrl, java.lang.String pMasterDriver, java.lang.String pMasterUsername, java.lang.String pMasterPassword, TechnologyName pMasterTechnology) throws RepositorySetupException
IMasterRepositorySetup#upgradeMasterRepository(JdbcProperties, String, String)
pMasterUrl
- the url of the database where the master repository will be createdpMasterDriver
- the JDBC driver name of the databasepMasterUsername
- the username to connect to the databasepMasterPassword
- the password to connect to the databasepMasterTechnology
- the technology of the databaseRepositorySetupException
- if failed to upgrade the given repositoryNotRepositorySchemaException
- if the database doesn't hold an ODI master repository schemaRepositoryScriptsNotFoundException
- if the script files can't be foundvoid upgradeMasterRepository(JdbcProperties pMasterRepositoryJdbcProperties) throws RepositorySetupException
#upgradeMasterRepository(JdbcProperties, String, String)
pMasterRepositoryJdbcProperties
- the jdbc properties of the database where the master repository to upgrade is installedRepositorySetupException
- if failed to upgrade the given repositoryNotRepositorySchemaException
- if the database doesn't hold an ODI master repository schemaRepositoryScriptsNotFoundException
- if the script files can't be foundboolean createMasterRepository(JdbcProperties pMasterRepositoryJdbcProperties, java.lang.String pDbaUsername, char[] pDbaPassword, int pMasterRepositoryId, TechnologyName pMasterTechnology, boolean pOverwrite, AuthenticationConfiguration pAuthenticationConfiguration, PasswordStorageConfiguration pPasswordStorageConfiguration) throws RepositorySetupException
This method will create the tables for master repository in the database schema, and will initialize internal master repository configuration. According to the type of pAuthenticationConfiguration parameter it will also
That method return true
if the repository has been created, and false
in case a previous repository was found but invoker had asked to not overwrite any existing repository.
pMasterRepositoryJdbcProperties
- the jdbc properties of the database where the master repository to upgrade is installedpDbaUsername
- The database user that will be used to manage the Schema Version Registry. This user should have the DBA privileges. For Oracle user SYS, please enter SYS AS SYSDBA.pDbaPassword
- The password for the dba user.pMasterRepositoryId
- the ID of the repository that will be createdpMasterTechnology
- the technology of the databasepOverwrite
- true
to override an existing repository, false
otherwise. Note that overwrite of a repository having a different version might fail. In this case please cleanup your database schema manually.pAuthenticationConfiguration
- the authentication configurationpPasswordStorageConfiguration
- the PasswordStorageConfiguration
to use for this repository. If this parameter is null the PasswordStorageConfiguration.InternalPasswordStorageConfiguration
will be used.true
if the repository has been created, false
otherwiseRepositorySetupException
- if failed to create that Master RepositoryRepositoryScriptsNotFoundException
- if the script files can't be foundboolean createMasterRepositoryFromExport(JdbcProperties pMasterRepositoryJdbcProperties, java.lang.String pDbaUsername, char[] pDbaPassword, int pMasterRepositoryId, TechnologyName pMasterTechnology, boolean pOverwrite, IMassImportExportResource pMasterImportSource) throws RepositorySetupException
This method will create the tables for master repository in the database schema, and will initialize master repository configuration based on the export source.
That method return true
if the repository has been created, and false
in case a previous repository was found but invoker had asked to not overwrite any existing repository.
pMasterRepositoryJdbcProperties
- the jdbc properties of the database where the master repository to upgrade is installedpDbaUsername
- The database user that will be used to manage the Schema Version Registry. This user should have the DBA privileges. For Oracle user SYS, please enter SYS AS SYSDBA.pDbaPassword
- The password for the dba user.pMasterRepositoryId
- the ID of the repository that will be createdpMasterTechnology
- the technology of the databasepOverwrite
- true
to override an existing repository, false
otherwise. Note that overwrite of a repository having a different version might fail. In this case please cleanup your database schema manually.pMasterImportSource
- the location of master repository configuration to use. If this parameter is null the default configuration shipped with the product will be used.true
if the repository has been created, false
otherwiseRepositorySetupException
- if failed to create that Master RepositoryRepositoryScriptsNotFoundException
- if the script files can't be foundvoid upgradeMasterRepository(JdbcProperties pMasterRepositoryJdbcProperties, java.lang.String pDbaUsername, char[] pDbaPassword) throws RepositorySetupException
pMasterRepositoryJdbcProperties
- the jdbc properties of the database where the master repository to upgrade is installedRepositorySetupException
- if failed to upgrade the given repositoryNotRepositorySchemaException
- if the database doesn't hold an ODI master repository schemaRepositoryScriptsNotFoundException
- if the script files can't be found
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.5.0) E17060-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |