Skip to content

Feat/api allocation rentree scolaire#164

Open
Samuelfaure wants to merge 17 commits into
developfrom
feat/api_allocation_rentree_scolaire
Open

Feat/api allocation rentree scolaire#164
Samuelfaure wants to merge 17 commits into
developfrom
feat/api_allocation_rentree_scolaire

Conversation

@Samuelfaure

@Samuelfaure Samuelfaure commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Litérallement un claude one-shot

fix https://linear.app/pole-api/issue/API-5967/integrer-lapi

Comment thread siade/config/routes/api_particulier.rb
Comment thread clients/ruby/api_particulier/Gemfile.lock
@Samuelfaure Samuelfaure marked this pull request as ready for review June 2, 2026 09:53
@linear

linear Bot commented Jun 2, 2026

Copy link
Copy Markdown

API-5967

@Samuelfaure Samuelfaure force-pushed the feat/api_allocation_rentree_scolaire branch from 22794ff to 821bf72 Compare June 2, 2026 10:01
@Samuelfaure Samuelfaure requested review from Un3x and skelz0r June 2, 2026 10:02

@skelz0r skelz0r left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quelques points rien de méchant. Je pense qu'on devrait harden la validation pour être sûr qu'on respecte le contrat d'interface (i.e. vérifier qu'on renvoi bien un code référencé).

Comment thread siade/app/organizers/cnav/allocation_rentree_scolaire.rb Outdated
Comment thread siade/spec/fixtures/payloads/cnav/allocation_rentree_scolaire/404.json Outdated
@Samuelfaure Samuelfaure force-pushed the feat/api_allocation_rentree_scolaire branch from 821bf72 to a46f5b0 Compare June 2, 2026 10:12
@Samuelfaure

Copy link
Copy Markdown
Contributor Author

En attente du swagger + credentials pour clotûrer ici

@skelz0r

skelz0r commented Jun 3, 2026

Copy link
Copy Markdown
Member

En attente du swagger + credentials pour clotûrer ici

comment ca en attente du swagger ? 😅 t'as dev les calls sans swagger ?

@Samuelfaure

Copy link
Copy Markdown
Contributor Author

@skelz0r J'ai le contrat d'interface

@skelz0r

skelz0r commented Jun 3, 2026

Copy link
Copy Markdown
Member

donc pas besoin du swagger à priori ?

@Samuelfaure

Copy link
Copy Markdown
Contributor Author

Me faudrait l'URL d'appel exacte (avec les credentials) pour vérifier les payloads dummy

@Samuelfaure Samuelfaure force-pushed the feat/api_allocation_rentree_scolaire branch from a46f5b0 to 02d565d Compare June 3, 2026 11:41
@skelz0r

skelz0r commented Jun 23, 2026

Copy link
Copy Markdown
Member

Pour trace: MeP 6 juillet

Comment thread siade/config/routes/api_particulier.rb Outdated
@Samuelfaure Samuelfaure force-pushed the feat/api_allocation_rentree_scolaire branch 2 times, most recently from 08632e2 to df65eac Compare June 29, 2026 11:08
Was pointing to /api/caf/ping; should point to /api/cnav_allocation_rentree_scolaire/ping to match the provider key declared in siade/config/pings.yml.
The 404.json fixture reused the "L'API n'existe pas" (40401) body
copy-pasted from other CNAV endpoints, which describes a technical
routing error rather than a genuine "dossier not found" case. Swapped
it for the vendor-documented 40411 "Il n'a pas été possible de
récupérer l'information sur la personne", per the API-Prestations
swagger's error catalog. Body content doesn't drive the MSA/CNAF/
regime-less branches (they key off the X-APISECU-FD header and HTTP
status), so behavior and existing test expectations are unchanged.
@Samuelfaure Samuelfaure force-pushed the feat/api_allocation_rentree_scolaire branch from 1f168be to 4edec19 Compare July 2, 2026 10:49
@Samuelfaure Samuelfaure requested review from Un3x and skelz0r July 2, 2026 10:57

@skelz0r skelz0r left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PI: Le message de commit de l'amélioration du ValidateResponse n'est pas assez clair.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants