Fix communication between RB and RB Gateway
Review Request #9839 — Created March 27, 2018 and submitted
Review Board's RB Gateway support requires POSTing to the
/session
API
(even though it doesn't actually post any form data -- it just passes an
Authorization
header).Also, the
/repos/<repo>/path
endpoint was mistakenly removed because it
does not return useful information. However, Review Board GETs this to
determine if authorization was successful, so I've added it back.
- Ran unit tests.
- Able to authorize in Review Board.
Description | From | Last Updated |
---|---|---|
typo: hte |
david |
- Change Summary:
-
Rebasing all patches.
- Commit:
-
67227c93411a4152ab2e58b6a0b6621e43e99d1ba10d24a08c9695339b2e89fd21daff98a6a41868
- Diff:
-
Revision 2 (+1 -1)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.
- Summary:
-
Support POST for the session APIFix communication between RB and RB Gateway
- Description:
-
Review Board's RB Gateway support requires POSTing to the
/session
API(even though it doesn't actually post any form data -- it just passes an Authorization
header).+ + Also, the
/repos/<repo>/path
endpoint was mistakenly removed because it+ does not return useful information. However, Review Board GETs this to + determine if authorization was successful, so I've added it back. - Testing Done:
-
- Ran unit tests.
~ - Able to request a new session in Review Board.
~ - Able to authorize in Review Board.
- Commit:
-
a10d24a08c9695339b2e89fd21daff98a6a4186834a6e73dd78b262c24d7d6b1b57006cdf2f18a90
- Diff:
-
Revision 3 (+15 -1)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.
- Change Summary:
-
Fixed David's issues.
- Commit:
-
34a6e73dd78b262c24d7d6b1b57006cdf2f18a90952b0d7bff1ab609bd3e2afb64c4737712f70611
- Diff:
-
Revision 4 (+15 -1)
Checks run (2 timed out)
flake8
timed out.
JSHint
timed out.