2018 bis heute | 2017 2016 2015 2014 | 2013 | 2012 | 2011 2010 2009 | 2008 | 2007

(ältere Archiveinträge vor 2007 nicht dargestellt, aber in der Suche enthalten)

Mailingliste - Einträge 2008


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [QF-Test] Get all global variables for a given namespace/group


  • Subject: Re: [QF-Test] Get all global variables for a given namespace/group
  • From: Laurent Dolle <ldolle@?.com>
  • Date: Tue, 26 Feb 2008 16:50:32 +0100


Hello Gregor,

Basically, we want to load variables from several properties files (only last loaded value is taken into account on multi-definitions) and fetch them all into a given group.
Then we want to eventually retrieve all the properties and store them in a file.

So to resume our need we have a set of properties (names unknown) loaded in several steps, and we want finally to get them all.

So a rc.context.getGlobals('group_name') would be great, or at least a way to create manually a global variable in a given group/namespace (rc.setGlobal('group_name:var_name', 'value') does not work actually).

Rgds,
Laurent Dollé

Java Middleware Development

-----

Thales Security Solutions & Services
, on behalf of:
Amadeus - Airline IT - Core Middleware

+33 4 9715 3424



Gregor Schmid <Gregor.Schmid@?.de>
To
qftest-list@?.de
cc
Laurent Dolle <ldolle@?.com>
Subject
Re: [QF-Test] Get all global variables for a given namespace/group


Gregor Schmid <Gregor.Schmid@?.de>  

26/02/2008 15:08




Hello Laurent,

a TestRundDaemon holds its own sets of globals from which the globals
in a newly created DaemonRunContext are initialized. This is different
from the set of globals of a given RunContex at run-time.

What do you need the latter for? Some kind of logging, I suppose.

Inofficially, you can use rc.context.getGlobals() in a 'Server script'
node.

Best regards,
   Greg

Laurent Dolle <ldolle@?.com> writes:

>    Hello,
>    Is there now any way to retrieve all global variables (if possible for
>    a given namespace/group)?
>    This was not really possible 2 years ago (cf.
>    http://www.qfs.de/archive/qftest-list/2006/msg00187.html), but now,
>    since this is possible via the daemon API (getGlobals()), I am
>    wondering if such a feature could not be feasible for a low cost.
>    Rgds,
>    Laurent Dollé
>    Java Middleware Development
>    -----
>    Thales Security Solutions & Services, on behalf of:
>    Amadeus - Airline IT - Core Middleware
>    +33 4 9715 3424

--
Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH                     http://www.qfs.de
Tulpenstr. 41                                Tel: +49 8171 919870
DE-82538 Geretsried                          Fax: +49 8171 919876
GF: Gregor Schmid, Karlheinz Kellerer          HRB München 140833