From b7dfa2dce8260470fed34623cdfa9226beaa9299 Mon Sep 17 00:00:00 2001 From: Zehao Zhang Date: Fri, 2 Aug 2024 18:26:41 +0800 Subject: [PATCH] feat: bump entities-upstreams-targets and fix upstreams tests --- package.json | 2 +- .../specs/upstreams/01-Upstreams.spec.ts | 89 ++++++++++--------- yarn.lock | 19 ++-- 3 files changed, 60 insertions(+), 50 deletions(-) diff --git a/package.json b/package.json index 875a793..6a23cad 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "@kong-ui-public/entities-routes": "^3.2.0", "@kong-ui-public/entities-shared": "^3.2.0", "@kong-ui-public/entities-snis": "^3.3.11", - "@kong-ui-public/entities-upstreams-targets": "^3.3.12", + "@kong-ui-public/entities-upstreams-targets": "^3.3.15", "@kong-ui-public/entities-vaults": "^3.8.3", "@kong-ui-public/forms": "^4.0.2", "@kong-ui-public/i18n": "^2.2.2", diff --git a/tests/playwright/specs/upstreams/01-Upstreams.spec.ts b/tests/playwright/specs/upstreams/01-Upstreams.spec.ts index e33162c..839d453 100644 --- a/tests/playwright/specs/upstreams/01-Upstreams.spec.ts +++ b/tests/playwright/specs/upstreams/01-Upstreams.spec.ts @@ -480,11 +480,11 @@ test.describe('upstreams', () => { async () => { await expect(getPropertyValue(page, 'name')).toHaveText(upstream_host2) await expect(getPropertyValue(page, 'threshold')).toHaveText('0') - // const passive = await getPropertyValue(page, 'passive').innerText() - // const active = await getPropertyValue(page, 'active').innerText() + const passive = await getPropertyValue(page, 'passive').innerText() + const active = await getPropertyValue(page, 'active').innerText() - // expect(JSON.parse(passive)).toEqual(JSON.parse('{"type": "http", "healthy": {"successes": 0, "http_statuses": [200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 306, 307, 308]}, "unhealthy": {"http_statuses": [429, 500, 503], "tcp_failures": 0, "timeouts": 0, "http_failures": 0}}')) - // expect(JSON.parse(active)).toEqual(JSON.parse('{"concurrency": 10, "healthy": {"interval": 0, "http_statuses": [200, 302], "successes": 0}, "unhealthy": {"interval": 0, "tcp_failures": 0, "timeouts": 0, "http_failures": 0, "http_statuses": [429, 404, 500, 501, 502, 503, 504, 505]}, "headers": null, "type": "http", "https_sni": null, "https_verify_certificate": true, "http_path": "/", "timeout": 1}')) + expect(JSON.parse(passive)).toEqual(JSON.parse('{"type": "http", "healthy": {"successes": 0, "http_statuses": [200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 306, 307, 308]}, "unhealthy": {"http_statuses": [429, 500, 503], "tcp_failures": 0, "timeouts": 0, "http_failures": 0}}')) + expect(JSON.parse(active)).toEqual(JSON.parse('{"concurrency": 10, "healthy": {"interval": 0, "http_statuses": [200, 302], "successes": 0}, "unhealthy": {"interval": 0, "tcp_failures": 0, "timeouts": 0, "http_failures": 0, "http_statuses": [429, 404, 500, 501, 502, 503, 504, 505]}, "headers": null, "type": "http", "https_sni": null, "https_verify_certificate": true, "http_path": "/", "timeout": 1}')) }, ) @@ -497,11 +497,11 @@ test.describe('upstreams', () => { {}, async () => { await expect(getPropertyValue(page, 'threshold')).toHaveText('0') - // const passive = await getPropertyValue(page, 'passive').innerText() - // const active = await getPropertyValue(page, 'active').innerText() + const passive = await getPropertyValue(page, 'passive').innerText() + const active = await getPropertyValue(page, 'active').innerText() - // expect(JSON.parse(passive)).toEqual(JSON.parse('{"type": "http", "healthy": {"successes": 0, "http_statuses": [200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 306, 307, 308]}, "unhealthy": {"http_statuses": [429, 500, 503], "tcp_failures": 0, "timeouts": 0, "http_failures": 0}}')) - // expect(JSON.parse(active)).toEqual(JSON.parse('{"concurrency": 10, "healthy": {"interval": 5, "http_statuses": [200, 302], "successes": 5}, "unhealthy": {"interval": 5, "tcp_failures": 0, "timeouts": 0, "http_failures": 5, "http_statuses": [429, 404, 500, 501, 502, 503, 504, 505]}, "headers": {}, "type": "http", "https_sni": null, "https_verify_certificate": true, "http_path": "/", "timeout": 1}')) + expect(JSON.parse(passive)).toEqual(JSON.parse('{"type": "http", "healthy": {"successes": 0, "http_statuses": [200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 306, 307, 308]}, "unhealthy": {"http_statuses": [429, 500, 503], "tcp_failures": 0, "timeouts": 0, "http_failures": 0}}')) + expect(JSON.parse(active)).toEqual(JSON.parse('{"concurrency": 10, "healthy": {"interval": 5, "http_statuses": [200, 302], "successes": 5}, "unhealthy": {"interval": 5, "tcp_failures": 5, "timeouts": 0, "http_failures": 5, "http_statuses": [429, 404, 500, 501, 502, 503, 504, 505]}, "headers": {}, "type": "http", "https_sni": null, "https_verify_certificate": true, "http_path": "/", "timeout": 1}')) }, ) @@ -514,11 +514,11 @@ test.describe('upstreams', () => { {}, async () => { await expect(getPropertyValue(page, 'threshold')).toHaveText('0') - // const passive = await getPropertyValue(page, 'passive').innerText() - // const active = await getPropertyValue(page, 'active').innerText() + const passive = await getPropertyValue(page, 'passive').innerText() + const active = await getPropertyValue(page, 'active').innerText() - // expect(JSON.parse(passive)).toEqual(JSON.parse('{"type": "http", "healthy": {"successes": 80, "http_statuses": [200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 306, 307, 308]}, "unhealthy": {"http_statuses": [429, 500, 503], "tcp_failures": 0, "timeouts": 5, "http_failures": 5}}')) - // expect(JSON.parse(active)).toEqual(JSON.parse('{"concurrency": 10, "healthy": {"interval": 5, "http_statuses": [200, 302], "successes": 5}, "unhealthy": {"interval": 5, "tcp_failures": 0, "timeouts": 0, "http_failures": 5, "http_statuses": [429, 404, 500, 501, 502, 503, 504, 505]}, "headers": {}, "type": "http", "https_sni": null, "https_verify_certificate": true, "http_path": "/", "timeout": 1}')) + expect(JSON.parse(passive)).toEqual(JSON.parse('{"type": "http", "healthy": {"successes": 80, "http_statuses": [200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 306, 307, 308]}, "unhealthy": {"http_statuses": [429, 500, 503], "tcp_failures": 5, "timeouts": 5, "http_failures": 5}}')) + expect(JSON.parse(active)).toEqual(JSON.parse('{"concurrency": 10, "healthy": {"interval": 5, "http_statuses": [200, 302], "successes": 5}, "unhealthy": {"interval": 5, "tcp_failures": 5, "timeouts": 0, "http_failures": 5, "http_statuses": [429, 404, 500, 501, 502, 503, 504, 505]}, "headers": {}, "type": "http", "https_sni": null, "https_verify_certificate": true, "http_path": "/", "timeout": 1}')) }, ) @@ -531,11 +531,11 @@ test.describe('upstreams', () => { {}, async () => { await expect(getPropertyValue(page, 'threshold')).toHaveText('0') - // const passive = await getPropertyValue(page, 'passive').innerText() - // const active = await getPropertyValue(page, 'active').innerText() + const passive = await getPropertyValue(page, 'passive').innerText() + const active = await getPropertyValue(page, 'active').innerText() - // expect(JSON.parse(passive)).toEqual(JSON.parse('{"type": "http", "healthy": {"successes": 80, "http_statuses": [200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 306, 307, 308]}, "unhealthy": {"http_statuses": [429, 500, 503], "tcp_failures": 0, "timeouts": 5, "http_failures": 5}}')) - // expect(JSON.parse(active)).toEqual(JSON.parse('{"concurrency": 10, "healthy": {"interval": 0, "http_statuses": [200, 302], "successes": 5}, "unhealthy": {"interval": 0, "tcp_failures": 0, "timeouts": 0, "http_failures": 5, "http_statuses": [429, 404, 500, 501, 502, 503, 504, 505]}, "headers": {}, "type": "http", "https_sni": null, "https_verify_certificate": true, "http_path": "/", "timeout": 1}')) + expect(JSON.parse(passive)).toEqual(JSON.parse('{"type": "http", "healthy": {"successes": 80, "http_statuses": [200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 306, 307, 308]}, "unhealthy": {"http_statuses": [429, 500, 503], "tcp_failures": 5, "timeouts": 5, "http_failures": 5}}')) + expect(JSON.parse(active)).toEqual(JSON.parse('{"concurrency": 10, "healthy": {"interval": 0, "http_statuses": [200, 302], "successes": 0}, "unhealthy": {"interval": 0, "tcp_failures": 0, "timeouts": 0, "http_failures": 0, "http_statuses": [429, 404, 500, 501, 502, 503, 504, 505]}, "headers": {}, "type": "http", "https_sni": null, "https_verify_certificate": true, "http_path": "/", "timeout": 1}')) }, ) @@ -548,11 +548,11 @@ test.describe('upstreams', () => { {}, async () => { await expect(getPropertyValue(page, 'threshold')).toHaveText('0') - // const passive = await getPropertyValue(page, 'passive').innerText() - // const active = await getPropertyValue(page, 'active').innerText() + const passive = await getPropertyValue(page, 'passive').innerText() + const active = await getPropertyValue(page, 'active').innerText() - // expect(JSON.parse(passive)).toEqual(JSON.parse('{"type": "http", "healthy": {"successes": 0, "http_statuses": [200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 306, 307, 308]}, "unhealthy": {"http_statuses": [429, 500, 503], "tcp_failures": 0, "timeouts": 0, "http_failures": 0}}')) - // expect(JSON.parse(active)).toEqual(JSON.parse('{"concurrency": 10, "healthy": {"interval": 0, "http_statuses": [200, 302], "successes": 5}, "unhealthy": {"interval": 0, "tcp_failures": 0, "timeouts": 0, "http_failures": 5, "http_statuses": [429, 404, 500, 501, 502, 503, 504, 505]}, "headers": {}, "type": "http", "https_sni": null, "https_verify_certificate": true, "http_path": "/", "timeout": 1}')) + expect(JSON.parse(passive)).toEqual(JSON.parse('{"type": "http", "healthy": {"successes": 0, "http_statuses": [200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 306, 307, 308]}, "unhealthy": {"http_statuses": [429, 500, 503], "tcp_failures": 0, "timeouts": 0, "http_failures": 0}}')) + expect(JSON.parse(active)).toEqual(JSON.parse('{"concurrency": 10, "healthy": {"interval": 0, "http_statuses": [200, 302], "successes": 0}, "unhealthy": {"interval": 0, "tcp_failures": 0, "timeouts": 0, "http_failures": 0, "http_statuses": [429, 404, 500, 501, 502, 503, 504, 505]}, "headers": {}, "type": "http", "https_sni": null, "https_verify_certificate": true, "http_path": "/", "timeout": 1}')) }, ) }) @@ -561,7 +561,8 @@ test.describe('upstreams', () => { const locator = page.locator(selector) // open dropdown - await locator.locator('.multiselect-trigger').click({ position: { x: 1, y: 1 } }) + + await locator.locator('.multiselect-trigger').click() for (let index = 0, len = statuses.length; index < len; index++) { await locator.locator(`.multiselect-item[data-testid="multiselect-item-${statuses[index]}"]`).click() } @@ -584,11 +585,11 @@ test.describe('upstreams', () => { async () => { await expect(getPropertyValue(page, 'name')).toHaveText(upstream_host2) await expect(getPropertyValue(page, 'threshold')).toHaveText('0') - // const passive = await getPropertyValue(page, 'passive').innerText() - // const active = await getPropertyValue(page, 'active').innerText() + const passive = await getPropertyValue(page, 'passive').innerText() + const active = await getPropertyValue(page, 'active').innerText() - // expect(JSON.parse(passive)).toEqual(JSON.parse('{"type": "http", "healthy": {"successes": 80, "http_statuses": [200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 306, 307, 308]}, "unhealthy": {"http_statuses": [429, 500, 503], "tcp_failures": 0, "timeouts": 5, "http_failures": 5}}')) - // expect(JSON.parse(active)).toEqual(JSON.parse('{"concurrency": 10, "healthy": {"interval": 5, "http_statuses": [200, 302], "successes": 5}, "unhealthy": {"interval": 5, "tcp_failures": 0, "timeouts": 0, "http_failures": 5, "http_statuses": [429, 404, 500, 501, 502, 503, 504, 505]}, "headers": {}, "type": "http", "https_sni": null, "https_verify_certificate": true, "http_path": "/", "timeout": 1}')) + expect(JSON.parse(passive)).toEqual(JSON.parse('{"type": "http", "healthy": {"successes": 80, "http_statuses": [200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 306, 307, 308]}, "unhealthy": {"http_statuses": [429, 500, 503], "tcp_failures": 5, "timeouts": 5, "http_failures": 5}}')) + expect(JSON.parse(active)).toEqual(JSON.parse('{"concurrency": 10, "healthy": {"interval": 5, "http_statuses": [200, 302], "successes": 5}, "unhealthy": {"interval": 5, "tcp_failures": 5, "timeouts": 0, "http_failures": 5, "http_statuses": [429, 404, 500, 501, 502, 503, 504, 505]}, "headers": {}, "type": "http", "https_sni": null, "https_verify_certificate": true, "http_path": "/", "timeout": 1}')) }, ) @@ -625,11 +626,11 @@ test.describe('upstreams', () => { }, async () => { await expect(getPropertyValue(page, 'threshold')).toHaveText('1') - // const passive = await getPropertyValue(page, 'passive').innerText() - // const active = await getPropertyValue(page, 'active').innerText() + const passive = await getPropertyValue(page, 'passive').innerText() + const active = await getPropertyValue(page, 'active').innerText() - // expect(JSON.parse(passive)).toEqual(JSON.parse('{ "healthy": { "successes": 8, "http_statuses": [ 200 ] }, "type": "http", "unhealthy": { "timeouts": 10, "http_failures": 10, "http_statuses": [ 429, 500, 503, 100, 101 ], "tcp_failures": 0 } }')) - // expect(JSON.parse(active)).toEqual(JSON.parse('{ "headers": { "h1": [ "v1", "v2" ] }, "http_path": "/path", "https_sni": null, "concurrency": 15, "type": "http", "https_verify_certificate": true, "healthy": { "http_statuses": [ 200, 302, 100, 103 ], "successes": 10, "interval": 10 }, "unhealthy": { "timeouts": 10, "http_failures": 10, "http_statuses": [ 404, 429, 500, 501, 502, 503, 504, 505, 100, 101 ], "interval": 10, "tcp_failures": 0 }, "timeout": 5 }')) + expect(JSON.parse(passive)).toEqual(JSON.parse('{ "healthy": { "successes": 8, "http_statuses": [ 200 ] }, "type": "http", "unhealthy": { "timeouts": 10, "http_failures": 10, "http_statuses": [ 429, 500, 503, 100, 101 ], "tcp_failures": 5 } }')) + expect(JSON.parse(active)).toEqual(JSON.parse('{ "headers": { "h1": [ "v1", "v2" ] }, "http_path": "/path", "https_sni": null, "concurrency": 15, "type": "http", "https_verify_certificate": true, "healthy": { "http_statuses": [ 200, 302, 100, 103 ], "successes": 10, "interval": 10 }, "unhealthy": { "timeouts": 10, "http_failures": 10, "http_statuses": [ 404, 429, 500, 501, 502, 503, 504, 505, 100, 101 ], "interval": 10, "tcp_failures": 5 }, "timeout": 5 }')) }, ) }) @@ -637,7 +638,7 @@ test.describe('upstreams', () => { for (let index = 0, len = check_types.length; index < len; index++) { const check_type = check_types[index] const data = {} - // let verify_ssl = true + let verify_ssl = true test(`upstream update - successful with health check type is '${check_type.protocol}'`, async ({ page, upstreamListPage }) => { await create_upstream( @@ -651,7 +652,7 @@ test.describe('upstreams', () => { if (check_type.ssl) { await expect(page.getByTestId('active-healthcheck-https-sni')).toBeVisible() await page.getByTestId('active-healthcheck-https-sni').fill('sni') - // verify_ssl = await page.getByTestId('active-healthcheck-verify-ssl').isChecked() + verify_ssl = await page.getByTestId('active-healthcheck-verify-ssl').isChecked() await expect(page.getByTestId('active-healthcheck-verify-ssl')).toBeVisible() await page.getByTestId('active-healthcheck-verify-ssl').click() } else { @@ -663,15 +664,15 @@ test.describe('upstreams', () => { async () => { await expect(getPropertyValue(page, 'name')).toHaveText(upstream_host2) await expect(getPropertyValue(page, 'threshold')).toHaveText('0') - // const passive = await getPropertyValue(page, 'passive').innerText() - // const active = await getPropertyValue(page, 'active').innerText() - // if (check_type.ssl) { - // expect(JSON.parse(passive)).toEqual(JSON.parse('{ "healthy": { "successes": 80, "http_statuses": [ 200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 306, 307, 308 ] }, "type": "http", "unhealthy": { "timeouts": 5, "http_failures": 5, "http_statuses": [ 429, 500, 503 ], "tcp_failures": 0 } }')) - // expect(JSON.parse(active)).toEqual(JSON.parse(`{ "headers": {}, "http_path": "/", "https_sni": "sni", "concurrency": 10, "type": "${check_type.protocol}", "https_verify_certificate": ${!verify_ssl}, "healthy": { "http_statuses": [ 200, 302 ], "successes": 5, "interval": 5 }, "unhealthy": { "timeouts": 0, "http_failures": 5, "http_statuses": [ 429, 404, 500, 501, 502, 503, 504, 505 ], "interval": 5, "tcp_failures": 0 }, "timeout": 1 }`)) - // } else { - // expect(JSON.parse(passive)).toEqual(JSON.parse('{ "healthy": { "successes": 80, "http_statuses": [ 200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 306, 307, 308 ] }, "type": "http", "unhealthy": { "timeouts": 5, "http_failures": 5, "http_statuses": [ 429, 500, 503 ], "tcp_failures": 0 } }')) - // expect(JSON.parse(active)).toEqual(JSON.parse(`{ "headers": {}, "http_path": "/", "https_sni": null, "concurrency": 10, "type": "${check_type.protocol}", "https_verify_certificate": true, "healthy": { "http_statuses": [ 200, 302 ], "successes": 5, "interval": 5 }, "unhealthy": { "timeouts": 0, "http_failures": 5, "http_statuses": [ 429, 404, 500, 501, 502, 503, 504, 505 ], "interval": 5, "tcp_failures": 0 }, "timeout": 1 }`)) - // } + const passive = await getPropertyValue(page, 'passive').innerText() + const active = await getPropertyValue(page, 'active').innerText() + if (check_type.ssl) { + expect(JSON.parse(passive)).toEqual(JSON.parse('{ "healthy": { "successes": 80, "http_statuses": [ 200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 306, 307, 308 ] }, "type": "http", "unhealthy": { "timeouts": 5, "http_failures": 5, "http_statuses": [ 429, 500, 503 ], "tcp_failures": 5 } }')) + expect(JSON.parse(active)).toEqual(JSON.parse(`{ "headers": {}, "http_path": "/", "https_sni": "sni", "concurrency": 10, "type": "${check_type.protocol}", "https_verify_certificate": ${!verify_ssl}, "healthy": { "http_statuses": [ 200, 302 ], "successes": 5, "interval": 5 }, "unhealthy": { "timeouts": 0, "http_failures": 5, "http_statuses": [ 429, 404, 500, 501, 502, 503, 504, 505 ], "interval": 5, "tcp_failures": 5 }, "timeout": 1 }`)) + } else { + expect(JSON.parse(passive)).toEqual(JSON.parse('{ "healthy": { "successes": 80, "http_statuses": [ 200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 306, 307, 308 ] }, "type": "http", "unhealthy": { "timeouts": 5, "http_failures": 5, "http_statuses": [ 429, 500, 503 ], "tcp_failures": 5 } }')) + expect(JSON.parse(active)).toEqual(JSON.parse(`{ "headers": {}, "http_path": "/", "https_sni": null, "concurrency": 10, "type": "${check_type.protocol}", "https_verify_certificate": true, "healthy": { "http_statuses": [ 200, 302 ], "successes": 5, "interval": 5 }, "unhealthy": { "timeouts": 0, "http_failures": 5, "http_statuses": [ 429, 404, 500, 501, 502, 503, 504, 505 ], "interval": 5, "tcp_failures": 5 }, "timeout": 1 }`)) + } }, ) }) @@ -695,11 +696,11 @@ test.describe('upstreams', () => { async () => { await expect(getPropertyValue(page, 'name')).toHaveText(upstream_host2) await expect(getPropertyValue(page, 'threshold')).toHaveText('0') - // const passive = await getPropertyValue(page, 'passive').innerText() - // const active = await getPropertyValue(page, 'active').innerText() + const passive = await getPropertyValue(page, 'passive').innerText() + const active = await getPropertyValue(page, 'active').innerText() - // expect(JSON.parse(passive)).toEqual(JSON.parse('{ "healthy": { "successes": 80, "http_statuses": [ 200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 306, 307, 308 ] }, "type": "tcp", "unhealthy": { "timeouts": 5, "http_failures": 0, "http_statuses": [ 429, 500, 503 ], "tcp_failures": 10 } }')) - // expect(JSON.parse(active)).toEqual(JSON.parse('{ "headers": {}, "http_path": "/", "https_sni": null, "concurrency": 10, "type": "tcp", "https_verify_certificate": true, "healthy": { "http_statuses": [ 200, 302 ], "successes": 5, "interval": 5 }, "unhealthy": { "timeouts": 0, "http_failures": 0, "http_statuses": [ 429, 404, 500, 501, 502, 503, 504, 505 ], "interval": 5, "tcp_failures": 6 }, "timeout": 1 }')) + expect(JSON.parse(passive)).toEqual(JSON.parse('{ "healthy": { "successes": 80, "http_statuses": [ 200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 306, 307, 308 ] }, "type": "tcp", "unhealthy": { "timeouts": 5, "http_failures": 0, "http_statuses": [ 429, 500, 503 ], "tcp_failures": 10 } }')) + expect(JSON.parse(active)).toEqual(JSON.parse('{ "headers": {}, "http_path": "/", "https_sni": null, "concurrency": 10, "type": "tcp", "https_verify_certificate": true, "healthy": { "http_statuses": [ 200, 302 ], "successes": 5, "interval": 5 }, "unhealthy": { "timeouts": 0, "http_failures": 0, "http_statuses": [ 429, 404, 500, 501, 502, 503, 504, 505 ], "interval": 5, "tcp_failures": 6 }, "timeout": 1 }')) }, ) }) diff --git a/yarn.lock b/yarn.lock index 76074f5..ef660ec 100644 --- a/yarn.lock +++ b/yarn.lock @@ -503,6 +503,15 @@ "@kong/icons" "^1.15.1" compare-versions "^6.1.0" +"@kong-ui-public/entities-shared@^3.5.4": + version "3.5.4" + resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-shared/-/entities-shared-3.5.4.tgz#d2db5597f9466b415e05bf554bae7f0ba7157ff8" + integrity sha512-g35MlsDJPNfEFF8oco8HYykV97G451Bs8JNLX/yV7a/L3qCkq+9yAzsXRU2jZUvVbiEtCYvc1q2O9laiT9uCPw== + dependencies: + "@kong-ui-public/core" "^1.7.6" + "@kong/icons" "^1.15.1" + compare-versions "^6.1.0" + "@kong-ui-public/entities-snis@^3.3.11": version "3.3.11" resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-snis/-/entities-snis-3.3.11.tgz#99fcc55e42a416964f063dc25e87a506c0493a89" @@ -511,12 +520,12 @@ "@kong-ui-public/entities-shared" "^3.5.2" "@kong/icons" "^1.15.1" -"@kong-ui-public/entities-upstreams-targets@^3.3.12": - version "3.3.12" - resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-upstreams-targets/-/entities-upstreams-targets-3.3.12.tgz#d73575bb8ebe7a4e840aa741d61b67eb89abb988" - integrity sha512-vM/VS0ig5rcLTMtaKnwtB9ucNjtbd8UzLc3zrw6LR7yjgRjFOX3uycS91GBp//KsUDFQTtUMXg55iPpR0ixEGg== +"@kong-ui-public/entities-upstreams-targets@^3.3.15": + version "3.3.15" + resolved "https://registry.yarnpkg.com/@kong-ui-public/entities-upstreams-targets/-/entities-upstreams-targets-3.3.15.tgz#c88cdc409132ada1b849c23b07c99702cebd0052" + integrity sha512-uWBCIHMRzB2pEJHlZAZHeBZD/2hIO4/KHgCApn78SYTlqbPY9Y7leioFiF1+wTtNGeGhCay0dLHZGKiYyBfA2w== dependencies: - "@kong-ui-public/entities-shared" "^3.5.2" + "@kong-ui-public/entities-shared" "^3.5.4" "@kong/icons" "^1.15.1" "@kong-ui-public/entities-vaults@^3.8.3":