Skip to content

utml.yaml: PUT /dss/v1/uss_availability/{uss_id}: old_version check is not implemented #1170

@mickmis

Description

@mickmis

Describe the bug
According to the description of the field old_version of the PUT /dss/v1/uss_availability/{uss_id} endpoint of utm.yaml, the endpoint is supposed to support a form of compare-and-swap operation:

Version of USS's availability to change, for consistent read-modify-write operations and consistent retry behavior.

However this is not currently implemented in:

func (a *Server) SetUssAvailability(ctx context.Context, req *restapi.SetUssAvailabilityRequest,

Expected behavior
The endpoint implements the behavior described by the OpenAPI specifications.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSoftware behaves incorrectly because of this issue

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions