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-06-19T12:05:12.057524Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.3
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          452
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMS5sb2NhbHV0bSIsImV4cCI6MTc1MDMzODMwMCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • area_of_interest
          :
          • volume
            :
            • outline_polygon
              :
              • vertices
                :
                • item_1
                  :
                  • lat
                    :
                    45.1853
                  • lng
                    :
                    7.614
                • item_2
                  :
                  • lat
                    :
                    45.1853
                  • lng
                    :
                    7.544
                • item_3
                  :
                  • lat
                    :
                    45.2148
                  • lng
                    :
                    7.544
                • item_4
                  :
                  • lat
                    :
                    45.2148
                  • lng
                    :
                    7.614
            • altitude_lower
              :
              • value
                :
                0.0
              • reference
                :
                W84
              • units
                :
                M
            • altitude_upper
              :
              • value
                :
                3048.0
              • reference
                :
                W84
              • units
                :
                M
            • outline_circle
              :
              None
          • time_start
            :
            None
          • time_end
            :
            None
        • request_id
          :
          9daeecc8-1eb1-4657-bf90-158518c1f236
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Thu, 19 Jun 2025 12:05:12 GMT
        • Content-Length
          :
          21
      • elapsed_s
        :
        0.002877
      • reported
        :
        2025-06-19T12:05:12.060884Z
      • 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-06-19T12:05:12.061049Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.3
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMS5sb2NhbHV0bSIsImV4cCI6MTc1MDMzODMwMCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        None
      • body
        :
        None
    • response
      :
      • code
        :
        404
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Thu, 19 Jun 2025 12:05:12 GMT
        • Content-Length
          :
          115
      • elapsed_s
        :
        0.001561
      • reported
        :
        2025-06-19T12:05:12.062978Z
      • json
        :
        • message
          :
          Subscription 0000017a-e36d-40be-8d38-beca6ca30000 not found (E:73268171-d715-4948-becb-791b80b60040)
      • 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-06-19T12:05:12.064082Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.3
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          745
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMS5sb2NhbHV0bSIsImV4cCI6MTc1MDMzODMwMCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • extents
          :
          • volume
            :
            • outline_polygon
              :
              • vertices
                :
                • item_1
                  :
                  • lat
                    :
                    45.1853
                  • lng
                    :
                    7.544
                • item_2
                  :
                  • lat
                    :
                    45.1853
                  • lng
                    :
                    7.614
                • item_3
                  :
                  • lat
                    :
                    45.2148
                  • lng
                    :
                    7.614
                • item_4
                  :
                  • lat
                    :
                    45.2148
                  • lng
                    :
                    7.544
            • altitude_lower
              :
              • value
                :
                0.0
              • reference
                :
                W84
              • units
                :
                M
            • altitude_upper
              :
              • value
                :
                3048.0
              • reference
                :
                W84
              • units
                :
                M
          • time_start
            :
            • value
              :
              2025-06-19T12:04:12.063178Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-06-20T12:14:12.063178Z
            • format
              :
              RFC3339
        • uss_base_url
          :
          https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/configurations/dev/library/resources/che_planning_area
        • notify_for_operational_intents
          :
          True
        • notify_for_constraints
          :
          False
        • request_id
          :
          69f189eb-d2f5-4bfc-b0c1-96fe2400474b
      • body
        :
        None
    • response
      :
      • code
        :
        400
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Thu, 19 Jun 2025 12:05:12 GMT
        • Content-Length
          :
          92
      • elapsed_s
        :
        0.001701
      • reported
        :
        2025-06-19T12:05:12.066195Z
      • json
        :
        • message
          :
          Subscription window exceeds 24 hours (E:f3cba89b-acca-4a8c-8626-8de8e4d93d16)
      • 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-06-19T12:05:12.067094Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.3
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          745
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMS5sb2NhbHV0bSIsImV4cCI6MTc1MDMzODMwMCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • extents
          :
          • volume
            :
            • outline_polygon
              :
              • vertices
                :
                • item_1
                  :
                  • lat
                    :
                    45.1853
                  • lng
                    :
                    7.544
                • item_2
                  :
                  • lat
                    :
                    45.1853
                  • lng
                    :
                    7.614
                • item_3
                  :
                  • lat
                    :
                    45.2148
                  • lng
                    :
                    7.614
                • item_4
                  :
                  • lat
                    :
                    45.2148
                  • lng
                    :
                    7.544
            • altitude_lower
              :
              • value
                :
                0.0
              • reference
                :
                W84
              • units
                :
                M
            • altitude_upper
              :
              • value
                :
                3048.0
              • reference
                :
                W84
              • units
                :
                M
          • time_start
            :
            • value
              :
              2025-06-19T12:04:12.063178Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-06-20T12:04:12.063178Z
            • format
              :
              RFC3339
        • uss_base_url
          :
          https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/configurations/dev/library/resources/che_planning_area
        • notify_for_operational_intents
          :
          True
        • notify_for_constraints
          :
          False
        • request_id
          :
          20180afa-63ef-4c51-a8ea-f88319fdfbb7
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Thu, 19 Jun 2025 12:05:12 GMT
        • Content-Length
          :
          591
      • elapsed_s
        :
        0.005539
      • reported
        :
        2025-06-19T12:05:12.073077Z
      • json
        :
        • subscription
          :
          • id
            :
            0000017a-e36d-40be-8d38-beca6ca30000
          • version
            :
            yetwV-yjSNt0q1lCqdiWw50rUoDVcUH14wnAeGgWjLc_
          • notification_index
            :
            0
          • time_start
            :
            • value
              :
              2025-06-19T12:04:12.063178Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-06-20T12:04:12.063178Z
            • format
              :
              RFC3339
          • uss_base_url
            :
            https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/configurations/dev/library/resources/che_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/yetwV-yjSNt0q1lCqdiWw50rUoDVcUH14wnAeGgWjLc_
      • initiated_at
        :
        2025-06-19T12:05:12.074757Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.3
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          745
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMS5sb2NhbHV0bSIsImV4cCI6MTc1MDMzODMwMCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • extents
          :
          • volume
            :
            • outline_polygon
              :
              • vertices
                :
                • item_1
                  :
                  • lat
                    :
                    45.1853
                  • lng
                    :
                    7.544
                • item_2
                  :
                  • lat
                    :
                    45.1853
                  • lng
                    :
                    7.614
                • item_3
                  :
                  • lat
                    :
                    45.2148
                  • lng
                    :
                    7.614
                • item_4
                  :
                  • lat
                    :
                    45.2148
                  • lng
                    :
                    7.544
            • altitude_lower
              :
              • value
                :
                0.0
              • reference
                :
                W84
              • units
                :
                M
            • altitude_upper
              :
              • value
                :
                3048.0
              • reference
                :
                W84
              • units
                :
                M
          • time_start
            :
            • value
              :
              2025-06-19T12:04:12.063178Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-06-20T12:14:12.063178Z
            • format
              :
              RFC3339
        • uss_base_url
          :
          https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/configurations/dev/library/resources/che_planning_area
        • notify_for_operational_intents
          :
          True
        • notify_for_constraints
          :
          False
        • request_id
          :
          d8737ab2-9cf1-4cb0-a7c7-aa679e740f15
      • body
        :
        None
    • response
      :
      • code
        :
        400
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Thu, 19 Jun 2025 12:05:12 GMT
        • Content-Length
          :
          92
      • elapsed_s
        :
        0.002343
      • reported
        :
        2025-06-19T12:05:12.077598Z
      • json
        :
        • message
          :
          Subscription window exceeds 24 hours (E:76ed9508-75a9-4341-824e-39eefdb68f63)
      • 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-06-19T12:05:12.077814Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.3
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMS5sb2NhbHV0bSIsImV4cCI6MTc1MDMzODMwMCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        None
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Thu, 19 Jun 2025 12:05:12 GMT
        • Content-Length
          :
          556
      • elapsed_s
        :
        0.002711
      • reported
        :
        2025-06-19T12:05:12.080896Z
      • json
        :
        • subscription
          :
          • id
            :
            0000017a-e36d-40be-8d38-beca6ca30000
          • version
            :
            yetwV-yjSNt0q1lCqdiWw50rUoDVcUH14wnAeGgWjLc_
          • notification_index
            :
            0
          • time_start
            :
            • value
              :
              2025-06-19T12:04:12.063178Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-06-20T12:04:12.063178Z
            • format
              :
              RFC3339
          • uss_base_url
            :
            https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/configurations/dev/library/resources/che_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/yetwV-yjSNt0q1lCqdiWw50rUoDVcUH14wnAeGgWjLc_
      • initiated_at
        :
        2025-06-19T12:05:12.081678Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.3
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          0
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMS5sb2NhbHV0bSIsImV4cCI6MTc1MDMzODMwMCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        None
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Thu, 19 Jun 2025 12:05:12 GMT
        • Content-Length
          :
          556
      • elapsed_s
        :
        0.005134
      • reported
        :
        2025-06-19T12:05:12.087232Z
      • json
        :
        • subscription
          :
          • id
            :
            0000017a-e36d-40be-8d38-beca6ca30000
          • version
            :
            yetwV-yjSNt0q1lCqdiWw50rUoDVcUH14wnAeGgWjLc_
          • notification_index
            :
            0
          • time_start
            :
            • value
              :
              2025-06-19T12:04:12.063178Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-06-20T12:04:12.063178Z
            • format
              :
              RFC3339
          • uss_base_url
            :
            https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/configurations/dev/library/resources/che_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