Skip to content

Commit 5947edf

Browse files
authored
feat(readme) : Added deprecated note to readme file (#95)
1 parent 1c80f8d commit 5947edf

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
[![maven](https://img.shields.io/maven-central/v/com.factset.analyticsapi/engines-sdk)](https://mvnrepository.com/artifact/com.factset.analyticsapi)
77
![API version](https://img.shields.io/badge/API-v2-blue)
88
[![Apache-2 license](https://img.shields.io/badge/license-Apache2-brightgreen.svg)](https://www.apache.org/licenses/LICENSE-2.0)
9+
![Deprecated](https://img.shields.io/badge/status-deprecated-red)
10+
11+
*```**Note: This library is no longer maintained and is deprecated. Please use``` [enterprise-sdk](https://github.com/FactSet/enterprise-sdk) ```instead.```*
912

1013
Use this library to integrate with FactSet's Analytics APIs. Below APIs are supported by this SDK.
1114

tests/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
<migbase64-version>2.2</migbase64-version>
141141
<javax-annotation-version>1.3.2</javax-annotation-version>
142142
<junit-version>4.13.1</junit-version>
143-
<protobuf-version>3.12.2</protobuf-version>
143+
<protobuf-version>3.25.1</protobuf-version>
144144
<stach-extension-version>1.6.0</stach-extension-version>
145145
<engines-sdk-version>6.2.0</engines-sdk-version>
146146
<poi-ooxml-version>4.0.1</poi-ooxml-version>

tests/src/test/java/Api/CommonParameters.java

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class CommonParameters {
1616
&& !System.getenv("ANALYTICS_API_URL").isEmpty() ? System.getenv("ANALYTICS_API_URL") : "https://api.factset.com";
1717

1818
// PA values
19-
public static final String PA_DEFAULT_DOCUMENT = "PA_DOCUMENTS:DEFAULT";
19+
public static final String PA_DEFAULT_DOCUMENT = "PA3_DOCUMENTS:PA_API_DEFAULT_DOCUMENT-RBICS";
2020
public static final String PA_BENCHMARK_SP500 = "BENCH:SP50";
2121
public static final String PA_BENCHMARK_R1000 = "BENCH:R.1000";
2222
public static final String PA_START_DATE = "-3M";
@@ -30,17 +30,18 @@ public class CommonParameters {
3030
public static final String SPAR_BENCHMARK_RUSSELL_P_R1000 = "RUSSELL_P:R.2000";
3131
public static final String SPAR_BENCHMARK_RUSSELL_PREFIX = "RUSSELL";
3232
public static final String SPAR_BENCHMARK_RUSSELL_RETURN = "GTR";
33+
public static final String SPARAccount = "client:/aapi/spar3_qa_test_document";
3334

3435
// Vault values
35-
public static final String VAULT_DEFAULT_DOCUMENT = "Client:/aapi/VAULT_QA_PI_DEFAULT_LOCKED";
36-
public static final String VAULT_DEFAULT_ACCOUNT = "CLIENT:/BISAM/REPOSITORY/QA/SMALL_PORT.ACCT";
36+
public static final String VAULT_DEFAULT_DOCUMENT = "CLIENT:/YETI/YETI-API-TEST";
37+
public static final String VAULT_DEFAULT_ACCOUNT = "CLIENT:/YETI/YETI-API-TEST.ACCT";
3738
public static final String VAULT_SECONDARY_ACCOUNT = "CLIENT:/BISAM/REPOSITORY/QA/GLOBAL.ACCT";
38-
public static final String VAULT_START_DATE_FIRST = "20180101";
39-
public static final String VAULT_END_DATE_FIRST = "20180329";
39+
public static final String VAULT_START_DATE_FIRST = "20211231";
40+
public static final String VAULT_END_DATE_FIRST = "20220131";
4041
public static final String VAULT_FREQUENCY_DATE_MONTHLY = "Monthly";
4142

4243
// Pub values
43-
public static final String PUB_DEFAULT_DOCUMENT = "Client:/AAPI/Puma Test Doc.Pub_bridge_pdf";
44+
public static final String PUB_DEFAULT_DOCUMENT = "Client:/AAPI/Puma Narrative Test.PUB_BRIDGE_PDF";
4445
public static final String PUB_DEFAULT_ACCOUNT = "BENCH:SP50";
4546
public static final String DEFAULT_LOOKUP_DIRECTORY = "client:";
4647

tests/src/test/java/Api/ComponentsApiTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public void getBySPARComponentIdSuccess() throws ApiException {
136136
apiInstance = new ComponentsApi(apiClient);
137137

138138
try {
139-
getSPARComponentsResponse = apiInstance.getSPARComponentsWithHttpInfo(CommonParameters.SPAR_DEFAULT_DOCUMENT);
139+
getSPARComponentsResponse = apiInstance.getSPARComponentsWithHttpInfo(CommonParameters.SPARAccount);
140140

141141
Assert.assertTrue("Response should be 200 - Success", getSPARComponentsResponse.getStatusCode() == 200);
142142
Assert.assertTrue("Response data should not be null.", getSPARComponentsResponse.getData().getData().size() != 0);

0 commit comments

Comments
 (0)