Project

General

Profile

Actions

Task #2235

closed

Implement support a context in the controller GET method

Added by Vít Švanda almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Vít Švanda
Category:
Rest
Target version:
Start date:
04/30/2020
Due date:
% Done:

100%

Estimated time:
Owner:
Actions #1

Updated by Vít Švanda almost 4 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Vít Švanda to Radek Tomiška
  • % Done changed from 0 to 90

Implemented. For ideal solutions shuld be made big refactoring of Controller and LookupService api. But for this moment is this solution fully works (tested for password of the system and for owner of the VS request).

We dicussed posibility call lookupSerivce only if ID is not UUID. I made this, but I improved idea for this case: If backendId is UUID, but for this UUID is DTO not found, then I try to call lookupService.

Tests were created too..

Commit: https://github.com/bcvsolutions/CzechIdMng/commit/d87c8c9a1780a86a8cf8668585b9a14b6c92cf9e

Actions #2

Updated by Radek Tomiška almost 4 years ago

  • Category set to Rest
  • Status changed from Needs feedback to Resolved
  • Assignee changed from Radek Tomiška to Vít Švanda
  • % Done changed from 90 to 100

I did test and code review, it works, thx!

Actions #3

Updated by Radek Tomiška almost 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF