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
        :
        2024-10-14T12:06:34.351741Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          460
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTcyODkxMTE3MiwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.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
          :
          eb93a1e7-999c-48ea-a622-59d91f1e9399
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Mon, 14 Oct 2024 12:06:34 GMT
        • Content-Length
          :
          21
      • elapsed_s
        :
        0.003903
      • reported
        :
        2024-10-14T12:06:34.356511Z
      • 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
        :
        2024-10-14T12:06:34.356775Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTcyODkxMTE3MiwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        None
      • body
        :
        None
    • response
      :
      • code
        :
        404
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Mon, 14 Oct 2024 12:06:34 GMT
        • Content-Length
          :
          115
      • elapsed_s
        :
        0.00222
      • reported
        :
        2024-10-14T12:06:34.359634Z
      • json
        :
        • message
          :
          Subscription 0000017a-e36d-40be-8d38-beca6ca30000 not found (E:ce76c01e-3cc5-4a23-b755-cd2190c6028b)
      • 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
        :
        2024-10-14T12:06:34.361590Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          758
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTcyODkxMTE3MiwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.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
              :
              2024-10-14T12:05:34.359985Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2024-10-15T12:15:34.359985Z
            • 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
          :
          b8b6fb0f-2f6d-4006-83d3-560a3a4520d6
      • body
        :
        None
    • response
      :
      • code
        :
        400
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Mon, 14 Oct 2024 12:06:34 GMT
        • Content-Length
          :
          92
      • elapsed_s
        :
        0.00241
      • reported
        :
        2024-10-14T12:06:34.364666Z
      • json
        :
        • message
          :
          Subscription window exceeds 24 hours (E:f389b63e-4bd7-466b-aa8b-f9b9162cb49f)
      • 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
        :
        2024-10-14T12:06:34.366087Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          758
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTcyODkxMTE3MiwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.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
              :
              2024-10-14T12:05:34.359985Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2024-10-15T12:05:34.359985Z
            • 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
          :
          e57d07eb-8b0a-4690-a4dd-ba493e3996a7
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Mon, 14 Oct 2024 12:06:34 GMT
        • Content-Length
          :
          596
      • elapsed_s
        :
        0.0084
      • reported
        :
        2024-10-14T12:06:34.375413Z
      • json
        :
        • subscription
          :
          • id
            :
            0000017a-e36d-40be-8d38-beca6ca30000
          • version
            :
            QLZWE3bJ1a5CCgpgTR8Bk6HtmAF26062zUrtJyr57E8_
          • notification_index
            :
            0
          • time_start
            :
            • value
              :
              2024-10-14T12:05:34.359985Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2024-10-15T12:05:34.359985Z
            • 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/QLZWE3bJ1a5CCgpgTR8Bk6HtmAF26062zUrtJyr57E8_
      • initiated_at
        :
        2024-10-14T12:06:34.379173Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          758
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTcyODkxMTE3MiwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.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
              :
              2024-10-14T12:05:34.359985Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2024-10-15T12:15:34.359985Z
            • 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
          :
          0820f79f-3740-4d52-bc4f-979e90894837
      • body
        :
        None
    • response
      :
      • code
        :
        400
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Mon, 14 Oct 2024 12:06:34 GMT
        • Content-Length
          :
          92
      • elapsed_s
        :
        0.004964
      • reported
        :
        2024-10-14T12:06:34.385394Z
      • json
        :
        • message
          :
          Subscription window exceeds 24 hours (E:9e276e41-bc8a-4bae-88ef-9bf3e540ba2f)
      • 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
        :
        2024-10-14T12:06:34.385802Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTcyODkxMTE3MiwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        None
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Mon, 14 Oct 2024 12:06:34 GMT
        • Content-Length
          :
          561
      • elapsed_s
        :
        0.004352
      • reported
        :
        2024-10-14T12:06:34.390860Z
      • json
        :
        • subscription
          :
          • id
            :
            0000017a-e36d-40be-8d38-beca6ca30000
          • version
            :
            QLZWE3bJ1a5CCgpgTR8Bk6HtmAF26062zUrtJyr57E8_
          • notification_index
            :
            0
          • time_start
            :
            • value
              :
              2024-10-14T12:05:34.359985Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2024-10-15T12:05:34.359985Z
            • 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/QLZWE3bJ1a5CCgpgTR8Bk6HtmAF26062zUrtJyr57E8_
      • initiated_at
        :
        2024-10-14T12:06:34.392103Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          0
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTcyODkxMTE3MiwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        None
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Mon, 14 Oct 2024 12:06:34 GMT
        • Content-Length
          :
          561
      • elapsed_s
        :
        0.007463
      • reported
        :
        2024-10-14T12:06:34.400291Z
      • json
        :
        • subscription
          :
          • id
            :
            0000017a-e36d-40be-8d38-beca6ca30000
          • version
            :
            QLZWE3bJ1a5CCgpgTR8Bk6HtmAF26062zUrtJyr57E8_
          • notification_index
            :
            0
          • time_start
            :
            • value
              :
              2024-10-14T12:05:34.359985Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2024-10-15T12:05:34.359985Z
            • 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