Project

General

Profile

Tâche #18035

Scénario #17857: Générer le fichier de catalogue des actions

Générer le catalogue à partir des actions

Added by Lionel Morin almost 5 years ago. Updated almost 5 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
11/24/2016
Due date:
% Done:

90%

Estimated time:
6.00 h
Spent time:
Remaining (hours):
0.0

Associated revisions

Revision 0cb49d43 (diff)
Added by Bruno Boiget almost 5 years ago

update action parsing in creole loader

  • add familiy_action and new attributes in creole.dtd
  • load action families and actions in var_loader / lxml_parser

ref #18035

Revision ffb84b67 (diff)
Added by Bruno Boiget almost 5 years ago

Fix creole.dtd

ref #18035

Revision a2f66575 (diff)
Added by Gwenael Remond almost 5 years ago

loads list as a multi, ref #18035

Revision af6ab679 (diff)
Added by Bruno Boiget almost 5 years ago

adapt action loading to new format

ref #18035

Revision d29c40a0 (diff)
Added by Bruno Boiget almost 5 years ago

generate catalog JSON from actions

ref #18035

Revision bb24bf2a (diff)
Added by Bruno Boiget almost 5 years ago

generate catalog JSON from actions

ref #18035

Revision 64410c03 (diff)
Added by Bruno Boiget almost 5 years ago

generate unique name for actions from XMLs

  • refer to action as family+action_name (action_name not unique across families)

ref #18035 @30m

Revision 5af28c79 (diff)
Added by Lionel Morin over 4 years ago

Re-Fix unique actions name on salt module generation

ref #18035

Revision 06891b1b (diff)
Added by Lionel Morin over 4 years ago

Correction du chargement des actions EWT

  • correction si plusieurs actions par famille

ref #18035

History

#1 Updated by Lionel Morin almost 5 years ago

  • Estimated time set to 6.00 h
  • Remaining (hours) set to 6.0

#2 Updated by Bruno Boiget almost 5 years ago

  • Status changed from Nouveau to En cours

#3 Updated by Bruno Boiget almost 5 years ago

  • Assigned To set to Bruno Boiget

#4 Updated by Bruno Boiget almost 5 years ago

  • Remaining (hours) changed from 6.0 to 5.0

#5 Updated by Bruno Boiget almost 5 years ago

  • % Done changed from 0 to 20

#6 Updated by Scrum Master almost 5 years ago

  • Status changed from En cours to Résolu

#7 Updated by Scrum Master almost 5 years ago

  • Status changed from Résolu to En cours

#8 Updated by Bruno Boiget almost 5 years ago

exemple d'action (/usr/share/eole/creole/extra/shutdown/00action.xml) :

<creole>
    <family_action name="Système" 
                   description="Liste des actions pour gérer le système EOLE" 
                   color="#ddc9e6" 
                   image="system.svg">
       <action type="form" 
           title="Arrêt" 
           description="Arrêt du serveur" 
           image="backup.svg">
            <input>Arrêter</input>
            <profile>ead_admin</profile>
            <ewtapp>ead</ewtapp>
            <tag>shutdown</tag>
            <tag>toto</tag>
       </action>
    </family_action>
    <variables>
    </variables>
    <constraints>
    </constraints>
    <help/>
</creole>

#9 Updated by Bruno Boiget almost 5 years ago

  • Remaining (hours) changed from 5.0 to 3.0

#10 Updated by Bruno Boiget almost 5 years ago

  • % Done changed from 20 to 50

#11 Updated by Bruno Boiget almost 5 years ago

  • % Done changed from 50 to 90
  • Remaining (hours) changed from 3.0 to 1.0

génération d'un catalogue par application dans /etc/ewt/catalogs/<app_name>.json

reste à adapter la configuration NGINX pour servir le fichier (ou le recopier dans static)

#12 Updated by Scrum Master almost 5 years ago

  • Status changed from En cours to Résolu

#13 Updated by Emmanuel GARETTE almost 5 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 1.0 to 0.0

Also available in: Atom PDF