Plugin Passerelle pour la liaison avec ia.Delib
Go to file
Frédéric Péters ca11a35c5b migrations: mark slug as unique from the start (#20937) 2018-01-11 08:46:47 +01:00
debian add debian packaging 2017-06-03 13:42:19 +02:00
passerelle_imio_ia_delib migrations: mark slug as unique from the start (#20937) 2018-01-11 08:46:47 +01:00
.gitignore Update models.py, iimioiadelib_detail.html, README.md 2017-06-13 14:55:49 +02:00
MANIFEST.in First commit 2017-06-02 15:12:39 +02:00
README.md Update models.py, iimioiadelib_detail.html, README.md 2017-06-13 14:55:49 +02:00
manage.py First commit 2017-06-02 15:12:39 +02:00
setup.py First commit 2017-06-02 15:12:39 +02:00

README.md

Passerelle connector to Liege Lisrue service

Installation

  • add to Passerelle installed apps settings: INSTALLED_APPS += ('passerelle_imio_ia_delib',)

  • enable module: PASSERELLE_APP_PASSERELLE_IMIO_IA_DELIB_ENABLED = True

Usage

  • create and configure new connector

    • Title/description: whatever you want
    • Certificate check: uncheck if the service has no valid certificate
  • test service by clicking on the available links

    • the /testConnection/ endpoint try to establish a connection with IA DELIB
    • the /test_createItem/ endpoint try to create a new point in IA DELIB

Usage in w.c.s.

  • createItem
    • url sample with get method createItem?meetingConfigId=meeting-config-college&proposingGroupId=dirgen&title=Mon%20nouveau%20point&description=Ma%20nouvelle%20description&decision=Ma%20nouvelle%20decision

    • wcs workflow action "call webservice" URL : http://local-passerelle.example.net/passerelle-imio-ia-delib/ia-delib-connecteur/createItem SEND POST DATA :
      proposingGroupId : dirgen meetingConfigId : meeting-config-college description : ="{} {} {} {} {}".format("Réservation de la salle :",form_var_salle,"par", form_var_prenom, form_var_nom) title : My title decision : My decision

      extraAttrs : [{"key":"detailedDescription","value":"<p>{}</p>".format(form_var_user_description)}]
      

      OR detailedDescription : [form_var_user_description]