/service-points/{id} endpoint returns 404

Description

To recreate:
Post to /service-points:

{ "id": "20fee9ce-edbb-43cf-890f-0ef65094f5de", "name": "Circ Desk 3", "code": "cd3", "discoveryDisplayName": "Circulation Desk -- Broom Closet" }

mod-inventory-storage returns:

{ "id": "20fee9ce-edbb-43cf-890f-0ef65094f5de", "name": "Circ Desk 3", "code": "cd3", "discoveryDisplayName": "Circulation Desk -- Broom Closet", "metadata": { "createdDate": "2018-04-13T22:29:24.757+0000", "createdByUserId": "1ad737b0-d847-11e6-bf26-cec0c932ce01", "updatedDate": "2018-04-13T22:29:24.757+0000", "updatedByUserId": "1ad737b0-d847-11e6-bf26-cec0c932ce01" } }

GET to /service-points returns:

{ "servicepoints": [ { "id": "20fee9ce-edbb-43cf-890f-0ef65094f5de", "name": "Circ Desk 3", "code": "cd3", "discoveryDisplayName": "Circulation Desk -- Broom Closet", "metadata": { "createdDate": "2018-04-13T22:29:24.757+0000", "createdByUserId": "1ad737b0-d847-11e6-bf26-cec0c932ce01", "updatedDate": "2018-04-13T22:29:24.757+0000", "updatedByUserId": "1ad737b0-d847-11e6-bf26-cec0c932ce01" } } ], "totalRecords": 1 }

GET to /service-points/20fee9ce-edbb-43cf-890f-0ef65094f5de returns:

404 Not found No suitable module found for path /service-points/20fee9ce-edbb-43cf-890f-0ef65094f5de

I note that the module descriptor refers to /service-types/{id} instead of /service-points, maybe that's the problem? The raml refers to /service-points/{servicepointId}

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

blocks

Checklist

hide

TestRail: Results

Activity

Show:

Kurt Nordstrom April 16, 2018 at 6:32 PM

Yep, this is a typo in the module descriptor. I'll put in a patch for it.

Done

Details

Assignee

Reporter

Tester Assignee

Priority

Development Team

Other dev

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created April 13, 2018 at 10:39 PM
Updated November 3, 2023 at 2:55 PM
Resolved May 1, 2018 at 2:51 PM
TestRail: Cases
TestRail: Runs

Flag notifications