-
Notifications
You must be signed in to change notification settings - Fork 230
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
Adopt more service catalog API changes #2235
Conversation
|
||
var updateServiceClass = function() { | ||
if (_.get(ctrl.refApiObject, 'kind') !== 'ServiceInstance') { | ||
var instanceName = _.get(ctrl.binding, 'spec.instanceRef.name'); | ||
var instance = _.get(ctrl.serviceInstances, [instanceName]); | ||
var serviceClassName = _.get(instance, 'spec.serviceClassRef.name'); | ||
var serviceClassName = ServiceInstancesService.getServicePlanNameForInstance(instance); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be ServiceInstancesService.getServiceClassNameForInstance
b79db0e
to
3eeb8ea
Compare
Needs catalog and common releases, but @jeff-phillips-18 PTAL |
3eeb8ea
to
cc98596
Compare
cc98596
to
7657983
Compare
@@ -1316,45 +1316,6 @@ angular.module('openshiftConsole') | |||
return !_.isEmpty(alternateBackends); | |||
}; | |||
}) | |||
.filter('serviceClassDisplayName', function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jeff-phillips-18 I removed the filters added to common
Bumped common and catalog versions and added dist [test] |
Origin PR is openshift/origin#16783 |
* Update to v1beta1 instead of v1alpha1 * Cluster prefix for service classes and plans * ServiceInstanceCredential -> ServiceBinding * Check removedFromBrokerCatalog Bump origin-web-common to 0.0.66 and origin-web-catalog to 0.0.54
7657983
to
f5cf00b
Compare
Evaluated for origin web console test up to f5cf00b |
Origin Web Console Test Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin_web_console/333/) (Base Commit: 435773c) (PR Branch Commit: f5cf00b) |
[merge] |
Origin Web Console Merge Results: Waiting: You are in the build queue at position: 1 |
Evaluated for origin web console merge up to f5cf00b |
Bumps origin-web-common to 0.0.66 and origin-web-catalog to 0.0.54
Requires openshift/origin-web-common#223
Requires openshift/origin-web-catalog#475
cc @jeff-phillips-18 @pmorie