bug4811: generalized snapshot tagging for image upgrade (should also work for MongoDB images in general); more autoscaling group work

This commit is contained in:
Axel Uhl
2021-03-02 16:10:47 +01:00
parent ef37647a7b
commit 501df284ea
19 changed files with 184 additions and 68 deletions
@@ -39,7 +39,7 @@ public class Activator implements BundleActivator {
*/
public void start(BundleContext bundleContext) throws Exception {
Activator.context = bundleContext;
final String defaultServerGroupName = System.getProperty(UserStore.DEFAULT_SERVER_GROUP_NAME_PROPERTY_NAME, ServerInfo.getName() + "-server");
final String defaultServerGroupName = System.getProperty(UserStore.DEFAULT_SERVER_GROUP_NAME_PROPERTY_NAME, ServerInfo.getServerGroupName());
logger.info("Creating user store");
subscriptionApiServiceTracker = ServiceTrackerFactory.createAndOpen(context, SubscriptionApiService.class);
final UserStoreImpl userStore = new UserStoreImpl(defaultServerGroupName);