ASTM SCD DSS: Subscription Validation

scenarios.astm.utm.dss.SubscriptionValidation

Resources

KML visualization

Case Step Event uss1_dss
Setup Ensure clean workspace 1 🌐
  • POST dss.uss1.localutm 200
    :
    • request
      :
      • method
        :
        POST
      • url
        :
        http://dss.uss1.localutm/dss/v1/subscriptions/query
      • initiated_at
        :
        2024-10-14T12:06:21.413705Z
      • 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.eyJhdWQiOiJkc3MudXNzMS5sb2NhbHV0bSIsImV4cCI6MTcyODkxMTE3MSwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • area_of_interest
          :
          • volume
            :
            • altitude_lower
              :
              • reference
                :
                W84
              • units
                :
                M
              • value
                :
                0.0
            • altitude_upper
              :
              • reference
                :
                W84
              • units
                :
                M
              • value
                :
                3048.0
            • 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
            • outline_circle
              :
              None
          • time_start
            :
            None
          • time_end
            :
            None
        • request_id
          :
          767bd358-d27a-4c46-850b-7f58ba6badac
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Mon, 14 Oct 2024 12:06:21 GMT
        • Content-Length
          :
          21
      • elapsed_s
        :
        0.003153
      • reported
        :
        2024-10-14T12:06:21.417495Z
      • json
        :
        • subscriptions
          :
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.dss.querySubscriptions
    • participant_id
      :
      uss1_dss
🌐
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
        :
        2024-10-14T12:06:21.417697Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMS5sb2NhbHV0bSIsImV4cCI6MTcyODkxMTE3MSwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • body
        :
        None
      • json
        :
        None
    • response
      :
      • code
        :
        404
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Mon, 14 Oct 2024 12:06:21 GMT
        • Content-Length
          :
          115
      • elapsed_s
        :
        0.00165
      • reported
        :
        2024-10-14T12:06:21.419759Z
      • json
        :
        • message
          :
          Subscription 0000017a-e36d-40be-8d38-beca6ca30000 not found (E:279b66c8-9162-423a-b139-b15fac32a4ae)
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.dss.getSubscription
    • participant_id
      :
      uss1_dss
🌐
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
        :
        2024-10-14T12:06:21.422134Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          745
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMS5sb2NhbHV0bSIsImV4cCI6MTcyODkxMTE3MSwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.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:21.419991Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2024-10-15T12:15:21.419991Z
            • format
              :
              RFC3339
        • uss_base_url
          :
          https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/scenarios/astm/utm/dss/subscription_validation
        • notify_for_operational_intents
          :
          True
        • notify_for_constraints
          :
          False
        • request_id
          :
          d72b483e-cab7-4e43-a5d2-643679ba3068
      • body
        :
        None
    • response
      :
      • code
        :
        400
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Mon, 14 Oct 2024 12:06:21 GMT
        • Content-Length
          :
          92
      • elapsed_s
        :
        0.002221
      • reported
        :
        2024-10-14T12:06:21.425015Z
      • json
        :
        • message
          :
          Subscription window exceeds 24 hours (E:98166ab5-9d65-4eab-b1cb-46d256377572)
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.dss.createSubscription
    • participant_id
      :
      uss1_dss
🌐
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
        :
        2024-10-14T12:06:21.428263Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          745
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMS5sb2NhbHV0bSIsImV4cCI6MTcyODkxMTE3MSwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.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:21.419991Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2024-10-15T12:05:21.419991Z
            • format
              :
              RFC3339
        • uss_base_url
          :
          https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/scenarios/astm/utm/dss/subscription_validation
        • notify_for_operational_intents
          :
          True
        • notify_for_constraints
          :
          False
        • request_id
          :
          9b6e108b-f1a8-41e3-a97d-0e675b8f471d
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Mon, 14 Oct 2024 12:06:21 GMT
        • Content-Length
          :
          583
      • elapsed_s
        :
        0.005337
      • reported
        :
        2024-10-14T12:06:21.434247Z
      • json
        :
        • subscription
          :
          • id
            :
            0000017a-e36d-40be-8d38-beca6ca30000
          • version
            :
            deL-DdGSk5IKg5tw1-FJTtQd1933OPglsM1pTtHXeF0_
          • notification_index
            :
            0
          • time_start
            :
            • value
              :
              2024-10-14T12:05:21.419991Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2024-10-15T12:05:21.419991Z
            • format
              :
              RFC3339
          • uss_base_url
            :
            https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/scenarios/astm/utm/dss/subscription_validation
          • 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_dss
