Skip to content

Conversation

crasherbit
Copy link
Collaborator

@crasherbit crasherbit commented Oct 7, 2025

PIN-7819
PIN-7900

SRS

Description

Implemented POST /eserviceTemplates/{templateId}/versions/ route in m2m gateway

Implementation

  • Finalize SRS
  • JIRA task link in PR, with link to SRS
  • API spec of the route in m2mGatewayApi.yml
  • Documentation: description fields in the spec endpoint, response, errors, params, etc.

Double-check errors

  • Check errors returned by the process API calls (messages should be meaningful, clean, in correct English, etc.)
  • Check spec errors: it should list all non-500 errors, also the ones that pass through from the process

Testing

Checklist:

  • Bruno call added to collection
  • Smoke test Bruno (attach result screenshot)
  • Supertest /api tests
  • /integration tests for the logic in the service

Screen

POST

Crasherbit added 2 commits October 9, 2025 12:37
@crasherbit crasherbit force-pushed the PIN-7819_POST_eserviceTemplateVersions branch from 57ff2ef to e332158 Compare October 9, 2025 10:38
Copy link
Collaborator

@ecamellini ecamellini left a comment

Choose a reason for hiding this comment

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

Implementation differs from the corresponding descriptor creation calls, both in the M2M and in the process/BFF.

Copy link
Collaborator

@ecamellini ecamellini left a comment

Choose a reason for hiding this comment

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

Looks good 🚀 Only minor suggestions and some tests seem to be missing (quick fixes)

@crasherbit crasherbit changed the base branch from develop to release/2.8.0 October 16, 2025 09:06
@ecamellini
Copy link
Collaborator

Diff now contains a lot of unrelated changes, let's wait for release/2.8.0 to be up-to-date with develop, then it should be solved (this PR was probably detached from dev after the release branch?)

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants