Skip to content
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

Show application bindings on overview #1696

Merged
merged 1 commit into from
Jun 13, 2017

Conversation

spadgett
Copy link
Member

@spadgett spadgett commented Jun 13, 2017

https://trello.com/c/YRIHSS4W

Show what applications are bound to what provisioned services using pod presets.

openshift web console 2017-06-13 14-43-12

openshift web console 2017-06-13 14-42-28

cc @rhamilto @benjaminapetersen

@spadgett spadgett requested a review from jwforres June 13, 2017 18:40
@@ -81,6 +81,9 @@
}
}
}
.service-binding h3 small {
Copy link
Member

Choose a reason for hiding this comment

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

Nit: rule is misalphabetized

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah I originally called it .application-binding and forgot to move when I renamed... Will fix.

Copy link
Contributor

@benjaminapetersen benjaminapetersen left a comment

Choose a reason for hiding this comment

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

LGTM! Appreciate the clarity in the grouping function.

@@ -81,30 +89,48 @@
-->
<div class="row">
<div class="col-sm-12" ng-if="row.description">
<p class="pre-wrap" ng-bind-html="row.description | linky"></p>
<span class="pre-wrap" ng-bind-html="row.description | linky"></span>
Copy link
Member

Choose a reason for hiding this comment

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

Semantically, a paragraph is a better choice here.

Copy link
Member

@rhamilto rhamilto left a comment

Choose a reason for hiding this comment

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

A few nits, but looks good. You are a machine, @spadgett! Impressive work.

// Look at each pod preset selector to see if it covers this API object selector.
_.each(podPresetSelectors, function(podPresetSelector, bindingName) {
if (podPresetSelector.covers(applicationSelector)) {
// Keep a map of the traget UID to the binding and the binding to
Copy link
Member

Choose a reason for hiding this comment

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

nit, but typo on target

<small>{{$ctrl.binding.spec.instanceRef.name}}</small>
</h3>
<h3 ng-if="!$ctrl.serviceClass">
{{$ctrl.binding.metadata.name}}
Copy link
Member

Choose a reason for hiding this comment

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

think this was supposed to be updated to the instance name as well

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, thanks

Show what applications are bound to what provisioned services using
pod presets.
@spadgett
Copy link
Member Author

Thanks updated

@jwforres
Copy link
Member

[merge]

@openshift-bot
Copy link

Evaluated for origin web console merge up to d1fe7c3

@openshift-bot
Copy link

openshift-bot commented Jun 13, 2017

Origin Web Console Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_web_console/1524/) (Base Commit: acdadd0)

@openshift-bot openshift-bot merged commit a1c9e73 into openshift:master Jun 13, 2017
@spadgett spadgett deleted the overview-bindings branch June 13, 2017 22:36
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.

5 participants