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-09T06:01:12.516806Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.34.2
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6InhEUVVkQWhqZ0dYaHBIX3BTTWNMWGM4MnllUFlabFlfLUVtMDhwdnp1VE0iLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2F1dGguc3RhZ2UuaWFydC5zb2Z0d2FyZSIsImV4cCI6MTc4ODkzNzI1NCwiaWF0IjoxNzg4OTMzNjU0LCJzdWIiOiJEU1MgUXVhbGlmZXIxIiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwidHlwIjoiQmVhcmVyIiwiYXVkIjoiZHNzLnN0YWdlLmlhcnQuc29mdHdhcmUifQ.REDACTED
      • body
        :
        None
      • json
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Date
          :
          Wed, 09 Sep 2026 06:01:12 GMT
        • Content-Type
          :
          application/json; charset=utf-8
        • Content-Length
          :
          117
        • Connection
          :
          keep-alive
        • Strict-Transport-Security
          :
          max-age=31536000; includeSubDomains
      • elapsed_s
        :
        0.008102
      • reported
        :
        2026-09-09T06:01:12.526668Z
      • json
        :
        • version
          :
          4yN5Stut1RtnuwNySDJmwPewuqN3X51dX.LftSX0mhE_
        • 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-09T06:01:12.527946Z
      • 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.eyJpc3MiOiJodHRwczovL2F1dGguc3RhZ2UuaWFydC5zb2Z0d2FyZSIsImV4cCI6MTc4ODkzNzI1NCwiaWF0IjoxNzg4OTMzNjU0LCJzdWIiOiJEU1MgUXVhbGlmZXIxIiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwidHlwIjoiQmVhcmVyIiwiYXVkIjoiZHNzLnN0YWdlLmlhcnQuc29mdHdhcmUifQ.REDACTED
      • json
        :
        • old_version
          :
          4yN5Stut1RtnuwNySDJmwPewuqN3X51dX.LftSX0mhE_
        • availability
          :
          Normal
        • request_id
          :
          13ec5713-e384-49a3-9143-d9b06bc3b32c
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Date
          :
          Wed, 09 Sep 2026 06:01:12 GMT
        • Content-Type
          :
          application/json; charset=utf-8
        • Content-Length
          :
          116
        • Connection
          :
          keep-alive
        • Strict-Transport-Security
          :
          max-age=31536000; includeSubDomains
      • elapsed_s
        :
        0.017941
      • reported
        :
        2026-09-09T06:01:12.546657Z
      • json
        :
        • version
          :
          fLn.xlG85r2kPDr21hzqlEQDlyt0MjlcXgoBqjf6vt4_
        • 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-09T06:01:12.547507Z
      • 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.eyJpc3MiOiJodHRwczovL2F1dGguc3RhZ2UuaWFydC5zb2Z0d2FyZSIsImV4cCI6MTc4ODkzNzI1NCwiaWF0IjoxNzg4OTMzNjU0LCJzdWIiOiJEU1MgUXVhbGlmZXIxIiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwidHlwIjoiQmVhcmVyIiwiYXVkIjoiZHNzLnN0YWdlLmlhcnQuc29mdHdhcmUifQ.REDACTED
      • json
        :
        • old_version
          :
        • availability
          :
          Down
        • request_id
          :
          4f9f4762-8bfc-44c4-9ecd-4ede2d379b8b
      • body
        :
        None
    • response
      :
      • code
        :
        409
      • headers
        :
        • Date
          :
          Wed, 09 Sep 2026 06:01:12 GMT
        • Content-Type
          :
          application/json; charset=utf-8
        • Content-Length
          :
          96
        • Connection
          :
          keep-alive
        • Strict-Transport-Security
          :
          max-age=31536000; includeSubDomains
      • elapsed_s
        :
        0.008932
      • reported
        :
        2026-09-09T06:01:12.557593Z
      • json
        :
        • message
          :
          USS availability version is not current (E:ea76726c-2c05-46ce-b397-40e2a031b605)
      • 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-09T06:01:12.558116Z
      • 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.eyJpc3MiOiJodHRwczovL2F1dGguc3RhZ2UuaWFydC5zb2Z0d2FyZSIsImV4cCI6MTc4ODkzNzI1NCwiaWF0IjoxNzg4OTMzNjU0LCJzdWIiOiJEU1MgUXVhbGlmZXIxIiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwidHlwIjoiQmVhcmVyIiwiYXVkIjoiZHNzLnN0YWdlLmlhcnQuc29mdHdhcmUifQ.REDACTED
      • json
        :
        • old_version
          :
          ThisIsAnIncorrectVersion
        • availability
          :
          Down
        • request_id
          :
          a2efdde9-3ab1-4a80-a485-c3eb9acf78ad
      • body
        :
        None
    • response
      :
      • code
        :
        409
      • headers
        :
        • Date
          :
          Wed, 09 Sep 2026 06:01:12 GMT
        • Content-Type
          :
          application/json; charset=utf-8
        • Content-Length
          :
          120
        • Connection
          :
          keep-alive
        • Strict-Transport-Security
          :
          max-age=31536000; includeSubDomains
      • elapsed_s
        :
        0.008339
      • reported
        :
        2026-09-09T06:01:12.567328Z
      • json
        :
        • message
          :
          USS availability version ThisIsAnIncorrectVersion is not current (E:b1f7271d-5198-4725-b140-c07d6414d919)
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.uss.setUssAvailability
    • participant_id
      :
      iart_dss
🌐
8 ✅ Request to update USS availability status with incorrect version fails ✅