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:21.601137Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          452
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTcyODkxMTE2MCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.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_end
            :
            None
          • time_start
            :
            None
        • request_id
          :
          1a520c74-0f79-4556-9b7e-a4048f00bc82
      • 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.002922
      • reported
        :
        2024-10-14T12:06:21.604538Z
      • 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:21.604719Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTcyODkxMTE2MCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.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.002289
      • reported
        :
        2024-10-14T12:06:21.607485Z
      • json
        :
        • message
          :
          Subscription 0000017a-e36d-40be-8d38-beca6ca30000 not found (E:0f36fb41-790b-4a0f-8e39-e54817c7dc65)
      • 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:21.608710Z
      • 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.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTcyODkxMTE2MCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.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
              :
              2024-10-14T12:05:21.607701Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2024-10-15T12:15:21.607701Z
            • 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
          :
          f9ab7584-1d39-49ce-9c74-53bc3d52edc5
      • 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.00176
      • reported
        :
        2024-10-14T12:06:21.610911Z
      • json
        :
        • message
          :
          Subscription window exceeds 24 hours (E:b8468d60-0ccd-4120-964c-7ba2c0e39ec9)
      • 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:21.611926Z
      • 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.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTcyODkxMTE2MCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.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
              :
              2024-10-14T12:05:21.607701Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2024-10-15T12:05:21.607701Z
            • 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
          :
          ff20028e-3be5-4338-87f5-ff380f56fd70
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Content-Type
          :
          application/json; charset=utf-8
        • Date
          :
          Mon, 14 Oct 2024 12:06:21 GMT
        • Content-Length
          :
          591
      • elapsed_s
        :
        0.005287
      • reported
        :
        2024-10-14T12:06:21.617769Z
      • json
        :
        • subscription
          :
          • id
            :
            0000017a-e36d-40be-8d38-beca6ca30000
          • version
            :
            d5gReeCMBYIFhqAH4.WlxWXiYdOcGkaJDSKVBCiLd7U_
          • notification_index
            :
            0
          • time_start
            :
            • value
              :
              2024-10-14T12:05:21.607701Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2024-10-15T12:05:21.607701Z
            • 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
      :
      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/d5gReeCMBYIFhqAH4.WlxWXiYdOcGkaJDSKVBCiLd7U_
      • initiated_at
        :
        2024-10-14T12:06:21.619535Z
      • 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.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTcyODkxMTE2MCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.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
              :
              2024-10-14T12:05:21.607701Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2024-10-15T12:15:21.607701Z
            • 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
          :
          71bb2a11-181d-411b-8396-57f7d0588cab
      • 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.002386
      • reported
        :
        2024-10-14T12:06:21.622411Z
      • json
        :
        • message
          :
          Subscription window exceeds 24 hours (E:5dca0d56-10c2-44ac-bb99-3bd8e7b01d78)
      • 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:21.622630Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTcyODkxMTE2MCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.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
          :
          556
      • elapsed_s
        :
        0.002732
      • reported
        :
        2024-10-14T12:06:21.625760Z
      • json
        :
        • subscription
          :
          • id
            :
            0000017a-e36d-40be-8d38-beca6ca30000
          • version
            :
            d5gReeCMBYIFhqAH4.WlxWXiYdOcGkaJDSKVBCiLd7U_
          • notification_index
            :
            0
          • time_start
            :
            • value
              :
              2024-10-14T12:05:21.607701Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2024-10-15T12:05:21.607701Z
            • 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
      :
      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/d5gReeCMBYIFhqAH4.WlxWXiYdOcGkaJDSKVBCiLd7U_
      • initiated_at
        :
        2024-10-14T12:06:21.626583Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          0
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJkc3MudXNzMi5sb2NhbHV0bSIsImV4cCI6MTcyODkxMTE2MCwiaXNzIjoiZHVtbXkiLCJzY29wZSI6InV0bS5zdHJhdGVnaWNfY29vcmRpbmF0aW9uIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.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
          :
          556
      • elapsed_s
        :
        0.005157
      • reported
        :
        2024-10-14T12:06:21.632157Z
      • json
        :
        • subscription
          :
          • id
            :
            0000017a-e36d-40be-8d38-beca6ca30000
          • version
            :
            d5gReeCMBYIFhqAH4.WlxWXiYdOcGkaJDSKVBCiLd7U_
          • notification_index
            :
            0
          • time_start
            :
            • value
              :
              2024-10-14T12:05:21.607701Z
            • format
              :
              RFC3339
          • time_end
            :
            • value
              :
              2024-10-15T12:05:21.607701Z
            • 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
      :
      uss2
🌐
14 Subscription can be deleted