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-25T17:51:50.358615Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.34.2
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6InhEUVVkQWhqZ0dYaHBIX3BTTWNMWGM4MnllUFlabFlfLUVtMDhwdnp1VE0iLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2F1dGguc3RhZ2UuaWFydC5zb2Z0d2FyZSIsImV4cCI6MTc5MDM2MjI4NSwiaWF0IjoxNzkwMzU4Njg1LCJzdWIiOiJEU1MgUXVhbGlmZXIxIiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwidHlwIjoiQmVhcmVyIiwiYXVkIjoiZHNzLnN0YWdlLmlhcnQuc29mdHdhcmUifQ.REDACTED
      • body
        :
        None
      • json
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Date
          :
          Fri, 25 Sep 2026 17:51:50 GMT
        • Content-Type
          :
          application/json; charset=utf-8
        • Content-Length
          :
          117
        • Connection
          :
          keep-alive
        • Strict-Transport-Security
          :
          max-age=31536000; includeSubDomains
      • elapsed_s
        :
        0.008383
      • reported
        :
        2026-09-25T17:51:50.368614Z
      • json
        :
        • version
          :
          PkX9p7NVeVZ0ZWNCUr79Q0tapE2EEymhoJegBDltAZc_
        • 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-25T17:51:50.369247Z
      • 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.eyJpc3MiOiJodHRwczovL2F1dGguc3RhZ2UuaWFydC5zb2Z0d2FyZSIsImV4cCI6MTc5MDM2MjI4NSwiaWF0IjoxNzkwMzU4Njg1LCJzdWIiOiJEU1MgUXVhbGlmZXIxIiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwidHlwIjoiQmVhcmVyIiwiYXVkIjoiZHNzLnN0YWdlLmlhcnQuc29mdHdhcmUifQ.REDACTED
      • json
        :
        • old_version
          :
          PkX9p7NVeVZ0ZWNCUr79Q0tapE2EEymhoJegBDltAZc_
        • availability
          :
          Normal
        • request_id
          :
          ae66ace7-8486-46f2-a943-c43bffc3cddc
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Date
          :
          Fri, 25 Sep 2026 17:51:50 GMT
        • Content-Type
          :
          application/json; charset=utf-8
        • Content-Length
          :
          116
        • Connection
          :
          keep-alive
        • Strict-Transport-Security
          :
          max-age=31536000; includeSubDomains
      • elapsed_s
        :
        0.020257
      • reported
        :
        2026-09-25T17:51:50.390535Z
      • json
        :
        • version
          :
          uZIYYme7R.iJ1JYTzUiiP6l4sAXF97XAhfFd83hRHHc_
        • 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-25T17:51:50.391452Z
      • 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.eyJpc3MiOiJodHRwczovL2F1dGguc3RhZ2UuaWFydC5zb2Z0d2FyZSIsImV4cCI6MTc5MDM2MjI4NSwiaWF0IjoxNzkwMzU4Njg1LCJzdWIiOiJEU1MgUXVhbGlmZXIxIiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwidHlwIjoiQmVhcmVyIiwiYXVkIjoiZHNzLnN0YWdlLmlhcnQuc29mdHdhcmUifQ.REDACTED
      • json
        :
        • old_version
          :
        • availability
          :
          Down
        • request_id
          :
          242e7ef9-c964-4b91-94ec-2445fbb056ac
      • body
        :
        None
    • response
      :
      • code
        :
        409
      • headers
        :
        • Date
          :
          Fri, 25 Sep 2026 17:51:50 GMT
        • Content-Type
          :
          application/json; charset=utf-8
        • Content-Length
          :
          96
        • Connection
          :
          keep-alive
        • Strict-Transport-Security
          :
          max-age=31536000; includeSubDomains
      • elapsed_s
        :
        0.010183
      • reported
        :
        2026-09-25T17:51:50.402792Z
      • json
        :
        • message
          :
          USS availability version is not current (E:2eede735-8436-426a-bb00-415c3d0158b1)
      • 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-25T17:51:50.403207Z
      • 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.eyJpc3MiOiJodHRwczovL2F1dGguc3RhZ2UuaWFydC5zb2Z0d2FyZSIsImV4cCI6MTc5MDM2MjI4NSwiaWF0IjoxNzkwMzU4Njg1LCJzdWIiOiJEU1MgUXVhbGlmZXIxIiwic2NvcGUiOiJ1dG0uYXZhaWxhYmlsaXR5X2FyYml0cmF0aW9uIiwidHlwIjoiQmVhcmVyIiwiYXVkIjoiZHNzLnN0YWdlLmlhcnQuc29mdHdhcmUifQ.REDACTED
      • json
        :
        • old_version
          :
          ThisIsAnIncorrectVersion
        • availability
          :
          Down
        • request_id
          :
          abe0e693-8745-4ed8-b590-2223f2c5af23
      • body
        :
        None
    • response
      :
      • code
        :
        409
      • headers
        :
        • Date
          :
          Fri, 25 Sep 2026 17:51:50 GMT
        • Content-Type
          :
          application/json; charset=utf-8
        • Content-Length
          :
          120
        • Connection
          :
          keep-alive
        • Strict-Transport-Security
          :
          max-age=31536000; includeSubDomains
      • elapsed_s
        :
        0.014862
      • reported
        :
        2026-09-25T17:51:50.418991Z
      • json
        :
        • message
          :
          USS availability version ThisIsAnIncorrectVersion is not current (E:3d6c4eec-4f60-46be-9512-468ec5cdaa10)
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.uss.setUssAvailability
    • participant_id
      :
      iart_dss
🌐
8 ✅ Request to update USS availability status with incorrect version fails ✅