Skip to content

Commit e67cdfc

Browse files
committed
t push
Merge branch 'release' of git.sami.int.thomsonreuters.com:EPD/esdk into release
2 parents 4e6bf77 + c2cd9cc commit e67cdfc

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

Java/Eta/ValueAdd/src/main/java/com/thomsonreuters/upa/valueadd/reactor/Reactor.java

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1113,13 +1113,21 @@ int sessionManagementStartup(ReactorTokenSession tokenSession, ReactorConnectInf
11131113
return errorInfo.code();
11141114
}
11151115

1116-
if (isBlocking && reactorChannel.applyServiceDiscoveryEndpoint(errorInfo) != ReactorReturnCodes.SUCCESS)
1116+
if ( isBlocking )
11171117
{
1118-
return errorInfo.code();
1118+
if(reactorChannel.applyServiceDiscoveryEndpoint(errorInfo) != ReactorReturnCodes.SUCCESS)
1119+
{
1120+
return errorInfo.code();
1121+
}
1122+
else
1123+
{
1124+
reactorChannel.state(State.EDP_RT_DONE);
1125+
}
11191126
}
11201127
else
11211128
{
1122-
reactorChannel.state(State.EDP_RT_DONE);
1129+
/* Waits for a service discovery response for non-blocking request. */
1130+
reactorChannel.state(State.EDP_RT);
11231131
}
11241132
}
11251133
else

Java/Eta/ValueAdd/src/main/java/com/thomsonreuters/upa/valueadd/reactor/ReactorOAuthCredential.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ public void takeExclusiveSignOnControl(boolean takeExclusiveSignOnControl)
179179
*
180180
* <p>The Reactor will not copy password and client secret if the callback is specified.</p>
181181
*
182-
* @param oAuthCredentialEventCallback
182+
* @param oAuthCredentialEventCallback the OAuth credential event callback.
183183
*/
184184
public void reactorOAuthCredentialEventCallback(ReactorOAuthCredentialEventCallback oAuthCredentialEventCallback)
185185
{

0 commit comments

Comments
 (0)