Project

General

Profile

Tâche #18690

Scénario #18405: Faire un POC d'action de type "externe"

on devrait pouvoir désactiver une action

Added by Emmanuel GARETTE over 6 years ago. Updated over 6 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
01/03/2017
Due date:
% Done:

100%

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

Description

il ne faut pas que l'action apparaisse dans salt ni dans la conf de nginx ni le catalogue

Associated revisions

Revision cbbd827b (diff)
Added by Emmanuel GARETTE over 6 years ago

loading the action lists ref #18690

Revision be43407c (diff)
Added by Emmanuel GARETTE over 6 years ago

don't generate catalog and salt config if action is disactived (ref #18690)

Revision 6979c836 (diff)
Added by Emmanuel GARETTE over 6 years ago

don't add right if action is disactived (ref #18690)

Revision cf16dd83 (diff)
Added by Emmanuel GARETTE over 6 years ago

remote debug (ref #18690)

Revision f2f387f7 (diff)
Added by Emmanuel GARETTE over 6 years ago

action in family_action (ref #18690)

Revision f80e8efa (diff)
Added by Emmanuel GARETTE over 6 years ago

sort action by name (ref #18690)

Revision a950e8ec (diff)
Added by Emmanuel GARETTE over 6 years ago

don't configure action if not activate (ref #18690)

History

#1 Updated by Emmanuel GARETTE over 6 years ago

  • Estimated time set to 4.00 h
  • Remaining (hours) set to 4.0

#2 Updated by Emmanuel GARETTE over 6 years ago

  • Status changed from Nouveau to En cours

#3 Updated by Emmanuel GARETTE over 6 years ago

  • Assigned To set to Emmanuel GARETTE

#4 Updated by Emmanuel GARETTE over 6 years ago

  • % Done changed from 0 to 100
  • Remaining (hours) changed from 4.0 to 1.0

#5 Updated by Scrum Master over 6 years ago

  • Status changed from En cours to Résolu

#6 Updated by Bruno Boiget over 6 years ago

  • Status changed from Résolu to En cours
  • Parent task changed from #18405 to #18246

#7 Updated by Bruno Boiget over 6 years ago

  • Parent task changed from #18246 to #18405

#8 Updated by Bruno Boiget over 6 years ago

  • % Done changed from 100 to 90

désactivation non prise en compte dans la configuration nginx

# CreoleGet activer_sympa
non

dans /etc/nginx/sites-enabled/ead.conf :

    # external url for the action 'symparestreint'
    location /ead/symparestreint {
        proxy_pass http://192.168.0.24:8888/wws2/;
        auth_request /auth_ead_symparestreint;
    }
    location = /auth_ead_symparestreint {
        proxy_method POST;
        proxy_set_header Accept "application/json";
        proxy_set_header Content-Type "application/json";
        proxy_pass http://127.0.0.1:6660;
        # pass parameters to called function to check perms for each URL ?
        proxy_set_body '{"fun":"ead.symparestreint_ping", "client":"local", "tgt":"local"}';
     }

    # external url for the action 'sympa'
    location /ead/sympa {
        proxy_pass http://192.168.0.24:8787/wws/;
        auth_request /auth_ead_sympa;
    }
    location = /auth_ead_sympa {
        proxy_method POST;
        proxy_set_header Accept "application/json";
        proxy_set_header Content-Type "application/json";
        proxy_pass http://127.0.0.1:6660;
        # pass parameters to called function to check perms for each URL ?
        proxy_set_body '{"fun":"ead.sympa_ping", "client":"local", "tgt":"local"}';
     }

#9 Updated by Emmanuel GARETTE over 6 years ago

  • Status changed from En cours to Résolu
  • % Done changed from 90 to 100

Il manquait un commit ...

#10 Updated by Bruno Boiget over 6 years ago

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

Also available in: Atom PDF