From 8e9b843644055a8f87fca5cc76d9ceb61d17f1e9 Mon Sep 17 00:00:00 2001 From: NandanAnantharamu <67676905+NandanAnantharamu@users.noreply.github.com> Date: Mon, 7 Oct 2024 16:00:43 +0530 Subject: [PATCH] test: udpated files by removing un-used APIs (#36705) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removed APIs that are not in use /ok-to-test tags="@tag.All" > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: > Commit: ce672b5ff1f3976034fd91b1c1ffe7eb9efbf925 > Cypress dashboard. > Tags: `@tag.All` > Spec: >
Fri, 04 Oct 2024 13:50:12 UTC ## Summary by CodeRabbit - **New Features** - Updated the authenticated API URL for improved connectivity. - **Bug Fixes** - Removed outdated properties (`restapi_url` and `connection_type`) from environment configurations to streamline the data model. Co-authored-by: “NandanAnantharamu” <“nandan@thinkify.io”> --- app/client/cypress/fixtures/datasources.json | 2 +- app/client/cypress/support/Objects/DataManager.ts | 10 ++-------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/app/client/cypress/fixtures/datasources.json b/app/client/cypress/fixtures/datasources.json index e9a76ef161..040f7503a6 100644 --- a/app/client/cypress/fixtures/datasources.json +++ b/app/client/cypress/fixtures/datasources.json @@ -83,7 +83,7 @@ "mockDatabaseUsername": "fakeapi", "mockDatabasePassword": "LimitedAccess123#", "readonly": "readonly", - "authenticatedApiUrl": "https://fakeapi.com", + "authenticatedApiUrl": "http://host.docker.internal:5001", "GraphqlApiUrl_TED": "http://host.docker.internal:4200/graphql", "GITEA_API_BASE_TED": "localhost", diff --git a/app/client/cypress/support/Objects/DataManager.ts b/app/client/cypress/support/Objects/DataManager.ts index a54e1162eb..c4a27a021f 100644 --- a/app/client/cypress/support/Objects/DataManager.ts +++ b/app/client/cypress/support/Objects/DataManager.ts @@ -97,15 +97,12 @@ export class DataManager { firestore_projectID: "appsmith-22e8b", firestore_serviceaccountkey: Cypress.env("FIRESTORE_PRIVATE_KEY"), - restapi_url: "https://my-json-server.typicode.com/typicode/demo/posts", - connection_type: "Replica set", - mockHostAddress: "fake_api.cvuydmurdlas.us-east-1.rds.amazonaws.com", mockDatabaseName: "fakeapi", mockDatabaseUsername: "fakeapi", mockDatabasePassword: "LimitedAccess123#", readonly: "readonly", - authenticatedApiUrl: "https://fakeapi.com", + authenticatedApiUrl: "http://host.docker.internal:5001", GraphqlApiUrl_TED: "http://host.docker.internal:4200/graphql", @@ -192,15 +189,12 @@ export class DataManager { firestore_projectID: "appsmith-dummy", firestore_serviceaccountkey: "dummy_service_creds_key", - restapi_url: "https://my-json-server.typicode.com/typicode/demo/posts", - connection_type: "Replica set", - mockHostAddress: "fake_api.cvuydmurdlas.us-east-1.rds.amazonaws.com", mockDatabaseName: "fakeapi", mockDatabaseUsername: "fakeapi", mockDatabasePassword: "LimitedAccess123#", readonly: "readonly", - authenticatedApiUrl: "https://fakeapi.com", + authenticatedApiUrl: "http://host.docker.internal:5001", GraphqlApiUrl_TED: "http://host.docker.internal:4200/graphql",