This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new b0e924f  Regen
b0e924f is described below

commit b0e924ffc4c2ba4bb713fcd1ce06c23a6b581c7f
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Sun Jan 20 19:13:44 2019 +0100

    Regen
---
 .../src/main/docs/linkedin-component.adoc             | 10 +++++-----
 .../springboot/LinkedInComponentConfiguration.java    | 19 ++++++++++---------
 2 files changed, 15 insertions(+), 14 deletions(-)

diff --git 
a/components/camel-linkedin/camel-linkedin-component/src/main/docs/linkedin-component.adoc
 
b/components/camel-linkedin/camel-linkedin-component/src/main/docs/linkedin-component.adoc
index 6e6b3e5..4b8d6ed 100644
--- 
a/components/camel-linkedin/camel-linkedin-component/src/main/docs/linkedin-component.adoc
+++ 
b/components/camel-linkedin/camel-linkedin-component/src/main/docs/linkedin-component.adoc
@@ -98,13 +98,13 @@ with the following path and query parameters:
 | *accessToken* (common) | LinkedIn access token to avoid username and 
password login procedure. LinkedIn responds to login forms by using a CAPTCHA. 
This makes it impossible for a standalone, headless process to log in to 
LinkedIn by specifying a username and password. To work around this, obtain a 
LinkedIn access token and provide the token as the setting of the accessToken 
parameter. Obtaining a LinkedIn access token is a multi-step procedure. You 
must configure your LinkedIn applicat [...]
 | *clientId* (common) | LinkedIn application client ID |  | String
 | *clientSecret* (common) | LinkedIn application client secret |  | String
-| *expiryTime* (common) | LinkedIn access token expiry time in milliseconds 
since Unix Epoch, default is 60 days in the future. |  | Long
-| *httpParams* (common) | Custom HTTP params, for example proxy host and port, 
use constants from AllClientPNames |  | Map
+| *expiryTime* (common) | A number of milliseconds since the UNIX Epoch. The 
default is 60 days. A LinkedIn access token expires when this amount of time 
elapses after the token is in use. |  | Long
+| *httpParams* (common) | Custom HTTP parameters, for example, proxy host and 
port. Use constants from AllClientPNames. |  | Map
 | *inBody* (common) | Sets the name of a parameter to be passed in the 
exchange In Body |  | String
-| *lazyAuth* (common) | Flag to enable/disable lazy OAuth, default is true. 
when enabled, OAuth token retrieval or generation is not done until the first 
REST call | true | boolean
-| *redirectUri* (common) | Application redirect URI, although the component 
never redirects to this page to avoid having to have a functioning redirect 
server. So for testing one could use https://localhost |  | String
+| *lazyAuth* (common) | Flag to enable/disable lazy OAuth, default is true. 
When enabled, OAuth token retrieval or generation is not done until the first 
REST call. | true | boolean
+| *redirectUri* (common) | Application redirect URI, although the component 
never redirects to this page to avoid having to have a functioning redirect 
server. For testing, one could use https://localhost. |  | String
 | *scopes* (common) | List of LinkedIn scopes as specified at 
https://developer.linkedin.com/documents/authentication#granting |  | 
OAuthScope[]
-| *secureStorage* (common) | Callback interface for providing an OAuth token 
or to store the token generated by the component. The callback should return 
null on the first call and then save the created token in the saveToken() 
callback. If the callback returns null the first time, a userPassword MUST be 
provided |  | OAuthSecureStorage
+| *secureStorage* (common) | Callback interface for providing an OAuth token 
or to store the token generated by the component. The callback should return 
null on the first call and then save the created token in the saveToken() 
callback. If the callback returns null the first time, a userPassword MUST be 
provided. |  | OAuthSecureStorage
 | *userName* (common) | LinkedIn user account name, MUST be provided |  | 
String
 | *userPassword* (common) | LinkedIn account password |  | String
 | *bridgeErrorHandler* (consumer) | Allows for bridging the consumer to the 
Camel routing Error Handler, which mean any exceptions occurred while the 
consumer is trying to pickup incoming messages, or the likes, will now be 
processed as a message and handled by the routing Error Handler. By default the 
consumer will use the org.apache.camel.spi.ExceptionHandler to deal with 
exceptions, that will be logged at WARN or ERROR level and ignored. | false | 
boolean
diff --git 
a/platforms/spring-boot/components-starter/camel-linkedin-starter/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentConfiguration.java
 
b/platforms/spring-boot/components-starter/camel-linkedin-starter/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentConfiguration.java
index 60b5978..be253fe 100644
--- 
a/platforms/spring-boot/components-starter/camel-linkedin-starter/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentConfiguration.java
+++ 
b/platforms/spring-boot/components-starter/camel-linkedin-starter/src/main/java/org/apache/camel/component/linkedin/springboot/LinkedInComponentConfiguration.java
@@ -93,7 +93,7 @@ public class LinkedInComponentConfiguration
          * generated by the component. The callback should return null on the
          * first call and then save the created token in the saveToken()
          * callback. If the callback returns null the first time, a 
userPassword
-         * MUST be provided
+         * MUST be provided.
          */
         private OAuthSecureStorage secureStorage;
         /**
@@ -118,8 +118,9 @@ public class LinkedInComponentConfiguration
          */
         private String accessToken;
         /**
-         * LinkedIn access token expiry time in milliseconds since Unix Epoch,
-         * default is 60 days in the future.
+         * A number of milliseconds since the UNIX Epoch. The default is 60
+         * days. A LinkedIn access token expires when this amount of time
+         * elapses after the token is in use.
          */
         private Long expiryTime;
         /**
@@ -137,19 +138,19 @@ public class LinkedInComponentConfiguration
         private OAuthScope[] scopes;
         /**
          * Application redirect URI, although the component never redirects to
-         * this page to avoid having to have a functioning redirect server. So
-         * for testing one could use https://localhost
+         * this page to avoid having to have a functioning redirect server. For
+         * testing, one could use https://localhost.
          */
         private String redirectUri;
         /**
-         * Custom HTTP params, for example proxy host and port, use constants
-         * from AllClientPNames
+         * Custom HTTP parameters, for example, proxy host and port. Use
+         * constants from AllClientPNames.
          */
         private Map httpParams;
         /**
-         * Flag to enable/disable lazy OAuth, default is true. when enabled,
+         * Flag to enable/disable lazy OAuth, default is true. When enabled,
          * OAuth token retrieval or generation is not done until the first REST
-         * call
+         * call.
          */
         private Boolean lazyAuth = true;
 

Reply via email to