nxsconfigserver 2.18.0__py3-none-any.whl → 2.18.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,4 +20,4 @@
20
20
  """ release version module """
21
21
 
22
22
  #: version number
23
- __version__ = "2.18.0"
23
+ __version__ = "2.18.1"
@@ -364,7 +364,7 @@ class XMLConfigurator(object):
364
364
  comps = []
365
365
  if self.__mydb:
366
366
  comps = self.__mydb.dataSources(names)
367
- comps = [self.__instantiate(ds) for ds in comps]
367
+ comps = [self.__dsinstantiate(ds) for ds in comps]
368
368
  return comps
369
369
 
370
370
  def __instantiate(self, xmlcp):
@@ -382,6 +382,18 @@ class XMLConfigurator(object):
382
382
  self.__attachComponents(
383
383
  xmlcp))))
384
384
 
385
+ def __dsinstantiate(self, xmlcp):
386
+ """ instantiates the xml datasource
387
+
388
+ :param xmlcp: xml datasource
389
+ :type xmlcp: :obj:`str`
390
+ :returns: instantiated datasource
391
+ :rtype: :obj:`str`
392
+
393
+ """
394
+ return self.__attachVariables(
395
+ self.__attachDataSources(xmlcp))
396
+
385
397
  def componentDataSources(self, name):
386
398
  """ provides a list of datasources from the given component
387
399
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: nxsconfigserver
3
- Version: 2.18.0
3
+ Version: 2.18.1
4
4
  Summary: Configuration Server for Nexus Data Writer
5
5
  Home-page: http://github.com/jkotan/nexdatas/nxsconfigserver
6
6
  Author: Jan Kotanski, Eugen Wintersberger , Halil Pasic
@@ -3,12 +3,12 @@ nxsconfigserver/Errors.py,sha256=zFZlQNbZV6UlbGGBV149j1DQbPXAkTmYVgaR1QRIXP8,195
3
3
  nxsconfigserver/MYSQLDataBase.py,sha256=54bFG4KFLMkVYMme3bcybve24qgsxKTvCo7vP6RDjTI,22755
4
4
  nxsconfigserver/Merger.py,sha256=t6xX2ETUIy1FYIXvmcEstTwKf9oq_jDtvXIDV6c4kV0,25327
5
5
  nxsconfigserver/NXSConfigServer.py,sha256=kxHx0vugHEin9j5c0iizvIbbi0Z5S6E8MoMDY7csN6k,47113
6
- nxsconfigserver/Release.py,sha256=9ewpv_XVl0c_YuOvqi-Ntvm7H_HchEUOXi0bWKva8I8,895
6
+ nxsconfigserver/Release.py,sha256=ySev_ekpby7YKCnOCMkaWn88bJv1w9JD3gWLWmMGuoI,895
7
7
  nxsconfigserver/StreamSet.py,sha256=sSvXJxoDufmt9_Xu5rFaQsp_4x9gww_zMv0NTiiyLlg,5799
8
- nxsconfigserver/XMLConfigurator.py,sha256=7EzAsnoD5WLzgdEfcq9u7ITNQKZ5Car9I2jxj2DI3hI,36899
8
+ nxsconfigserver/XMLConfigurator.py,sha256=xdifnewlTNIQ3PgHTBvBh83xJUf2qCnqC3Rkq24urzk,37220
9
9
  nxsconfigserver/__init__.py,sha256=dAvNwdxRsIARsH--JgJBAxzyaX3KPzZNStQ6B7SLbjI,1718
10
- nxsconfigserver-2.18.0.data/scripts/NXSConfigServer,sha256=VEAkby0R6UyckF-OofkVDPx3Mkn6rjPrl2xMbbBXqwo,986
11
- nxsconfigserver-2.18.0.dist-info/METADATA,sha256=DsbF-BxvE5W8TpwyM_GnNx3_l6s0D-knin0jYLuHr7Y,14440
12
- nxsconfigserver-2.18.0.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
13
- nxsconfigserver-2.18.0.dist-info/top_level.txt,sha256=TFz-xXdq3yV2iwY44R0uY1F-zqwYDnOmcJlN9kdo1S8,16
14
- nxsconfigserver-2.18.0.dist-info/RECORD,,
10
+ nxsconfigserver-2.18.1.data/scripts/NXSConfigServer,sha256=VEAkby0R6UyckF-OofkVDPx3Mkn6rjPrl2xMbbBXqwo,986
11
+ nxsconfigserver-2.18.1.dist-info/METADATA,sha256=gl_Fm2AY2SrX9TLjvB8U-Uu4ACAlf_lyCQqw8e94J-A,14440
12
+ nxsconfigserver-2.18.1.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
13
+ nxsconfigserver-2.18.1.dist-info/top_level.txt,sha256=TFz-xXdq3yV2iwY44R0uY1F-zqwYDnOmcJlN9kdo1S8,16
14
+ nxsconfigserver-2.18.1.dist-info/RECORD,,