dataset/seed/mariadb-client/dictionaries/20_mariadb.xml

38 lines
1.7 KiB
XML
Raw Normal View History

2022-03-08 19:42:28 +01:00
<?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.10">
2022-04-28 21:48:16 +02:00
<services>
<service name="mariadbclient" target="multi-user" engine="creole"/>
</services>
2022-03-08 19:42:28 +01:00
<variables>
<family name="mariadb" description="MariaDB">
<variable name="mariadb_client_server_domainname" type="domainname" description="Nom de domaine du serveur MariaDB" mandatory="True"/>
<variable name="mariadb_client_username" description="Database username" mandatory="True" hidden="True"/>
<variable name="mariadb_client_password" type="secret" description="Database password" mandatory="True" hidden="True"/>
<variable name="mariadb_client_database" description="Database name" mandatory="True" hidden="True"/>
</family>
</variables>
<constraints>
2022-06-25 08:11:37 +02:00
<fill name="get_provider_name">
<param type="variable">zone_name_eth0</param>
<param>MariaDB</param>
<target>mariadb_client_server_domainname</target>
</fill>
2022-03-08 19:42:28 +01:00
<fill name="set_linked">
<param name="linked_server" type="variable">mariadb_client_server_domainname</param>
<param name="linked_provider">clients</param>
<param name="linked_value" type="variable">domain_name_eth0</param>
<target>mariadb_client_username</target>
</fill>
<fill name="get_linked_configuration">
<param name="linked_server" type="variable">mariadb_client_server_domainname</param>
<param name="linked_provider">client_password</param>
<param name="dynamic" type="variable">mariadb_client_username</param>
<target>mariadb_client_password</target>
</fill>
<fill name="calc_value">
<param type="variable">mariadb_client_username</param>
<target>mariadb_client_database</target>
</fill>
</constraints>
</rougail>