Skip to content
Snippets Groups Projects
Commit 8a24395f authored by juanf's avatar juanf
Browse files

SSDM-5725 : Remove init cache

parent 21bcd873
No related branches found
No related tags found
No related merge requests found
...@@ -61,9 +61,7 @@ from ch.ethz.sis.openbis.generic.asapi.v3.dto.sample.id import SamplePermId ...@@ -61,9 +61,7 @@ from ch.ethz.sis.openbis.generic.asapi.v3.dto.sample.id import SamplePermId
from ch.ethz.sis.openbis.generic.asapi.v3.dto.experiment.id import ExperimentIdentifier; from ch.ethz.sis.openbis.generic.asapi.v3.dto.experiment.id import ExperimentIdentifier;
from ch.ethz.sis.openbis.generic.server.sharedapi.v3.json import GenericObjectMapper; from ch.ethz.sis.openbis.generic.server.sharedapi.v3.json import GenericObjectMapper;
from ch.systemsx.cisd.openbis.dss.generic.server import DataStoreServer from ch.systemsx.cisd.openbis.dss.generic.server import DataStoreServer
from ch.systemsx.cisd.common.shared.basic.string import StringUtils from ch.systemsx.cisd.common.shared.basic.string import StringUtils
from ch.ethz.sis import PersistentKeyValueStore
#from ch.systemsx.cisd.common.ssl import SslCertificateHelper; #from ch.systemsx.cisd.common.ssl import SslCertificateHelper;
#Plasmapper server used #Plasmapper server used
...@@ -199,9 +197,7 @@ def process(tr, parameters, tableBuilder): ...@@ -199,9 +197,7 @@ def process(tr, parameters, tableBuilder):
tr.setUserId(userId); tr.setUserId(userId);
if method == "init": if method == "init":
if PersistentKeyValueStore.get("$isELNInitDone") != True: isOk = init(tr, parameters, tableBuilder);
isOk = init(tr, parameters, tableBuilder);
PersistentKeyValueStore.put("$isELNInitDone", True);
if method == "isFileAuthUser": if method == "isFileAuthUser":
result = isFileAuthUser(tr, parameters, tableBuilder); result = isFileAuthUser(tr, parameters, tableBuilder);
isOk = True; isOk = True;
......
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