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-02T06:01:56.724623Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.34.2
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6InhEUVVkQWhqZ0dYaHBIX3BTTWNMWGM4MnllUFlabFlfLUVtMDhwdnp1VE0iLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2F1dGguc3RhZ2UuaWFydC5zb2Z0d2FyZSIsImV4cCI6MTc5MzYwMjg5MCwiaWF0IjoxNzkzNTk5MjkwLCJzdWIiOiJEU1MgUXVhbGlmZXIxIiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwidHlwIjoiQmVhcmVyIiwiYXVkIjoiZHNzLnN0YWdlLmlhcnQuc29mdHdhcmUifQ.REDACTED
      • json
        :
        None
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Date
          :
          Mon, 02 Nov 2026 06:01:56 GMT
        • Content-Type
          :
          application/json; charset=utf-8
        • Content-Length
          :
          117
        • Connection
          :
          keep-alive
        • Strict-Transport-Security
          :
          max-age=31536000; includeSubDomains
      • elapsed_s
        :
        0.009094
      • reported
        :
        2026-11-02T06:01:56.734533Z
      • json
        :
        • version
          :
          ON5OyufBtKOsdP7NOULZuByPnNP6wPxP28tSuijlNOg_
        • 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-02T06:01:56.735102Z
      • 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.eyJpc3MiOiJodHRwczovL2F1dGguc3RhZ2UuaWFydC5zb2Z0d2FyZSIsImV4cCI6MTc5MzYwMjg5MCwiaWF0IjoxNzkzNTk5MjkwLCJzdWIiOiJEU1MgUXVhbGlmZXIxIiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwidHlwIjoiQmVhcmVyIiwiYXVkIjoiZHNzLnN0YWdlLmlhcnQuc29mdHdhcmUifQ.REDACTED
      • json
        :
        • old_version
          :
          ON5OyufBtKOsdP7NOULZuByPnNP6wPxP28tSuijlNOg_
        • availability
          :
          Normal
        • request_id
          :
          ca576807-076f-4b95-99e3-567b06b26cc0
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Date
          :
          Mon, 02 Nov 2026 06:01:56 GMT
        • Content-Type
          :
          application/json; charset=utf-8
        • Content-Length
          :
          116
        • Connection
          :
          keep-alive
        • Strict-Transport-Security
          :
          max-age=31536000; includeSubDomains
      • elapsed_s
        :
        0.017233
      • reported
        :
        2026-11-02T06:01:56.753231Z
      • json
        :
        • version
          :
          uxZayooEXBOJEz0gNknlLE5baRMKpd6iDZ5qygDJLUw_
        • 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-02T06:01:56.753874Z
      • 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.eyJpc3MiOiJodHRwczovL2F1dGguc3RhZ2UuaWFydC5zb2Z0d2FyZSIsImV4cCI6MTc5MzYwMjg5MCwiaWF0IjoxNzkzNTk5MjkwLCJzdWIiOiJEU1MgUXVhbGlmZXIxIiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwidHlwIjoiQmVhcmVyIiwiYXVkIjoiZHNzLnN0YWdlLmlhcnQuc29mdHdhcmUifQ.REDACTED
      • json
        :
        • old_version
          :
        • availability
          :
          Down
        • request_id
          :
          156f557b-2281-4937-998a-76ccf2aaf525
      • body
        :
        None
    • response
      :
      • code
        :
        409
      • headers
        :
        • Date
          :
          Mon, 02 Nov 2026 06:01:56 GMT
        • Content-Type
          :
          application/json; charset=utf-8
        • Content-Length
          :
          96
        • Connection
          :
          keep-alive
        • Strict-Transport-Security
          :
          max-age=31536000; includeSubDomains
      • elapsed_s
        :
        0.0071
      • reported
        :
        2026-11-02T06:01:56.761815Z
      • json
        :
        • message
          :
          USS availability version is not current (E:9df3956f-70e6-4807-ae2e-027cdb086a29)
      • 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-02T06:01:56.762233Z
      • 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.eyJpc3MiOiJodHRwczovL2F1dGguc3RhZ2UuaWFydC5zb2Z0d2FyZSIsImV4cCI6MTc5MzYwMjg5MCwiaWF0IjoxNzkzNTk5MjkwLCJzdWIiOiJEU1MgUXVhbGlmZXIxIiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwidHlwIjoiQmVhcmVyIiwiYXVkIjoiZHNzLnN0YWdlLmlhcnQuc29mdHdhcmUifQ.REDACTED
      • json
        :
        • old_version
          :
          ThisIsAnIncorrectVersion
        • availability
          :
          Down
        • request_id
          :
          36b4e636-1272-4a77-b08f-776ec208d795
      • body
        :
        None
    • response
      :
      • code
        :
        409
      • headers
        :
        • Date
          :
          Mon, 02 Nov 2026 06:01:56 GMT
        • Content-Type
          :
          application/json; charset=utf-8
        • Content-Length
          :
          120
        • Connection
          :
          keep-alive
        • Strict-Transport-Security
          :
          max-age=31536000; includeSubDomains
      • elapsed_s
        :
        0.007962
      • reported
        :
        2026-11-02T06:01:56.770995Z
      • json
        :
        • message
          :
          USS availability version ThisIsAnIncorrectVersion is not current (E:d99a3e06-f202-460f-952f-3a4949ccdc1d)
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.uss.setUssAvailability
    • participant_id
      :
      iart_dss
🌐
8 ✅ Request to update USS availability status with incorrect version fails ✅