ASTM SCD DSS: Subscription Validation

scenarios.astm.utm.dss.SubscriptionValidation

Resources

KML visualization

Case Step Event uss1
Setup Ensure clean workspace 1 🌐
  • POST dss.uss1.localutm 200
    :
    • request
      :
      • method
        :
        POST
      • url
        :
        http://dss.uss1.localutm/dss/v1/subscriptions/query
      • initiated_at
        :
        2025-09-17T18:50:16.613779Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.4
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          699
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMS5sb2NhbHV0bSIsImV4cCI6MTc1ODEzODYwNCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • area_of_interest
          :
          • volume
            :
            • outline_polygon
              :
              • vertices
                :
                • item_1
                  :
                  • lat
                    :
                    47.45237618874023
                  • lng
                    :
                    8.337401667996478
                • item_2
                  :
                  • lat
                    :
                    47.38882810764797
                  • lng
                    :
                    8.343217430398902
                • item_3
                  :
                  • lat
                    :
                    47.3643466256706
                  • lng
                    :
                    8.389932768382156
                • item_4
                  :
                  • lat
                    :
                    47.36323038495268
                  • lng
                    :
                    8.536070011827881
                • item_5
                  :
                  • lat
                    :
                    47.36909451406398
                  • lng
                    :
                    8.580678976356925
                • item_6
                  :
                  • lat
                    :
                    47.4007874493574
                  • lng
                    :
                    8.57764881798931
                • item_7
                  :
                  • lat
                    :
                    47.451319730511365
                  • lng
                    :
                    8.46442103543102
            • altitude_lower
              :
              • value
                :
                0.0
              • reference
                :
                W84
              • units
                :
                M
            • altitude_upper
              :
              • value
                :
                1000.0
              • reference
                :
                W84
              • units
                :
                M
            • outline_circle
              :
              None
          • time_start
            :
            None
          • time_end
            :
            None
        • request_id
          :
          d34d90c4-1266-4ceb-884c-b66ebf2632f1
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Wed, 17 Sep 2025 18:50:16 GMT
        • Content-Length
          :
          21
      • elapsed_s
        :
        0.004264
      • reported
        :
        2025-09-17T18:50:16.618383Z
      • json
        :
        • subscriptions
          :
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.dss.querySubscriptions
    • participant_id
      :
      uss1
🌐
2 Successful subscription search query
3 🌐
  • GET dss.uss1.localutm 404
    :
    • request
      :
      • method
        :
        GET
      • url
        :
        http://dss.uss1.localutm/dss/v1/subscriptions/0000017a-e36d-40be-8d38-beca6ca30000
      • initiated_at
        :
        2025-09-17T18:50:16.618508Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.4
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMS5sb2NhbHV0bSIsImV4cCI6MTc1ODEzODYwNCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        None
      • body
        :
        None
    • response
      :
      • code
        :
        404
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Wed, 17 Sep 2025 18:50:16 GMT
        • Content-Length
          :
          115
      • elapsed_s
        :
        0.001423
      • reported
        :
        2025-09-17T18:50:16.620238Z
      • json
        :
        • message
          :
          Subscription 0000017a-e36d-40be-8d38-beca6ca30000 not found (E:73a9693c-5e65-4a92-9b53-a5cd8ce2e794)
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.dss.getSubscription
    • participant_id
      :
      uss1
🌐
4 Subscription can be queried by ID
Subscription Validation Subscription duration limitations 5 🌐
  • PUT dss.uss1.localutm 400
    :
    • request
      :
      • method
        :
        PUT
      • url
        :
        http://dss.uss1.localutm/dss/v1/subscriptions/0000017a-e36d-40be-8d38-beca6ca30000
      • initiated_at
        :
        2025-09-17T18:50:16.621051Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.4
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          838
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMS5sb2NhbHV0bSIsImV4cCI6MTc1ODEzODYwNCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • extents
          :
          • volume
            :
            • outline_polygon
              :
              • vertices
                :
                • item_1
                  :
                  • lat
                    :
                    47.363230384952686
                  • lng
                    :
                    8.337401667996478
                • item_2
                  :
                  • lat
                    :
                    47.363230384952686
                  • lng
                    :
                    8.580678976356925
                • item_3
                  :
                  • lat
                    :
                    47.45237618874023
                  • lng
                    :
                    8.580678976356925
                • item_4
                  :
                  • lat
                    :
                    47.45237618874023
                  • lng
                    :
                    8.337401667996478
            • altitude_lower
              :
              • value
                :
                0.0
              • reference
                :
                W84
              • units
                :
                M
            • altitude_upper
              :
              • value
                :
                1000.0
              • reference
                :
                W84
              • units
                :
                M
          • time_start
            :
            • value
              :
              2025-09-17T18:49:16.620392Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-09-18T18:59:16.620392Z
            • format
              :
              RFC3339
        • uss_base_url
          :
          https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/configurations/dev/library/resources/zurich_planning_area
        • notify_for_operational_intents
          :
          True
        • notify_for_constraints
          :
          False
        • request_id
          :
          b7d3490e-b6c6-490c-bb3d-54b23c5b747f
      • body
        :
        None
    • response
      :
      • code
        :
        400
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Wed, 17 Sep 2025 18:50:16 GMT
        • Content-Length
          :
          92
      • elapsed_s
        :
        0.00176
      • reported
        :
        2025-09-17T18:50:16.623189Z
      • json
        :
        • message
          :
          Subscription window exceeds 24 hours (E:1e3eef1f-831b-4107-95c0-1043f8e8edb4)
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.dss.createSubscription
    • participant_id
      :
      uss1
