Skip to content
Permalink
Browse files
Merge pull request #16 from myrle-krantz/develop
Increasing size of host field to accommodate more interesting DB setups
  • Loading branch information
myrle-krantz committed Aug 3, 2017
2 parents 192355a + 5498ad7 commit ccc105ef057573b50c613fe073c4d4531e0852a3
Showing 2 changed files with 5 additions and 2 deletions.
@@ -207,7 +207,7 @@ private void initializeDatabase() throws Exception {
" identifier VARCHAR(32) NOT NULL," +
" driver_class VARCHAR(255) NOT NULL," +
" database_name VARCHAR(32) NOT NULL," +
" host VARCHAR(32) NOT NULL," +
" host VARCHAR(512) NOT NULL," +
" port VARCHAR(5) NOT NULL," +
" a_user VARCHAR(32) NOT NULL," +
" pwd VARCHAR(32) NOT NULL," +
@@ -265,7 +265,10 @@ EventExpectation createOrFindPermittableGroup(
final Set<PermittableEndpoint> existingGroupPermittables = new HashSet<>(existingGroup.getPermittables());
final Set<PermittableEndpoint> newGroupPermittables = new HashSet<>(permittableGroup.getPermittables());
if (!existingGroupPermittables.equals(newGroupPermittables)) {
logger.error("Group '{}' already exists for tenant {}, but has different contents.", permittableGroup.getIdentifier(), TenantContextHolder.checkedGetIdentifier());
logger.warn("Group '{}' already exists for tenant {}, but has different contents. " +
"Needed contents are '{}', existing contents are '{}'",
permittableGroup.getIdentifier(), TenantContextHolder.checkedGetIdentifier(),
newGroupPermittables, existingGroupPermittables);
}
}
catch (final RuntimeException unexpected)

0 comments on commit ccc105e

Please sign in to comment.