equinor / flyt

Equinor Flyt (aka. VSM - Value Stream Mapping)
https://flyt.equinor.com
MIT License
4 stars 1 forks source link

Add users full names to useraccess endpoints #703

Closed nesadrian closed 1 month ago

nesadrian commented 6 months ago

In order to complete #197 we need to update the following endpoints to also include the full name of the user:

sir-larsen commented 3 months ago

@nesadrian Full names now added with user creation in SQL database, as well as an endpoint to get users from graph API.

Endpoint: /api/v2/users/query?startsWith={searchTerm}

Running in DEV.

Full names not yet returned in response UserAccess.

nesadrian commented 3 months ago

If we are going to include full names in the "Filter by user" box on the processes page then we need some additional work on the backend. At the moment we call this endpoint when searching: /userAccess/userSearch?q= The endpoint only retrieves users based on short name but should retrieve them based on short and full names. I will bring this up for discussion on the Thursday meeting.

sir-larsen commented 1 month ago

Full name user search running in dev and test.

Endpoint: /api/v2.0/userAccess/userSearchFullName?q={FullName}