Skip to content

Make link show up again and pass along token to openshift-jvm #2416

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

Merged
merged 1 commit into from
May 21, 2015

Conversation

gashcrumb
Copy link
Contributor

@liggitt, needed to fix issues found in bugzilla #1222764, whenever you get a chance to review. Thanks!

};
})
.run(function(ProxyPod, BaseHref, HawtioExtension, $templateCache, $compile) {
.run(function(ProxyPod, BaseHref, HawtioExtension, $templateCache, $compile, LocalStorageUserStore) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can't assume this is the user store being used... can call $injector.get(AuthService.UserStore()) to get the configured user store

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah perfect, will change that, thanks.

@liggitt liggitt self-assigned this May 21, 2015
@gashcrumb
Copy link
Contributor Author

@liggitt updated. Had to add UserStore() to AuthService, it wasn't exposed as a function.

@liggitt
Copy link
Contributor

liggitt commented May 21, 2015

ah, I was thinking of AuthServiceProvider.UserStore()... wrong phase of angular


// Returns the configured user store
UserStore: function() {
return _userStore;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if we're exposing this, just return userStore so the caller doesn't have to use $injector.get()

@gashcrumb
Copy link
Contributor Author

@liggitt good call, updated that, ready for your review again when you get a chance...

.query({
jolokiaUrl: jolokiaUrl,
title: title,
returnTo: returnTo
returnTo: returnTo,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove trailing comma

Apply feedback

More tweaks

Remove trailing comma
@gashcrumb
Copy link
Contributor Author

@liggitt removed

@liggitt
Copy link
Contributor

liggitt commented May 21, 2015

[merge]

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/2048/) (Image: devenv-fedora_1591)

@openshift-bot
Copy link
Contributor

Evaluated for origin up to 06d9806

@openshift-bot
Copy link
Contributor

[Test]ing while waiting on the merge queue

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin/2326/)

openshift-bot pushed a commit that referenced this pull request May 21, 2015
@openshift-bot openshift-bot merged commit 5c29f1e into openshift:master May 21, 2015
@gashcrumb gashcrumb deleted the java-link-fixes branch January 18, 2016 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants