Skip to content
This repository was archived by the owner on Jan 19, 2024. It is now read-only.

Commit 05c88b8

Browse files
authored
Merge pull request #61 from salesforce-marketingcloud/v1.2.1
v1.2.1 initail commit
2 parents 1a92f50 + 07f6de7 commit 05c88b8

946 files changed

Lines changed: 5502 additions & 4338 deletions

File tree

Some content is hidden

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

COPYING

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2013, 2014, 2015, ExactTarget, Inc.
1+
Copyright (c) 2017, Salesforce, Inc.
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without
@@ -12,7 +12,7 @@ notice, this list of conditions and the following disclaimer.
1212
notice, this list of conditions and the following disclaimer in the
1313
documentation and/or other materials provided with the distribution.
1414

15-
* Neither the name of ExactTarget, Inc. nor the names of its
15+
* Neither the name of Salesforce, Inc. nor the names of its
1616
contributors may be used to endorse or promote products derived
1717
from this software without specific prior written permission.
1818

README.md

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,26 @@ Java platform. Among other things, the SDK:
2525
For more information about the Java SDK and how to use it, please see
2626
the Javadocs at http://salesforce-marketingcloud.github.io/FuelSDK-Java/.
2727

28-
# New Features in Version 1.2.0
29-
* Project tree structure
30-
* Source Packages : SDK package (src/main/java/com/exacttarget/fuelsdk/)
31-
* Test Packages : JUnit test package (src/test/java/com/exacttarget/fuelsdk/)
32-
* Annotation Packages : The annotation package (src/main/java/com/exacttarget/fuelsdk/annotations/)
33-
* Documentation : SDK API HTML documentation (docs/)
34-
28+
# New Features in Version 1.2.1
3529
* New addition to the source packages
36-
- Added ETProfileAttribute.java to create new Subcriber
37-
- Added SendClassification on ETTriggeredEmail to create new Triggered Send Definition
38-
39-
* JUnit test case : This covers basic happy path testing. All the test cases use “ET” classes. Advanced and more comprehensive test cases will be added in future releases. Added new JUnit test cases.
40-
41-
* API docs : added API documentation using doxygen documentation framework. (under docs/ directory)
30+
- Added support for Sendable Data Extension. Two new properties (SendableSubscriberField, SendableDataExtensionField) are added to ETDataExtension class to support Sendable Data Extension.
31+
IsSendable property need to be set true. Code snippet to create sendable data extension:
32+
<pre>
33+
ETDataExtension dataExtension = new ETDataExtension();
34+
dataExtension.setKey(UUID.randomUUID().toString());
35+
dataExtension.setName(UUID.randomUUID().toString());
36+
dataExtension.setIsSendable(true);
37+
Attribute at = new Attribute();
38+
at.setName("Subscriber Key");
39+
at.setValue(null);
40+
dataExtension.setSendableSubscriberField(at);
41+
dataExtension.addColumn("EmailAddress", ETDataExtensionColumn.Type.EMAIL_ADDRESS, 100, null, null, true, true, null);
42+
dataExtension.addColumn("FirstName", ETDataExtensionColumn.Type.TEXT);
43+
dataExtension.setSendableDataExtensionField(dataExtension.getColumn("EmailAddress"));
44+
ETResponse<ETDataExtension> response = client.create(dataExtension);
45+
</pre>
46+
47+
* JUnit test case : Test cases added to DataExtension to test sendable data extension.
4248

4349
Installation
4450
------------
@@ -48,7 +54,7 @@ The easiest way to install the Java SDK is via Maven&mdash;simply add the follow
4854
<dependency>
4955
<groupId>com.github.salesforce-marketingcloud</groupId>
5056
<artifactId>fuelsdk</artifactId>
51-
<version>1.2.0</version>
57+
<version>1.2.1</version>
5258
</dependency>
5359

5460
Maven will automatically resolve, download, and install all dependencies for you.

SF.png

-6.3 KB
Binary file not shown.

changelog.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## Version 1.2.1 - 08/28/2017 ##
2+
3+
* New addition to the source packages
4+
- Added support for Sendable Data Extension. Two new properties (SendableSubscriberField, SendableDataExtensionField) are added to ETDataExtension class to support Sendable Data Extension.
5+
6+
* JUnit test case : Test cases added to DataExtension to test sendable data extension.
7+
18
## Version 1.2.0 - 08/08/2017 ##
29
* Project tree structure
310
* Source Packages : SDK package (src/main/java/com/exacttarget/fuelsdk/)
@@ -20,3 +27,4 @@
2027

2128
* API docs : added API documentation using javadoc documentation framework. (under docs/ directory)
2229
http://salesforce-marketingcloud.github.io/FuelSDK-Java/
30+

0 commit comments

Comments
 (0)