[MGRENTITLE-28] (evrk env) No route for "/entitlements/modules/id" when using Kong baseUrl Created: 30/Jan/24  Updated: 31/Jan/24

Status: In Review
Project: mgr-tenant-entitlements
Components: None
Affects versions: None
Fix versions: None

Type: Bug Priority: TBD
Reporter: Yauhen Viazau Assignee: Dima Tkachenko
Resolution: Unresolved Votes: 0
Labels: back-end, epam-eureka
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified
Environment:

"evrk"


Attachments: PNG File image-2024-01-30-12-54-10-283.png     PNG File image-2024-01-31-17-56-47-701.png    
Issue links:
Cloners
clones MGRENTITLE-27 (evrk env) Cannot add or remove app e... Closed
Relates
relates to MGRENTITLE-6 PLACEHOLDER - mgr-tenant-entitlements... In Review
Sprint: Eureka Sprint 45
Story Points: 0.5
Development Team: Eureka
RCA Group: TBD

 Description   

Overview:- No route for "/entitlements/modules/id" when using Kong baseUrl
 

Steps to Reproduce:

  1. Perform the following request :
    1. GET <Kong URL>/entitlements/modules/<module ID>
      1. With valid module ID
  2. Perform the following request :
    1. GET <Kong URL>/entitlements/modules/<module ID>
      1. With invalid module ID

Expected Results: 

Step 1: Response with 200 status and body containing data on module entitlements

Step 2: Response with 200 status and body containing NO data on module entitlements (empty "entitlements" array)

Actual Results:

Steps 1 and 2: Response with 404 status and body containing error message:

Additional Information:

Interested parties:



 Comments   
Comment by Yauhen Viazau [ 31/Jan/24 ]

Tested on "evrk" env - works as expected

GET <Kong URL>/entitlements/modules/:moduleId returns with status 200 and body containing data on specified module entitlements

If invalid moduleId specified, body contains an empty array

Generated at Thu Feb 08 22:18:33 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.