Plugin Passerelle pour la liaison avec ia.Delib
Go to file
Frédéric Péters 6e011b07a8
gitea/passerelle-imio-ia-delib/pipeline/head This commit looks good Details
ci: build deb package for bookworm (#78968)
2023-08-12 12:44:13 +02:00
debian debian: use debhelper compat level 12 2021-12-12 11:45:38 +01:00
passerelle_imio_ia_delib [TELE-513] use django 2.2 import syntax for reverse 2021-05-25 17:26:11 +02:00
.gitignore [TELE-569] add .vscode 2020-06-22 11:19:26 +02:00
Jenkinsfile ci: build deb package for bookworm (#78968) 2023-08-12 12:44:13 +02: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
changelog.md [TELE-513] use django 2.2 import syntax for reverse 2021-05-25 17:26:11 +02:00
manage.py First commit 2017-06-02 15:12:39 +02:00
setup.py build: sync setup.py for py3 2020-07-03 22:57:43 +02:00
version [TELE-513] use django 2.2 import syntax for reverse 2021-05-25 17:26:11 +02: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]