Skip to content

Commit 0c086e6

Browse files
author
OpenShift Bot
committed
bump(github.com/openshift/origin-web-console): adf6034c1033297756e0b04417de3cc849d4532b
1 parent 05b9ea8 commit 0c086e6

File tree

1 file changed

+20
-14
lines changed

1 file changed

+20
-14
lines changed

pkg/assets/bindata.go

+20-14
Original file line numberDiff line numberDiff line change
@@ -93805,7 +93805,7 @@ a.exports = '<div ng-if="!$ctrl.success && !$ctrl.error">\n <div ng-if="!$ctrl.
9380593805
}, function(a, b) {
9380693806
a.exports = '<bind-service-form service-class="$ctrl.serviceClass.resource"\n service-class-name="$ctrl.serviceClass.name"\n applications="$ctrl.applications"\n form-name="$ctrl.forms.bindForm"\n allow-no-binding="true"\n project-name="$ctrl.projectDisplayName"\n bind-type="$ctrl.bindType"\n app-to-bind="$ctrl.appToBind">\n</bind-service-form>\n';
9380793807
}, function(a, b) {
93808-
a.exports = '<div class="config-top">\n <form name="$ctrl.forms.orderConfigureForm" class="config-form">\n <select-project selected-project="$ctrl.selectedProject" name-taken="$ctrl.nameTaken"></select-project>\n <catalog-parameters\n ng-if="$ctrl.parameterSchema"\n model="$ctrl.parameterData"\n parameter-schema="$ctrl.parameterSchema">\n </catalog-parameters>\n </form>\n <div ng-if="$ctrl.error" class="has-error">\n <span class="help-block">{{$ctrl.error}}</span>\n </div>\n</div>\n';
93808+
a.exports = '<div class="config-top">\n <form name="$ctrl.forms.orderConfigureForm" class="config-form">\n <select-project selected-project="$ctrl.selectedProject" name-taken="$ctrl.nameTaken"></select-project>\n <catalog-parameters\n ng-if="$ctrl.parameterSchema.properties"\n model="$ctrl.parameterData"\n parameter-schema="$ctrl.parameterSchema">\n </catalog-parameters>\n </form>\n <div ng-if="$ctrl.error" class="has-error">\n <span class="help-block">{{$ctrl.error}}</span>\n </div>\n</div>\n';
9380993809
}, function(a, b) {
9381093810
a.exports = '<div class="config-top">\n <div class="select-plans">\n <h3>Select a Plan</h3>\n <div ng-repeat="plan in $ctrl.serviceClass.resource.plans" class="radio">\n <label>\n <input\n type="radio"\n ng-model="$ctrl.planIndex"\n ng-change="$ctrl.selectPlan(plan)"\n value="{{$index}}">\n <span class="plan-name">{{plan.externalMetadata.displayName || plan.name}}</span>\n <!-- TODO: truncate long text -->\n <div ng-if="plan.description">{{plan.description}}</div>\n <!-- TODO: show plan bullets -->\n </label>\n </div>\n </div>\n</div>\n';
9381193811
}, function(a, b) {
@@ -94492,18 +94492,18 @@ function a(a, b) {
9449294492
this.resource = a, this.catalogSrv = b, this.imageUrl = this.getImage(), this.iconClass = this.getIcon(), this.name = this.getName(), this.description = this.getDescription(), this.longDescription = this.getLongDescription(), this.tags = this.getTags();
9449394493
}
9449494494
return a.prototype.getImage = function() {
94495-
return e.get(this.resource, "externalMetadata.imageUrl", "");
94495+
return e.get(this.resource, "externalMetadata.imageUrl") || "";
9449694496
}, a.prototype.getIcon = function() {
94497-
var a = e.get(this.resource, [ "externalMetadata", "console.openshift.io/iconClass" ], "fa fa-clone");
94497+
var a = e.get(this.resource, [ "externalMetadata", "console.openshift.io/iconClass" ]) || "fa fa-clone";
9449894498
return a = -1 !== a.indexOf("icon-") ? "font-icon " + a :a;
9449994499
}, a.prototype.getName = function() {
94500-
return e.get(this.resource, "externalMetadata.displayName", this.resource.metadata.name);
94500+
return e.get(this.resource, "externalMetadata.displayName") || this.resource.metadata.name;
9450194501
}, a.prototype.getDescription = function() {
94502-
return e.get(this.resource, "description", "");
94502+
return e.get(this.resource, "description") || "";
9450394503
}, a.prototype.getLongDescription = function() {
94504-
return e.get(this.resource, "externalMetadata.longDescription", "");
94504+
return e.get(this.resource, "externalMetadata.longDescription") || "";
9450594505
}, a.prototype.getTags = function() {
94506-
return e.get(this.resource, "alphaTags", []);
94506+
return e.get(this.resource, "alphaTags") || [];
9450794507
}, a;
9450894508
}();
9450994509
b.ServiceItem = g;
@@ -94672,15 +94672,18 @@ m.clearValidityWatcher(), m.ctrl.nextTitle = "Create", m.reviewStep.allowed = !0
9467294672
}, this.showResults = function() {
9467394673
m.clearValidityWatcher(), m.ctrl.nextTitle = "Close", m.ctrl.wizardDone = !0, m.createApp();
9467494674
}, this.onProjectUpdate = function() {
94675-
m.isNewProject() ? (m.ctrl.serviceInstances = [], m.updateBindability()) :(m.ctrl.updating = !0, m.ProjectsService.get(m.ctrl.selectedProject.metadata.name).then(e.spread(function(a, b) {
94676-
var c = {
94675+
!m.instancesSupported || m.isNewProject() ? (m.ctrl.serviceInstances = [], m.updateBindability()) :(m.ctrl.updating = !0, m.DataService.list({
9467794676
group:"servicecatalog.k8s.io",
9467894677
resource:"instances"
94679-
};
94680-
m.watches.push(m.DataService.watch(c, b, function(a) {
94678+
}, {
94679+
namespace:m.ctrl.selectedProject.metadata.name
94680+
}, null, {
94681+
errorNotification:!1
94682+
}).then(function(a) {
9468194683
m.ctrl.serviceInstances = e.filter(e.toArray(a.by("metadata.name")), m.isServiceBindable), m.sortServiceInstances(), m.ctrl.updating = !1, m.updateBindability();
94684+
}, function(a) {
94685+
m.Logger.warn("Failed to list instances in namespace " + m.ctrl.selectedProject.metadata.name, a), m.ctrl.updating = !1, m.ctrl.serviceInstances = [], m.updateBindability();
9468294686
}));
94683-
})));
9468494687
}, this.isServiceBindable = function(a) {
9468594688
return m.BindingService.isServiceBindable(a, m.ctrl.serviceClasses);
9468694689
}, this.$scope = a, this.$filter = b, this.$location = c, this.$q = d, this.BuilderAppService = f, this.ProjectsService = g, this.DataService = h, this.APIService = i, this.BindingService = j, this.Logger = k, this.ctrl.serviceToBind = null, this.ctrl.showPodPresets = e.get(l, [ "ENABLE_TECH_PREVIEW_FEATURE", "pod_presets" ], !1);
@@ -94714,7 +94717,10 @@ prevEnabled:!1,
9471494717
onShow:this.showResults
9471594718
}, this.ctrl.steps = [ this.configStep, this.bindStep, this.reviewStep ], this.ctrl.versions = this.getVersions(), this.ctrl.istag = e.first(this.ctrl.versions), this.ctrl.nameMaxLength = 24, this.ctrl.namePattern = /^[a-z]([-a-z0-9]*[a-z0-9])?$/, this.ctrl.repositoryPattern = /^[a-z][a-z0-9+.-@]*:(\/\/)?[0-9a-z_-]+/, this.ctrl.wizardDone = !1, this.ctrl.serviceToBind = null, this.ctrl.updating = !1, this.ctrl.serviceInstances = [], this.selectedProjectWatch = this.$scope.$watch(function() {
9471694719
return a.ctrl.selectedProject;
94717-
}, this.onProjectUpdate), this.getServiceClasses();
94720+
}, this.onProjectUpdate), this.getServiceClasses(), this.instancesSupported = !!this.APIService.apiInfo({
94721+
group:"servicecatalog.k8s.io",
94722+
resource:"instances"
94723+
});
9471894724
}, a.prototype.closePanel = function() {
9471994725
d.isFunction(this.ctrl.handleClose) && this.ctrl.handleClose();
9472094726
}, a.prototype.$onDestroy = function() {
@@ -95248,7 +95254,7 @@ return a.resizeExpansion(!1);
9524895254
maxWait:250
9524995255
}), d.element(window).bind("resize", this.debounceResize), f(window).on("resize.services", this.debounceResize), this.removeFilterListener = this.$rootScope.$on("filter-catalog-items", function(b, c) {
9525095256
var e = d.copy(a.keywordFilterField);
95251-
e.value = c.searchText, a.ctrl.currentFilter = a.ctrl.currentSubFilter = "all", a.filterChange([ e ]);
95257+
e.value = c.searchText, a.ctrl.currentFilter = a.ctrl.currentSubFilter = "all", a.ctrl.mobileView = "subcategories", a.filterChange([ e ]);
9525295258
}), this.ctrl.filterConfig = {
9525395259
fields:[ this.keywordFilterField ],
9525495260
resultsCount:0,

0 commit comments

Comments
 (0)