-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DEVSU-2468] add POST route to gkb user creation #409
base: develop
Are you sure you want to change the base?
Conversation
This comment has been minimized.
This comment has been minimized.
DEVSU-2468
031c5a6
to
e18e361
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #409 +/- ##
===========================================
- Coverage 76.96% 76.85% -0.12%
===========================================
Files 179 179
Lines 6038 6048 +10
Branches 696 697 +1
===========================================
+ Hits 4647 4648 +1
- Misses 1314 1322 +8
- Partials 77 78 +1 ☔ View full report in Codecov by Sentry. |
This comment has been minimized.
This comment has been minimized.
app/routes/graphkb/index.js
Outdated
} catch (error) { | ||
logger.error(error); | ||
return res.status(StatusCodes.SERVICE_UNAVAILABLE).json({ | ||
message: 'GraphKB user creation error', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It'd be good to include the error in the reply so the user knows why its failing, agree @elewis2 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes makes sense to me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(pinging @kttkjl )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would commit c82ee26 be better?
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see comment in conversation
Separate graphkb user creation from ipr user creation, so everything is more in sync in the front-end
See DESVU-2468 for current blocker, which is not enough permissions on IPR API agent user