🌐
6 Don't create a too long subscription
7 🌐
  • PUT dss.uss1.localutm 200
    :
    • request
      :
      • method
        :
        PUT
      • url
        :
        http://dss.uss1.localutm/dss/v1/subscriptions/0000017a-e36d-40be-8d38-beca6ca30000
      • initiated_at
        :
        2025-09-17T18:50:16.623860Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.4
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          838
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMS5sb2NhbHV0bSIsImV4cCI6MTc1ODEzODYwNCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • extents
          :
          • volume
            :
            • outline_polygon
              :
              • vertices
                :
                • item_1
                  :
                  • lat
                    :
                    47.363230384952686
                  • lng
                    :
                    8.337401667996478
                • item_2
                  :
                  • lat
                    :
                    47.363230384952686
                  • lng
                    :
                    8.580678976356925
                • item_3
                  :
                  • lat
                    :
                    47.45237618874023
                  • lng
                    :
                    8.580678976356925
                • item_4
                  :
                  • lat
                    :
                    47.45237618874023
                  • lng
                    :
                    8.337401667996478
            • altitude_lower
              :
              • value
                :
                0.0
              • reference
                :
                W84
              • units
                :
                M
            • altitude_upper
              :
              • value
                :
                1000.0
              • reference
                :
                W84
              • units
                :
                M
          • time_start
            :
            • value
              :
              2025-09-17T18:49:16.620392Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-09-18T18:49:16.620392Z
            • format
              :
              RFC3339
        • uss_base_url
          :
          https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/configurations/dev/library/resources/zurich_planning_area
        • notify_for_operational_intents
          :
          True
        • notify_for_constraints
          :
          False
        • request_id
          :
          7926a723-8732-4a88-aa15-3cf7be90e955
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Wed, 17 Sep 2025 18:50:16 GMT
        • Content-Length
          :
          594
      • elapsed_s
        :
        0.00993
      • reported
        :
        2025-09-17T18:50:16.634235Z
      • json
        :
        • subscription
          :
          • id
            :
            0000017a-e36d-40be-8d38-beca6ca30000
          • version
            :
            psvnmYeCZvEm6Gwe6ytorTzU3NpgkdvbIegQ2Vrrpj8_
          • notification_index
            :
            0
          • time_start
            :
            • value
              :
              2025-09-17T18:49:16.620392Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-09-18T18:49:16.620392Z
            • format
              :
              RFC3339
          • uss_base_url
            :
            https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/configurations/dev/library/resources/zurich_planning_area
          • notify_for_operational_intents
            :
            True
          • notify_for_constraints
            :
            False
          • implicit_subscription
            :
            False
          • dependent_operational_intents
            :
        • operational_intent_references
          :
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.dss.createSubscription
    • participant_id
      :
      uss1
🌐
8 Accept a subscription of maximal duration
9 🌐
  • PUT dss.uss1.localutm 400
    :
    • request
      :
      • method
        :
        PUT
      • url
        :
        http://dss.uss1.localutm/dss/v1/subscriptions/0000017a-e36d-40be-8d38-beca6ca30000/psvnmYeCZvEm6Gwe6ytorTzU3NpgkdvbIegQ2Vrrpj8_
      • initiated_at
        :
        2025-09-17T18:50:16.635921Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.4
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          838
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMS5sb2NhbHV0bSIsImV4cCI6MTc1ODEzODYwNCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • extents
          :
          • volume
            :
            • outline_polygon
              :
              • vertices
                :
                • item_1
                  :
                  • lat
                    :
                    47.363230384952686
                  • lng
                    :
                    8.337401667996478
                • item_2
                  :
                  • lat
                    :
                    47.363230384952686
                  • lng
                    :
                    8.580678976356925
                • item_3
                  :
                  • lat
                    :
                    47.45237618874023
                  • lng
                    :
                    8.580678976356925
                • item_4
                  :
                  • lat
                    :
                    47.45237618874023
                  • lng
                    :
                    8.337401667996478
            • altitude_lower
              :
              • value
                :
                0.0
              • reference
                :
                W84
              • units
                :
                M
            • altitude_upper
              :
              • value
                :
                1000.0
              • reference
                :
                W84
              • units
                :
                M
          • time_start
            :
            • value
              :
              2025-09-17T18:49:16.620392Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-09-18T18:59:16.620392Z
            • format
              :
              RFC3339
        • uss_base_url
          :
          https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/configurations/dev/library/resources/zurich_planning_area
        • notify_for_operational_intents
          :
          True
        • notify_for_constraints
          :
          False
        • request_id
          :
          a4ffcfe7-b484-428e-95ae-cd513c1f298f
      • body
        :
        None
    • response
      :
      • code
        :
        400
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Wed, 17 Sep 2025 18:50:16 GMT
        • Content-Length
          :
          92
      • elapsed_s
        :
        0.003192
      • reported
        :
        2025-09-17T18:50:16.639576Z
      • json
        :
        • message
          :
          Subscription window exceeds 24 hours (E:073f231b-45b9-412c-98eb-8a4dd3b9d1f5)
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.dss.updateSubscription
    • participant_id
      :
      uss1
🌐
10 Don't mutate a subscription to be too long
Cleanup 11 🌐
  • GET dss.uss1.localutm 200
    :
    • request
      :
      • method
        :
        GET
      • url
        :
        http://dss.uss1.localutm/dss/v1/subscriptions/0000017a-e36d-40be-8d38-beca6ca30000
      • initiated_at
        :
        2025-09-17T18:50:16.639762Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.4
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMS5sb2NhbHV0bSIsImV4cCI6MTc1ODEzODYwNCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        None
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Wed, 17 Sep 2025 18:50:16 GMT
        • Content-Length
          :
          559
      • elapsed_s
        :
        0.002598
      • reported
        :
        2025-09-17T18:50:16.642664Z
      • json
        :
        • subscription
          :
          • id
            :
            0000017a-e36d-40be-8d38-beca6ca30000
          • version
            :
            psvnmYeCZvEm6Gwe6ytorTzU3NpgkdvbIegQ2Vrrpj8_
          • notification_index
            :
            0
          • time_start
            :
            • value
              :
              2025-09-17T18:49:16.620392Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-09-18T18:49:16.620392Z
            • format
              :
              RFC3339
          • uss_base_url
            :
            https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/configurations/dev/library/resources/zurich_planning_area
          • notify_for_operational_intents
            :
            True
          • notify_for_constraints
            :
            False
          • implicit_subscription
            :
            False
          • dependent_operational_intents
            :
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.dss.getSubscription
    • participant_id
      :
      uss1
🌐
12 Subscription can be queried by ID
13 🌐
  • DELETE dss.uss1.localutm 200
    :
    • request
      :
      • method
        :
        DELETE
      • url
        :
        http://dss.uss1.localutm/dss/v1/subscriptions/0000017a-e36d-40be-8d38-beca6ca30000/psvnmYeCZvEm6Gwe6ytorTzU3NpgkdvbIegQ2Vrrpj8_
      • initiated_at
        :
        2025-09-17T18:50:16.643301Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.4
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          0
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMS5sb2NhbHV0bSIsImV4cCI6MTc1ODEzODYwNCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        None
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Wed, 17 Sep 2025 18:50:16 GMT
        • Content-Length
          :
          559
      • elapsed_s
        :
        0.007911
      • reported
        :
        2025-09-17T18:50:16.651530Z
      • json
        :
        • subscription
          :
          • id
            :
            0000017a-e36d-40be-8d38-beca6ca30000
          • version
            :
            psvnmYeCZvEm6Gwe6ytorTzU3NpgkdvbIegQ2Vrrpj8_
          • notification_index
            :
            0
          • time_start
            :
            • value
              :
              2025-09-17T18:49:16.620392Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-09-18T18:49:16.620392Z
            • format
              :
              RFC3339
          • uss_base_url
            :
            https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/configurations/dev/library/resources/zurich_planning_area
          • notify_for_operational_intents
            :
            True
          • notify_for_constraints
            :
            False
          • implicit_subscription
            :
            False
          • dependent_operational_intents
            :
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.dss.deleteSubscription
    • participant_id
      :
      uss1
🌐
14 Subscription can be deleted