camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dhira...@apache.org
Subject [2/2] git commit: CAMEL-7398: camel-salesforce - Fixed missing token_type field in Salesforce login call
Date Tue, 29 Apr 2014 14:39:22 GMT
CAMEL-7398: camel-salesforce - Fixed missing token_type field in Salesforce login call


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/d7a83342
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/d7a83342
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/d7a83342

Branch: refs/heads/master
Commit: d7a833424ab05a310b2724394ffb259c39a87a9f
Parents: f8b27d9
Author: Dhiraj Bokde <dbokde@redhat.com>
Authored: Mon Apr 28 15:18:18 2014 -0700
Committer: Dhiraj Bokde <dbokde@redhat.com>
Committed: Tue Apr 29 07:36:04 2014 -0700

----------------------------------------------------------------------
 .../component/salesforce/internal/dto/LoginToken.java  | 13 +++++++++++++
 1 file changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/d7a83342/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/dto/LoginToken.java
----------------------------------------------------------------------
diff --git a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/dto/LoginToken.java
b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/dto/LoginToken.java
index c23338e..136eda3 100644
--- a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/dto/LoginToken.java
+++ b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/dto/LoginToken.java
@@ -33,6 +33,8 @@ public class LoginToken {
 
     private String issuedAt;
 
+    private String tokenType;
+
     @JsonProperty("access_token")
     public String getAccessToken() {
         return accessToken;
@@ -78,4 +80,15 @@ public class LoginToken {
     public void setIssuedAt(String issuedAt) {
         this.issuedAt = issuedAt;
     }
+
+    @JsonProperty("token_type")
+    public String getTokenType() {
+        return tokenType;
+    }
+
+    @JsonProperty("token_type")
+    public void setTokenType(String tokenType) {
+        this.tokenType = tokenType;
+    }
+
 }


Mime
View raw message