Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit d784248

Browse files
committed
Patch log4j vulnerability
Patch log4j vulnerability
1 parent 58961c9 commit d784248

20 files changed

Lines changed: 1050 additions & 1021 deletions

fuelsdk.properties.template

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1+
# For running tests via mvn clean test
2+
# (Note several tests in this fork marked @Ignore as they presently don't work.)
3+
# Copy this file into a new fuelsdk.properties in this folder, and place values based on your Marketing Cloud config.
4+
# Data confidential, don't check this information into a public repository! (fuelsdk.properties is in .gitignore)
15
clientId=<CLIENT_ID>
26
clientSecret=<CLIENT_SECRET>
37
authEndpoint=https://########.auth.marketingcloudapis.com
48
endpoint=https://########.rest.marketingcloudapis.com
59
soapEndpoint=https://########.soap.marketingcloudapis.com/service.asmx
610
useOAuth2Authentication=true
711
accountId=<TARGET_ACCOUNT_ID>
8-
scope=<PERMISSION_LIST>
12+
# scope= (can leave blank for current tests)

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>org.gmazza</groupId>
55
<artifactId>fuelsdk</artifactId>
6-
<version>1.6.0</version>
6+
<version>1.5.3</version>
77
<name>Salesforce Marketing Cloud Java SDK (redventures fork)</name>
88
<description>Salesforce Marketing Cloud Java SDK</description>
99
<url>https://github.com/gmazza/FuelSDK-Java</url>
@@ -199,4 +199,4 @@
199199
</plugin>
200200
</plugins>
201201
</build>
202-
</project>
202+
</project>

src/main/java/com/exacttarget/fuelsdk/ETApiProperty.java

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,65 +2,65 @@
22

33
import javax.xml.bind.annotation.XmlElement;
44

5-
import org.apache.commons.lang.builder.ToStringBuilder;
5+
import org.apache.commons.lang3.builder.ToStringBuilder;
66
import org.apache.cxf.xjc.runtime.JAXBToStringStyle;
77

88
import com.exacttarget.fuelsdk.annotations.ExternalName;
99

1010
/**
11-
* An <code>ETApiProperty</code> represents API property name value pair in
12-
* the Salesforce Marketing Cloud API.
11+
* An <code>ETApiProperty</code> represents API property name value pair in
12+
* the Salesforce Marketing Cloud API.
1313
*/
1414
public class ETApiProperty {
1515

16-
@ExternalName("Name")
16+
@ExternalName("Name")
1717
protected String name;
18-
@ExternalName("Value")
18+
@ExternalName("Value")
1919
protected String value;
2020

2121
/**
2222
* Gets the value of the name property.
23-
*
23+
*
2424
* @return
2525
* possible object is
2626
* {@link String }
27-
*
27+
*
2828
*/
2929
public String getName() {
3030
return name;
3131
}
3232

3333
/**
3434
* Sets the value of the name property.
35-
*
35+
*
3636
* @param value
3737
* allowed object is
3838
* {@link String }
39-
*
39+
*
4040
*/
4141
public void setName(String value) {
4242
this.name = value;
4343
}
4444

4545
/**
4646
* Gets the value of the value property.
47-
*
47+
*
4848
* @return
4949
* possible object is
5050
* {@link String }
51-
*
51+
*
5252
*/
5353
public String getValue() {
5454
return value;
5555
}
5656

5757
/**
5858
* Sets the value of the value property.
59-
*
59+
*
6060
* @param value
6161
* allowed object is
6262
* {@link String }
63-
*
63+
*
6464
*/
6565
public void setValue(String value) {
6666
this.value = value;
@@ -69,11 +69,11 @@ public void setValue(String value) {
6969
/**
7070
* Generates a String representation of the contents of this type.
7171
* This is an extension method, produced by the 'ts' xjc plugin
72-
*
72+
*
7373
*/
7474
@Override
7575
public String toString() {
7676
return ToStringBuilder.reflectionToString(this, JAXBToStringStyle.DEFAULT_STYLE);
7777
}
7878

79-
}
79+
}

0 commit comments

Comments
 (0)