Updated logout step to work in karaf mode#36
Conversation
df1b3a5 to
bac945e
Compare
|
Tested, LGTM |
|
I think that's the wrong way to fix the problem. The swagger page is opened with
|
be1b067 to
7b42f28
Compare
|
@neykov I changed it to open in the same tab. |
|
LGTM. This has been changed back and forth in the past, so @ahgittin, @m4rkmckenna any comments? |
c673054 to
07d782d
Compare
| @@ -0,0 +1,12 @@ | |||
| require.config({ | |||
There was a problem hiding this comment.
where is this file used?
does it need the RAT header?
There was a problem hiding this comment.
Somehow related, #38 activates the rat plugin for the project. So good point about adding license here.
| @@ -81,15 +83,15 @@ | |||
| <a class="logo" href="#" title="Brooklyn, Version 0.10.0-SNAPSHOT"><!-- Logo added via CSS --></a> <!-- BROOKLYN_VERSION --> | |||
There was a problem hiding this comment.
the line 2 above, don't we need to change href="/logout" to href="../../v1/logout" ?
|
@bostko could you revisit Alex and Svet's comments? |
0dc27be to
61333cc
Compare
|
@bostko looks good. Will test and merge if ok. |
|
@bostko Looks like this negatively impacts logging out of the non-Karaf distribution. After logging out I've found that:
We should prompt the user to re-authenticate in the standard distribution. |
- BROOKLYN-323: Simplify LogoutApi - relative urls for swagger html
|
@sjcorbett thanks for the notes! |
|
@bostko thanks for the update. I've confirmed that the browser requires re-authentication in both cases. |
PR depends on apache/brooklyn-server#578
Previously when you are on the API page dropdown menu was not visible.
