Skip to content
Snippets Groups Projects
Commit 1b0b167f authored by felmer's avatar felmer
Browse files

SSDM-7190: openbis-sync plugin not enabled by default. It is disabled because...

SSDM-7190: openbis-sync plugin not enabled by default. It is disabled because it doesn't scale very well.
parent 85070e9e
No related branches found
No related tags found
No related merge requests found
Pipeline #394 failed
......@@ -37,7 +37,7 @@ import ch.systemsx.cisd.common.shared.basic.string.CommaSeparatedListBuilder;
*/
public class SetEnableTechnologiesVariableAction implements PanelAction
{
private static final String[] MODULES = { "dropbox-monitor", "dataset-uploader", "dataset-file-search", "openbis-sync" };
private static final String[] MODULES = { "dropbox-monitor", "dataset-uploader", "dataset-file-search" };
static final String ENABLED_TECHNOLOGIES_VARNAME = "ENABLED_TECHNOLOGIES";
......
......@@ -93,7 +93,7 @@ public class SetEnableTechnologiesVariableActionTest extends AbstractFileSystemT
variables.setProperty(TECHNOLOGY_SCREENING, "true");
updateEnabledTechnologyProperties(variables, false);
assertEquals("[, enabled-modules = dropbox-monitor, dataset-uploader, dataset-file-search, openbis-sync, screening]",
assertEquals("[, enabled-modules = dropbox-monitor, dataset-uploader, dataset-file-search, screening]",
FileUtilities.loadToStringList(corePluginsProperties).toString());
}
......@@ -101,7 +101,7 @@ public class SetEnableTechnologiesVariableActionTest extends AbstractFileSystemT
public void testUpdateInstallationWithOtherEnabledTechnologiesInAs()
{
FileUtilities.writeToFile(corePluginsProperties, "abc = 123\n" + ENABLED_TECHNOLOGIES_KEY
+ "=dropbox-monitor, dataset-uploader, dataset-file-search, openbis-sync, proteomics, my-tech");
+ "=dropbox-monitor, dataset-uploader, dataset-file-search, proteomics, my-tech");
Properties variables = new Properties();
variables.setProperty(TECHNOLOGY_PROTEOMICS, "true");
variables.setProperty(TECHNOLOGY_SCREENING, "false");
......@@ -109,7 +109,7 @@ public class SetEnableTechnologiesVariableActionTest extends AbstractFileSystemT
updateEnabledTechnologyProperties(variables, false);
assertEquals("[abc = 123, " + ENABLED_TECHNOLOGIES_KEY + "=dropbox-monitor, dataset-uploader, "
+ "dataset-file-search, openbis-sync, proteomics, my-tech]",
+ "dataset-file-search, proteomics, my-tech]",
FileUtilities.loadToStringList(corePluginsProperties).toString());
}
......@@ -117,7 +117,7 @@ public class SetEnableTechnologiesVariableActionTest extends AbstractFileSystemT
public void testUpdateUnchangedProperty()
{
FileUtilities.writeToFile(corePluginsProperties, "abc = 123\n" + ENABLED_TECHNOLOGIES_KEY
+ "=dropbox-monitor, dataset-uploader, dataset-file-search, openbis-sync, proteomics");
+ "=dropbox-monitor, dataset-uploader, dataset-file-search, proteomics");
Properties variables = new Properties();
variables.setProperty(TECHNOLOGY_PROTEOMICS, "true");
variables.setProperty(TECHNOLOGY_SCREENING, "false");
......@@ -125,7 +125,7 @@ public class SetEnableTechnologiesVariableActionTest extends AbstractFileSystemT
updateEnabledTechnologyProperties(variables, false);
assertEquals("[abc = 123, " + ENABLED_TECHNOLOGIES_KEY + "=dropbox-monitor, dataset-uploader, "
+ "dataset-file-search, openbis-sync, proteomics]", FileUtilities
+ "dataset-file-search, proteomics]", FileUtilities
.loadToStringList(corePluginsProperties).toString());
}
......@@ -141,7 +141,7 @@ public class SetEnableTechnologiesVariableActionTest extends AbstractFileSystemT
updateEnabledTechnologyProperties(variables, false);
assertEquals("[abc = 123, " + ENABLED_TECHNOLOGIES_KEY + " = dropbox-monitor, dataset-uploader, "
+ "dataset-file-search, openbis-sync, proteomics, screening, answer = 42]",
+ "dataset-file-search, proteomics, screening, answer = 42]",
FileUtilities
.loadToStringList(corePluginsProperties).toString());
}
......@@ -157,7 +157,7 @@ public class SetEnableTechnologiesVariableActionTest extends AbstractFileSystemT
updateEnabledTechnologyProperties(variables, false);
assertEquals("[abc = 123, " + ENABLED_TECHNOLOGIES_KEY + " = dropbox-monitor, dataset-uploader, "
+ "dataset-file-search, openbis-sync, screening]", FileUtilities
+ "dataset-file-search, screening]", FileUtilities
.loadToStringList(corePluginsProperties).toString());
}
......@@ -173,7 +173,7 @@ public class SetEnableTechnologiesVariableActionTest extends AbstractFileSystemT
updateEnabledTechnologyProperties(variables, false);
assertEquals("[a = b, " + ENABLED_TECHNOLOGIES_KEY + " = dropbox-monitor, dataset-uploader, "
+ "dataset-file-search, openbis-sync, screening, gamma = alpha]",
+ "dataset-file-search, screening, gamma = alpha]",
FileUtilities.loadToStringList(corePluginsProperties).toString());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment