Plugin Passerelle pour la liaison avec ia.Delib
Go to file
Christophe Boulanger 7661ca2322 Update Jenkinsfile and version 2018-12-06 14:40:15 +01:00
debian add debian packaging 2017-06-03 13:42:19 +02:00
passerelle_imio_ia_delib remove log level attribute (#27162) 2018-11-19 14:57:35 +01:00
.gitignore Update models.py, iimioiadelib_detail.html, README.md 2017-06-13 14:55:49 +02:00
Jenkinsfile Update Jenkinsfile and version 2018-12-06 14:40:15 +01:00
MANIFEST.in First commit 2017-06-02 15:12:39 +02:00
README.md readme : change title 2018-05-23 15:39:31 +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
version Add Jenkinsfile and version file 2018-12-04 11:25:51 +01:00
version.sh Update Jenkinsfile and version 2018-12-06 14:40:15 +01:00

README.md

Passerelle connector to communicate with IADELIB

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]