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

Commit

Permalink
Merge pull request #61 from salesforce-marketingcloud/v1.2.1
Browse files Browse the repository at this point in the history
v1.2.1 initail commit
  • Loading branch information
sharif26 authored Aug 28, 2017
2 parents 1a92f50 + 07f6de7 commit 05c88b8
Show file tree
Hide file tree
Showing 946 changed files with 5,502 additions and 4,338 deletions.
4 changes: 2 additions & 2 deletions COPYING
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2013, 2014, 2015, ExactTarget, Inc.
Copyright (c) 2017, Salesforce, Inc.
All rights reserved.

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

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

Expand Down
34 changes: 20 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,26 @@ Java platform. Among other things, the SDK:
For more information about the Java SDK and how to use it, please see
the Javadocs at http://salesforce-marketingcloud.github.io/FuelSDK-Java/.

# New Features in Version 1.2.0
* Project tree structure
* Source Packages : SDK package (src/main/java/com/exacttarget/fuelsdk/)
* Test Packages : JUnit test package (src/test/java/com/exacttarget/fuelsdk/)
* Annotation Packages : The annotation package (src/main/java/com/exacttarget/fuelsdk/annotations/)
* Documentation : SDK API HTML documentation (docs/)

# New Features in Version 1.2.1
* New addition to the source packages
- Added ETProfileAttribute.java to create new Subcriber
- Added SendClassification on ETTriggeredEmail to create new Triggered Send Definition

* 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.

* API docs : added API documentation using doxygen documentation framework. (under docs/ directory)
- Added support for Sendable Data Extension. Two new properties (SendableSubscriberField, SendableDataExtensionField) are added to ETDataExtension class to support Sendable Data Extension.
IsSendable property need to be set true. Code snippet to create sendable data extension:
<pre>
ETDataExtension dataExtension = new ETDataExtension();
dataExtension.setKey(UUID.randomUUID().toString());
dataExtension.setName(UUID.randomUUID().toString());
dataExtension.setIsSendable(true);
Attribute at = new Attribute();
at.setName("Subscriber Key");
at.setValue(null);
dataExtension.setSendableSubscriberField(at);
dataExtension.addColumn("EmailAddress", ETDataExtensionColumn.Type.EMAIL_ADDRESS, 100, null, null, true, true, null);
dataExtension.addColumn("FirstName", ETDataExtensionColumn.Type.TEXT);
dataExtension.setSendableDataExtensionField(dataExtension.getColumn("EmailAddress"));
ETResponse<ETDataExtension> response = client.create(dataExtension);
</pre>

* JUnit test case : Test cases added to DataExtension to test sendable data extension.

Installation
------------
Expand All @@ -48,7 +54,7 @@ The easiest way to install the Java SDK is via Maven&mdash;simply add the follow
<dependency>
<groupId>com.github.salesforce-marketingcloud</groupId>
<artifactId>fuelsdk</artifactId>
<version>1.2.0</version>
<version>1.2.1</version>
</dependency>

Maven will automatically resolve, download, and install all dependencies for you.
Expand Down
Binary file removed SF.png
Binary file not shown.
8 changes: 8 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## Version 1.2.1 - 08/28/2017 ##

* New addition to the source packages
- Added support for Sendable Data Extension. Two new properties (SendableSubscriberField, SendableDataExtensionField) are added to ETDataExtension class to support Sendable Data Extension.

* JUnit test case : Test cases added to DataExtension to test sendable data extension.

## Version 1.2.0 - 08/08/2017 ##
* Project tree structure
* Source Packages : SDK package (src/main/java/com/exacttarget/fuelsdk/)
Expand All @@ -20,3 +27,4 @@

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

Loading

0 comments on commit 05c88b8

Please sign in to comment.