Flight authorisation validation

scenarios.uspace.flight_auth.Validation

Resources

KML visualization

Case Step Event uss2
1 📓 Planner: uss2
Attempt invalid flights Inject invalid flight intents 2 🌐
  • PUT scdsc.uss2.localutm 200
    :
    • request
      :
      • method
        :
        PUT
      • url
        :
        http://scdsc.uss2.localutm/scdsc/v1/flights/aad2b7e8-1f71-4b36-a64d-6439c491f977
      • initiated_at
        :
        2024-12-19T16:18:59.391149Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          1123
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJzY2RzYy51c3MyLmxvY2FsdXRtIiwiZXhwIjoxNzM0NjI4NjY4LCJpc3MiOiJkdW1teSIsInNjb3BlIjoidXRtLmluamVjdF90ZXN0X2RhdGEiLCJzdWIiOiJ1c3NfcXVhbGlmaWVyIn0.REDACTED
      • json
        :
        • operational_intent
          :
          • state
            :
            Accepted
          • priority
            :
            0
          • volumes
            :
            • item_1
              :
              • volume
                :
                • outline_polygon
                  :
                  • vertices
                    :
                    • item_1
                      :
                      • lng
                        :
                        7.477504823470508
                      • lat
                        :
                        46.97472299984816
                    • item_2
                      :
                      • lng
                        :
                        7.477504820370851
                      • lat
                        :
                        46.97556599981216
                    • item_3
                      :
                      • lng
                        :
                        7.477505769789705
                      • lat
                        :
                        46.97557922815897
                • altitude_lower
                  :
                  • value
                    :
                    605.0
                  • reference
                    :
                    W84
                  • units
                    :
                    M
                • altitude_upper
                  :
                  • value
                    :
                    635.0
                  • reference
                    :
                    W84
                  • units
                    :
                    M
              • time_start
                :
                • value
                  :
                  2024-12-19T16:18:58.385599Z
                • format
                  :
                  RFC3339
              • time_end
                :
                • value
                  :
                  2024-12-19T16:23:58.385599Z
                • format
                  :
                  RFC3339
          • off_nominal_volumes
            :
        • flight_authorisation
          :
          • uas_serial_number
            :
            My serial number
          • operation_category
            :
            Open
          • operation_mode
            :
            Vlos
          • uas_class
            :
            C0
          • identification_technologies
            :
            • item_1
              :
              ASTMNetRID
          • connectivity_methods
            :
            • item_1
              :
              cellular
          • endurance_minutes
            :
            30
          • emergency_procedure_url
            :
            https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/test_data/che/flight_intents/invalid_flight_auths/invalid_flight_auth/emergency
          • operator_id
            :
            CHEo5kut30e0mt01-qwe
        • request_id
          :
          32c725e5-0529-4c83-9105-1959d018354e
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Thu, 19 Dec 2024 16:18:59 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          903
      • elapsed_s
        :
        0.043702
      • reported
        :
        2024-12-19T16:18:59.435495Z
      • json
        :
        • notes
          :
          Invalid serial number
        • result
          :
          Rejected
        • log_messages
          :
          • item_1
            :
            [2024-12-19 16:18:59.397 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:113] [inject_flight/23:aad2b7e8-1f71-4b36-a64d-6439c491f977] Starting handler
          • item_2
            :
            [2024-12-19 16:18:59.399 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:113] [inject_flight/23:aad2b7e8-1f71-4b36-a64d-6439c491f977] Acquiring lock for flight aad2b7e8-1f71-4b36-a64d-6439c491f977
          • item_3
            :
            [2024-12-19 16:18:59.415 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:113] [inject_flight/23:aad2b7e8-1f71-4b36-a64d-6439c491f977] Request is for a new flight (lock established)
          • item_4
            :
            [2024-12-19 16:18:59.433 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:113] [inject_flight/23:aad2b7e8-1f71-4b36-a64d-6439c491f977] Releasing placeholder for existing flight_id aad2b7e8-1f71-4b36-a64d-6439c491f977
      • body
        :
        None
    • query_type
      :
      interuss.deprecated_scd_injection.v1.injectFlight
    • participant_id
      :
      uss2
