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-09-17T18:50:29.132825Z
      • 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.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTc1ODEzODYwNiwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.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
          :
          aee9205d-9784-4e8b-b7e7-b2e9263ec404
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Wed, 17 Sep 2025 18:50:29 GMT
        • Content-Length
          :
          21
      • elapsed_s
        :
        0.003989
      • reported
        :
        2025-09-17T18:50:29.137227Z
      • 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-09-17T18:50:29.137358Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.4
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTc1ODEzODYwNiwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        None
      • body
        :
        None
    • response
      :
      • code
        :
        404
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Wed, 17 Sep 2025 18:50:29 GMT
        • Content-Length
          :
          115
      • elapsed_s
        :
        0.00138
      • reported
        :
        2025-09-17T18:50:29.139031Z
      • json
        :
        • message
          :
          Subscription 0000017a-e36d-40be-8d38-beca6ca30000 not found (E:29d1163a-2887-4d9f-b2ed-f34f0ef06df3)
      • 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-09-17T18:50:29.139891Z
      • 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.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTc1ODEzODYwNiwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.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:29.139215Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-09-18T18:59:29.139215Z
            • 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
          :
          77461acd-c95a-4870-93aa-2803540ac8f3
      • body
        :
        None
    • response
      :
      • code
        :
        400
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Wed, 17 Sep 2025 18:50:29 GMT
        • Content-Length
          :
          92
      • elapsed_s
        :
        0.001805
      • reported
        :
        2025-09-17T18:50:29.142053Z
      • json
        :
        • message
          :
          Subscription window exceeds 24 hours (E:f4828eae-d34f-4eea-a38d-d4539c0959bb)
      • 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-09-17T18:50:29.142762Z
      • 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.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTc1ODEzODYwNiwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.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:29.139215Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-09-18T18:49:29.139215Z
            • 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
          :
          87366f2d-c7ab-456b-8ee9-c64d78e77ce0
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Wed, 17 Sep 2025 18:50:29 GMT
        • Content-Length
          :
          594
      • elapsed_s
        :
        0.010478
      • reported
        :
        2025-09-17T18:50:29.153625Z
      • json
        :
        • subscription
          :
          • id
            :
            0000017a-e36d-40be-8d38-beca6ca30000
          • version
            :
            qV6rtvB-MSl0xy1L2Jq3tzqP13uKWrqabihos5uc9tE_
          • notification_index
            :
            0
          • time_start
            :
            • value
              :
              2025-09-17T18:49:29.139215Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-09-18T18:49:29.139215Z
            • 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/qV6rtvB-MSl0xy1L2Jq3tzqP13uKWrqabihos5uc9tE_
      • initiated_at
        :
        2025-09-17T18:50:29.155107Z
      • 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.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTc1ODEzODYwNiwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.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:29.139215Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-09-18T18:59:29.139215Z
            • 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
          :
          7fb38747-9940-4e7e-8451-87e85c36f861
      • body
        :
        None
    • response
      :
      • code
        :
        400
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Wed, 17 Sep 2025 18:50:29 GMT
        • Content-Length
          :
          92
      • elapsed_s
        :
        0.00254
      • reported
        :
        2025-09-17T18:50:29.158116Z
      • json
        :
        • message
          :
          Subscription window exceeds 24 hours (E:27eccbf4-f520-406f-9262-b2ed8373ab17)
      • 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-09-17T18:50:29.158284Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.4
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTc1ODEzODYwNiwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        None
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Wed, 17 Sep 2025 18:50:29 GMT
        • Content-Length
          :
          559
      • elapsed_s
        :
        0.00269
      • reported
        :
        2025-09-17T18:50:29.161254Z
      • json
        :
        • subscription
          :
          • id
            :
            0000017a-e36d-40be-8d38-beca6ca30000
          • version
            :
            qV6rtvB-MSl0xy1L2Jq3tzqP13uKWrqabihos5uc9tE_
          • notification_index
            :
            0
          • time_start
            :
            • value
              :
              2025-09-17T18:49:29.139215Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-09-18T18:49:29.139215Z
            • 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/qV6rtvB-MSl0xy1L2Jq3tzqP13uKWrqabihos5uc9tE_
      • initiated_at
        :
        2025-09-17T18:50:29.161831Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.4
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          0
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTc1ODEzODYwNiwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        None
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Wed, 17 Sep 2025 18:50:29 GMT
        • Content-Length
          :
          559
      • elapsed_s
        :
        0.00772
      • reported
        :
        2025-09-17T18:50:29.169894Z
      • json
        :
        • subscription
          :
          • id
            :
            0000017a-e36d-40be-8d38-beca6ca30000
          • version
            :
            qV6rtvB-MSl0xy1L2Jq3tzqP13uKWrqabihos5uc9tE_
          • notification_index
            :
            0
          • time_start
            :
            • value
              :
              2025-09-17T18:49:29.139215Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-09-18T18:49:29.139215Z
            • 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