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

Add return_url negotiation #21

Closed
wants to merge 11 commits into from
Closed

Add return_url negotiation #21

wants to merge 11 commits into from

Commits on Jan 24, 2024

  1. Model locations and sessions as REST resources

    Remove the action from the URI for the resource to allow individual
    referencing and collections of nested resources.
    caguado committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    f2734f7 View commit details
    Browse the repository at this point in the history
  2. Model authorization errors when accessing a resource

    The current API namespace is shared across all the callers so responses
    will be filtered by visibility of the caller or denied in the absence of
    authorization to use the passed input parameters.
    caguado committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    51a8552 View commit details
    Browse the repository at this point in the history
  3. Add pagination to listing of locations and sessions

    Implement a paginator over the list of sessions visible to a caller.
    The paginator is opportunistic as it will return an upper bounded set
    using the client hint, and opaque as it will make no commitments on the
    content of the pagination token.
    caguado committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    dee93db View commit details
    Browse the repository at this point in the history
  4. Disambiguate items in batch processing for sessions

    The creation of sessions allows to submit a set of them to treat them as
    an aggregate when requesting to operate on a certain peering posture.
    This commit adds a field to the input and output series such that the
    client can univocally identify which sessions have been processed
    successfully or not without relying on implicit ordering of the input or
    result set.
    caguado committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    ef4db4f View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2024

  1. Add deletion of individual sessions

    Implement a method to depeer by deleting existing sessions. The
    batched creation method does not create an obvious collection resource
    on the server side that may be used for a depeering situation therefore
    this commit only implements individual session deletion.
    
    To tackle a situation where depeering is desired for a whole metro or
    IX while respecting this RESTful interface, we will need to define a
    separate aggregate resource that can be used to operate atomically on
    the set of target sessions.
    caguado committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    4e57929 View commit details
    Browse the repository at this point in the history
  2. Add soft-delete semantics for a collection of sessions

    This commit adds the soft deleted semantics described in the original
    spec where a set of sessions is requested for deletion and the response
    will include a status in the deletion of the request.
    
    This commit also recreates these semantics in the individual session
    deletion.
    caguado committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    62888af View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2024

  1. fix typos

    grizz committed Feb 18, 2024
    Configuration menu
    Copy the full SHA
    71bdacf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    562e4cc View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2024

  1. Remove transient identifiers and partial success in response

    As per the different discussions, this commit removes references to
    identifiers used to identify parts of an inflight request that
    disambiguate failure scenarios. They may be addressed later.
    
    It also removes the partial successful reponse conveyed through a
    redirect error code. The rationale to use only the 200 success code
    is that the response for a batched request has been successfully
    processed and the response may still contain references to items which
    were not successful. Clients will have to introspect the response to
    decide what to do with those failed items.
    caguado authored and grizz committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    51f8d2b View commit details
    Browse the repository at this point in the history
  2. clarify server ASN

    grizz committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    28fac92 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2024

  1. add 422 response

    grizz committed May 8, 2024
    Configuration menu
    Copy the full SHA
    03fb1a6 View commit details
    Browse the repository at this point in the history