Skip to content

Commit d4d6fff

Browse files
authored
Merge pull request #99 from docusign/2.9.0-RC1
Release candidate of version 2.9.0
2 parents 047b16f + 4061646 commit d4d6fff

File tree

733 files changed

+2124
-1649
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

733 files changed

+2124
-1649
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
# DocuSign Java Client Changelog
22
See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes.
33

4+
## [v2.9.0-RC1] - eSignature API v18.4.02 - 2019-02-15
5+
### Added
6+
- Support for the **latest DocuSign API** (18.4.02.00).
7+
- Ability to upload a brand logo through updateBrandLogoByType
8+
- Support for HTTP(S) proxy through System Properties. The supported proxy parameters are:
9+
- For HTTPS (recommended): https.proxyHost, https.proxyPort, https.proxyUser and https.proxyPassword
10+
- For HTTP: http.proxyHost, http.proxyPort, http.proxyUser and http.proxyPassword
11+
412
## [v2.8.1] - Jackson library patch - 2019-01-04
513
### Security
614
- [CVE-2018-19360](https://nvd.nist.gov/vuln/detail/CVE-2018-19360).
@@ -17,6 +25,7 @@ See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for
1725
- Fixed a problem with the EnvelopesApi.listStatus methods that could cause them to ignore sets of envelope IDs passed in to get statuses for specific envelopes. (DCM-2953)
1826
- Fixed a problem with the EnvelopesApi.updateChunkedUpload method that could cause it to fail and return a 411 error. (DCM-2978)
1927
- Surfaced the authentication error that might be returned by the ApiClient.JWTUserToken method.
28+
2029
### Changed
2130
- The SDK now supports version 18.3.02 of the DocuSign API.
2231
- Fixed a typo in a method name: getPasswordRules_0 has been changed to getAccountPasswordRules.

README.md

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Add this dependency to your project's POM:
2121
<dependency>
2222
<groupId>com.docusign</groupId>
2323
<artifactId>docusign-esign-java</artifactId>
24-
<version>2.8.1</version>
24+
<version>2.9.0-RC1</version>
2525
</dependency>
2626
```
2727

@@ -30,7 +30,7 @@ Add this dependency to your project's POM:
3030
Add this dependency to your project's build file:
3131

3232
```groovy
33-
compile "com.docusign:docusign-esign-java:2.8.1"
33+
compile "com.docusign:docusign-esign-java:2.9.0-RC1"
3434
```
3535

3636
#### Dependencies
@@ -73,8 +73,8 @@ android {
7373

7474
This client is available through the following Java package managers:
7575

76-
- [Nexus Repository Manager](https://oss.sonatype.org/#nexus-search;quick~docusign-esign-java) (oss.sonatype.org). You can search for com.docusign or docusign-esign-java. The current version is 2.8.1.
77-
- [JFrog Bintray](https://bintray.com/dsdevcenter/maven/docusign-esign-java) (bintray.com). You can search for com.docusign or docusign-esign-java. The current version is 2.8.1.
76+
- [Nexus Repository Manager](https://oss.sonatype.org/#nexus-search;quick~docusign-esign-java) (oss.sonatype.org). You can search for com.docusign or docusign-esign-java. The current version is 2.9.0-RC1.
77+
- [JFrog Bintray](https://bintray.com/dsdevcenter/maven/docusign-esign-java) (bintray.com). You can search for com.docusign or docusign-esign-java. The current version is 2.9.0-RC1.
7878

7979

8080
Usage
@@ -283,19 +283,6 @@ The url for the Userinfo method is account-d.docusign.com for the demo/developer
283283
5. Create the `authentication_value` by combining the `token_type` and `access_token` fields you receive from either an [Authorization Code Grant](https://docs.docusign.com/esign/guide/authentication/oa2_auth_code.html) or [Implicit Grant](https://docs.docusign.com/esign/guide/authentication/oa2_implicit.html) OAuth flow.
284284
5. Set the authentication header by using `Configuration.Default.AddDefaultHeader('Authorization', authentication_value)`
285285

286-
## Service Integrations that use the Deprecated Header Authentication
287-
288-
([Deprecated Header Authentication](https://docs.docusign.com/esign/guide/authentication/legacy_auth.html) uses the X-DocuSign-Authentication header. Please switch to OAuth ASAP.)
289-
290-
1. Use the [Authentication: login method](https://docs.docusign.com/esign/restapi/Authentication/Authentication/login/) to retrieve the account number **and the baseUrl** for the account.
291-
The url for the login method is www.docusign.net for production and demo.docusign.net for the developer sandbox.
292-
The `baseUrl` field is part of the `loginAccount` object. See the [docs and the loginAccount object](https://docs.docusign.com/esign/restapi/Authentication/Authentication/login/#/definitions/loginAccount)
293-
2. The baseUrl for the selected account, in production, will start with na1, na2, na3, eu1, or something else. Use the baseUrl that is returned to create the *basePath* (see the next step.) Use the basePath for all of your subsequent API calls.
294-
3. As returned by login method, the baseUrl includes the API version and account id. Split the string to obtain the *basePath*, just the server name and api name. Eg, you will receive `https://na1.docusign.net/restapi/v2/accounts/123123123`. You want just `https://na1.docusign.net/restapi`
295-
4. Instantiate the SDK using the basePath. Eg `ApiClient apiClient = new ApiClient(basePath);`
296-
5. Set the authentication header as shown in the examples by using `Configuration.Default.AddDefaultHeader`
297-
298-
299286
Testing
300287
=======
301288

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'idea'
22
apply plugin: 'eclipse'
33

44
group = 'com.docusign'
5-
version = '2.8.1'
5+
version = '2.9.0-RC1'
66

77
buildscript {
88
repositories {

params.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

pom.xml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
32
<modelVersion>4.0.0</modelVersion>
43
<groupId>com.docusign</groupId>
54
<artifactId>docusign-esign-java</artifactId>
65
<packaging>jar</packaging>
76
<name>docusign-esign-java</name>
8-
<version>2.8.1</version>
7+
<version>2.9.0-RC-1</version>
98
<description>The official DocuSign eSignature JAVA client is based on version 2 of the DocuSign REST API and provides libraries for JAVA application integration. It is recommended that you use this version of the library for new development.</description>
109
<url>https://www.docusign.com/developer-center</url>
1110

@@ -29,7 +28,7 @@
2928
<plugin>
3029
<groupId>org.apache.maven.plugins</groupId>
3130
<artifactId>maven-surefire-plugin</artifactId>
32-
<version>2.12.1</version>
31+
<version>3.0.0-M3</version>
3332
<configuration>
3433
<systemProperties>
3534
<property>
@@ -39,11 +38,19 @@
3938
</systemProperties>
4039
<argLine>-Xms512m -Xmx1500m</argLine>
4140
<parallel>methods</parallel>
41+
<useUnlimitedThreads>true</useUnlimitedThreads>
4242
<forkMode>pertest</forkMode>
4343
<includes>
4444
<include>**/*Tests.java</include>
4545
</includes>
4646
</configuration>
47+
<dependencies>
48+
<dependency>
49+
<groupId>org.apache.maven.surefire</groupId>
50+
<artifactId>surefire-junit47</artifactId>
51+
<version>3.0.0-M3</version>
52+
</dependency>
53+
</dependencies>
4754
</plugin>
4855
<plugin>
4956
<artifactId>maven-dependency-plugin</artifactId>
@@ -64,11 +71,10 @@
6471
<plugin>
6572
<groupId>org.apache.maven.plugins</groupId>
6673
<artifactId>maven-jar-plugin</artifactId>
67-
<version>2.2</version>
74+
<version>3.1.1</version>
6875
<executions>
6976
<execution>
7077
<goals>
71-
<goal>jar</goal>
7278
<goal>test-jar</goal>
7379
</goals>
7480
</execution>
@@ -80,7 +86,7 @@
8086
<plugin>
8187
<groupId>org.apache.maven.plugins</groupId>
8288
<artifactId>maven-source-plugin</artifactId>
83-
<version>2.2</version>
89+
<version>3.0.1</version>
8490
<executions>
8591
<execution>
8692
<id>attach-sources</id>
@@ -135,7 +141,6 @@
135141
<sources>
136142
<source>src/main/java</source>
137143
</sources>
138-
<failOnError>false</failOnError>
139144
</configuration>
140145
</execution>
141146
<execution>
@@ -157,8 +162,8 @@
157162
<artifactId>maven-compiler-plugin</artifactId>
158163
<version>2.3.2</version>
159164
<configuration>
160-
<source>1.6</source>
161-
<target>1.6</target>
165+
<source>1.7</source>
166+
<target>1.7</target>
162167
</configuration>
163168
</plugin>
164169
</plugins>

0 commit comments

Comments
 (0)