-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixer tous les liens depuis les cas d'usages vers Datapass #1685
base: develop
Are you sure you want to change the base?
Fixer tous les liens depuis les cas d'usages vers Datapass #1685
Conversation
@@ -188,7 +188,7 @@ fr: | |||
- **Délibération** : Une délibération est nécessaire lors de votre demande d'habilitation pour justifier de l'utilisation des données demandées pour la tarification. [En savoir plus sur la délibération attendue pour être habilité](<%= faq_index_path(anchor: 'qu-est-ce-qu-une-bonne-deliberation-pour-acceder-a-api-particulier') %>). | |||
|
|||
request_access: | |||
link_datapass: "<%= datapass_base_url %>/api-particulier?demarche=tarification_municipale_enfance_departement" | |||
link_datapass: "<%= datapass_base_url %>/api-particulier?demarche=api-particulier-tarification-municipale-enfance" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@skelz0r je suis en train d'essayer en local de comprendre comment fonctionne les liens de Datapass qui permettent de filtrer les formulaires par cas d'usages.
Mais je n'y parviens pas... est-ce que tu peux m'aider ?
Actuellement tous les liens sont cassés en prod.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dans certains cas, je peux renvoyer directement vers un formulaire précis. Dans d'autres, j'ai besoin de renvoyer vers un groupe de formulaires, "filtrés"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
J'avais fixé pour que ça soit iso v1, donc à priori il n'y a rien à changer.
Peux-tu me pointer 2 liens d'exemple ?
C'est une configuration sur le serveur en "hard" qui fait la redirection de la v1 à la v2. La config est la suivante: (je pense que c'est assez explicite dans le naming pour que tu comprennes). datapass_redirect_to_v2:
- id: 'api_entreprise'
subdomain: 'api-entreprise'
production: true
definition:
from: 'api-entreprise'
to: 'api-entreprise'
demarches_to_index_filtered:
- from: 'marches_publics'
to: 'marches_publics'
- from: 'aides_publiques'
to: 'aides_publiques'
- from: 'subventions_associations'
to: 'subventions_associations'
- from: 'portail_gru'
to: 'portail_gru_preremplissage'
- from: 'portail_gru_instruction'
to: 'portail_gru_instruction'
- from: 'detection_fraude'
to: 'detection_fraude'
demarches_to_formulaire:
- from: 'e_attestations'
to: 'api-entreprise-e-attestations'
- from: 'provigis'
to: 'api-entreprise-provigis'
- from: 'achat_solution'
to: 'api-entreprise-achat-solution'
- from: 'atexo'
to: 'api-entreprise-atexo'
- from: 'mgdis'
to: 'api-entreprise-mgdis'
- from: 'setec'
to: 'api-entreprise-setec-atexo'
- from: 'editeur'
to: 'api-entreprise-editeur'
- id: 'api_particulier'
subdomain: 'api-particulier'
production: true
definition:
from: 'api-particulier'
to: 'api-particulier'
demarches_to_formulaire:
- from: 'arpege-concerto'
to: 'api-particulier-arpege-concerto'
- from: 'ccas-arpege'
to: 'api-particulier-ccas-arpege'
- from: 'abelium'
to: 'api-particulier-abelium'
- from: 'agora-plus'
to: 'api-particulier-agora-plus'
- from: 'cantine-de-france'
to: 'api-particulier-cantine-de-france'
- from: 'bl-enfance-berger-levrault-cnaf'
to: 'api-particulier-bl-enfance-berger-levrault'
- from: 'civil-enfance-ciril-group'
to: 'api-particulier-civil-enfance-ciril-group'
- from: 'docaposte-fast'
to: 'api-particulier-docaposte-fast'
- from: 'odyssee-pandore'
to: 'api-particulier-odyssee-informatique-pandore'
- from: 'technocarte'
to: 'api-particulier-technocarte-ile'
- from: 'nfi-grc'
to: 'api-particulier-nfi'
- from: 'city-family-mushroom-software-cnaf'
to: 'api-particulier-city-family-mushroom-software'
- from: 'amiciel-malice'
to: 'api-particulier-amiciel-malice'
- from: 'qiis'
to: 'api-particulier-qiis-eticket'
- from: 'aiga'
to: 'api-particulier-aiga'
- from: 'teamnet'
to: 'api-particulier-teamnet-axel'
- from: 'jvs-parascol'
to: 'api-particulier-jvs-parascol'
- from: '3d-ouest'
to: 'api-particulier-3d-ouest'
- from: 'entrouvert-publik'
to: 'api-particulier-entrouvert-publik'
- from: 'waigeo'
to: 'api-particulier-waigeo-myperischool'
- from: 'ccas-Melissandre-afi'
to: 'api-particulier-ccas-melissandre-afi'
- from: 'ccas-ArcheMC2'
to: 'api-particulier-ccas-arche-mc2'
- from: 'Coexya'
to: 'api-particulier-coexya'
- from: 'cosoluce-fluo'
to: 'api-particulier-cosoluce-fluo'
- from: 'sigec-maelis'
to: 'api-particulier-sigec-maelis'
demarches_to_index_filtered:
- from: 'gestion_rh_secteur_public'
to: 'gestion_rh_secteur_public'
- from: 'tarification_municipale_enfance'
to: 'tarification_municipale_enfance'
- from: 'ccas'
to: 'ccas'
- from: 'cantines-colleges-lycees-tarification'
to: 'cantines-colleges-lycees-tarification'
- from: 'tarification_transports'
to: 'tarification_transports'
- from: 'aides_facultatives'
to: 'aides_facultatives' |
Cela étant dit je me rends compte que ça a été changé, et comme c'est à 3 endroits (🫠) c'est relou. tbh je pense qu'on devrait simplifier ici (genre les filtrages sur un cas d'usage ça sert à quoi ? si c'est pour filtrer les éditeurs c'est un chemin qui n'existe pas, l'éditeur est censé donner le lien direct, et si la personne se plante elle ne repassera jamais par notre site mais par DataPass). En vrai faudrait tracker --^ |
No description provided.