public final class MasterRepositorySetupImpl extends java.lang.Object implements IMasterRepositorySetup
IMasterRepositorySetup implementation.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
REPOSITORY_STATUS_INSTALL_FAILED |
static java.lang.String |
REPOSITORY_STATUS_OK |
static java.lang.String |
REPOSITORY_STATUS_UPGRADING |
MASTER_REPOSITORY_MAX_ID| Constructor and Description |
|---|
MasterRepositorySetupImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
createMasterRepository(JdbcProperties pMasterRepositoryJdbcProperties,
java.lang.String pDbaUsername,
char[] pDbaPassword,
int pMasterRepositoryId,
TechnologyName pMasterTechnology,
boolean pOverwrite,
AuthenticationConfiguration pAuthenticationConfiguration,
PasswordStorageConfiguration pPasswordStorageConfiguration)
Deprecated.
|
boolean |
createMasterRepository(JdbcProperties pMasterRepositoryJdbcProperties,
java.lang.String pDbaUsername,
char[] pDbaPassword,
int pMasterRepositoryId,
TechnologyName pMasterTechnology,
boolean pOverwrite,
AuthenticationConfiguration pAuthenticationConfiguration,
PasswordStorageConfiguration pPasswordStorageConfiguration,
java.lang.String pRegistry)
Deprecated.
|
boolean |
createMasterRepository(JdbcProperties pMasterRepositoryJdbcProperties,
java.lang.String pDbaUsername,
char[] pDbaPassword,
int pMasterRepositoryId,
TechnologyName pMasterTechnology,
boolean pOverwrite,
AuthenticationConfiguration pAuthenticationConfiguration,
PasswordStorageConfiguration pPasswordStorageConfiguration,
java.lang.String pRegistry,
CryptoAlgo pEncAlgo)
Deprecated.
|
boolean |
createMasterRepository(JdbcProperties pMasterRepositoryJdbcProperties,
java.lang.String pDbaUsername,
char[] pDbaPassword,
TechnologyName pMasterTechnology,
boolean pOverwrite,
AuthenticationConfiguration pAuthenticationConfiguration,
PasswordStorageConfiguration pPasswordStorageConfiguration) |
boolean |
createMasterRepository(JdbcProperties pMasterRepositoryJdbcProperties,
java.lang.String pDbaUsername,
char[] pDbaPassword,
TechnologyName pMasterTechnology,
boolean pOverwrite,
AuthenticationConfiguration pAuthenticationConfiguration,
PasswordStorageConfiguration pPasswordStorageConfiguration,
CryptoAlgo pAlgo) |
boolean |
createMasterRepository(JdbcProperties pMasterRepositoryJdbcProperties,
java.lang.String pDbaUsername,
char[] pDbaPassword,
TechnologyName pMasterTechnology,
boolean pOverwrite,
AuthenticationConfiguration pAuthenticationConfiguration,
PasswordStorageConfiguration pPasswordStorageConfiguration,
java.lang.String pRegistry) |
boolean |
createMasterRepository(JdbcProperties pMasterRepositoryJdbcProperties,
java.lang.String pDbaUsername,
char[] pDbaPassword,
TechnologyName pMasterTechnology,
boolean pOverwrite,
AuthenticationConfiguration pAuthenticationConfiguration,
PasswordStorageConfiguration pPasswordStorageConfiguration,
java.lang.String pRegistry,
CryptoAlgo pEncAlgo) |
boolean |
createMasterRepository(java.lang.String pMasterUrl,
java.lang.String pMasterDriver,
java.lang.String pMasterUsername,
char[] pMasterPassword,
int pMasterRepositoryId,
TechnologyName pMasterTechnology,
boolean pOverwrite,
AuthenticationConfiguration pAuthenticationConfiguration,
PasswordStorageConfiguration pPasswordStorageConfiguration,
IMassImportExportResource pMasterImportSource)
Deprecated.
|
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.
|
boolean |
createMasterRepository(java.lang.String pMasterUrl,
java.lang.String pMasterDriver,
java.lang.String pMasterUsername,
java.lang.String pMasterPassword,
int pMasterRepositoryId,
TechnologyName pMasterTechnology,
java.lang.String pEditionName,
boolean pOverwrite,
AuthenticationConfiguration pAuthenticationConfiguration,
PasswordStorageConfiguration pPasswordStorageConfiguration,
IMassImportExportResource pMasterImportSource)
Deprecated.
|
boolean |
createMasterRepository(java.lang.String pMasterUrl,
java.lang.String pMasterDriver,
java.lang.String pMasterUsername,
java.lang.String pMasterPassword,
TechnologyName pMasterTechnology,
boolean pOverwrite,
AuthenticationConfiguration pAuthenticationConfiguration,
PasswordStorageConfiguration pPasswordStorageConfiguration,
IMassImportExportResource pMasterImportSource)
Deprecated.
Use the API in which password argument is of type character array (char[])
|
boolean |
createMasterRepository(java.lang.String pMasterUrl,
java.lang.String pMasterDriver,
java.lang.String pMasterUsername,
java.lang.String pMasterPassword,
TechnologyName pMasterTechnology,
java.lang.String pEditionName,
boolean pOverwrite,
AuthenticationConfiguration pAuthenticationConfiguration,
PasswordStorageConfiguration pPasswordStorageConfiguration,
IMassImportExportResource pMasterImportSource,
CryptoAlgo pAlgo,
java.util.Properties pProperties) |
boolean |
createMasterRepositoryFromExport(JdbcProperties pMasterRepositoryJdbcProperties,
java.lang.String pDbaUsername,
char[] pDbaPassword,
int pMasterRepositoryId,
TechnologyName pMasterTechnology,
boolean pOverwrite,
IMassImportExportResource pMasterImportSource)
Deprecated.
|
boolean |
createMasterRepositoryFromExport(JdbcProperties pMasterRepositoryJdbcProperties,
java.lang.String pDbaUsername,
char[] pDbaPassword,
int pMasterRepositoryId,
TechnologyName pMasterTechnology,
boolean pOverwrite,
IMassImportExportResource pMasterImportSource,
java.lang.String pRegistry)
Deprecated.
|
boolean |
createMasterRepositoryFromExport(JdbcProperties pMasterRepositoryJdbcProperties,
java.lang.String pDbaUsername,
char[] pDbaPassword,
int pMasterRepositoryId,
TechnologyName pMasterTechnology,
boolean pOverwrite,
IMassImportExportResource pMasterImportSource,
java.lang.String pRegistry,
CryptoAlgo pAlgo,
char[] pExportKey,
boolean pImportWithoutCipherData,
char[] pSupervisorPassword) |
boolean |
createMasterRepositoryFromExport(JdbcProperties pMasterRepositoryJdbcProperties,
java.lang.String pDbaUsername,
char[] pDbaPassword,
TechnologyName pMasterTechnology,
boolean pOverwrite,
IMassImportExportResource pMasterImportSource) |
boolean |
createMasterRepositoryFromExport(JdbcProperties pMasterRepositoryJdbcProperties,
java.lang.String pDbaUsername,
char[] pDbaPassword,
TechnologyName pMasterTechnology,
boolean pOverwrite,
IMassImportExportResource pMasterImportSource,
CryptoAlgo pAlgo,
char[] pExportKey,
boolean pImportWithoutCipherData,
char[] pSupervisorPassword)
Creates Master Repository by importing the exported-resource
|
boolean |
createMasterRepositoryFromExport(JdbcProperties pMasterRepositoryJdbcProperties,
java.lang.String pDbaUsername,
char[] pDbaPassword,
TechnologyName pMasterTechnology,
boolean pOverwrite,
IMassImportExportResource pMasterImportSource,
java.lang.String pRegistry)
Deprecated.
|
IOdiProgressMonitor |
getProgressMonitor()
This method will return the
IODIProgressMonitor instance. |
boolean |
isSupervisorPasswordRequired(JdbcProperties jdbcProperties,
IMassImportExportResource pMasterImportSource,
boolean pImportWithoutCipherData) |
void |
set11gcompatibleMode(boolean pIs11gCompatible)
Sets 11g Compatible mode/
|
void |
setProgressMonitor(IOdiProgressMonitor progressMonitor)
This method will set the upgrade call back to report the status of the
repository upgrades.
|
void |
upgradeMasterRepository(JdbcProperties pJdbcProperties)
Deprecated.
|
void |
upgradeMasterRepository(JdbcProperties pJdbcProperties,
CryptoAlgo pAlgo)
Use to upgrade master repository
|
void |
upgradeMasterRepository(JdbcProperties pMasterRepositoryJdbcProperties,
java.lang.String pGlobalIdUpgradeKey) |
void |
upgradeMasterRepository(JdbcProperties pMasterRepositoryJdbcProperties,
java.lang.String pDbaUsername,
char[] pDbaPassword) |
void |
upgradeMasterRepository(JdbcProperties pMasterRepositoryJdbcProperties,
java.lang.String pDbaUsername,
char[] pDbaPassword,
java.lang.String pRegistry)
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 pEdition,
java.lang.String pMasterUsername,
java.lang.String pMasterPassword,
TechnologyName pMasterTechnology,
CryptoAlgo pAlgo)
Deprecated.
|
void |
upgradeMasterRepository(java.lang.String pMasterUrl,
java.lang.String pMasterDriver,
java.lang.String pEdition,
java.lang.String pMasterUsername,
java.lang.String pMasterPassword,
TechnologyName pMasterTechnology,
java.lang.String pGlobalIdUpgradeKey,
CryptoAlgo pAlgo)
Use to upgrade Master Repository
|
void |
upgradeMasterRepository(java.lang.String pMasterUrl,
java.lang.String pMasterDriver,
java.lang.String pMasterUsername,
java.lang.String pMasterPassword,
TechnologyName pMasterTechnology)
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,
java.lang.String pGlobalIdUpgradeKey) |
void |
validateDatabase(JdbcProperties pMasterRepositoryJdbcProperties,
java.lang.String pDbaUsername,
char[] pDbaPassword,
TechnologyName pMasterTechnology)
This method validates the database versions
|
void |
validateDatabase(JdbcProperties pMasterRepositoryJdbcProperties,
java.lang.String pDbaUsername,
char[] pDbaPassword,
TechnologyName pMasterTechnology,
java.lang.String pRegistry)
This method validates the database version.
|
public static final java.lang.String REPOSITORY_STATUS_OK
public static final java.lang.String REPOSITORY_STATUS_UPGRADING
public static final java.lang.String REPOSITORY_STATUS_INSTALL_FAILED
@Deprecated
public 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
IMasterRepositorySetupThis 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.
createMasterRepository in interface IMasterRepositorySetuppMasterUrl - 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
found@Deprecated
public boolean createMasterRepository(java.lang.String pMasterUrl,
java.lang.String pMasterDriver,
java.lang.String pMasterUsername,
char[] pMasterPassword,
int pMasterRepositoryId,
TechnologyName pMasterTechnology,
boolean pOverwrite,
AuthenticationConfiguration pAuthenticationConfiguration,
PasswordStorageConfiguration pPasswordStorageConfiguration,
IMassImportExportResource pMasterImportSource)
throws RepositorySetupException
createMasterRepository in interface IMasterRepositorySetupRepositorySetupException@Deprecated
public boolean createMasterRepository(java.lang.String pMasterUrl,
java.lang.String pMasterDriver,
java.lang.String pMasterUsername,
java.lang.String pMasterPassword,
int pMasterRepositoryId,
TechnologyName pMasterTechnology,
java.lang.String pEditionName,
boolean pOverwrite,
AuthenticationConfiguration pAuthenticationConfiguration,
PasswordStorageConfiguration pPasswordStorageConfiguration,
IMassImportExportResource pMasterImportSource)
throws RepositorySetupException
RepositorySetupExceptionpublic boolean createMasterRepository(java.lang.String pMasterUrl,
java.lang.String pMasterDriver,
java.lang.String pMasterUsername,
java.lang.String pMasterPassword,
TechnologyName pMasterTechnology,
java.lang.String pEditionName,
boolean pOverwrite,
AuthenticationConfiguration pAuthenticationConfiguration,
PasswordStorageConfiguration pPasswordStorageConfiguration,
IMassImportExportResource pMasterImportSource,
CryptoAlgo pAlgo,
java.util.Properties pProperties)
throws RepositorySetupException
RepositorySetupException@Deprecated
public boolean createMasterRepository(java.lang.String pMasterUrl,
java.lang.String pMasterDriver,
java.lang.String pMasterUsername,
java.lang.String pMasterPassword,
TechnologyName pMasterTechnology,
boolean pOverwrite,
AuthenticationConfiguration pAuthenticationConfiguration,
PasswordStorageConfiguration pPasswordStorageConfiguration,
IMassImportExportResource pMasterImportSource)
throws RepositorySetupException
createMasterRepository in interface IMasterRepositorySetuppMasterUrl - Master Repository Database urlpMasterDriver - Master Repository Database driverpMasterUsername - Master Repository schema username.pMasterPassword - Master Repository schema password.pMasterTechnology - Master Repository technology.pOverwrite - - Flag to indicate to overwrite the repository if exists.pAuthenticationConfiguration - - The (internal / external) authentication configuration.pPasswordStorageConfiguration - - The (internal / external) password storage configuration.pMasterImportSource - - The source to be imported into the new master repository that is to be created.RepositorySetupExceptionpublic void upgradeMasterRepository(java.lang.String pMasterUrl,
java.lang.String pMasterDriver,
java.lang.String pMasterUsername,
java.lang.String pMasterPassword,
TechnologyName pMasterTechnology,
java.lang.String pGlobalIdUpgradeKey)
throws RepositorySetupException
upgradeMasterRepository in interface IMasterRepositorySetuppMasterUrl - Master Repository Database urlpMasterDriver - Master Repository Database driverpMasterUsername - Master Repository schema usernamepMasterPassword - Master Repository schema passwordpMasterTechnology - Master Repository technologypGlobalIdUpgradeKey - Upgrade keyRepositorySetupExceptionpublic void upgradeMasterRepository(java.lang.String pMasterUrl,
java.lang.String pMasterDriver,
java.lang.String pEdition,
java.lang.String pMasterUsername,
java.lang.String pMasterPassword,
TechnologyName pMasterTechnology,
java.lang.String pGlobalIdUpgradeKey,
CryptoAlgo pAlgo)
throws RepositorySetupException
pMasterUrl - Master repository Database urlpMasterDriver - Master repository Database DriverpEdition - Edition name, as defined by EBR architecturepMasterUsername - Master repository schema usernamepMasterPassword - Master repository schema passwordpMasterTechnology - Master repository TechnologypGlobalIdUpgradeKey - Upgrade KeypAlgo - pAlgo the encryption algorithm end user can configure to use in ODI to encrypt password etc sensitive information. In 12.1.3 AES128 and AES256 are supported.RepositorySetupExceptionpublic void upgradeMasterRepository(java.lang.String pMasterUrl,
java.lang.String pMasterDriver,
java.lang.String pMasterUsername,
java.lang.String pMasterPassword,
TechnologyName pMasterTechnology)
throws RepositorySetupException
IMasterRepositorySetupupgradeMasterRepository in interface IMasterRepositorySetuppMasterUrl - Master Repository Database urlpMasterDriver - Master Repository Database driverpMasterUsername - Master Repository schema usernamepMasterPassword - Master Repository schema passwordpMasterTechnology - Master Repository technologyRepositorySetupExceptionRepositoryScriptsNotFoundException - if the script files can't be
found@Deprecated
public void upgradeMasterRepository(java.lang.String pMasterUrl,
java.lang.String pMasterDriver,
java.lang.String pEdition,
java.lang.String pMasterUsername,
java.lang.String pMasterPassword,
TechnologyName pMasterTechnology,
CryptoAlgo pAlgo)
throws RepositorySetupException
RepositorySetupException@Deprecated public void upgradeMasterRepository(JdbcProperties pJdbcProperties) throws RepositorySetupException
IMasterRepositorySetupupgradeMasterRepository in interface IMasterRepositorySetuppJdbcProperties - the jdbc properties of the database where the master repository to upgrade is installedRepositorySetupException - if failed to upgrade the given repositoryRepositoryScriptsNotFoundException - if the script files can't be
foundpublic void upgradeMasterRepository(JdbcProperties pJdbcProperties, CryptoAlgo pAlgo) throws RepositorySetupException
upgradeMasterRepository in interface IMasterRepositorySetuppJdbcProperties - Master Repository JDBC properties (url, driver, user, password)pAlgo - The encryption algorithm to be used for this repository. Valid algorithms are AES-128, AES-256 (Refer CryptoAlgo).RepositorySetupExceptionpublic boolean createMasterRepository(JdbcProperties pMasterRepositoryJdbcProperties, java.lang.String pDbaUsername, char[] pDbaPassword, TechnologyName pMasterTechnology, boolean pOverwrite, AuthenticationConfiguration pAuthenticationConfiguration, PasswordStorageConfiguration pPasswordStorageConfiguration) throws RepositorySetupException
createMasterRepository in interface IMasterRepositorySetuppMasterRepositoryJdbcProperties - Master Repository JDBC properties (url, driver, user, password)pDbaUsername - Dba usernamepDbaPassword - Dba passwordpMasterTechnology - Master Repository technologypOverwrite - Flag to indicate to overwrite the repository if exists.pAuthenticationConfiguration - the (internal / external) authentication configuration.pPasswordStorageConfiguration - the (internal / external) password storage configuration.RepositorySetupExceptionpublic boolean createMasterRepository(JdbcProperties pMasterRepositoryJdbcProperties, java.lang.String pDbaUsername, char[] pDbaPassword, TechnologyName pMasterTechnology, boolean pOverwrite, AuthenticationConfiguration pAuthenticationConfiguration, PasswordStorageConfiguration pPasswordStorageConfiguration, CryptoAlgo pAlgo) throws RepositorySetupException
createMasterRepository in interface IMasterRepositorySetuppMasterRepositoryJdbcProperties - Master Repository JDBC properties (url, driver, user, password)pDbaUsername - Dba usernamepDbaPassword - Dba passwordpMasterTechnology - Master Repository technologypOverwrite - Flag to indicate to overwrite the repository if exists.pAuthenticationConfiguration - The (internal / external) authentication configuration.pPasswordStorageConfiguration - The (internal / external) password storage configuration.pAlgo - The encryption algorithm to be used for this repository. Valid algorithms are AES-128, AES-256 (Refer CryptoAlgo).RepositorySetupExceptionpublic boolean createMasterRepository(JdbcProperties pMasterRepositoryJdbcProperties, java.lang.String pDbaUsername, char[] pDbaPassword, TechnologyName pMasterTechnology, boolean pOverwrite, AuthenticationConfiguration pAuthenticationConfiguration, PasswordStorageConfiguration pPasswordStorageConfiguration, java.lang.String pRegistry) throws RepositorySetupException
createMasterRepository in interface IMasterRepositorySetuppMasterRepositoryJdbcProperties - Master Repository JDBC properties (url, driver, user, password)pDbaUsername - Dba usernamepDbaPassword - Dba passwordpMasterTechnology - Master Repository technology.pOverwrite - Flag to indicate to overwrite the repository if exists.pAuthenticationConfiguration - The (internal / external) authentication configuration.pPasswordStorageConfiguration - The (internal / external) password storage configuration.pRegistry - The Schema Version Registry (SVR) of the MySQL database; null for other databases.RepositorySetupExceptionpublic boolean createMasterRepository(JdbcProperties pMasterRepositoryJdbcProperties, java.lang.String pDbaUsername, char[] pDbaPassword, TechnologyName pMasterTechnology, boolean pOverwrite, AuthenticationConfiguration pAuthenticationConfiguration, PasswordStorageConfiguration pPasswordStorageConfiguration, java.lang.String pRegistry, CryptoAlgo pEncAlgo) throws RepositorySetupException
createMasterRepository in interface IMasterRepositorySetuppMasterRepositoryJdbcProperties - Master Repository JDBC properties (url, driver, user, password)pDbaUsername - Dba usernamepDbaPassword - Dba PasswordpMasterTechnology - Master Repository technology.pOverwrite - - Flag to indicate to overwrite the repository if exists.pAuthenticationConfiguration - - The (internal / external) authentication configuration.pPasswordStorageConfiguration - - The (internal / external) password storage configuration.pRegistry - The Schema Version Registry (SVR) of the MySQL database; null for other databases.pEncAlgo - The encryption algorithm to be used for this repository. Valid algorithms are AES-128, AES-256 (Refer CryptoAlgo).RepositorySetupException@Deprecated public boolean createMasterRepository(JdbcProperties pMasterRepositoryJdbcProperties, java.lang.String pDbaUsername, char[] pDbaPassword, int pMasterRepositoryId, TechnologyName pMasterTechnology, boolean pOverwrite, AuthenticationConfiguration pAuthenticationConfiguration, PasswordStorageConfiguration pPasswordStorageConfiguration) throws RepositorySetupException
IMasterRepositorySetupThis 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.
createMasterRepository in interface IMasterRepositorySetuppMasterRepositoryJdbcProperties - 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
found@Deprecated public boolean createMasterRepository(JdbcProperties pMasterRepositoryJdbcProperties, java.lang.String pDbaUsername, char[] pDbaPassword, int pMasterRepositoryId, TechnologyName pMasterTechnology, boolean pOverwrite, AuthenticationConfiguration pAuthenticationConfiguration, PasswordStorageConfiguration pPasswordStorageConfiguration, java.lang.String pRegistry) throws RepositorySetupException
createMasterRepository in interface IMasterRepositorySetupRepositorySetupException@Deprecated public boolean createMasterRepository(JdbcProperties pMasterRepositoryJdbcProperties, java.lang.String pDbaUsername, char[] pDbaPassword, int pMasterRepositoryId, TechnologyName pMasterTechnology, boolean pOverwrite, AuthenticationConfiguration pAuthenticationConfiguration, PasswordStorageConfiguration pPasswordStorageConfiguration, java.lang.String pRegistry, CryptoAlgo pEncAlgo) throws RepositorySetupException
createMasterRepository in interface IMasterRepositorySetupRepositorySetupExceptionpublic boolean createMasterRepositoryFromExport(JdbcProperties pMasterRepositoryJdbcProperties, java.lang.String pDbaUsername, char[] pDbaPassword, TechnologyName pMasterTechnology, boolean pOverwrite, IMassImportExportResource pMasterImportSource) throws RepositorySetupException
createMasterRepositoryFromExport in interface IMasterRepositorySetuppMasterRepositoryJdbcProperties - Master Repository JDBC properties (url, driver, user, password)pDbaUsername - Dba usernamepDbaPassword - Dba passwordpMasterTechnology - Master Repository technologypOverwrite - Flag to indicate to overwrite the repository if exists.pMasterImportSource - The source to be imported into the new master repository that is to be created.RepositorySetupExceptionpublic boolean createMasterRepositoryFromExport(JdbcProperties pMasterRepositoryJdbcProperties, java.lang.String pDbaUsername, char[] pDbaPassword, TechnologyName pMasterTechnology, boolean pOverwrite, IMassImportExportResource pMasterImportSource, CryptoAlgo pAlgo, char[] pExportKey, boolean pImportWithoutCipherData, char[] pSupervisorPassword) throws RepositorySetupException
createMasterRepositoryFromExport in interface IMasterRepositorySetuppMasterRepositoryJdbcProperties - Master Repository JDBC properties (url, driver, user, password)pDbaUsername - Dba usernamepDbaPassword - Dba passwordpMasterTechnology - Master Repository technologypOverwrite - Flag to indicate to overwrite the repository if exists.pMasterImportSource - The source to be imported into the new master repository that is to be created.pAlgo - The encryption algorithm to be used for this repository. Valid algorithms are AES-128, AES-256 (Refer CryptoAlgo).pExportKey - Export KeypImportWithoutCipherData - Flag to continue import in case of invalid keyRepositorySetupException@Deprecated public boolean createMasterRepositoryFromExport(JdbcProperties pMasterRepositoryJdbcProperties, java.lang.String pDbaUsername, char[] pDbaPassword, int pMasterRepositoryId, TechnologyName pMasterTechnology, boolean pOverwrite, IMassImportExportResource pMasterImportSource) throws RepositorySetupException
IMasterRepositorySetupThis 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.
createMasterRepositoryFromExport in interface IMasterRepositorySetuppMasterRepositoryJdbcProperties - 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
found@Deprecated public boolean createMasterRepositoryFromExport(JdbcProperties pMasterRepositoryJdbcProperties, java.lang.String pDbaUsername, char[] pDbaPassword, TechnologyName pMasterTechnology, boolean pOverwrite, IMassImportExportResource pMasterImportSource, java.lang.String pRegistry) throws RepositorySetupException
IMasterRepositorySetupThis 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.
createMasterRepositoryFromExport in interface IMasterRepositorySetuppMasterRepositoryJdbcProperties - 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.pMasterTechnology - 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.pRegistry - the database to be used for the schema version registry. MySQL databases only.true if the repository has been created, false otherwiseRepositorySetupException - if failed to create that Master RepositoryRepositoryScriptsNotFoundException - if the script files can't be found@Deprecated public boolean createMasterRepositoryFromExport(JdbcProperties pMasterRepositoryJdbcProperties, java.lang.String pDbaUsername, char[] pDbaPassword, int pMasterRepositoryId, TechnologyName pMasterTechnology, boolean pOverwrite, IMassImportExportResource pMasterImportSource, java.lang.String pRegistry) throws RepositorySetupException
IMasterRepositorySetupThis 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.
createMasterRepositoryFromExport in interface IMasterRepositorySetuppMasterRepositoryJdbcProperties - 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.pRegistry - the database to be used for the schema version registry. MySQL databases only.true if the repository has been created,
false otherwiseRepositorySetupException - if failed to create that Master RepositoryRepositoryScriptsNotFoundException - if the script files can't be
foundpublic boolean createMasterRepositoryFromExport(JdbcProperties pMasterRepositoryJdbcProperties, java.lang.String pDbaUsername, char[] pDbaPassword, int pMasterRepositoryId, TechnologyName pMasterTechnology, boolean pOverwrite, IMassImportExportResource pMasterImportSource, java.lang.String pRegistry, CryptoAlgo pAlgo, char[] pExportKey, boolean pImportWithoutCipherData, char[] pSupervisorPassword) throws RepositorySetupException
createMasterRepositoryFromExport in interface IMasterRepositorySetuppMasterRepositoryJdbcProperties - Master Repository JDBC properties (url, driver, user, password)pDbaUsername - Dba usernamepDbaPassword - Dba passwordpMasterRepositoryId - Master Repository IdpMasterTechnology - Master Repository technologypOverwrite - - Flag to indicate to overwrite the repository if exists.pMasterImportSource - - The source to be imported into the new master repository that is to be created.pRegistry - The Schema Version Registry (SVR) of the MySQL database; null for other databases.pAlgo - The encryption algorithm to be used for this repository. Valid algorithms are AES-128, AES-256 (Refer CryptoAlgo).pExportKey - Export KeypImportWithoutCipherData - Flag to continue import without valid keyRepositorySetupExceptionpublic void upgradeMasterRepository(JdbcProperties pMasterRepositoryJdbcProperties, java.lang.String pGlobalIdUpgradeKey) throws RepositorySetupException
upgradeMasterRepository in interface IMasterRepositorySetuppMasterRepositoryJdbcProperties - Master Repository JDBC properties (url, driver, user, password)pGlobalIdUpgradeKey - Upgrade keyRepositorySetupExceptionpublic void upgradeMasterRepository(JdbcProperties pMasterRepositoryJdbcProperties, java.lang.String pDbaUsername, char[] pDbaPassword) throws RepositorySetupException
upgradeMasterRepository in interface IMasterRepositorySetupRepositorySetupExceptionpublic void upgradeMasterRepository(JdbcProperties pMasterRepositoryJdbcProperties, java.lang.String pDbaUsername, char[] pDbaPassword, java.lang.String pRegistry) throws RepositorySetupException
IMasterRepositorySetupupgradeMasterRepository in interface IMasterRepositorySetuppMasterRepositoryJdbcProperties - 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.RepositorySetupException - if failed to upgrade the given repositoryRepositoryScriptsNotFoundException - if the script files can't be
foundpublic void setProgressMonitor(IOdiProgressMonitor progressMonitor)
IMasterRepositorySetupsetProgressMonitor in interface IMasterRepositorySetupIODIProgressMonitorpublic IOdiProgressMonitor getProgressMonitor()
IMasterRepositorySetupIODIProgressMonitor instance.
if not set it will return null.getProgressMonitor in interface IMasterRepositorySetupIODIProgressMonitorpublic void validateDatabase(JdbcProperties pMasterRepositoryJdbcProperties, java.lang.String pDbaUsername, char[] pDbaPassword, TechnologyName pMasterTechnology) throws DatabaseValidationException
pMasterRepositoryJdbcProperties - pDbaUsername - pDbaPassword - pMasterTechnology - DatabaseValidationExceptionpublic void validateDatabase(JdbcProperties pMasterRepositoryJdbcProperties, java.lang.String pDbaUsername, char[] pDbaPassword, TechnologyName pMasterTechnology, java.lang.String pRegistry) throws DatabaseValidationException
pMasterRepositoryJdbcProperties - pDbaUsername - pDbaPassword - pMasterTechnology - pRegistry - - Registry DB name for MySqlDatabaseValidationExceptionpublic boolean isSupervisorPasswordRequired(JdbcProperties jdbcProperties, IMassImportExportResource pMasterImportSource, boolean pImportWithoutCipherData) throws RepositorySetupException
isSupervisorPasswordRequired in interface IMasterRepositorySetupRepositorySetupExceptionpublic void set11gcompatibleMode(boolean pIs11gCompatible)
IMasterRepositorySetupset11gcompatibleMode in interface IMasterRepositorySetup