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-06-19T12:05:16.634167Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.3
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          460
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTc1MDMzODI5NSwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • area_of_interest
          :
          • volume
            :
            • outline_polygon
              :
              • vertices
                :
                • item_1
                  :
                  • lat
                    :
                    37.1853
                  • lng
                    :
                    -80.614
                • item_2
                  :
                  • lat
                    :
                    37.2148
                  • lng
                    :
                    -80.614
                • item_3
                  :
                  • lat
                    :
                    37.2148
                  • lng
                    :
                    -80.544
                • item_4
                  :
                  • lat
                    :
                    37.1853
                  • lng
                    :
                    -80.544
            • altitude_lower
              :
              • value
                :
                0.0
              • reference
                :
                W84
              • units
                :
                M
            • altitude_upper
              :
              • value
                :
                3048.0
              • reference
                :
                W84
              • units
                :
                M
            • outline_circle
              :
              None
          • time_end
            :
            None
          • time_start
            :
            None
        • request_id
          :
          fe370308-5d8d-487a-a353-f2d0f93c84c9
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Thu, 19 Jun 2025 12:05:16 GMT
        • Content-Length
          :
          21
      • elapsed_s
        :
        0.002563
      • reported
        :
        2025-06-19T12:05:16.637222Z
      • 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-06-19T12:05:16.637396Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.3
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTc1MDMzODI5NSwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        None
      • body
        :
        None
    • response
      :
      • code
        :
        404
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Thu, 19 Jun 2025 12:05:16 GMT
        • Content-Length
          :
          115
      • elapsed_s
        :
        0.001482
      • reported
        :
        2025-06-19T12:05:16.639234Z
      • json
        :
        • message
          :
          Subscription 0000017a-e36d-40be-8d38-beca6ca30000 not found (E:2608a86b-34fb-4707-a4a9-e9d39f03d1d2)
      • 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-06-19T12:05:16.640238Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.3
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          758
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTc1MDMzODI5NSwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • extents
          :
          • volume
            :
            • outline_polygon
              :
              • vertices
                :
                • item_1
                  :
                  • lat
                    :
                    37.1853
                  • lng
                    :
                    -80.614
                • item_2
                  :
                  • lat
                    :
                    37.1853
                  • lng
                    :
                    -80.544
                • item_3
                  :
                  • lat
                    :
                    37.2148
                  • lng
                    :
                    -80.544
                • item_4
                  :
                  • lat
                    :
                    37.2148
                  • lng
                    :
                    -80.614
            • 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:16.639449Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-06-20T12:14:16.639449Z
            • format
              :
              RFC3339
        • uss_base_url
          :
          https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/configurations/dev/library/resources/kentland_planning_area
        • notify_for_operational_intents
          :
          True
        • notify_for_constraints
          :
          False
        • request_id
          :
          cfaf6fbe-b83d-4524-b3d2-8a52e20e3a76
      • body
        :
        None
    • response
      :
      • code
        :
        400
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Thu, 19 Jun 2025 12:05:16 GMT
        • Content-Length
          :
          92
      • elapsed_s
        :
        0.00156
      • reported
        :
        2025-06-19T12:05:16.642237Z
      • json
        :
        • message
          :
          Subscription window exceeds 24 hours (E:5dab8e3e-07b4-49f0-96e3-e11998b98f39)
      • 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-06-19T12:05:16.643083Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.3
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          758
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTc1MDMzODI5NSwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • extents
          :
          • volume
            :
            • outline_polygon
              :
              • vertices
                :
                • item_1
                  :
                  • lat
                    :
                    37.1853
                  • lng
                    :
                    -80.614
                • item_2
                  :
                  • lat
                    :
                    37.1853
                  • lng
                    :
                    -80.544
                • item_3
                  :
                  • lat
                    :
                    37.2148
                  • lng
                    :
                    -80.544
                • item_4
                  :
                  • lat
                    :
                    37.2148
                  • lng
                    :
                    -80.614
            • 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:16.639449Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-06-20T12:04:16.639449Z
            • format
              :
              RFC3339
        • uss_base_url
          :
          https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/configurations/dev/library/resources/kentland_planning_area
        • notify_for_operational_intents
          :
          True
        • notify_for_constraints
          :
          False
        • request_id
          :
          f3577ac4-8151-4395-a07f-0a60f71c9565
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Thu, 19 Jun 2025 12:05:16 GMT
        • Content-Length
          :
          596
      • elapsed_s
        :
        0.005219
      • reported
        :
        2025-06-19T12:05:16.648730Z
      • json
        :
        • subscription
          :
          • id
            :
            0000017a-e36d-40be-8d38-beca6ca30000
          • version
            :
            .t8V0GjnhBqY6zg7IdMYCE.ehDsWZtgPI4gGbwjadwY_
          • notification_index
            :
            0
          • time_start
            :
            • value
              :
              2025-06-19T12:04:16.639449Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-06-20T12:04:16.639449Z
            • format
              :
              RFC3339
          • uss_base_url
            :
            https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/configurations/dev/library/resources/kentland_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/.t8V0GjnhBqY6zg7IdMYCE.ehDsWZtgPI4gGbwjadwY_
      • initiated_at
        :
        2025-06-19T12:05:16.650232Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.3
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          758
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTc1MDMzODI5NSwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • extents
          :
          • volume
            :
            • outline_polygon
              :
              • vertices
                :
                • item_1
                  :
                  • lat
                    :
                    37.1853
                  • lng
                    :
                    -80.614
                • item_2
                  :
                  • lat
                    :
                    37.1853
                  • lng
                    :
                    -80.544
                • item_3
                  :
                  • lat
                    :
                    37.2148
                  • lng
                    :
                    -80.544
                • item_4
                  :
                  • lat
                    :
                    37.2148
                  • lng
                    :
                    -80.614
            • 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:16.639449Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-06-20T12:14:16.639449Z
            • format
              :
              RFC3339
        • uss_base_url
          :
          https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/configurations/dev/library/resources/kentland_planning_area
        • notify_for_operational_intents
          :
          True
        • notify_for_constraints
          :
          False
        • request_id
          :
          665a0dc4-6cab-4486-a51d-cecddcfd1ddc
      • body
        :
        None
    • response
      :
      • code
        :
        400
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Thu, 19 Jun 2025 12:05:16 GMT
        • Content-Length
          :
          92
      • elapsed_s
        :
        0.002263
      • reported
        :
        2025-06-19T12:05:16.652941Z
      • json
        :
        • message
          :
          Subscription window exceeds 24 hours (E:5d7b04b3-3e4d-4c23-8513-d00f7c85f578)
      • 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-06-19T12:05:16.653133Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.3
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTc1MDMzODI5NSwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        None
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Thu, 19 Jun 2025 12:05:16 GMT
        • Content-Length
          :
          561
      • elapsed_s
        :
        0.002512
      • reported
        :
        2025-06-19T12:05:16.656024Z
      • json
        :
        • subscription
          :
          • id
            :
            0000017a-e36d-40be-8d38-beca6ca30000
          • version
            :
            .t8V0GjnhBqY6zg7IdMYCE.ehDsWZtgPI4gGbwjadwY_
          • notification_index
            :
            0
          • time_start
            :
            • value
              :
              2025-06-19T12:04:16.639449Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-06-20T12:04:16.639449Z
            • format
              :
              RFC3339
          • uss_base_url
            :
            https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/configurations/dev/library/resources/kentland_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/.t8V0GjnhBqY6zg7IdMYCE.ehDsWZtgPI4gGbwjadwY_
      • initiated_at
        :
        2025-06-19T12:05:16.656776Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.3
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          0
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTc1MDMzODI5NSwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        None
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Thu, 19 Jun 2025 12:05:16 GMT
        • Content-Length
          :
          561
      • elapsed_s
        :
        0.004974
      • reported
        :
        2025-06-19T12:05:16.662143Z
      • json
        :
        • subscription
          :
          • id
            :
            0000017a-e36d-40be-8d38-beca6ca30000
          • version
            :
            .t8V0GjnhBqY6zg7IdMYCE.ehDsWZtgPI4gGbwjadwY_
          • notification_index
            :
            0
          • time_start
            :
            • value
              :
              2025-06-19T12:04:16.639449Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2025-06-20T12:04:16.639449Z
            • format
              :
              RFC3339
          • uss_base_url
            :
            https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/configurations/dev/library/resources/kentland_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