name in family or variable must be valid
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<variable name="server_deployed" type="boolean"/>
|
||||
<family name="général">
|
||||
<family name="general" description="général">
|
||||
<variable name="mode_conteneur_actif" type="string" description="No change" auto_save="True">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<variable name="server_deployed" type="boolean"/>
|
||||
<family name="général">
|
||||
<family name="general" description="général">
|
||||
<variable name="mode_conteneur_actif" type="string" description="No change" auto_save="True" mode="expert">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<family name="général">
|
||||
<family name="general" description="général">
|
||||
<!-- this is a comment -->
|
||||
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
|
||||
<value>non</value>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<family name="général">
|
||||
<family name="general" description="général">
|
||||
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<family name="général">
|
||||
<family name="general" description="général">
|
||||
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<family name="général">
|
||||
<family name="general" description="général">
|
||||
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<family name='général'>
|
||||
<family name="general" description="général">
|
||||
<variable name='mode_conteneur_actif1' type='string' description="No change" hidden="True">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
|
@ -1,10 +0,0 @@
|
||||
{
|
||||
"rougail.general.mode_conteneur_actif": {
|
||||
"owner": "default",
|
||||
"value": "non"
|
||||
},
|
||||
"rougail.general.mode_conteneur_actif1": {
|
||||
"owner": "default",
|
||||
"value": "non"
|
||||
}
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
"rougail.general.mode_conteneur_actif": "non",
|
||||
"rougail.general.mode_conteneur_actif1": "non"
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
{
|
||||
"rougail.general.mode_conteneur_actif": {
|
||||
"owner": "default",
|
||||
"value": "non"
|
||||
},
|
||||
"rougail.general.mode_conteneur_actif1": {
|
||||
"owner": "default",
|
||||
"value": "non"
|
||||
}
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
from importlib.machinery import SourceFileLoader
|
||||
from importlib.util import spec_from_loader, module_from_spec
|
||||
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
|
||||
spec = spec_from_loader(loader.name, loader)
|
||||
func = module_from_spec(spec)
|
||||
loader.exec_module(func)
|
||||
for key, value in dict(locals()).items():
|
||||
if key != ['SourceFileLoader', 'func']:
|
||||
setattr(func, key, value)
|
||||
try:
|
||||
from tiramisu3 import *
|
||||
except:
|
||||
from tiramisu import *
|
||||
option_4 = StrOption(name="mode_conteneur_actif1", doc="No change", default="non", properties=frozenset({"mandatory", "normal"}))
|
||||
option_3 = StrOption(name="mode_conteneur_actif", doc="No change", default=Calculation(func.calc_val, Params((ParamOption(option_4)))), properties=frozenset({"force_default_on_freeze", "frozen", "hidden", "normal"}))
|
||||
option_2 = OptionDescription(name="general", doc="Général", children=[option_3, option_4], properties=frozenset({"normal"}))
|
||||
option_1 = OptionDescription(name="rougail", doc="rougail", children=[option_2])
|
||||
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1])
|
@ -2,7 +2,7 @@
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<variable name="server_deployed" type="boolean"/>
|
||||
<family name="général">
|
||||
<family name="general" description="général">
|
||||
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<variable name="server_deployed" type="boolean"/>
|
||||
<family name="général">
|
||||
<family name="general" description="général">
|
||||
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
|
@ -1,18 +0,0 @@
|
||||
{
|
||||
"rougail.general.mode_conteneur_actif": {
|
||||
"owner": "default",
|
||||
"value": "non"
|
||||
},
|
||||
"rougail.general1.leader.leader": {
|
||||
"owner": "default",
|
||||
"value": []
|
||||
},
|
||||
"rougail.general1.leader.follower1": {
|
||||
"owner": [],
|
||||
"value": []
|
||||
},
|
||||
"rougail.general1.leader.follower2": {
|
||||
"owner": [],
|
||||
"value": []
|
||||
}
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
"rougail.general.mode_conteneur_actif": "non",
|
||||
"rougail.general1.leader.leader": []
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
{
|
||||
"rougail.general.mode_conteneur_actif": {
|
||||
"owner": "default",
|
||||
"value": "non"
|
||||
},
|
||||
"rougail.general1.leader.leader": {
|
||||
"owner": "default",
|
||||
"value": []
|
||||
},
|
||||
"rougail.general1.leader.follower1": {
|
||||
"owner": [],
|
||||
"value": []
|
||||
},
|
||||
"rougail.general1.leader.follower2": {
|
||||
"owner": [],
|
||||
"value": []
|
||||
}
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
from importlib.machinery import SourceFileLoader
|
||||
from importlib.util import spec_from_loader, module_from_spec
|
||||
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
|
||||
spec = spec_from_loader(loader.name, loader)
|
||||
func = module_from_spec(spec)
|
||||
loader.exec_module(func)
|
||||
for key, value in dict(locals()).items():
|
||||
if key != ['SourceFileLoader', 'func']:
|
||||
setattr(func, key, value)
|
||||
try:
|
||||
from tiramisu3 import *
|
||||
except:
|
||||
from tiramisu import *
|
||||
option_3 = StrOption(name="mode_conteneur_actif", doc="No change", default="non", properties=frozenset({"mandatory", "normal"}))
|
||||
option_2 = OptionDescription(name="general", doc="general", children=[option_3], properties=frozenset({"normal"}))
|
||||
option_6 = StrOption(name="leader", doc="leader", multi=True)
|
||||
option_7 = StrOption(name="follower1", doc="Followér1", multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue("valfill")})), properties=frozenset({"normal"}))
|
||||
option_8 = StrOption(name="follower2", doc="Followér2", multi=True, default=Calculation(func.calc_val, Params((ParamOption(option_7)))), properties=frozenset({"normal"}))
|
||||
option_5 = Leadership(name="leader", doc="leader", children=[option_6, option_7, option_8], properties=frozenset({"normal"}))
|
||||
option_4 = OptionDescription(name="general1", doc="general1", children=[option_5], properties=frozenset({"normal"}))
|
||||
option_1 = OptionDescription(name="rougail", doc="rougail", children=[option_2, option_4])
|
||||
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1])
|
@ -1,18 +0,0 @@
|
||||
{
|
||||
"rougail.general.mode_conteneur_actif": {
|
||||
"owner": "default",
|
||||
"value": "non"
|
||||
},
|
||||
"rougail.general1.leader.leader": {
|
||||
"owner": "default",
|
||||
"value": []
|
||||
},
|
||||
"rougail.general1.leader.follower1": {
|
||||
"owner": [],
|
||||
"value": []
|
||||
},
|
||||
"rougail.general1.leader.follower2": {
|
||||
"owner": [],
|
||||
"value": []
|
||||
}
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
"rougail.general.mode_conteneur_actif": "non",
|
||||
"rougail.general1.leader.leader": []
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
{
|
||||
"rougail.general.mode_conteneur_actif": {
|
||||
"owner": "default",
|
||||
"value": "non"
|
||||
},
|
||||
"rougail.general1.leader.leader": {
|
||||
"owner": "default",
|
||||
"value": []
|
||||
},
|
||||
"rougail.general1.leader.follower1": {
|
||||
"owner": [],
|
||||
"value": []
|
||||
},
|
||||
"rougail.general1.leader.follower2": {
|
||||
"owner": [],
|
||||
"value": []
|
||||
}
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
from importlib.machinery import SourceFileLoader
|
||||
from importlib.util import spec_from_loader, module_from_spec
|
||||
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
|
||||
spec = spec_from_loader(loader.name, loader)
|
||||
func = module_from_spec(spec)
|
||||
loader.exec_module(func)
|
||||
for key, value in dict(locals()).items():
|
||||
if key != ['SourceFileLoader', 'func']:
|
||||
setattr(func, key, value)
|
||||
try:
|
||||
from tiramisu3 import *
|
||||
except:
|
||||
from tiramisu import *
|
||||
option_3 = StrOption(name="mode_conteneur_actif", doc="No change", default="non", properties=frozenset({"mandatory", "normal"}))
|
||||
option_2 = OptionDescription(name="general", doc="general", children=[option_3], properties=frozenset({"normal"}))
|
||||
option_6 = StrOption(name="leader", doc="Léader", multi=True)
|
||||
option_7 = StrOption(name="follower1", doc="follower1", multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue("valfill")})), properties=frozenset({"normal"}))
|
||||
option_8 = StrOption(name="follower2", doc="follower2", multi=True, default=Calculation(func.calc_val, Params((ParamOption(option_7)))), properties=frozenset({"normal"}))
|
||||
option_5 = Leadership(name="leader", doc="Léader", children=[option_6, option_7, option_8], properties=frozenset({"normal"}))
|
||||
option_4 = OptionDescription(name="general1", doc="general1", children=[option_5], properties=frozenset({"normal"}))
|
||||
option_1 = OptionDescription(name="rougail", doc="rougail", children=[option_2, option_4])
|
||||
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1])
|
@ -1,18 +0,0 @@
|
||||
{
|
||||
"rougail.general.mode_conteneur_actif": {
|
||||
"owner": "default",
|
||||
"value": "non"
|
||||
},
|
||||
"rougail.general.leader.leader": {
|
||||
"owner": "default",
|
||||
"value": []
|
||||
},
|
||||
"rougail.general.leader.follower1": {
|
||||
"owner": [],
|
||||
"value": []
|
||||
},
|
||||
"rougail.general.leader.follower2": {
|
||||
"owner": [],
|
||||
"value": []
|
||||
}
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
"rougail.general.mode_conteneur_actif": "non",
|
||||
"rougail.general.leader.leader": []
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
{
|
||||
"rougail.general.mode_conteneur_actif": {
|
||||
"owner": "default",
|
||||
"value": "non"
|
||||
},
|
||||
"rougail.general.leader.leader": {
|
||||
"owner": "default",
|
||||
"value": []
|
||||
},
|
||||
"rougail.general.leader.follower1": {
|
||||
"owner": [],
|
||||
"value": []
|
||||
},
|
||||
"rougail.general.leader.follower2": {
|
||||
"owner": [],
|
||||
"value": []
|
||||
}
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
from importlib.machinery import SourceFileLoader
|
||||
from importlib.util import spec_from_loader, module_from_spec
|
||||
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
|
||||
spec = spec_from_loader(loader.name, loader)
|
||||
func = module_from_spec(spec)
|
||||
loader.exec_module(func)
|
||||
for key, value in dict(locals()).items():
|
||||
if key != ['SourceFileLoader', 'func']:
|
||||
setattr(func, key, value)
|
||||
try:
|
||||
from tiramisu3 import *
|
||||
except:
|
||||
from tiramisu import *
|
||||
option_3 = StrOption(name="mode_conteneur_actif", doc="No change", default="non", properties=frozenset({"mandatory", "normal"}))
|
||||
option_5 = StrOption(name="leader", doc="leader", multi=True)
|
||||
option_6 = StrOption(name="follower1", doc="follower1", multi=True, default=Calculation(func.calc_val, Params((), kwargs={'valeur': ParamValue("valfill")})), properties=frozenset({"normal"}))
|
||||
option_7 = StrOption(name="follower2", doc="follower2", multi=True, default=Calculation(func.calc_val, Params((ParamOption(option_6)))), properties=frozenset({"normal"}))
|
||||
option_4 = Leadership(name="leader", doc="leader", children=[option_5, option_6, option_7], properties=frozenset({"normal"}))
|
||||
option_2 = OptionDescription(name="general", doc="Général", children=[option_3, option_4], properties=frozenset({"normal"}))
|
||||
option_1 = OptionDescription(name="rougail", doc="rougail", children=[option_2])
|
||||
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1])
|
@ -1,7 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<family name="général">
|
||||
<family name="general" description="général">
|
||||
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
|
||||
<value>oui</value>
|
||||
</variable>
|
||||
|
@ -1,18 +0,0 @@
|
||||
{
|
||||
"rougail.general.condition": {
|
||||
"owner": "default",
|
||||
"value": "non"
|
||||
},
|
||||
"rougail.general.mode_conteneur_actif": {
|
||||
"owner": "default",
|
||||
"value": "non"
|
||||
},
|
||||
"rougail.general.mode_conteneur_actif2": {
|
||||
"owner": "default",
|
||||
"value": "non"
|
||||
},
|
||||
"rougail.general2.mode_conteneur_actif3": {
|
||||
"owner": "default",
|
||||
"value": "non"
|
||||
}
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"rougail.general.condition": "non",
|
||||
"rougail.general.mode_conteneur_actif": "non",
|
||||
"rougail.general.mode_conteneur_actif2": "non",
|
||||
"rougail.general2.mode_conteneur_actif3": "non"
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
{
|
||||
"rougail.general.condition": {
|
||||
"owner": "default",
|
||||
"value": "non"
|
||||
},
|
||||
"rougail.general.mode_conteneur_actif": {
|
||||
"owner": "default",
|
||||
"value": "non"
|
||||
},
|
||||
"rougail.general.mode_conteneur_actif2": {
|
||||
"owner": "default",
|
||||
"value": "non"
|
||||
},
|
||||
"rougail.general2.mode_conteneur_actif3": {
|
||||
"owner": "default",
|
||||
"value": "non"
|
||||
}
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
from importlib.machinery import SourceFileLoader
|
||||
from importlib.util import spec_from_loader, module_from_spec
|
||||
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
|
||||
spec = spec_from_loader(loader.name, loader)
|
||||
func = module_from_spec(spec)
|
||||
loader.exec_module(func)
|
||||
for key, value in dict(locals()).items():
|
||||
if key != ['SourceFileLoader', 'func']:
|
||||
setattr(func, key, value)
|
||||
try:
|
||||
from tiramisu3 import *
|
||||
except:
|
||||
from tiramisu import *
|
||||
option_3 = StrOption(name="condition", doc="No change", default="non", properties=frozenset({"mandatory", "normal"}))
|
||||
option_4 = StrOption(name="mode_conteneur_actif", doc="No change", default="non", properties=frozenset({"mandatory", "normal", Calculation(func.calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True, notraisepropertyerror=True), 'expected': ParamValue("oui")}))}))
|
||||
option_5 = StrOption(name="mode_conteneur_actif2", doc="No change", default="non", properties=frozenset({"mandatory", "normal", Calculation(func.calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True, notraisepropertyerror=True), 'expected': ParamValue("oui")}))}))
|
||||
option_2 = OptionDescription(name="general", doc="Général", children=[option_3, option_4, option_5], properties=frozenset({"normal"}))
|
||||
option_7 = StrOption(name="mode_conteneur_actif3", doc="No change", default="non", properties=frozenset({"force_default_on_freeze", "frozen", "hidden", "mandatory", "normal"}))
|
||||
option_6 = OptionDescription(name="general2", doc="Général2", children=[option_7], properties=frozenset({"normal", Calculation(func.calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_3, todict=True, notraisepropertyerror=True), 'expected': ParamValue("oui")}))}))
|
||||
option_1 = OptionDescription(name="rougail", doc="rougail", children=[option_2, option_6])
|
||||
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1])
|
@ -1,7 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<family name="Général">
|
||||
<family name="general" description="Général">
|
||||
<variable name="condition" type="string" description="No change">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
@ -12,7 +12,7 @@
|
||||
<value>non</value>
|
||||
</variable>
|
||||
</family>
|
||||
<family name="Général2">
|
||||
<family name="general2" description="Général2">
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
<param>oui</param>
|
||||
<target type="variable">mode_conteneur_actif</target>
|
||||
<target type="variable">mode_conteneur_actif2</target>
|
||||
<target type="family">Général2</target>
|
||||
<target type="family">general2</target>
|
||||
</condition>
|
||||
</constraints>
|
||||
</rougail>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<family name="Général">
|
||||
<family name="general" description="Général">
|
||||
<variable name="condition" type="string" description="No change">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
@ -12,7 +12,7 @@
|
||||
<value>non</value>
|
||||
</variable>
|
||||
</family>
|
||||
<family name="Général2">
|
||||
<family name="general2" description="Général2">
|
||||
<variable name="mode_conteneur_actif3" type="string" description="No change" hidden="True">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
@ -24,7 +24,7 @@
|
||||
<param>oui</param>
|
||||
<target type="variable">mode_conteneur_actif</target>
|
||||
<target type="variable">mode_conteneur_actif2</target>
|
||||
<target type="family">Général2</target>
|
||||
<target type="family">general2</target>
|
||||
</condition>
|
||||
</constraints>
|
||||
</rougail>
|
||||
|
@ -1,18 +0,0 @@
|
||||
{
|
||||
"rougail.general.mode_conteneur_actif": {
|
||||
"owner": "default",
|
||||
"value": "non"
|
||||
},
|
||||
"rougail.general_1.leader.leader": {
|
||||
"owner": "default",
|
||||
"value": []
|
||||
},
|
||||
"rougail.general_1.leader.follower1": {
|
||||
"owner": [],
|
||||
"value": []
|
||||
},
|
||||
"rougail.general_1.leader.follower2": {
|
||||
"owner": [],
|
||||
"value": []
|
||||
}
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
"rougail.general.mode_conteneur_actif": "non",
|
||||
"rougail.general_1.leader.leader": []
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
{
|
||||
"rougail.general.mode_conteneur_actif": {
|
||||
"owner": "default",
|
||||
"value": "non"
|
||||
},
|
||||
"rougail.general_1.leader.leader": {
|
||||
"owner": "default",
|
||||
"value": []
|
||||
},
|
||||
"rougail.general_1.leader.follower1": {
|
||||
"owner": [],
|
||||
"value": []
|
||||
},
|
||||
"rougail.general_1.leader.follower2": {
|
||||
"owner": [],
|
||||
"value": []
|
||||
}
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
from importlib.machinery import SourceFileLoader
|
||||
from importlib.util import spec_from_loader, module_from_spec
|
||||
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
|
||||
spec = spec_from_loader(loader.name, loader)
|
||||
func = module_from_spec(spec)
|
||||
loader.exec_module(func)
|
||||
for key, value in dict(locals()).items():
|
||||
if key != ['SourceFileLoader', 'func']:
|
||||
setattr(func, key, value)
|
||||
try:
|
||||
from tiramisu3 import *
|
||||
except:
|
||||
from tiramisu import *
|
||||
option_3 = StrOption(name="mode_conteneur_actif", doc="No change", default="non", properties=frozenset({"mandatory", "normal"}))
|
||||
option_2 = OptionDescription(name="general", doc="general", children=[option_3], properties=frozenset({"normal"}))
|
||||
option_6 = StrOption(name="leader", doc="leader", multi=True, properties=frozenset({"mandatory"}))
|
||||
option_7 = StrOption(name="follower1", doc="follower1", multi=True, properties=frozenset({"normal"}))
|
||||
option_8 = StrOption(name="follower2", doc="follower2", multi=True, properties=frozenset({"normal"}))
|
||||
option_5 = Leadership(name="leader", doc="leader", children=[option_6, option_7, option_8], properties=frozenset({"basic"}))
|
||||
option_4 = OptionDescription(name="general_1", doc="general-1", children=[option_5], properties=frozenset({"basic"}))
|
||||
option_1 = OptionDescription(name="rougail", doc="rougail", children=[option_2, option_4])
|
||||
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1])
|
@ -1,14 +0,0 @@
|
||||
{
|
||||
"rougail.general.mode_conteneur_actif1": {
|
||||
"owner": "default",
|
||||
"value": "non"
|
||||
},
|
||||
"rougail.general.mode_conteneur_actif2": {
|
||||
"owner": "default",
|
||||
"value": "non"
|
||||
},
|
||||
"rougail.other.mode_conteneur_actif3": {
|
||||
"owner": "default",
|
||||
"value": "non"
|
||||
}
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"rougail.general.mode_conteneur_actif1": "non",
|
||||
"rougail.general.mode_conteneur_actif2": "non",
|
||||
"rougail.other.mode_conteneur_actif3": "non"
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
{
|
||||
"rougail.general.mode_conteneur_actif1": {
|
||||
"owner": "default",
|
||||
"value": "non"
|
||||
},
|
||||
"rougail.general.mode_conteneur_actif2": {
|
||||
"owner": "default",
|
||||
"value": "non"
|
||||
},
|
||||
"rougail.other.mode_conteneur_actif3": {
|
||||
"owner": "default",
|
||||
"value": "non"
|
||||
}
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
from importlib.machinery import SourceFileLoader
|
||||
from importlib.util import spec_from_loader, module_from_spec
|
||||
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
|
||||
spec = spec_from_loader(loader.name, loader)
|
||||
func = module_from_spec(spec)
|
||||
loader.exec_module(func)
|
||||
for key, value in dict(locals()).items():
|
||||
if key != ['SourceFileLoader', 'func']:
|
||||
setattr(func, key, value)
|
||||
try:
|
||||
from tiramisu3 import *
|
||||
except:
|
||||
from tiramisu import *
|
||||
option_7 = StrOption(name="mode_conteneur_actif3", doc="No change", default="non", properties=frozenset({"force_default_on_freeze", "frozen", "hidden", "mandatory", "normal"}))
|
||||
option_3 = StrOption(name="mode_conteneur_actif", doc="No change", default="non", properties=frozenset({"mandatory", "normal", Calculation(func.calc_value, Params(ParamValue('disabled'), kwargs={'condition': ParamOption(option_7, todict=True, notraisepropertyerror=True), 'expected': ParamValue("non")}))}))
|
||||
option_4 = StrOption(name="mode_conteneur_actif1", doc="No change", default="non", properties=frozenset({"force_default_on_freeze", "frozen", "hidden", "mandatory", "normal"}))
|
||||
option_5 = StrOption(name="mode_conteneur_actif2", doc="No change", default="non", properties=frozenset({"force_default_on_freeze", "frozen", "hidden", "mandatory", "normal"}))
|
||||
option_2 = OptionDescription(name="general", doc="Général", children=[option_3, option_4, option_5], properties=frozenset({"normal"}))
|
||||
option_6 = OptionDescription(name="other", doc="Other", children=[option_7], properties=frozenset({"normal"}))
|
||||
option_1 = OptionDescription(name="rougail", doc="rougail", children=[option_2, option_6])
|
||||
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1])
|
@ -3,7 +3,7 @@
|
||||
<services/>
|
||||
|
||||
<variables>
|
||||
<family name="proxy authentifié">
|
||||
<family name="proxy_authentifie" description="proxy authentifié">
|
||||
<variable name="toto1" type="port" description="Port d'écoute du proxy" mode="expert">
|
||||
</variable>
|
||||
<variable name="toto2" type="port" description="Port d'écoute du proxy NTLM" mode="expert">
|
||||
|
@ -3,7 +3,7 @@
|
||||
<services/>
|
||||
|
||||
<variables>
|
||||
<family name="proxy authentifié">
|
||||
<family name="proxy_authentifie" description="proxy authentifié">
|
||||
<variable name="toto1" type="port" description="Port d'écoute du proxy" mode="expert">
|
||||
</variable>
|
||||
<variable name="toto2" type="port" description="Port d'écoute du proxy NTLM" mode="expert">
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<family name="général">
|
||||
<family name="general" description="général">
|
||||
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<family name="général">
|
||||
<family name="general" description="général">
|
||||
<variable name="my_var" auto_freeze="True">
|
||||
<value>no</value>
|
||||
</variable>
|
||||
|
@ -7,7 +7,7 @@
|
||||
</service>
|
||||
</services>
|
||||
<variables>
|
||||
<family name="général">
|
||||
<family name="general" description="général">
|
||||
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
|
@ -8,7 +8,7 @@
|
||||
</services>
|
||||
|
||||
<variables>
|
||||
<family name="général">
|
||||
<family name="general" description="général">
|
||||
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<family name="général">
|
||||
<family name="general" description="général">
|
||||
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<family name="général">
|
||||
<family name="general" description="général">
|
||||
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<family name="général">
|
||||
<family name="general" description="général">
|
||||
<variable name="mode_conteneur_actif" type="string" description="No change">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<family name="général">
|
||||
<family name="general" description="général">
|
||||
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<family name="général">
|
||||
<family name="general" description="général">
|
||||
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<family name="général">
|
||||
<family name="general" description="général">
|
||||
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
|
@ -1,10 +0,0 @@
|
||||
{
|
||||
"rougail.general.mode_conteneur_actif": {
|
||||
"owner": "default",
|
||||
"value": "non"
|
||||
},
|
||||
"extra.test.delay": {
|
||||
"owner": "default",
|
||||
"value": 0
|
||||
}
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
"rougail.general.mode_conteneur_actif": "non",
|
||||
"extra.test.delay": 0
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
{
|
||||
"rougail.general.mode_conteneur_actif": {
|
||||
"owner": "default",
|
||||
"value": "non"
|
||||
},
|
||||
"extra.test.delay": {
|
||||
"owner": "default",
|
||||
"value": 0
|
||||
}
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
from importlib.machinery import SourceFileLoader
|
||||
from importlib.util import spec_from_loader, module_from_spec
|
||||
loader = SourceFileLoader('func', 'tests/dictionaries/../eosfunc/test.py')
|
||||
spec = spec_from_loader(loader.name, loader)
|
||||
func = module_from_spec(spec)
|
||||
loader.exec_module(func)
|
||||
for key, value in dict(locals()).items():
|
||||
if key != ['SourceFileLoader', 'func']:
|
||||
setattr(func, key, value)
|
||||
try:
|
||||
from tiramisu3 import *
|
||||
except:
|
||||
from tiramisu import *
|
||||
option_3 = StrOption(name="mode_conteneur_actif", doc="No change", default="non", properties=frozenset({"force_default_on_freeze", "frozen", "hidden", "mandatory", "normal"}))
|
||||
option_2 = OptionDescription(name="general", doc="général", children=[option_3], properties=frozenset({"normal"}))
|
||||
option_1 = OptionDescription(name="rougail", doc="rougail", children=[option_2])
|
||||
option_6 = IntOption(name="delay", doc="délai en minutes avant lancement", default=0, properties=frozenset({"mandatory", "normal"}))
|
||||
option_5 = OptionDescription(name="test", doc="test", children=[option_6], properties=frozenset({"normal"}))
|
||||
option_4 = OptionDescription(name="extra", doc="extra", children=[option_5])
|
||||
option_0 = OptionDescription(name="baseoption", doc="baseoption", children=[option_1, option_4])
|
@ -1,7 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<family name="général">
|
||||
<family name="general" description="général">
|
||||
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<family name="général">
|
||||
<family name="general" description="général">
|
||||
<variable name="server_deployed" type="boolean" description="No change"/>
|
||||
<variable name="activer_ejabberd" type="string" description="No change" hidden="True">
|
||||
<value>non</value>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<family name="général">
|
||||
<family name="general" description="général">
|
||||
<variable name="varname" type="string" description="No change" multi="True">
|
||||
<value>a</value>
|
||||
</variable>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<family name="général">
|
||||
<family name="general" description="général">
|
||||
<variable name="varname" type="string" description="No change" multi="True">
|
||||
<value>a</value>
|
||||
</variable>
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<family name="général">
|
||||
<family name="general" description="général">
|
||||
<variable name="varname" type="string" description="No change" multi="True">
|
||||
<value>a</value>
|
||||
</variable>
|
||||
|
@ -1,17 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<rougail version="0.9">
|
||||
|
||||
<services>
|
||||
<service name='test'>
|
||||
<file>/etc/mailname</file>
|
||||
<file>/rougail.conf</file>
|
||||
</service>
|
||||
</services>
|
||||
|
||||
|
||||
<variables>
|
||||
<family name='général'>
|
||||
<family name="general" description="général">
|
||||
<variable name='mode_conteneur_actif' type='string' description="No change" hidden="True">
|
||||
<value>oui</value>
|
||||
</variable>
|
||||
|
@ -1,7 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<rougail version="0.9">
|
||||
|
||||
<services>
|
||||
<service name='test'>
|
||||
<file>/etc/mailname</file>
|
||||
@ -9,10 +7,8 @@
|
||||
<file>/rougail.conf</file>
|
||||
</service>
|
||||
</services>
|
||||
|
||||
|
||||
<variables>
|
||||
<family name='général'>
|
||||
<family name="general" description="général">
|
||||
<variable name='mode_conteneur_actif' type='string' description="No change" hidden="True">
|
||||
<value>oui</value>
|
||||
</variable>
|
||||
|
@ -1,17 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<rougail version="0.9">
|
||||
|
||||
<services>
|
||||
<service name='test'>
|
||||
<file>/etc/mailname</file>
|
||||
<file>/etc/mailname2</file>
|
||||
</service>
|
||||
</services>
|
||||
|
||||
|
||||
<variables>
|
||||
<family name='général'>
|
||||
<family name="general" description="général">
|
||||
<variable name='mode_conteneur_actif' type='string' description="No change" hidden="True">
|
||||
<value>oui</value>
|
||||
</variable>
|
||||
|
@ -1,16 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<rougail version="0.9">
|
||||
|
||||
<services>
|
||||
<service name='test'>
|
||||
<file>/etc/mailname</file>
|
||||
</service>
|
||||
</services>
|
||||
|
||||
|
||||
<variables>
|
||||
<family name='général'>
|
||||
<family name="general" description="général">
|
||||
<variable name='mode_conteneur_actif' type='string' description="No change" hidden="True">
|
||||
<value>oui</value>
|
||||
</variable>
|
||||
|
@ -1,15 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<rougail version="0.9">
|
||||
|
||||
<services>
|
||||
<service name='test'>
|
||||
</service>
|
||||
</services>
|
||||
|
||||
|
||||
<variables>
|
||||
<family name='général'>
|
||||
<family name="general" description="général">
|
||||
<variable name='mode_conteneur_actif' type='string' description="No change" hidden="True">
|
||||
<value>oui</value>
|
||||
</variable>
|
||||
|
@ -1,15 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<rougail version="0.9">
|
||||
|
||||
<services>
|
||||
<service name='test'>
|
||||
</service>
|
||||
</services>
|
||||
|
||||
|
||||
<variables>
|
||||
<family name='général'>
|
||||
<family name="general" description="général">
|
||||
<variable name='mode_conteneur_actif' type='string' description="No change" hidden="True">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
|
@ -1,15 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<rougail version="0.9">
|
||||
|
||||
<services>
|
||||
<service name='test'>
|
||||
</service>
|
||||
</services>
|
||||
|
||||
|
||||
<variables>
|
||||
<family name='général'>
|
||||
<family name="general" description="général">
|
||||
<variable name='mode_conteneur_actif' type='string' description="No change" hidden="True">
|
||||
<value>oui</value>
|
||||
</variable>
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<family name='général'>
|
||||
<family name="general" description="général">
|
||||
<variable name='mode_conteneur_actif' type='string' description="No change" hidden="True">
|
||||
<value>oui</value>
|
||||
</variable>
|
||||
|
@ -7,7 +7,7 @@
|
||||
</service>
|
||||
</services>
|
||||
<variables>
|
||||
<family name='général'>
|
||||
<family name="general" description="général">
|
||||
<variable name='mode_conteneur_actif' type='string' description="No change" hidden="True">
|
||||
<value>oui</value>
|
||||
</variable>
|
||||
|
@ -1,15 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<rougail version="0.9">
|
||||
|
||||
<services>
|
||||
<service name='ntp'>
|
||||
<ip netmask='nut_monitor_netmask'>nut_monitor_host</ip>
|
||||
</service>
|
||||
</services>
|
||||
|
||||
<variables>
|
||||
<family name='général'>
|
||||
<family name="general" description="général">
|
||||
<variable name="nut_monitor_netmask" type="netmask" mandatory='True' multi="True">
|
||||
<value>255.255.255.0</value>
|
||||
</variable>
|
||||
@ -18,7 +15,6 @@
|
||||
</variable>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<group leader="nut_monitor_netmask">
|
||||
<follower>nut_monitor_host</follower>
|
||||
|
@ -2,11 +2,11 @@
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<family name="test">
|
||||
<variable name="replicationType"/>
|
||||
<variable name="replicationtype" description="replicationType"/>
|
||||
</family>
|
||||
</variables>
|
||||
<constraints>
|
||||
<condition name="disabled_if_in" source="replicationType">
|
||||
<condition name="disabled_if_in" source="replicationtype">
|
||||
<param>leader-leader</param>
|
||||
<target type="variable">replicationType</target>
|
||||
</condition>
|
||||
|
@ -6,7 +6,7 @@
|
||||
</service>
|
||||
</services>
|
||||
<variables>
|
||||
<family name='général'>
|
||||
<family name='general' description="général">
|
||||
<variable name='mode_conteneur_actif' type='string' description="No change" hidden="True">
|
||||
<value>oui</value>
|
||||
</variable>
|
||||
|
@ -1,15 +1,12 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
|
||||
<services>
|
||||
<service name="test">
|
||||
<file>/etc/mailname</file>
|
||||
</service>
|
||||
</services>
|
||||
|
||||
|
||||
<variables>
|
||||
<family name="général">
|
||||
<family name='general' description="général">
|
||||
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
|
||||
<value>oui</value>
|
||||
</variable>
|
||||
|
@ -1,9 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
<services/>
|
||||
|
||||
<variables>
|
||||
<family name="proxy authentifié">
|
||||
<family name="general">
|
||||
<variable name="toto1" type="port" description="Port d'écoute du proxy" mode="expert">
|
||||
</variable>
|
||||
<variable name="toto2" type="port" description="Port d'écoute du proxy NTLM" mode="expert">
|
||||
@ -11,7 +9,6 @@
|
||||
</variable>
|
||||
</family>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<fill name="calc_multi_condition">
|
||||
<param name="value" type="number"/>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<services/>
|
||||
|
||||
<variables>
|
||||
<family name="proxy authentifié">
|
||||
<family name="general">
|
||||
<variable name="toto1" type="port" description="Port d'écoute du proxy" mode="expert">
|
||||
</variable>
|
||||
<variable name="toto2" type="port" description="Port d'écoute du proxy NTLM" mode="expert">
|
||||
|
@ -1,25 +1,19 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
<services/>
|
||||
|
||||
<variables>
|
||||
<family name="proxy authentifié">
|
||||
<variable name="toto1" type="port" description="Port d'écoute du proxy" mode="expert">
|
||||
</variable>
|
||||
<variable name="toto2" type="port" description="Port d'écoute du proxy NTLM" mode="expert">
|
||||
<value>3127</value>
|
||||
</variable>
|
||||
</family>
|
||||
<variable name="toto1" type="port" description="Port d'écoute du proxy" mode="expert">
|
||||
</variable>
|
||||
<variable name="toto2" type="port" description="Port d'écoute du proxy NTLM" mode="expert">
|
||||
<value>3127</value>
|
||||
</variable>
|
||||
</variables>
|
||||
|
||||
<constraints>
|
||||
<fill name="calc_multi_condition">
|
||||
<param>non</param>
|
||||
<param type="number" name="condition_2" propertyerror="True"/>
|
||||
<param name="match">3128</param>
|
||||
<param name="mismatch" type="variable" propertyerror="True">toto2</param>
|
||||
<target>toto1</target>
|
||||
<target>toto1</target>
|
||||
</fill>
|
||||
</constraints>
|
||||
|
||||
</rougail>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<family name="général">
|
||||
<family name="general" description="général">
|
||||
<variable name="activer_ejabberd" type="string" description="No change" hidden="True">
|
||||
<value>non</value>
|
||||
</variable>
|
@ -1,7 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<family name="général">
|
||||
<family name="general" description="général">
|
||||
<variable name="activer_ejabberd" type="string" description="No change" hidden="True">
|
||||
<value>non</value>
|
||||
</variable>
|
@ -1,7 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<family name="général">
|
||||
<family name="general" description="général">
|
||||
<variable name="activer_ejabberd" type="string" description="No change" hidden="True">
|
||||
<value>non</value>
|
||||
</variable>
|
@ -1,7 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<family name="général">
|
||||
<family name="general">
|
||||
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<rougail version="0.9">
|
||||
<variables>
|
||||
<family name="général">
|
||||
<family name="general">
|
||||
<variable name="mode_conteneur_actif" type="string" description="No change" hidden="True">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user