🌐
3 Failure
4 Incorrectly planned
Plan valid flight Plan valid flight intent 5 🌐
  • PUT scdsc.uss2.localutm 200
    :
    • request
      :
      • method
        :
        PUT
      • url
        :
        http://scdsc.uss2.localutm/scdsc/v1/flights/0344d2b2-628f-43ab-ad11-bfaeec84aefa
      • initiated_at
        :
        2024-12-19T16:18:59.440718Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          1119
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJzY2RzYy51c3MyLmxvY2FsdXRtIiwiZXhwIjoxNzM0NjI4NjY4LCJpc3MiOiJkdW1teSIsInNjb3BlIjoidXRtLmluamVjdF90ZXN0X2RhdGEiLCJzdWIiOiJ1c3NfcXVhbGlmaWVyIn0.REDACTED
      • json
        :
        • operational_intent
          :
          • state
            :
            Accepted
          • priority
            :
            0
          • volumes
            :
            • item_1
              :
              • volume
                :
                • outline_polygon
                  :
                  • vertices
                    :
                    • item_1
                      :
                      • lng
                        :
                        7.477504823470508
                      • lat
                        :
                        46.97472299984816
                    • item_2
                      :
                      • lng
                        :
                        7.477504820370851
                      • lat
                        :
                        46.97556599981216
                    • item_3
                      :
                      • lng
                        :
                        7.477505769789705
                      • lat
                        :
                        46.97557922815897
                • altitude_lower
                  :
                  • value
                    :
                    605.0
                  • reference
                    :
                    W84
                  • units
                    :
                    M
                • altitude_upper
                  :
                  • value
                    :
                    635.0
                  • reference
                    :
                    W84
                  • units
                    :
                    M
              • time_start
                :
                • value
                  :
                  2024-12-19T16:18:58.385599Z
                • format
                  :
                  RFC3339
              • time_end
                :
                • value
                  :
                  2024-12-19T16:23:58.385599Z
                • format
                  :
                  RFC3339
          • off_nominal_volumes
            :
        • flight_authorisation
          :
          • uas_serial_number
            :
            1AF49UL5CC5J6K
          • operation_category
            :
            Open
          • operation_mode
            :
            Vlos
          • uas_class
            :
            C0
          • identification_technologies
            :
            • item_1
              :
              ASTMNetRID
          • connectivity_methods
            :
            • item_1
              :
              cellular
          • endurance_minutes
            :
            30
          • emergency_procedure_url
            :
            https://testdummy.interuss.org/interuss/monitoring/uss_qualifier/test_data/che/flight_intents/invalid_flight_auths/valid_flight_auth/emergency
          • operator_id
            :
            CHEo5kut30e0mt01-qwe
        • request_id
          :
          3393d941-1949-4673-9f92-827e6d907d6a
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Thu, 19 Dec 2024 16:18:59 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          2199
      • elapsed_s
        :
        0.165564
      • reported
        :
        2024-12-19T16:18:59.606950Z
      • json
        :
        • result
          :
          Planned
        • log_messages
          :
          • item_1
            :
            [2024-12-19 16:18:59.447 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:113] [inject_flight/23:0344d2b2-628f-43ab-ad11-bfaeec84aefa] Starting handler
          • item_2
            :
            [2024-12-19 16:18:59.448 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:113] [inject_flight/23:0344d2b2-628f-43ab-ad11-bfaeec84aefa] Acquiring lock for flight 0344d2b2-628f-43ab-ad11-bfaeec84aefa
          • item_3
            :
            [2024-12-19 16:18:59.463 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:113] [inject_flight/23:0344d2b2-628f-43ab-ad11-bfaeec84aefa] Request is for a new flight (lock established)
          • item_4
            :
            [2024-12-19 16:18:59.468 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:151] [inject_flight/23:0344d2b2-628f-43ab-ad11-bfaeec84aefa] Obtaining latest operational intent information
          • item_5
            :
            [2024-12-19 16:18:59.555 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:151] [inject_flight/23:0344d2b2-628f-43ab-ad11-bfaeec84aefa] Checking for intersections with
          • item_6
            :
            [2024-12-19 16:18:59.556 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:151] [inject_flight/23:0344d2b2-628f-43ab-ad11-bfaeec84aefa] Sharing operational intent with DSS
          • item_7
            :
            [2024-12-19 16:18:59.556 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:151] [inject_flight/23:0344d2b2-628f-43ab-ad11-bfaeec84aefa] Creating new operational intent ccf988eb-ec90-41c7-956f-e62ee79828e7 in DSS
          • item_8
            :
            [2024-12-19 16:18:59.570 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:151] [inject_flight/23:0344d2b2-628f-43ab-ad11-bfaeec84aefa] No notifications failed
          • item_9
            :
            [2024-12-19 16:18:59.570 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:151] [inject_flight/23:0344d2b2-628f-43ab-ad11-bfaeec84aefa] Storing flight in database
          • item_10
            :
            [2024-12-19 16:18:59.586 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:151] [inject_flight/23:0344d2b2-628f-43ab-ad11-bfaeec84aefa] Complete.
          • item_11
            :
            [2024-12-19 16:18:59.604 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:113] [inject_flight/23:0344d2b2-628f-43ab-ad11-bfaeec84aefa] Releasing lock on existing flight_id 0344d2b2-628f-43ab-ad11-bfaeec84aefa
      • body
        :
        None
    • query_type
      :
      interuss.deprecated_scd_injection.v1.injectFlight
    • participant_id
      :
      uss2
