Development #32618
atos-genesys: ajout des web-services d'intermédiation
0%
Description
- search
- link-by-id-ref
Fichiers
Révisions associées
atos-genesys: factorize RESPONSE_SELECT_USAGER in tests (#32618)
atos-genesys: add new endpoints search and link-by-id-per (#32618)
xml_request had to be factorized to created xml_request_multiple as the
Genesys web-service for search return multiple results
(all other WS returns only one).
call_select_usager was also factorized to serve as basis for
call_select_usager_by_ref.
The search endpoint does a first call to Genesys for listing REF_PER then
for each REF_PER a call to selectUsagerByRefPer to get the ID_PER and
contact informations necessary for appairage.
Historique
Mis à jour par Benjamin Dauvergne il y a environ 5 ans
- Fichier 0003-atos-genesys-add-new-endpoints-search-and-link-by-id.patch 0003-atos-genesys-add-new-endpoints-search-and-link-by-id.patch ajouté
- Fichier 0002-atos-genesys-factorize-RESPONSE_SELECT_USAGER-in-tes.patch 0002-atos-genesys-factorize-RESPONSE_SELECT_USAGER-in-tes.patch ajouté
- Fichier 0001-atos-genesys-normalize-webservice-url-before-use-326.patch 0001-atos-genesys-normalize-webservice-url-before-use-326.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Emmanuel Cazenave il y a environ 5 ans
C'est la première fois que je tombe sur un connecteur qui propose des endpoints POST et des parameters
, dans ce contexte les paramètres sont ceux de la query string ? application/x-www-form-urlencoded ?
Mis à jour par Benjamin Dauvergne il y a environ 5 ans
Emmanuel Cazenave a écrit :
C'est la première fois que je tombe sur un connecteur qui propose des endpoints POST et des
parameters
, dans ce contexte les paramètres sont ceux de la query string ? application/x-www-form-urlencoded ?
query_string
Je ne trouve pas ça exceptionnel, je l'ai déjà fait à d'autres endroits il me semble, ça a l'avantage d'être simple à déverminer.
Mis à jour par Emmanuel Cazenave il y a environ 5 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Benjamin Dauvergne il y a environ 5 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit d643e759b7699912996a13632ba39baaec88a143 Author: Benjamin Dauvergne <bdauvergne@entrouvert.com> Date: Thu Apr 25 13:52:09 2019 +0200 atos-genesys: add new endpoints search and link-by-id-per (#32618) xml_request had to be factorized to created xml_request_multiple as the Genesys web-service for search return multiple results (all other WS returns only one). call_select_usager was also factorized to serve as basis for call_select_usager_by_ref. The search endpoint does a first call to Genesys for listing REF_PER then for each REF_PER a call to selectUsagerByRefPer to get the ID_PER and contact informations necessary for appairage. commit 6427389205b9aa621259a20d5824f0e401243acc Author: Benjamin Dauvergne <bdauvergne@entrouvert.com> Date: Thu Apr 25 13:49:03 2019 +0200 atos-genesys: factorize RESPONSE_SELECT_USAGER in tests (#32618) commit 33f2a98e2528ab971025c8eeaba218b089ea398f Author: Benjamin Dauvergne <bdauvergne@entrouvert.com> Date: Thu Apr 25 13:48:27 2019 +0200 atos-genesys: normalize webservice url before use (#32618) All web-services exposed does not have the same prefix some are under the path WSUsagerPublik/services/PublikService/ but those for intermediation will be under WSIntermed/services/IntermediationService/. As we used the URL with prefix included as base_url we must normalize it now (remove prefix from base_url).
Mis à jour par Frédéric Péters il y a environ 5 ans
- Statut changé de Résolu (à déployer) à Solution déployée
atos-genesys: normalize webservice url before use (#32618)
All web-services exposed does not have the same prefix some are under the
path WSUsagerPublik/services/PublikService/ but those for intermediation
will be under WSIntermed/services/IntermediationService/. As we used the URL
with prefix included as base_url we must normalize it now
(remove prefix from base_url).