🌐
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/deL-DdGSk5IKg5tw1-FJTtQd1933OPglsM1pTtHXeF0_
      • initiated_at
        :
        2024-10-14T12:06:21.436072Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          745
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMS5sb2NhbHV0bSIsImV4cCI6MTcyODkxMTE3MSwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.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:21.419991Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2024-10-15T12:15:21.419991Z
            • format
              :
              RFC3339
        • uss_base_url
          :
          https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/scenarios/astm/utm/dss/subscription_validation
        • notify_for_operational_intents
          :
          True
        • notify_for_constraints
          :
          False
        • request_id
          :
          796dc605-a2c7-47f6-9659-e1dd0ddd5bb7
      • body
        :
        None
    • response
      :
      • code
        :
        400
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Mon, 14 Oct 2024 12:06:21 GMT
        • Content-Length
          :
          92
      • elapsed_s
        :
        0.002671
      • reported
        :
        2024-10-14T12:06:21.439289Z
      • json
        :
        • message
          :
          Subscription window exceeds 24 hours (E:9ed59974-0a1a-4fd8-bea2-657c252a950e)
      • body
        :
        None
    • query_type
      :
      astm.f3548.v21.dss.updateSubscription
    • participant_id
      :
      uss1_dss
🌐
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
        :
        2024-10-14T12:06:21.439543Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMS5sb2NhbHV0bSIsImV4cCI6MTcyODkxMTE3MSwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • body
        :
        None
      • json
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Mon, 14 Oct 2024 12:06:21 GMT
        • Content-Length
          :
          548
      • elapsed_s
        :
        0.00271
      • reported
        :
        2024-10-14T12:06:21.442720Z
      • json
        :
        • subscription
          :
          • id
            :
            0000017a-e36d-40be-8d38-beca6ca30000
          • version
            :
            deL-DdGSk5IKg5tw1-FJTtQd1933OPglsM1pTtHXeF0_
          • notification_index
            :
            0
          • time_start
            :
            • value
              :
              2024-10-14T12:05:21.419991Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2024-10-15T12:05:21.419991Z
            • format
              :
              RFC3339
          • uss_base_url
            :
            https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/scenarios/astm/utm/dss/subscription_validation
          • 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_dss
🌐
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/deL-DdGSk5IKg5tw1-FJTtQd1933OPglsM1pTtHXeF0_
      • initiated_at
        :
        2024-10-14T12:06:21.443582Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          0
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMS5sb2NhbHV0bSIsImV4cCI6MTcyODkxMTE3MSwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • body
        :
        None
      • json
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Mon, 14 Oct 2024 12:06:21 GMT
        • Content-Length
          :
          548
      • elapsed_s
        :
        0.005331
      • reported
        :
        2024-10-14T12:06:21.449349Z
      • json
        :
        • subscription
          :
          • id
            :
            0000017a-e36d-40be-8d38-beca6ca30000
          • version
            :
            deL-DdGSk5IKg5tw1-FJTtQd1933OPglsM1pTtHXeF0_
          • notification_index
            :
            0
          • time_start
            :
            • value
              :
              2024-10-14T12:05:21.419991Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2024-10-15T12:05:21.419991Z
            • format
              :
              RFC3339
          • uss_base_url
            :
            https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/scenarios/astm/utm/dss/subscription_validation
          • 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_dss
🌐
14 Subscription can be deleted