String[] dirArray = null;
// Repo URL will be generated inside createInternalRepository method
RepositoryInfoBean repoInfoBean = new RepositoryInfoBean(repoURL, getAlias(), getSubscriber().getTenantDomain(),
defaultRepoUserName, defaultRepoPassword, dirArray);
RepositoryCreator repoCreator = new RepositoryCreator(repoInfoBean);
try {
repository = repoCreator.createInternalRepository();
} catch (Exception e) {
String msg = "Error occurred in creating internal repository. ";
log.error( msg + e.getMessage());
throw new ADCException(msg);
}