Skip to content

Commit cbc3eca

Browse files
author
JW Wesson
committed
add legacy message
1 parent b22fba8 commit cbc3eca

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<groupId>com.sovren</groupId>
55
<artifactId>sovren-java</artifactId>
66

7-
<version>1.10.0</version>
7+
<version>1.10.1</version>
88

99
<packaging>jar</packaging>
1010
<name>Sovren Java SDK</name>
11-
<description>The official Java SDK for the Sovren v10 API.</description>
11+
<description>This package has been deprecated as it is legacy and is no longer maintained. Use com.textkernel/tx-java instead. The official Java SDK for the Sovren v10 API.</description>
1212
<url>https://sovren.com/technical-specs/latest/rest-api/overview/</url>
1313

1414
<licenses>

src/main/java/com/sovren/SovrenClient.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,24 +102,30 @@ public class SovrenClient {
102102
public boolean ShowFullRequestBodyInExceptions = false;
103103

104104
/**
105+
* @deprecated This package is now legacy. Please upgrade to the com.textkernel/tx-java package.
106+
*
105107
* Create an SDK client to perform Sovren API calls with the account information found at https://portal.sovren.com
106108
* @param accountId - The account id for your account
107109
* @param serviceKey - The service key for your account
108110
* @param dataCenter - The Data Center for your account. Either {@link DataCenter#US}, {@link DataCenter#EU}, or @link DataCenter#AU}
109111
* @throws IllegalArgumentException if the accountId, serviceKey, or dataCenter are null/empty
110112
*/
113+
@Deprecated
111114
public SovrenClient(String accountId, String serviceKey, DataCenter dataCenter) {
112115
this(accountId, serviceKey, dataCenter, null);
113116
}
114117

115118
/**
119+
* @deprecated This package is now legacy. Please upgrade to the com.textkernel/tx-java package.
120+
*
116121
* Create an SDK client to perform Sovren API calls with the account information found at https://portal.sovren.com
117122
* @param accountId - The account id for your account
118123
* @param serviceKey - The service key for your account
119124
* @param dataCenter - The Data Center for your account. Either {@link DataCenter#US}, {@link DataCenter#EU} or {@link DataCenter#AU}
120125
* @param trackingTags - Optional tags to use to track API usage for your account
121126
* @throws IllegalArgumentException if the accountId, serviceKey, or dataCenter are null/empty
122127
*/
128+
@Deprecated
123129
public SovrenClient(String accountId, String serviceKey, DataCenter dataCenter, List<String> trackingTags) {
124130

125131
if (accountId == null || accountId.length() == 0) {

0 commit comments

Comments
 (0)