Skip to content

Commit f7dd565

Browse files
author
OpenShift Bot
committed
bump(github.com/openshift/origin-web-console): 1029c81d8cfd04534683ebd87b28ca3bad99b339
1 parent e89bb66 commit f7dd565

File tree

1 file changed

+41
-31
lines changed

1 file changed

+41
-31
lines changed

pkg/assets/bindata.go

+41-31
Original file line numberDiff line numberDiff line change
@@ -5389,43 +5389,50 @@ return !_.isEmpty(d);
53895389
}, ea = function(a, b) {
53905390
var d = r[b];
53915391
ba[b] = d, c.childServicesByParent[a] = c.childServicesByParent[a] || [], c.childServicesByParent[a].push(d);
5392-
}, fa = function() {
5392+
}, fa = {};
5393+
c.isDuplicateApp = function(a) {
5394+
return _.size(fa[a]) > 1;
5395+
};
5396+
var ga = function() {
53935397
r && q && (c.services = r, ba = {}, c.childServicesByParent = {}, _.each(r, function(a, b) {
53945398
var c = m.getDependentServices(a);
53955399
_.each(c, function(a) {
53965400
ea(b, a);
53975401
});
5398-
}), c.topLevelServices = _.chain(r).filter(function(a) {
5402+
}), fa = {}, c.topLevelServices = _.chain(r).filter(function(a) {
53995403
return !!da(a) || (!!M(a) || !ca(a) && !N(a));
5400-
}).sortByAll([ "metadata.labels.app", "metadata.name" ]).value());
5401-
}, ga = function() {
5404+
}).sortByAll([ "metadata.labels.app", "metadata.name" ]).value(), _.each(c.topLevelServices, function(a) {
5405+
var b = _.get(a, "metadata.labels.app");
5406+
b && _.set(fa, [ b, a.metadata.name ], a);
5407+
}));
5408+
}, ha = function() {
54025409
r && q && (c.routeWarningsByService = {}, _.each(r, function(a) {
54035410
_.each(c.routesByService[a.metadata.name], function(b) {
54045411
var d = l.getRouteWarnings(b, a);
54055412
_.set(c, [ "routeWarningsByService", a.metadata.name, b.metadata.name ], d);
54065413
});
54075414
}));
5408-
}, ha = function(a) {
5415+
}, ia = function(a) {
54095416
var b = H(_.get(a, "spec.output.to"), a.metadata.namespace);
54105417
c.recentBuildsByOutputImage[b] = c.recentBuildsByOutputImage[b] || [], c.recentBuildsByOutputImage[b].push(a);
5411-
}, ia = a("buildConfigForBuild"), ja = function(a) {
5418+
}, ja = a("buildConfigForBuild"), ka = function(a) {
54125419
if (z) {
5413-
var b = ia(a), d = z[b];
5420+
var b = ja(a), d = z[b];
54145421
if (d) {
54155422
var f = e.usesDeploymentConfigs(d);
54165423
_.each(f, function(b) {
54175424
c.recentPipelinesByDC[b] = c.recentPipelinesByDC[b] || [], c.recentPipelinesByDC[b].push(a);
54185425
});
54195426
}
54205427
}
5421-
}, ka = function() {
5428+
}, la = function() {
54225429
A && (c.recentPipelinesByDC = {}, c.recentBuildsByOutputImage = {}, _.each(e.interestingBuilds(A), function(a) {
5423-
return E(a) ? void ja(a) :void ha(a);
5430+
return E(a) ? void ka(a) :void ia(a);
54245431
}));
5425-
}, la = function() {
5432+
}, ma = function() {
54265433
var a = _.isEmpty(r) && _.isEmpty(t) && _.isEmpty(c.monopodsByService) && _.isEmpty(u) && _.isEmpty(w) && _.isEmpty(x), b = r && y && u && w && x;
54275434
c.renderOptions.showGetStarted = b && a, c.renderOptions.showLoading = !b && a;
5428-
}, ma = function() {
5435+
}, na = function() {
54295436
var a = d.isAlertPermanentlyHidden("overview-quota-limit-reached", c.projectName);
54305437
if (!a && p.isAnyQuotaExceeded(c.quotas, c.clusterQuotas)) {
54315438
if (c.alerts.quotaExceeded) return;
@@ -5464,11 +5471,11 @@ var b = _.get(c, [ a, "" ], {});
54645471
return !_.isEmpty(b);
54655472
});
54665473
};
5467-
var na = [];
5474+
var oa = [];
54685475
c.getHPA = function(a) {
54695476
if (!B) return null;
54705477
var b = _.get(a, "kind"), c = _.get(a, "metadata.name");
5471-
return _.get(C, [ b, c ], na);
5478+
return _.get(C, [ b, c ], oa);
54725479
}, window.OPENSHIFT_CONSTANTS.DISABLE_OVERVIEW_METRICS || (o.isAvailable(!0).then(function(a) {
54735480
c.showMetrics = a;
54745481
}), c.$on("metrics-connection-failed", function(a, b) {
@@ -5489,64 +5496,64 @@ return d.permanentlyHideAlert("metrics-connection-failed"), !0;
54895496
} ]
54905497
});
54915498
}));
5492-
var oa = a("isIE")() || a("isEdge")();
5499+
var pa = a("isIE")() || a("isEdge")();
54935500
k.get(b.project).then(_.spread(function(a, b) {
54945501
c.project = a, c.projectContext = b, D.push(f.watch("pods", b, function(a) {
5495-
y = a.by("metadata.name"), aa(), la(), i.log("pods", y);
5502+
y = a.by("metadata.name"), aa(), ma(), i.log("pods", y);
54965503
})), D.push(f.watch("services", b, function(a) {
5497-
c.services = r = a.by("metadata.name"), fa(), aa(), P(), U(), T(), V(), Y(), ga(), la(), i.log("services (subscribe)", r);
5504+
c.services = r = a.by("metadata.name"), ga(), aa(), P(), U(), T(), V(), Y(), ha(), ma(), i.log("services (subscribe)", r);
54985505
}, {
5499-
poll:oa,
5506+
poll:pa,
55005507
pollInterval:6e4
55015508
})), D.push(f.watch("builds", b, function(a) {
5502-
A = a.by("metadata.name"), ka(), la(), i.log("builds (subscribe)", A);
5509+
A = a.by("metadata.name"), la(), ma(), i.log("builds (subscribe)", A);
55035510
})), D.push(f.watch("buildConfigs", b, function(a) {
5504-
z = a.by("metadata.name"), ka(), i.log("builds (subscribe)", A);
5511+
z = a.by("metadata.name"), la(), i.log("builds (subscribe)", A);
55055512
}, {
5506-
poll:oa,
5513+
poll:pa,
55075514
pollInterval:6e4
55085515
})), D.push(f.watch("routes", b, function(a) {
5509-
q = a.by("metadata.name"), O(), fa(), ga(), i.log("routes (subscribe)", c.routesByService);
5516+
q = a.by("metadata.name"), O(), ga(), ha(), i.log("routes (subscribe)", c.routesByService);
55105517
}, {
5511-
poll:oa,
5518+
poll:pa,
55125519
pollInterval:6e4
55135520
})), D.push(f.watch("replicationcontrollers", b, function(a) {
5514-
c.replicationControllersByName = u = a.by("metadata.name"), U(), T(), aa(), ka(), la(), i.log("replicationcontrollers (subscribe)", u);
5521+
c.replicationControllersByName = u = a.by("metadata.name"), U(), T(), aa(), la(), ma(), i.log("replicationcontrollers (subscribe)", u);
55155522
})), D.push(f.watch("deploymentconfigs", b, function(a) {
5516-
t = a.by("metadata.name"), P(), T(), la(), i.log("deploymentconfigs (subscribe)", t);
5523+
t = a.by("metadata.name"), P(), T(), ma(), i.log("deploymentconfigs (subscribe)", t);
55175524
})), D.push(f.watch({
55185525
group:"extensions",
55195526
resource:"replicasets"
55205527
}, b, function(a) {
5521-
w = a.by("metadata.name"), aa(), V(), X(), la(), i.log("replicasets (subscribe)", w);
5528+
w = a.by("metadata.name"), aa(), V(), X(), ma(), i.log("replicasets (subscribe)", w);
55225529
})), D.push(f.watch({
55235530
group:"apps",
55245531
resource:"petsets"
55255532
}, b, function(a) {
5526-
x = a.by("metadata.name"), aa(), Y(), la(), i.log("petsets (subscribe)", x);
5533+
x = a.by("metadata.name"), aa(), Y(), ma(), i.log("petsets (subscribe)", x);
55275534
}, {
5528-
poll:oa,
5535+
poll:pa,
55295536
pollInterval:6e4
55305537
})), D.push(f.watch({
55315538
group:"extensions",
55325539
resource:"deployments"
55335540
}, b, function(a) {
5534-
s = a.by("metadata.name"), Q(), X(), la(), i.log("deployments (subscribe)", s);
5541+
s = a.by("metadata.name"), Q(), X(), ma(), i.log("deployments (subscribe)", s);
55355542
})), D.push(f.watch({
55365543
group:"extensions",
55375544
resource:"horizontalpodautoscalers"
55385545
}, b, function(a) {
55395546
B = a.by("metadata.name"), Z();
55405547
}, {
5541-
poll:oa,
5548+
poll:pa,
55425549
pollInterval:6e4
55435550
})), D.push(f.watch("resourcequotas", b, function(a) {
5544-
c.quotas = a.by("metadata.name"), ma();
5551+
c.quotas = a.by("metadata.name"), na();
55455552
}, {
55465553
poll:!0,
55475554
pollInterval:6e4
55485555
})), D.push(f.watch("appliedclusterresourcequotas", b, function(a) {
5549-
c.clusterQuotas = a.by("metadata.name"), ma();
5556+
c.clusterQuotas = a.by("metadata.name"), na();
55505557
}, {
55515558
poll:!0,
55525559
pollInterval:6e4
@@ -24536,6 +24543,9 @@ var _scriptsTemplatesJs = []byte(`angular.module('openshiftConsoleTemplates', []
2453624543
"<i class=\"fa fa-angle-down fa-fw\" aria-hidden=\"true\" ng-if=\"!collapse\"></i>\n" +
2453724544
"<i class=\"fa fa-angle-right fa-fw\" aria-hidden=\"true\" ng-if=\"collapse\"></i>\n" +
2453824545
"{{appName | startCase}}\n" +
24546+
"<span ng-if=\"isDuplicateApp(appName)\" class=\"small\">\n" +
24547+
"{{service.metadata.name}}\n" +
24548+
"</span>\n" +
2453924549
"</h2>\n" +
2454024550
"<h3 class=\"route-title truncate\">\n" +
2454124551
"<span ng-if=\"appName && (displayRoute | isWebRoute)\">\n" +

0 commit comments

Comments
 (0)