syndesisio / syndesis-rest

The API for Syndesis - a flexible, customizable, cloud-hosted platform that provides core integration capabilities as a service. It leverages Red Hat's existing product architecture using OpenShift Online/Dedicated and Fuse Integration Services.
https://syndesis-staging.b6ff.rh-idev.openshiftapps.com/api/v1/
Apache License 2.0
6 stars 17 forks source link

WhoAmI endpoint is sometimes unable to provide fullname #799

Closed dsimansk closed 6 years ago

dsimansk commented 7 years ago

I've noticed that sometimes UI is not able to show user's full name. syndesis-rest log is clean of warnings of errors. For me it happens on long running deployments, after restarting syndesis-ui and rest and cleaning-up browser, the username is fetched correctly.

Querying backend with e.g. jquery $.get('/api/v1/users/~')

{"username":"system:serviceaccount:syndesis-qe-next:syndesis-rest","integrations":[]}

Working one:

{"name":"David Simansky","fullName":"David Simansky","username":"dsimansk@redhat.com","integrations":[]}