diff --git a/src/python/dm/ds_web_service/api/dsRestApiFactory.py b/src/python/dm/ds_web_service/api/dsRestApiFactory.py index 07bc253d68f55a37f63a533d123d02944b3d57a9..c5e309b6fcbacc3b8b9c4189c61aea04a98076fb 100755 --- a/src/python/dm/ds_web_service/api/dsRestApiFactory.py +++ b/src/python/dm/ds_web_service/api/dsRestApiFactory.py @@ -49,6 +49,13 @@ class DsRestApiFactory: api = AuthRestApi(username, password, host, port, protocol) return api + @classmethod + def getExperimentRestApi(cls): + from experimentRestApi import ExperimentRestApi + (username, password, host, port, protocol) = cls.__getConfiguration() + api = ExperimentRestApi(username, password, host, port, protocol) + return api + #################################################################### # Testing