Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

rework SessionClient #71

Merged
merged 2 commits into from
Oct 21, 2015
Merged

rework SessionClient #71

merged 2 commits into from
Oct 21, 2015

Conversation

rickfast
Copy link
Owner

  • Rework SessionClient to use objects instead of JSON strings.
  • Added support for /v1/session/list

@@ -1,26 +1,44 @@
package com.orbitz.consul;
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it'd be worthwhile to test providing no fields in session creation, as well as a test specifying all fields and asserting that they are set correctly.

In particular I'm not sure that the TTL value of "30s" issue raised by @defucius has been addressed

Copy link
Contributor

Choose a reason for hiding this comment

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

Also need a test for the renewSession action

rickfast added a commit that referenced this pull request Oct 21, 2015
@rickfast rickfast merged commit edfdd46 into master Oct 21, 2015
@rickfast rickfast deleted the fix-session branch October 8, 2016 19:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants