This commit is contained in:
Lucio Lelii 2018-10-18 08:00:09 +00:00
parent 3d509ae807
commit bf7e31697d
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ public class InfrastructureDialoguer {
public DatabaseInfo getDatabaseInfo(String resourceName) throws Exception{ public DatabaseInfo getDatabaseInfo(String resourceName) throws Exception{
DatabaseInfo dbi = new DatabaseInfo(); DatabaseInfo dbi = new DatabaseInfo();
LOGGER.debug("Searching for Database "+resourceName+" in scope "+scope); LOGGER.debug("Searching for Database {} in scope {}", resourceName, scope);
SimpleQuery query = queryFor(ServiceEndpoint.class); SimpleQuery query = queryFor(ServiceEndpoint.class);
// query.addCondition("$resource/Profile/Category/text() eq 'Database' and $resource/Profile/Name eq 'StatisticalManagerDataBase' "); // query.addCondition("$resource/Profile/Category/text() eq 'Database' and $resource/Profile/Name eq 'StatisticalManagerDataBase' ");
// query.addCondition("$resource/Profile/Category/text() eq 'Database' and $resource/Profile/Name eq '"+resourceName+"' "); // query.addCondition("$resource/Profile/Category/text() eq 'Database' and $resource/Profile/Name eq '"+resourceName+"' ");
@ -51,7 +51,7 @@ public class InfrastructureDialoguer {
dbi.driver = property.value(); dbi.driver = property.value();
} }
LOGGER.debug("Found Database : "+dbi); LOGGER.debug("Found Database : {}",dbi);
} }
if (dbi.url == null) if (dbi.url == null)