From 7709c0616c5388d4d15eff9b0a8befc660ef48e7 Mon Sep 17 00:00:00 2001 From: Astha Mohta <35952883+asthamohta@users.noreply.github.com> Date: Fri, 20 Dec 2024 19:01:42 +0530 Subject: [PATCH 1/3] feat: make spanner config mandatory for schema migration (#970) * changes * change * change --- ui/cypress/e2e/spec.cy.ts | 1 + ui/dist/ui/index.html | 2 +- ui/dist/ui/main.1cfa12bd9a851a7a.js | 1 - ui/dist/ui/main.c082b8f8593afb56.js | 1 + .../direct-connection.component.spec.ts | 6 +- .../direct-connection.component.ts | 104 +++++++++++------- ui/src/app/services/data/data.service.ts | 8 ++ ui/src/app/services/fetch/fetch.service.ts | 4 + webv2/config/config_handler.go | 5 + webv2/routes.go | 3 +- 10 files changed, 93 insertions(+), 42 deletions(-) delete mode 100644 ui/dist/ui/main.1cfa12bd9a851a7a.js create mode 100644 ui/dist/ui/main.c082b8f8593afb56.js diff --git a/ui/cypress/e2e/spec.cy.ts b/ui/cypress/e2e/spec.cy.ts index 08a9a65f1..41295e792 100644 --- a/ui/cypress/e2e/spec.cy.ts +++ b/ui/cypress/e2e/spec.cy.ts @@ -8,6 +8,7 @@ describe('template spec', () => { cy.intercept('GET', `${url}/GetSessions`, { statusCode: 200, body: [] }).as('getSessions'); cy.intercept('GET', `${url}/GetConfig`, { statusCode: 200 }).as('getConfig'); cy.intercept('GET', `${url}/GetLatestSessionDetails`, { statusCode: 200 }).as('getLatestSessionDetails'); + cy.intercept('GET', `${url}/IsConfigSet`, { statusCode: 200, body: true }).as('IsConfigSet'); cy.visit('http://localhost:4200/'); }); diff --git a/ui/dist/ui/index.html b/ui/dist/ui/index.html index 952400454..0f5c95c0f 100644 --- a/ui/dist/ui/index.html +++ b/ui/dist/ui/index.html @@ -12,5 +12,5 @@