ASTM Availability DSS: USS Availability Mutation

scenarios.astm.utm.dss.UssAvailabilityMutation

Resources

KML visualization

Case Step Event iart_dss
Update USS availability state Declare USS as available at DSS 1 🌐
  • GET dss.stage.iart.software 200
    :
    • request
      :
      • method
        :
        GET
      • url
        :
        https://dss.stage.iart.software/dss/v1/uss_availability/DSS%20Qualifer1
      • initiated_at
        :
        2026-09-08T21:54:06.591292Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.34.2
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6InhEUVVkQWhqZ0dYaHBIX3BTTWNMWGM4MnllUFlabFlfLUVtMDhwdnp1VE0iLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2F1dGguc3RhZ2UuaWFydC5zb2Z0d2FyZSIsImV4cCI6MTc4ODkwODAyOSwiaWF0IjoxNzg4OTA0NDI5LCJzdWIiOiJEU1MgUXVhbGlmZXIxIiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwidHlwIjoiQmVhcmVyIiwiYXVkIjoiZHNzLnN0YWdlLmlhcnQuc29mdHdhcmUifQ.REDACTED
      • body
        :
        None
      • json
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Date
          :
          Tue, 08 Sep 2026 21:54:06 GMT
        • Content-Type
          :
          application/json; charset=utf-8
        • Content-Length
          :
          117
        • Connection
          :
          keep-alive
        • Strict-Transport-Security
          :
          max-age=31536000; includeSubDomains
      • elapsed_s
        :
        0.009281
      • reported
        :
        2026-09-08T21:54:06.601396Z
      • json
        :
        • version
          :
          efQntFEr9ls.L7FWvFWURztJW3ZZmbjCsgYfDfSmBJY_
        • status
          :
          • uss
            :
            DSS Qualifer1
          • availability
            :
            Unknown
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.uss.getUssAvailability
    • participant_id
      :
      iart_dss
🌐
2 ✅ USS Availability can be requested ✅
3 🌐
  • PUT dss.stage.iart.software 200
    :
    • request
      :
      • method
        :
        PUT
      • url
        :
        https://dss.stage.iart.software/dss/v1/uss_availability/DSS%20Qualifer1
      • initiated_at
        :
        2026-09-08T21:54:06.602026Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.34.2
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          143
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6InhEUVVkQWhqZ0dYaHBIX3BTTWNMWGM4MnllUFlabFlfLUVtMDhwdnp1VE0iLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2F1dGguc3RhZ2UuaWFydC5zb2Z0d2FyZSIsImV4cCI6MTc4ODkwODAyOSwiaWF0IjoxNzg4OTA0NDI5LCJzdWIiOiJEU1MgUXVhbGlmZXIxIiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwidHlwIjoiQmVhcmVyIiwiYXVkIjoiZHNzLnN0YWdlLmlhcnQuc29mdHdhcmUifQ.REDACTED
      • json
        :
        • old_version
          :
          efQntFEr9ls.L7FWvFWURztJW3ZZmbjCsgYfDfSmBJY_
        • availability
          :
          Normal
        • request_id
          :
          7170bb6e-5c51-4222-b911-59157e9d7fb8
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Date
          :
          Tue, 08 Sep 2026 21:54:06 GMT
        • Content-Type
          :
          application/json; charset=utf-8
        • Content-Length
          :
          116
        • Connection
          :
          keep-alive
        • Strict-Transport-Security
          :
          max-age=31536000; includeSubDomains
      • elapsed_s
        :
        0.012742
      • reported
        :
        2026-09-08T21:54:06.615783Z
      • json
        :
        • version
          :
          tDpq2fpmRICzpN3GYm5TBzx09URnlJR3RUeGRsIzaj0_
        • status
          :
          • uss
            :
            DSS Qualifer1
          • availability
            :
            Normal
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.uss.setUssAvailability
    • participant_id
      :
      iart_dss
🌐
4 ✅ USS Availability can be updated ✅
Update requires correct version Attempt update with missing version 5 🌐
  • PUT dss.stage.iart.software 409
    :
    • request
      :
      • method
        :
        PUT
      • url
        :
        https://dss.stage.iart.software/dss/v1/uss_availability/DSS%20Qualifer1
      • initiated_at
        :
        2026-09-08T21:54:06.616382Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.34.2
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          97
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6InhEUVVkQWhqZ0dYaHBIX3BTTWNMWGM4MnllUFlabFlfLUVtMDhwdnp1VE0iLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2F1dGguc3RhZ2UuaWFydC5zb2Z0d2FyZSIsImV4cCI6MTc4ODkwODAyOSwiaWF0IjoxNzg4OTA0NDI5LCJzdWIiOiJEU1MgUXVhbGlmZXIxIiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwidHlwIjoiQmVhcmVyIiwiYXVkIjoiZHNzLnN0YWdlLmlhcnQuc29mdHdhcmUifQ.REDACTED
      • json
        :
        • old_version
          :
        • availability
          :
          Down
        • request_id
          :
          6100973b-38de-4826-99b4-6e49dd3c357f
      • body
        :
        None
    • response
      :
      • code
        :
        409
      • headers
        :
        • Date
          :
          Tue, 08 Sep 2026 21:54:06 GMT
        • Content-Type
          :
          application/json; charset=utf-8
        • Content-Length
          :
          96
        • Connection
          :
          keep-alive
        • Strict-Transport-Security
          :
          max-age=31536000; includeSubDomains
      • elapsed_s
        :
        0.008097
      • reported
        :
        2026-09-08T21:54:06.625245Z
      • json
        :
        • message
          :
          USS availability version is not current (E:888fbd7b-3107-4fef-b04d-51dfe5dc2bc0)
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.uss.setUssAvailability
    • participant_id
      :
      iart_dss
🌐
6 ✅ Request to update USS availability status with empty version fails ✅
Attempt update with incorrect version 7 🌐
  • PUT dss.stage.iart.software 409
    :
    • request
      :
      • method
        :
        PUT
      • url
        :
        https://dss.stage.iart.software/dss/v1/uss_availability/DSS%20Qualifer1
      • initiated_at
        :
        2026-09-08T21:54:06.625682Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.34.2
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          121
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6InhEUVVkQWhqZ0dYaHBIX3BTTWNMWGM4MnllUFlabFlfLUVtMDhwdnp1VE0iLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2F1dGguc3RhZ2UuaWFydC5zb2Z0d2FyZSIsImV4cCI6MTc4ODkwODAyOSwiaWF0IjoxNzg4OTA0NDI5LCJzdWIiOiJEU1MgUXVhbGlmZXIxIiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwidHlwIjoiQmVhcmVyIiwiYXVkIjoiZHNzLnN0YWdlLmlhcnQuc29mdHdhcmUifQ.REDACTED
      • json
        :
        • old_version
          :
          ThisIsAnIncorrectVersion
        • availability
          :
          Down
        • request_id
          :
          a6ff89e9-2c1e-45f8-a0a1-229e99f33347
      • body
        :
        None
    • response
      :
      • code
        :
        409
      • headers
        :
        • Date
          :
          Tue, 08 Sep 2026 21:54:06 GMT
        • Content-Type
          :
          application/json; charset=utf-8
        • Content-Length
          :
          120
        • Connection
          :
          keep-alive
        • Strict-Transport-Security
          :
          max-age=31536000; includeSubDomains
      • elapsed_s
        :
        0.008627
      • reported
        :
        2026-09-08T21:54:06.635322Z
      • json
        :
        • message
          :
          USS availability version ThisIsAnIncorrectVersion is not current (E:a385b2a5-84f2-4055-8848-dc231dee3dbd)
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.uss.setUssAvailability
    • participant_id
      :
      iart_dss
🌐
8 ✅ Request to update USS availability status with incorrect version fails ✅