From c07ef3f36acec78fb3c4a3cd75785414a1bafbd8 Mon Sep 17 00:00:00 2001 From: Kenia <19161242+kaxcode@users.noreply.github.com> Date: Wed, 13 May 2020 13:11:20 -0400 Subject: [PATCH] ui: Add namespaces to gateway services (#7868) * Add namespace info to gateway Linked Services and Upstreams tabs * Upgrade consul-api-double to version 2.15.1 --- ui-v2/app/templates/dc/services/show/services.hbs | 9 +++++++++ ui-v2/app/templates/dc/services/show/upstreams.hbs | 9 +++++++++ ui-v2/yarn.lock | 6 +++--- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/ui-v2/app/templates/dc/services/show/services.hbs b/ui-v2/app/templates/dc/services/show/services.hbs index 19ec6615c..1d2a29f48 100644 --- a/ui-v2/app/templates/dc/services/show/services.hbs +++ b/ui-v2/app/templates/dc/services/show/services.hbs @@ -7,11 +7,19 @@ step-by-step guide.
+ {{#let item.Service.Namespace as |nspace|}}diff --git a/ui-v2/app/templates/dc/services/show/upstreams.hbs b/ui-v2/app/templates/dc/services/show/upstreams.hbs index db02a53e8..61764e1a3 100644 --- a/ui-v2/app/templates/dc/services/show/upstreams.hbs +++ b/ui-v2/app/templates/dc/services/show/upstreams.hbs @@ -6,11 +6,19 @@ Upstreams are services that may receive traffic from this gateway. Learn more about configuring gateways in our documentation.
+ {{#let item.Service.Namespace as |nspace|}}diff --git a/ui-v2/yarn.lock b/ui-v2/yarn.lock index 9adc4a319..fe780fc5f 100644 --- a/ui-v2/yarn.lock +++ b/ui-v2/yarn.lock @@ -1211,9 +1211,9 @@ js-yaml "^3.13.1" "@hashicorp/consul-api-double@^2.6.2": - version "2.15.0" - resolved "https://registry.yarnpkg.com/@hashicorp/consul-api-double/-/consul-api-double-2.15.0.tgz#033b3887449f92f26156b123f251f9e6e1b42e52" - integrity sha512-uPzwU/MPzPDhhsLjY3X1rKIjZDOSbqYHMGM0f6n15cDF2lEcbeBHwE0snuCvqTDn72qBVdYZvA13AQBm8XCy2A== + version "2.15.1" + resolved "https://registry.yarnpkg.com/@hashicorp/consul-api-double/-/consul-api-double-2.15.1.tgz#1b41c92ee7930e0bcead8283eea019b5f1238819" + integrity sha512-0q0h2krXFR5uj/A+x5WtsKVF1ltPPDrrxmX9g+SjUmeWHIcffH7qz/PCo4fdqWOPjcTXkPfBxSZwGd2uDishaQ== "@hashicorp/ember-cli-api-double@^3.0.2": version "3.0.2"