#5 ✓closed
Ben Hood

Widen the scope of difference sessions

Reported by Ben Hood | September 27th, 2010 @ 10:48 AM | in 0.8

ATM a difference session is scoped on a pair. To makes things easier for the client, the API should accept either:

  • A list of pairs to include
  • A list of pair groups to include
  • A combination of both
  • Or no argument, which means that every known pair will be returned

Comments and changes to this ticket

  • Ben Hood

    Ben Hood September 27th, 2010 @ 11:20 AM

    • Milestone set to 0.8
    • Milestone order changed from “4” to “0”
  • Paul Jones

    Paul Jones September 27th, 2010 @ 01:14 PM

    • State changed from “new” to “open”
    • Assigned user set to “Paul Jones”
  • Paul Jones

    Paul Jones September 27th, 2010 @ 03:21 PM

    All the underlying plumbing for this is now complete - the Session Manager internally supports this, as do the various caches. All that is necessary to complete is to update the REST API to support sending alternative configurations.

  • Jonathan Lister

    Jonathan Lister September 29th, 2010 @ 03:03 AM

    Hi,

    Given that the REST API currently defines this as the way to create a session...

    POST /diffs/pairs/{pair}

    ...it would be useful if the session-creation URL was something generic, such as:

    POST /diffs/sessions/new

    You would then send your parameters: pairs, groups, or nothing for all known pairs. You could keep the first URL for the times when you want to monitor one pair.

  • Paul Jones

    Paul Jones September 29th, 2010 @ 06:03 AM

    This actually has been changed already - perhaps we just haven't regenerated the docs. As of yesterdays, sessions are now created with a POST against /diffs/sessions, providing a pairs= query parameter to indicate the pairs you are interested in.

  • Ben Hood

    Ben Hood September 29th, 2010 @ 06:26 AM

    The docs have been regenerated and committed subsequent to this API
    change. Jonathan, are you able to compile the site with Jekyll?

  • Paul Jones

    Paul Jones September 29th, 2010 @ 08:12 AM

    • State changed from “open” to “closed”

    To get this ticket closed down, for now we'll defer the support for subscribing to groups (pushed to #50). The interface for now will support subscribing to everything (by not specifying pairs) or to a list of pairs.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A Real Time Differencing Tool.

Shared Ticket Bins

People watching this ticket

Referenced by

Pages