Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notify on logout #122

Merged
merged 11 commits into from
Nov 14, 2018
Merged

Notify on logout #122

merged 11 commits into from
Nov 14, 2018

Conversation

yigal-dayan2
Copy link
Contributor

No description provided.

@coveralls
Copy link

coveralls commented Nov 8, 2018

Coverage Status

Coverage decreased (-1.6%) to 77.299% when pulling 501d43c on notify-on-logout into 91a59a9 on master.

@ibm-cloud-security ibm-cloud-security deleted a comment Nov 11, 2018
@ibm-cloud-security ibm-cloud-security deleted a comment Nov 11, 2018
@ibm-cloud-security ibm-cloud-security deleted a comment Nov 11, 2018
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
classpath "com.android.tools.build:gradle:3.1.1"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

retrieve back the 3.1.2 v

Copy link
Contributor Author

@yigal-dayan2 yigal-dayan2 Nov 14, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you check that v 3.1.2 works for you? It did not work for me and for Vitali. The continuous build also failed.


private static final String OAUTH_ACTIVITY_LOGGING_PATH = "/activity_logging";
private static final String ID_KEY = "id_token";
private static final String ACTIVITY_KEY = "eventName";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we name it
EVENT_NAME and
ID_TOKEN ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed to EVENT_NAME_KEY, ID_TOKEN_KEY


ResponseListener resListener = new ResponseListener() {
@Override
public void onSuccess(Response response) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add info log on success

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

already done

}
@Override
public void onFailure(Response response, Throwable t, JSONObject extendedInfo) {
logger.debug("Failed to submit logging request");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should it be debug ? why not error?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@yigal-dayan2 yigal-dayan2 merged commit d58e6ae into master Nov 14, 2018
@yigal-dayan2 yigal-dayan2 deleted the notify-on-logout branch November 14, 2018 14:27
@yigal-dayan2 yigal-dayan2 restored the notify-on-logout branch November 14, 2018 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants