ASTM SCD DSS: Subscription Validation

scenarios.astm.utm.dss.SubscriptionValidation

Resources

KML visualization

Case Step Event uss2
Setup Ensure clean workspace 1 🌐
  • POST dss.uss2.localutm 200
    :
    • request
      :
      • method
        :
        POST
      • url
        :
        http://dss.uss2.localutm/dss/v1/subscriptions/query
      • initiated_at
        :
        2025-11-06T14:49:06.521418Z
      • 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.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTc2MjQ0NDEyMCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.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
          :
          ce62b168-1adc-4aee-b523-022b3481dc34
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Thu, 06 Nov 2025 14:49:06 GMT
        • Content-Length
          :
          21
      • elapsed_s
        :
        0.005005
      • reported
        :
        2025-11-06T14:49:06.526863Z
      • json
        :
        • subscriptions
          :
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.dss.querySubscriptions
    • participant_id
      :
      uss2
🌐
2 Successful subscription search query
3 🌐
  • GET dss.uss2.localutm 404
    :
    • request
      :
      • method
        :
        GET
      • url
        :
        http://dss.uss2.localutm/dss/v1/subscriptions/0000017a-e36d-40be-8d38-beca6ca30000
      • initiated_at
        :
        2025-11-06T14:49:06.527041Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.4
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTc2MjQ0NDEyMCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • body
        :
        None
      • json
        :
        None
    • response
      :
      • code
        :
        404
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Thu, 06 Nov 2025 14:49:06 GMT
        • Content-Length
          :
          115
      • elapsed_s
        :
        0.001867
      • reported
        :
        2025-11-06T14:49:06.529373Z
      • json
        :
        • message
          :
          Subscription 0000017a-e36d-40be-8d38-beca6ca30000 not found (E:149dc8f9-3cfe-4ebb-af4b-d00c63d9ce2c)
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.dss.getSubscription
    • participant_id
      :
      uss2
🌐
4 Subscription can be queried by ID
Subscription Validation Subscription duration limitations 5 🌐
  • PUT dss.uss2.localutm 400
    :
    • request
      :
      • method
        :
        PUT
      • url
        :
        http://dss.uss2.localutm/dss/v1/subscriptions/0000017a-e36d-40be-8d38-beca6ca30000
      • initiated_at
        :
        2025-11-06T14:49:06.530604Z
      • 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.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTc2MjQ0NDEyMCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.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-11-06T14:48:06.529586Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-11-07T14:58:06.529586Z
            • 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
          :
          088b9f4a-9362-4c0e-bede-6bf25cdcfed5
      • body
        :
        None
    • response
      :
      • code
        :
        400
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Thu, 06 Nov 2025 14:49:06 GMT
        • Content-Length
          :
          92
      • elapsed_s
        :
        0.003587
      • reported
        :
        2025-11-06T14:49:06.534691Z
      • json
        :
        • message
          :
          Subscription window exceeds 24 hours (E:0f31dc05-990e-4b83-92c7-d1e9273787bb)
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.dss.createSubscription
    • participant_id
      :
      uss2
🌐
6 Don't create a too long subscription
7 🌐
  • PUT dss.uss2.localutm 200
    :
    • request
      :
      • method
        :
        PUT
      • url
        :
        http://dss.uss2.localutm/dss/v1/subscriptions/0000017a-e36d-40be-8d38-beca6ca30000
      • initiated_at
        :
        2025-11-06T14:49:06.535765Z
      • 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.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTc2MjQ0NDEyMCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.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-11-06T14:48:06.529586Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-11-07T14:48:06.529586Z
            • 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
          :
          b594ac4d-d8a3-4a14-81c9-6d20751ac8cd
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Thu, 06 Nov 2025 14:49:06 GMT
        • Content-Length
          :
          594
      • elapsed_s
        :
        0.013016
      • reported
        :
        2025-11-06T14:49:06.549324Z
      • json
        :
        • subscription
          :
          • id
            :
            0000017a-e36d-40be-8d38-beca6ca30000
          • version
            :
            uqUurks87oLDqN8-sVEnBSnEkEt5JnV76Rldxhwqh4k_
          • notification_index
            :
            0
          • time_start
            :
            • value
              :
              2025-11-06T14:48:06.529586Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-11-07T14:48:06.529586Z
            • 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
      :
      uss2
🌐
8 Accept a subscription of maximal duration
9 🌐
  • PUT dss.uss2.localutm 400
    :
    • request
      :
      • method
        :
        PUT
      • url
        :
        http://dss.uss2.localutm/dss/v1/subscriptions/0000017a-e36d-40be-8d38-beca6ca30000/uqUurks87oLDqN8-sVEnBSnEkEt5JnV76Rldxhwqh4k_
      • initiated_at
        :
        2025-11-06T14:49:06.551357Z
      • 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.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTc2MjQ0NDEyMCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.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-11-06T14:48:06.529586Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-11-07T14:58:06.529586Z
            • 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
          :
          0ede5e30-8205-4731-9602-9bdacbfc44b4
      • body
        :
        None
    • response
      :
      • code
        :
        400
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Thu, 06 Nov 2025 14:49:06 GMT
        • Content-Length
          :
          92
      • elapsed_s
        :
        0.003726
      • reported
        :
        2025-11-06T14:49:06.555730Z
      • json
        :
        • message
          :
          Subscription window exceeds 24 hours (E:5f29ddd4-72e6-4941-854e-8e9d7900950b)
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.dss.updateSubscription
    • participant_id
      :
      uss2
🌐
10 Don't mutate a subscription to be too long
Cleanup 11 🌐
  • GET dss.uss2.localutm 200
    :
    • request
      :
      • method
        :
        GET
      • url
        :
        http://dss.uss2.localutm/dss/v1/subscriptions/0000017a-e36d-40be-8d38-beca6ca30000
      • initiated_at
        :
        2025-11-06T14:49:06.555992Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.4
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTc2MjQ0NDEyMCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • body
        :
        None
      • json
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Thu, 06 Nov 2025 14:49:06 GMT
        • Content-Length
          :
          559
      • elapsed_s
        :
        0.002949
      • reported
        :
        2025-11-06T14:49:06.559330Z
      • json
        :
        • subscription
          :
          • id
            :
            0000017a-e36d-40be-8d38-beca6ca30000
          • version
            :
            uqUurks87oLDqN8-sVEnBSnEkEt5JnV76Rldxhwqh4k_
          • notification_index
            :
            0
          • time_start
            :
            • value
              :
              2025-11-06T14:48:06.529586Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-11-07T14:48:06.529586Z
            • 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
      :
      uss2
🌐
12 Subscription can be queried by ID
13 🌐
  • DELETE dss.uss2.localutm 200
    :
    • request
      :
      • method
        :
        DELETE
      • url
        :
        http://dss.uss2.localutm/dss/v1/subscriptions/0000017a-e36d-40be-8d38-beca6ca30000/uqUurks87oLDqN8-sVEnBSnEkEt5JnV76Rldxhwqh4k_
      • initiated_at
        :
        2025-11-06T14:49:06.559995Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.4
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          0
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTc2MjQ0NDEyMCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • body
        :
        None
      • json
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Thu, 06 Nov 2025 14:49:06 GMT
        • Content-Length
          :
          559
      • elapsed_s
        :
        0.009251
      • reported
        :
        2025-11-06T14:49:06.569688Z
      • json
        :
        • subscription
          :
          • id
            :
            0000017a-e36d-40be-8d38-beca6ca30000
          • version
            :
            uqUurks87oLDqN8-sVEnBSnEkEt5JnV76Rldxhwqh4k_
          • notification_index
            :
            0
          • time_start
            :
            • value
              :
              2025-11-06T14:48:06.529586Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-11-07T14:48:06.529586Z
            • 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
      :
      uss2
🌐
14 Subscription can be deleted