this.storeProfile(name, bsData);
log.info("processing sample objects information");
RepositoryConnectorApi repo;
if (Helper.isRODAidentifier(repositoryURL)) {
RODAConnector roda = new RODAConnector();
Map<String,String> config = new HashMap<String,String>() {{
put(RODAConnector.ENDPOINT_KEY , repositoryURL);
put(RODAConnector.USER_KEY , repositoryUser);
put(RODAConnector.PASS_KEY , repositoryPassword);
}};
roda.updateConfig(config);
repo = roda;
} else {
repo = new SCAPEDataConnectorClient(repositoryURL, repositoryUser, repositoryPassword);
}
this.plan.getSampleRecordsDefinition().setSamplesDescription(description);