dicos/99_one-frontend.xml: Ajout des variables pour la market place

On donne la possibilité de saisir l'adresse d'un market centrel (ex académie ou EOLE).

ref #9543 @30m
This commit is contained in:
Philippe Caseiro 2014-11-12 14:58:50 +01:00
parent f4377ec74b
commit 9244ce0198
2 changed files with 14 additions and 0 deletions

View File

@ -37,6 +37,10 @@
<value>fr_FR</value> <value>fr_FR</value>
</variable> </variable>
<variable name='sunstone_auth_modes' type='string' description="Modes supplémentaires d'authentification des utilisateurs" mode='expert'/> <variable name='sunstone_auth_modes' type='string' description="Modes supplémentaires d'authentification des utilisateurs" mode='expert'/>
<variable name='activer_market_place' type='oui/non' description="Activer l'utilisation d'une place de marché distante" mode='expert'>
<value>non</value>
</variable>
<variable name='market_place_url' type='web_address' description="Adresse de la place de marché distante" mode='expert'/>
<variable name='activer_market_views' type='oui/non' description="Activer l'intégration appmarket dans Sunstone" mode="expert"> <variable name='activer_market_views' type='oui/non' description="Activer l'intégration appmarket dans Sunstone" mode="expert">
<value>non</value> <value>non</value>
</variable> </variable>
@ -69,6 +73,7 @@
<target type='variable'>ip_sunstone</target> <target type='variable'>ip_sunstone</target>
<target type='variable'>langue_sunstone</target> <target type='variable'>langue_sunstone</target>
</condition> </condition>
<condition name='disabled_if_in' source='activer_market_views'> <condition name='disabled_if_in' source='activer_market_views'>
<param>non</param> <param>non</param>
<target type='variable'>appmarket_endpoint</target> <target type='variable'>appmarket_endpoint</target>
@ -76,6 +81,11 @@
<target type='variable'>appmarket_password</target> <target type='variable'>appmarket_password</target>
<target type='filelist'>appmarket</target> <target type='filelist'>appmarket</target>
</condition> </condition>
<condition name='disabled_if_in' source='activer_market_place'>
<param>non</param>
<target type='variable'>market_place_url</target>
</condition>
</constraints> </constraints>
<help> <help>
<variable name='activer_onefrontend'>Interface d'administration du Cluster OpenNebula.</variable> <variable name='activer_onefrontend'>Interface d'administration du Cluster OpenNebula.</variable>

View File

@ -118,7 +118,11 @@
# Marketplace endpoint # Marketplace endpoint
# #
%if getVar('activer_market_place','non') == 'oui'
:Marketplace_url: %%market_place_url
%else
:marketplace_url: http://marketplace.c12g.com/appliance :marketplace_url: http://marketplace.c12g.com/appliance
%end if
%if %%getVar('activer_oneflow', 'non') == 'oui' %if %%getVar('activer_oneflow', 'non') == 'oui'
################################################################################ ################################################################################