From 7c95f50c5fa89e4ba7d9df12c9a1d127e0ce750e Mon Sep 17 00:00:00 2001 From: Sainath Nalkari Date: Wed, 17 Sep 2025 15:28:01 +0530 Subject: [PATCH 1/4] Added deprecated note to readme file --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index a2151f06..c5379b43 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,9 @@ [![maven](https://img.shields.io/maven-central/v/com.factset.analyticsapi/engines-sdk)](https://mvnrepository.com/artifact/com.factset.analyticsapi) ![API version](https://img.shields.io/badge/API-v2-blue) [![Apache-2 license](https://img.shields.io/badge/license-Apache2-brightgreen.svg)](https://www.apache.org/licenses/LICENSE-2.0) +![Deprecated](https://img.shields.io/badge/status-deprecated-red) + +*```**Note: This library is no longer maintained and is deprecated. Please use``` [enterprise-sdk](https://github.factset.com/FactSet/enterprise-sdk) ```instead.```* Use this library to integrate with FactSet's Analytics APIs. Below APIs are supported by this SDK. From a65f9ca7fabbc26b12bd75113bdb66933a200360 Mon Sep 17 00:00:00 2001 From: Sainath Nalkari Date: Mon, 13 Oct 2025 10:50:18 +0530 Subject: [PATCH 2/4] addressed review comments --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c5379b43..11581290 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ [![Apache-2 license](https://img.shields.io/badge/license-Apache2-brightgreen.svg)](https://www.apache.org/licenses/LICENSE-2.0) ![Deprecated](https://img.shields.io/badge/status-deprecated-red) -*```**Note: This library is no longer maintained and is deprecated. Please use``` [enterprise-sdk](https://github.factset.com/FactSet/enterprise-sdk) ```instead.```* +*```**Note: This library is no longer maintained and is deprecated. Please use``` [enterprise-sdk](https://github.com/FactSet/enterprise-sdk) ```instead.```* Use this library to integrate with FactSet's Analytics APIs. Below APIs are supported by this SDK. From 6e367bbfe0b213d0ee4bc47c625be4f86f754351 Mon Sep 17 00:00:00 2001 From: Sainath Nalkari Date: Tue, 14 Oct 2025 19:23:03 +0530 Subject: [PATCH 3/4] Update pom.xml --- tests/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pom.xml b/tests/pom.xml index 72321621..44007459 100644 --- a/tests/pom.xml +++ b/tests/pom.xml @@ -140,7 +140,7 @@ 2.2 1.3.2 4.13.1 - 3.12.2 + 3.25.1 1.6.0 6.2.0 4.0.1 From 518678a42a75b218585c5b63f12b48e76e7fec83 Mon Sep 17 00:00:00 2001 From: Sainath Nalkari Date: Tue, 14 Oct 2025 19:50:09 +0530 Subject: [PATCH 4/4] fixed unit tests issues --- tests/src/test/java/Api/CommonParameters.java | 13 +++++++------ tests/src/test/java/Api/ComponentsApiTests.java | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/tests/src/test/java/Api/CommonParameters.java b/tests/src/test/java/Api/CommonParameters.java index 69f14c74..a60a3746 100644 --- a/tests/src/test/java/Api/CommonParameters.java +++ b/tests/src/test/java/Api/CommonParameters.java @@ -16,7 +16,7 @@ public class CommonParameters { && !System.getenv("ANALYTICS_API_URL").isEmpty() ? System.getenv("ANALYTICS_API_URL") : "https://api.factset.com"; // PA values - public static final String PA_DEFAULT_DOCUMENT = "PA_DOCUMENTS:DEFAULT"; + public static final String PA_DEFAULT_DOCUMENT = "PA3_DOCUMENTS:PA_API_DEFAULT_DOCUMENT-RBICS"; public static final String PA_BENCHMARK_SP500 = "BENCH:SP50"; public static final String PA_BENCHMARK_R1000 = "BENCH:R.1000"; public static final String PA_START_DATE = "-3M"; @@ -30,17 +30,18 @@ public class CommonParameters { public static final String SPAR_BENCHMARK_RUSSELL_P_R1000 = "RUSSELL_P:R.2000"; public static final String SPAR_BENCHMARK_RUSSELL_PREFIX = "RUSSELL"; public static final String SPAR_BENCHMARK_RUSSELL_RETURN = "GTR"; + public static final String SPARAccount = "client:/aapi/spar3_qa_test_document"; // Vault values - public static final String VAULT_DEFAULT_DOCUMENT = "Client:/aapi/VAULT_QA_PI_DEFAULT_LOCKED"; - public static final String VAULT_DEFAULT_ACCOUNT = "CLIENT:/BISAM/REPOSITORY/QA/SMALL_PORT.ACCT"; + public static final String VAULT_DEFAULT_DOCUMENT = "CLIENT:/YETI/YETI-API-TEST"; + public static final String VAULT_DEFAULT_ACCOUNT = "CLIENT:/YETI/YETI-API-TEST.ACCT"; public static final String VAULT_SECONDARY_ACCOUNT = "CLIENT:/BISAM/REPOSITORY/QA/GLOBAL.ACCT"; - public static final String VAULT_START_DATE_FIRST = "20180101"; - public static final String VAULT_END_DATE_FIRST = "20180329"; + public static final String VAULT_START_DATE_FIRST = "20211231"; + public static final String VAULT_END_DATE_FIRST = "20220131"; public static final String VAULT_FREQUENCY_DATE_MONTHLY = "Monthly"; // Pub values - public static final String PUB_DEFAULT_DOCUMENT = "Client:/AAPI/Puma Test Doc.Pub_bridge_pdf"; + public static final String PUB_DEFAULT_DOCUMENT = "Client:/AAPI/Puma Narrative Test.PUB_BRIDGE_PDF"; public static final String PUB_DEFAULT_ACCOUNT = "BENCH:SP50"; public static final String DEFAULT_LOOKUP_DIRECTORY = "client:"; diff --git a/tests/src/test/java/Api/ComponentsApiTests.java b/tests/src/test/java/Api/ComponentsApiTests.java index 0ae8f343..fadee70e 100644 --- a/tests/src/test/java/Api/ComponentsApiTests.java +++ b/tests/src/test/java/Api/ComponentsApiTests.java @@ -136,7 +136,7 @@ public void getBySPARComponentIdSuccess() throws ApiException { apiInstance = new ComponentsApi(apiClient); try { - getSPARComponentsResponse = apiInstance.getSPARComponentsWithHttpInfo(CommonParameters.SPAR_DEFAULT_DOCUMENT); + getSPARComponentsResponse = apiInstance.getSPARComponentsWithHttpInfo(CommonParameters.SPARAccount); Assert.assertTrue("Response should be 200 - Success", getSPARComponentsResponse.getStatusCode() == 200); Assert.assertTrue("Response data should not be null.", getSPARComponentsResponse.getData().getData().size() != 0);