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

Upgrade versions of catalog (0.0.27) and common (0.0.39) #1777

Merged
merged 1 commit into from
Jun 28, 2017

Conversation

jeff-phillips-18
Copy link
Member

Added project display name to common bind service form component.

var ctrl = this;
var validityWatcher;
var bindingWatch;
var statusCondition = $filter('statusCondition');
console.dir(ctrl.target);
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we want this in production code?

Copy link
Member

Choose a reason for hiding this comment

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

No, needs to be removed

Copy link
Member Author

Choose a reason for hiding this comment

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

sorry, left over...

ctrl.appToBind = null;
ctrl.serviceToBind = ctrl.target.metadata.name;
loadApplications();
ProjectsService.get(ctrl.target.metadata.namespace).then(_.spread(function(project) {
Copy link
Member

Choose a reason for hiding this comment

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

This is going to cause another request for the project when we already have the project loaded

Copy link
Member Author

Choose a reason for hiding this comment

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

where is the project?

Copy link
Member

Choose a reason for hiding this comment

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

You should update the bindService component to take the project as a param, anywhere we are using that component the project has already been loaded by the main controller for the page

Copy link
Member

Choose a reason for hiding this comment

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

in both list-row and service-instance-row its available as row.state.project

Copy link
Member Author

Choose a reason for hiding this comment

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

Awesome. Thanks @jwforres !

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated. So much better. Thanks again.

Added project display name to common bind service form component.
@jwforres
Copy link
Member

[merge]

@openshift-bot
Copy link

Evaluated for origin web console merge up to f07da83

@openshift-bot
Copy link

openshift-bot commented Jun 28, 2017

Origin Web Console Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_web_console/1607/) (Base Commit: 2fb6223) (PR Branch Commit: f07da83)

@openshift-bot openshift-bot merged commit 648bef7 into openshift:master Jun 28, 2017
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.

4 participants