🌐
6 Failure
7 Successful planning
Cleanup 8 🌐
  • DELETE scdsc.uss2.localutm 200
    :
    • request
      :
      • method
        :
        DELETE
      • url
        :
        http://scdsc.uss2.localutm/scdsc/v1/flights/0344d2b2-628f-43ab-ad11-bfaeec84aefa
      • initiated_at
        :
        2024-12-19T16:18:59.607488Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          0
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJzY2RzYy51c3MyLmxvY2FsdXRtIiwiZXhwIjoxNzM0NjI4NjY4LCJpc3MiOiJkdW1teSIsInNjb3BlIjoidXRtLmluamVjdF90ZXN0X2RhdGEiLCJzdWIiOiJ1c3NfcXVhbGlmaWVyIn0.REDACTED
      • body
        :
        None
      • json
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Thu, 19 Dec 2024 16:18:59 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          850
      • elapsed_s
        :
        0.037645
      • reported
        :
        2024-12-19T16:18:59.645692Z
      • json
        :
        • result
          :
          Closed
        • log_messages
          :
          • item_1
            :
            [2024-12-19 16:18:59.613 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:259] [delete_flight/23:0344d2b2-628f-43ab-ad11-bfaeec84aefa] Acquiring and deleting flight
          • item_2
            :
            [2024-12-19 16:18:59.631 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:259] [delete_flight/23:0344d2b2-628f-43ab-ad11-bfaeec84aefa] deleting operational intent ccf988eb-ec90-41c7-956f-e62ee79828e7 with OVN iOIQ-HjEqQ2XcsFL3nBJJ7Ov0NeDAYTqaM3HgfxUPJc_ from DSS
          • item_3
            :
            [2024-12-19 16:18:59.644 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:259] [delete_flight/23:0344d2b2-628f-43ab-ad11-bfaeec84aefa] No notifications failed
          • item_4
            :
            [2024-12-19 16:18:59.644 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:259] [delete_flight/23:0344d2b2-628f-43ab-ad11-bfaeec84aefa] Complete.
      • body
        :
        None
    • query_type
      :
      interuss.deprecated_scd_injection.v1.deleteFlight
    • participant_id
      :
      uss2
🌐
9 Successful flight deletion