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-11-01T06:01:55.260145Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.34.2
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6InhEUVVkQWhqZ0dYaHBIX3BTTWNMWGM4MnllUFlabFlfLUVtMDhwdnp1VE0iLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2F1dGguc3RhZ2UuaWFydC5zb2Z0d2FyZSIsImV4cCI6MTc5MzUxNjQ4OCwiaWF0IjoxNzkzNTEyODg4LCJzdWIiOiJEU1MgUXVhbGlmZXIxIiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwidHlwIjoiQmVhcmVyIiwiYXVkIjoiZHNzLnN0YWdlLmlhcnQuc29mdHdhcmUifQ.REDACTED
      • json
        :
        None
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Date
          :
          Sun, 01 Nov 2026 06:01:55 GMT
        • Content-Type
          :
          application/json; charset=utf-8
        • Content-Length
          :
          117
        • Connection
          :
          keep-alive
        • Strict-Transport-Security
          :
          max-age=31536000; includeSubDomains
      • elapsed_s
        :
        0.009596
      • reported
        :
        2026-11-01T06:01:55.270611Z
      • json
        :
        • version
          :
          1E7VS4L5phsHxyxrhT5Y8WXiur5cax6eZco0hIVC4GU_
        • 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-11-01T06:01:55.271116Z
      • 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.eyJpc3MiOiJodHRwczovL2F1dGguc3RhZ2UuaWFydC5zb2Z0d2FyZSIsImV4cCI6MTc5MzUxNjQ4OCwiaWF0IjoxNzkzNTEyODg4LCJzdWIiOiJEU1MgUXVhbGlmZXIxIiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwidHlwIjoiQmVhcmVyIiwiYXVkIjoiZHNzLnN0YWdlLmlhcnQuc29mdHdhcmUifQ.REDACTED
      • json
        :
        • old_version
          :
          1E7VS4L5phsHxyxrhT5Y8WXiur5cax6eZco0hIVC4GU_
        • availability
          :
          Normal
        • request_id
          :
          726cc1d2-bfd5-4c55-b16f-e60ede8a0267
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Date
          :
          Sun, 01 Nov 2026 06:01:55 GMT
        • Content-Type
          :
          application/json; charset=utf-8
        • Content-Length
          :
          116
        • Connection
          :
          keep-alive
        • Strict-Transport-Security
          :
          max-age=31536000; includeSubDomains
      • elapsed_s
        :
        0.018026
      • reported
        :
        2026-11-01T06:01:55.290079Z
      • json
        :
        • version
          :
          xuH2pVZEJRR63J.2.lX0C.0.sGDK9JOyetYi.JEn5.w_
        • 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-11-01T06:01:55.290667Z
      • 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.eyJpc3MiOiJodHRwczovL2F1dGguc3RhZ2UuaWFydC5zb2Z0d2FyZSIsImV4cCI6MTc5MzUxNjQ4OCwiaWF0IjoxNzkzNTEyODg4LCJzdWIiOiJEU1MgUXVhbGlmZXIxIiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwidHlwIjoiQmVhcmVyIiwiYXVkIjoiZHNzLnN0YWdlLmlhcnQuc29mdHdhcmUifQ.REDACTED
      • json
        :
        • old_version
          :
        • availability
          :
          Down
        • request_id
          :
          8380ce55-f79b-4c4e-8785-11a3b1dd0248
      • body
        :
        None
    • response
      :
      • code
        :
        409
      • headers
        :
        • Date
          :
          Sun, 01 Nov 2026 06:01:55 GMT
        • Content-Type
          :
          application/json; charset=utf-8
        • Content-Length
          :
          96
        • Connection
          :
          keep-alive
        • Strict-Transport-Security
          :
          max-age=31536000; includeSubDomains
      • elapsed_s
        :
        0.010064
      • reported
        :
        2026-11-01T06:01:55.301680Z
      • json
        :
        • message
          :
          USS availability version is not current (E:af98dbf7-8d47-4876-afbf-eeea713b2570)
      • 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-11-01T06:01:55.301996Z
      • 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.eyJpc3MiOiJodHRwczovL2F1dGguc3RhZ2UuaWFydC5zb2Z0d2FyZSIsImV4cCI6MTc5MzUxNjQ4OCwiaWF0IjoxNzkzNTEyODg4LCJzdWIiOiJEU1MgUXVhbGlmZXIxIiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwidHlwIjoiQmVhcmVyIiwiYXVkIjoiZHNzLnN0YWdlLmlhcnQuc29mdHdhcmUifQ.REDACTED
      • json
        :
        • old_version
          :
          ThisIsAnIncorrectVersion
        • availability
          :
          Down
        • request_id
          :
          6cfb1bda-8516-430d-b4a2-6d6c80172dc2
      • body
        :
        None
    • response
      :
      • code
        :
        409
      • headers
        :
        • Date
          :
          Sun, 01 Nov 2026 06:01:55 GMT
        • Content-Type
          :
          application/json; charset=utf-8
        • Content-Length
          :
          120
        • Connection
          :
          keep-alive
        • Strict-Transport-Security
          :
          max-age=31536000; includeSubDomains
      • elapsed_s
        :
        0.010746
      • reported
        :
        2026-11-01T06:01:55.313557Z
      • json
        :
        • message
          :
          USS availability version ThisIsAnIncorrectVersion is not current (E:2e4ccc54-fae6-4f4d-9099-9b19a38683df)
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.uss.setUssAvailability
    • participant_id
      :
      iart_dss
🌐
8 ✅ Request to update USS availability status with incorrect version fails ✅