Skip to content

Commit 94157d2

Browse files
authored
RC of version 3.4.0 (#132)
## Fixed - POST calls fail on some instances of WebLogic server because of strict Content-Length policy. (DCM-3939)
1 parent 5ae12e5 commit 94157d2

File tree

199 files changed

+43
-36
lines changed

Some content is hidden

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

199 files changed

+43
-36
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions

README.md

Lines changed: 1 addition & 1 deletion

build.gradle

Lines changed: 9 additions & 9 deletions
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 = '3.3.0'
5+
version = '3.4.0-RC1'
66

77
buildscript {
88
repositories {
@@ -25,7 +25,7 @@ if(hasProperty('target') && target == 'android') {
2525

2626
apply plugin: 'com.android.library'
2727
apply plugin: 'com.github.dcendents.android-maven'
28-
28+
2929
android {
3030
compileSdkVersion 22
3131
buildToolsVersion '22.0.0'
@@ -37,7 +37,7 @@ if(hasProperty('target') && target == 'android') {
3737
sourceCompatibility JavaVersion.VERSION_1_7
3838
targetCompatibility JavaVersion.VERSION_1_7
3939
}
40-
40+
4141
// Rename the aar correctly
4242
libraryVariants.all { variant ->
4343
variant.outputs.each { output ->
@@ -53,7 +53,7 @@ if(hasProperty('target') && target == 'android') {
5353
provided 'javax.annotation:jsr250-api:1.0'
5454
}
5555
}
56-
56+
5757
afterEvaluate {
5858
android.libraryVariants.all { variant ->
5959
def task = project.tasks.create "jar${variant.name.capitalize()}", Jar
@@ -65,12 +65,12 @@ if(hasProperty('target') && target == 'android') {
6565
artifacts.add('archives', task);
6666
}
6767
}
68-
68+
6969
task sourcesJar(type: Jar) {
7070
from android.sourceSets.main.java.srcDirs
7171
classifier = 'sources'
7272
}
73-
73+
7474
artifacts {
7575
archives sourcesJar
7676
}
@@ -79,16 +79,16 @@ if(hasProperty('target') && target == 'android') {
7979

8080
apply plugin: 'java'
8181
apply plugin: 'maven'
82-
82+
8383
sourceCompatibility = JavaVersion.VERSION_1_7
8484
targetCompatibility = JavaVersion.VERSION_1_7
85-
85+
8686
install {
8787
repositories.mavenInstaller {
8888
pom.artifactId = 'docusign-esign-java'
8989
}
9090
}
91-
91+
9292
task execute(type:JavaExec) {
9393
main = System.getProperty('mainClass')
9494
classpath = sourceSets.main.runtimeClasspath

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<artifactId>docusign-esign-java</artifactId>
55
<packaging>jar</packaging>
66
<name>docusign-esign-java</name>
7-
<version>3.3.0</version>
7+
<version>3.4.0-RC1</version>
88
<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>
99
<url>https://www.docusign.com/developer-center</url>
1010

@@ -251,7 +251,7 @@
251251
<artifactId>org.apache.oltu.oauth2.client</artifactId>
252252
<version>${oltu-version}</version>
253253
</dependency>
254-
254+
255255
<!-- JWT signing and verifying -->
256256
<dependency>
257257
<groupId>com.auth0</groupId>

src/main/java/com/docusign/esign/client/ApiClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public ApiClient() {
126126
mapper.setDateFormat((DateFormat) dateFormat.clone());
127127

128128
// Set default User-Agent.
129-
setUserAgent("Swagger-Codegen/3.3.0/java");
129+
setUserAgent("Swagger-Codegen/3.4.0-RC1/java");
130130

131131
// Setup authentications (key: authentication name, value: authentication).
132132
authentications = new HashMap<String, Authentication>();
@@ -1128,7 +1128,7 @@ private ClientResponse getAPIResponse(String path, String method, List<Pair> que
11281128
// Add DocuSign Tracking Header
11291129
builder = builder.header("X-DocuSign-SDK", "Java");
11301130

1131-
if (body == null || formParams.isEmpty()) {
1131+
if (body == null && formParams.isEmpty()) {
11321132
builder = builder.header("Content-Length", "0");
11331133
}
11341134

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)