From: Ray Lee Date: Tue, 2 Jun 2020 18:46:47 +0000 (-0400) Subject: NOJIRA: Change version to 6.1-SNAPSHOT. X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=00b8aab7cd359c5fa32467dbf111d74ba74bf191;p=tmp%2Fjakarta-migration.git NOJIRA: Change version to 6.1-SNAPSHOT. --- diff --git a/build.properties b/build.properties index b02bb6fe7..18049463f 100644 --- a/build.properties +++ b/build.properties @@ -9,7 +9,7 @@ host=127.0.0.1 # # Release version info # -release.version=6.0 +release.version=6.1 cspace.release=${release.version}-SNAPSHOT cspace.instance.id=${env.CSPACE_INSTANCE_ID} diff --git a/pom.xml b/pom.xml index 8347e0c08..70b933d03 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ services - 6.0-SNAPSHOT + 6.1-SNAPSHOT UTF-8 ${revision} ${revision} diff --git a/services/common/src/main/java/org/collectionspace/services/common/ServiceMain.java b/services/common/src/main/java/org/collectionspace/services/common/ServiceMain.java index 8c1d1a048..8cba8055d 100644 --- a/services/common/src/main/java/org/collectionspace/services/common/ServiceMain.java +++ b/services/common/src/main/java/org/collectionspace/services/common/ServiceMain.java @@ -74,9 +74,9 @@ import org.slf4j.LoggerFactory; public class ServiceMain { final static Logger logger = LoggerFactory.getLogger(ServiceMain.class); - public static final String VER_DISPLAY_NAME = "CollectionSpace Services v6.0"; + public static final String VER_DISPLAY_NAME = "CollectionSpace Services v6.1"; public static final String VER_MAJOR = "6"; - public static final String VER_MINOR = "0"; + public static final String VER_MINOR = "1"; public static final String VER_PATCH = "0"; public static final String VER_BUILD = "1"; @@ -1251,7 +1251,7 @@ public class ServiceMain { logger.info(String.format("Using prototype Nuxeo server configuration file at path %s", prototypeNuxeoDatasourceFile.getAbsolutePath())); } - + // // If multiple active tenants, set the "default" repository for Nuxeo services to use. // @@ -1313,17 +1313,17 @@ public class ServiceMain { boolean moreThanOne = false; boolean defaultIsSet = false; String defaultRepositoryName = null; - + Hashtable tenantBindingTypeMap = tenantBindingConfigReader.getTenantBindings(); - + // - // Ensure we have at least one tenant binding and at least one corresponding repository domain + // Ensure we have at least one tenant binding and at least one corresponding repository domain // if (tenantBindingTypeMap.values().size() == 0) { String msg = "At least one tenant binding must be configured."; throw new Exception(msg); } - + // // If we have just one tenant, make its (or one of its) repository domain(s) the default one. // @@ -1341,13 +1341,13 @@ public class ServiceMain { logger.error(msg); } } - + if (moreThanOne == true) { - String msg = String.format("The tenant '%s' has more than one repository domain configured to be the default. Please configure only one default repository.", + String msg = String.format("The tenant '%s' has more than one repository domain configured to be the default. Please configure only one default repository.", tbt.getName()); throw new Exception(msg); } - + // // If the only active tenant is not explicitly configuring a repository domain as default, do so now. // @@ -1357,16 +1357,16 @@ public class ServiceMain { defaultIsSet = true; defaultRepositoryName = repositoryDomain.getRepositoryName(); } - + if (logger.isDebugEnabled()) { - String msg = String.format("The tenant '%s' has configured the default repository to be '%s'.", + String msg = String.format("The tenant '%s' has configured the default repository to be '%s'.", tbt.getName(), defaultRepositoryName); logger.debug(msg); } - + return; } - + // // If we have multiple tenants, figure out which one is declaring the default repository. // @@ -1385,7 +1385,7 @@ public class ServiceMain { } } } - + // // If more than one tenant has declared itself the default repository domain then // throw an exception @@ -1394,7 +1394,7 @@ public class ServiceMain { String msg = "More than one tenant is configured to be the repository domain. Please configure only one default repository."; throw new Exception(msg); } - + // // If no tenant has declared itself the default repository, look for an "implied" default. Tenants configured with // no repository name are inferred to be the default repository. If more than one tenant is configured without a repository name,