Flight authorisation validation

scenarios.uspace.flight_auth.Validation

Resources

KML visualization

Case Step Event uss1
1 📓 Planner: uss1
Attempt invalid flights Inject invalid flight intents 2 🌐
  • PUT scdsc.uss1.localutm 200
    :
    • request
      :
      • method
        :
        PUT
      • url
        :
        http://scdsc.uss1.localutm/flight_planning/v1/flight_plans/e504d0ef-f2fe-471f-9ec2-53463e68f31c
      • initiated_at
        :
        2024-10-14T12:07:11.603827Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          1196
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJzY2RzYy51c3MxLmxvY2FsdXRtIiwiZXhwIjoxNzI4OTExMTk3LCJpc3MiOiJkdW1teSIsInNjb3BlIjoiaW50ZXJ1c3MuZmxpZ2h0X3BsYW5uaW5nLnBsYW4iLCJzdWIiOiJ1c3NfcXVhbGlmaWVyIn0.REDACTED
      • json
        :
        • flight_plan
          :
          • basic_information
            :
            • usage_state
              :
              Planned
            • uas_state
              :
              Nominal
            • area
              :
              • item_1
                :
                • volume
                  :
                  • outline_polygon
                    :
                    • vertices
                      :
                      • item_1
                        :
                        • lat
                          :
                          46.97472299984816
                        • lng
                          :
                          7.477504823470508
                      • item_2
                        :
                        • lat
                          :
                          46.97556599981216
                        • lng
                          :
                          7.477504820370851
                      • item_3
                        :
                        • lat
                          :
                          46.97557922815897
                        • lng
                          :
                          7.477505769789705
                  • altitude_lower
                    :
                    • value
                      :
                      605.0
                    • reference
                      :
                      W84
                    • units
                      :
                      M
                  • altitude_upper
                    :
                    • value
                      :
                      635.0
                    • reference
                      :
                      W84
                    • units
                      :
                      M
                • time_start
                  :
                  • value
                    :
                    2024-10-14T12:07:10.600080Z
                  • format
                    :
                    RFC3339
                • time_end
                  :
                  • value
                    :
                    2024-10-14T12:12:10.600080Z
                  • format
                    :
                    RFC3339
          • astm_f3548_21
            :
            • priority
              :
              0
          • uspace_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
        • execution_style
          :
          IfAllowed
        • request_id
          :
          5bd87af9-ce7f-4176-8528-ee153d73b430
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Mon, 14 Oct 2024 12:07:11 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          1037
      • elapsed_s
        :
        0.04318
      • reported
        :
        2024-10-14T12:07:11.647758Z
      • json
        :
        • activity_result
          :
          Rejected
        • flight_id
          :
          e504d0ef-f2fe-471f-9ec2-53463e68f31c
        • flight_plan_status
          :
          NotPlanned
        • includes_advisories
          :
          Unknown
        • notes
          :
          Invalid serial number
        • planning_result
          :
          Rejected
        • queries
          :
        • log_messages
          :
          • item_1
            :
            [2024-10-14 12:07:11.610 DEBUG monitoring.mock_uss.flight_planning.routes:log:64] [upsert_plan/21:e504d0ef-f2fe-471f-9ec2-53463e68f31c] Starting handler
          • item_2
            :
            [2024-10-14 12:07:11.612 DEBUG monitoring.mock_uss.flight_planning.routes:log:64] [upsert_plan/21:e504d0ef-f2fe-471f-9ec2-53463e68f31c] Acquiring lock for flight e504d0ef-f2fe-471f-9ec2-53463e68f31c
          • item_3
            :
            [2024-10-14 12:07:11.628 DEBUG monitoring.mock_uss.flight_planning.routes:log:64] [upsert_plan/21:e504d0ef-f2fe-471f-9ec2-53463e68f31c] Request is for a new flight (lock established)
          • item_4
            :
            [2024-10-14 12:07:11.645 DEBUG monitoring.mock_uss.flight_planning.routes:log:64] [upsert_plan/21:e504d0ef-f2fe-471f-9ec2-53463e68f31c] Releasing placeholder for existing flight_id e504d0ef-f2fe-471f-9ec2-53463e68f31c
      • body
        :
        None
    • query_type
      :
      interuss.automated_testing.flight_planning.v1.UpsertFlightPlan
    • participant_id
      :
      uss1
🌐
3 Failure
4 Incorrectly planned
Plan valid flight Plan valid flight intent 5 🌐
  • PUT scdsc.uss1.localutm 200
    :
    • request
      :
      • method
        :
        PUT
      • url
        :
        http://scdsc.uss1.localutm/flight_planning/v1/flight_plans/ce744e1f-3d85-4a45-9af9-d51d8d2ddad5
      • initiated_at
        :
        2024-10-14T12:07:11.651374Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          1192
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJzY2RzYy51c3MxLmxvY2FsdXRtIiwiZXhwIjoxNzI4OTExMTk3LCJpc3MiOiJkdW1teSIsInNjb3BlIjoiaW50ZXJ1c3MuZmxpZ2h0X3BsYW5uaW5nLnBsYW4iLCJzdWIiOiJ1c3NfcXVhbGlmaWVyIn0.REDACTED
      • json
        :
        • flight_plan
          :
          • basic_information
            :
            • usage_state
              :
              Planned
            • uas_state
              :
              Nominal
            • area
              :
              • item_1
                :
                • volume
                  :
                  • outline_polygon
                    :
                    • vertices
                      :
                      • item_1
                        :
                        • lat
                          :
                          46.97472299984816
                        • lng
                          :
                          7.477504823470508
                      • item_2
                        :
                        • lat
                          :
                          46.97556599981216
                        • lng
                          :
                          7.477504820370851
                      • item_3
                        :
                        • lat
                          :
                          46.97557922815897
                        • lng
                          :
                          7.477505769789705
                  • altitude_lower
                    :
                    • value
                      :
                      605.0
                    • reference
                      :
                      W84
                    • units
                      :
                      M
                  • altitude_upper
                    :
                    • value
                      :
                      635.0
                    • reference
                      :
                      W84
                    • units
                      :
                      M
                • time_start
                  :
                  • value
                    :
                    2024-10-14T12:07:10.600080Z
                  • format
                    :
                    RFC3339
                • time_end
                  :
                  • value
                    :
                    2024-10-14T12:12:10.600080Z
                  • format
                    :
                    RFC3339
          • astm_f3548_21
            :
            • priority
              :
              0
          • uspace_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
        • execution_style
          :
          IfAllowed
        • request_id
          :
          febb4dc2-bab0-42c9-87d5-100bd8c2fc61
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Mon, 14 Oct 2024 12:07:11 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          2333
      • elapsed_s
        :
        0.110605
      • reported
        :
        2024-10-14T12:07:11.762672Z
      • json
        :
        • activity_result
          :
          Completed
        • flight_id
          :
          ce744e1f-3d85-4a45-9af9-d51d8d2ddad5
        • flight_plan_status
          :
          Planned
        • includes_advisories
          :
          Unknown
        • planning_result
          :
          Completed
        • queries
          :
        • log_messages
          :
          • item_1
            :
            [2024-10-14 12:07:11.657 DEBUG monitoring.mock_uss.flight_planning.routes:log:64] [upsert_plan/21:ce744e1f-3d85-4a45-9af9-d51d8d2ddad5] Starting handler
          • item_2
            :
            [2024-10-14 12:07:11.659 DEBUG monitoring.mock_uss.flight_planning.routes:log:64] [upsert_plan/21:ce744e1f-3d85-4a45-9af9-d51d8d2ddad5] Acquiring lock for flight ce744e1f-3d85-4a45-9af9-d51d8d2ddad5
          • item_3
            :
            [2024-10-14 12:07:11.674 DEBUG monitoring.mock_uss.flight_planning.routes:log:64] [upsert_plan/21:ce744e1f-3d85-4a45-9af9-d51d8d2ddad5] Request is for a new flight (lock established)
          • item_4
            :
            [2024-10-14 12:07:11.678 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:151] [inject_flight/21:ce744e1f-3d85-4a45-9af9-d51d8d2ddad5] Obtaining latest operational intent information
          • item_5
            :
            [2024-10-14 12:07:11.713 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:151] [inject_flight/21:ce744e1f-3d85-4a45-9af9-d51d8d2ddad5] Checking for intersections with
          • item_6
            :
            [2024-10-14 12:07:11.714 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:151] [inject_flight/21:ce744e1f-3d85-4a45-9af9-d51d8d2ddad5] Sharing operational intent with DSS
          • item_7
            :
            [2024-10-14 12:07:11.714 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:151] [inject_flight/21:ce744e1f-3d85-4a45-9af9-d51d8d2ddad5] Creating new operational intent 96c4b665-04ee-4be4-9fc4-58c819890a09 in DSS
          • item_8
            :
            [2024-10-14 12:07:11.726 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:151] [inject_flight/21:ce744e1f-3d85-4a45-9af9-d51d8d2ddad5] No notifications failed
          • item_9
            :
            [2024-10-14 12:07:11.726 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:151] [inject_flight/21:ce744e1f-3d85-4a45-9af9-d51d8d2ddad5] Storing flight in database
          • item_10
            :
            [2024-10-14 12:07:11.742 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:151] [inject_flight/21:ce744e1f-3d85-4a45-9af9-d51d8d2ddad5] Complete.
          • item_11
            :
            [2024-10-14 12:07:11.760 DEBUG monitoring.mock_uss.flight_planning.routes:log:64] [upsert_plan/21:ce744e1f-3d85-4a45-9af9-d51d8d2ddad5] Releasing lock on existing flight_id ce744e1f-3d85-4a45-9af9-d51d8d2ddad5
      • body
        :
        None
    • query_type
      :
      interuss.automated_testing.flight_planning.v1.UpsertFlightPlan
    • participant_id
      :
      uss1
🌐
6 Failure
7 Successful planning
Cleanup 8 🌐
  • DELETE scdsc.uss1.localutm 200
    :
    • request
      :
      • method
        :
        DELETE
      • url
        :
        http://scdsc.uss1.localutm/flight_planning/v1/flight_plans/e504d0ef-f2fe-471f-9ec2-53463e68f31c
      • initiated_at
        :
        2024-10-14T12:07:11.763239Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          0
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJzY2RzYy51c3MxLmxvY2FsdXRtIiwiZXhwIjoxNzI4OTExMTk3LCJpc3MiOiJkdW1teSIsInNjb3BlIjoiaW50ZXJ1c3MuZmxpZ2h0X3BsYW5uaW5nLnBsYW4iLCJzdWIiOiJ1c3NfcXVhbGlmaWVyIn0.REDACTED
      • json
        :
        None
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Mon, 14 Oct 2024 12:07:11 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          470
      • elapsed_s
        :
        0.024149
      • reported
        :
        2024-10-14T12:07:11.787916Z
      • json
        :
        • activity_result
          :
          Failed
        • flight_id
          :
          e504d0ef-f2fe-471f-9ec2-53463e68f31c
        • flight_plan_status
          :
          NotPlanned
        • includes_advisories
          :
          Unknown
        • notes
          :
          Flight e504d0ef-f2fe-471f-9ec2-53463e68f31c does not exist
        • planning_result
          :
          Failed
        • queries
          :
        • log_messages
          :
          • item_1
            :
            [2024-10-14 12:07:11.769 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:259] [delete_flight/21:e504d0ef-f2fe-471f-9ec2-53463e68f31c] Acquiring and deleting flight
      • body
        :
        None
    • query_type
      :
      interuss.automated_testing.flight_planning.v1.DeleteFlightPlan
    • participant_id
      :
      uss1
🌐
9 Successful flight deletion
10 🌐
  • DELETE scdsc.uss1.localutm 200
    :
    • request
      :
      • method
        :
        DELETE
      • url
        :
        http://scdsc.uss1.localutm/flight_planning/v1/flight_plans/ce744e1f-3d85-4a45-9af9-d51d8d2ddad5
      • initiated_at
        :
        2024-10-14T12:07:11.788251Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          0
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJzY2RzYy51c3MxLmxvY2FsdXRtIiwiZXhwIjoxNzI4OTExMTk3LCJpc3MiOiJkdW1teSIsInNjb3BlIjoiaW50ZXJ1c3MuZmxpZ2h0X3BsYW5uaW5nLnBsYW4iLCJzdWIiOiJ1c3NfcXVhbGlmaWVyIn0.REDACTED
      • json
        :
        None
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Mon, 14 Oct 2024 12:07:11 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          1028
      • elapsed_s
        :
        0.037905
      • reported
        :
        2024-10-14T12:07:11.826659Z
      • json
        :
        • activity_result
          :
          Completed
        • flight_id
          :
          ce744e1f-3d85-4a45-9af9-d51d8d2ddad5
        • flight_plan_status
          :
          Closed
        • includes_advisories
          :
          Unknown
        • planning_result
          :
          Completed
        • queries
          :
        • log_messages
          :
          • item_1
            :
            [2024-10-14 12:07:11.793 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:259] [delete_flight/21:ce744e1f-3d85-4a45-9af9-d51d8d2ddad5] Acquiring and deleting flight
          • item_2
            :
            [2024-10-14 12:07:11.812 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:259] [delete_flight/21:ce744e1f-3d85-4a45-9af9-d51d8d2ddad5] deleting operational intent 96c4b665-04ee-4be4-9fc4-58c819890a09 with OVN .emc1WLA-u7ZQZ42FwTAif6fXJQPdDgCQ.3nJYl1uMs_ from DSS
          • item_3
            :
            [2024-10-14 12:07:11.825 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:259] [delete_flight/21:ce744e1f-3d85-4a45-9af9-d51d8d2ddad5] No notifications failed
          • item_4
            :
            [2024-10-14 12:07:11.825 DEBUG monitoring.mock_uss.scd_injection.routes_injection:log:259] [delete_flight/21:ce744e1f-3d85-4a45-9af9-d51d8d2ddad5] Complete.
      • body
        :
        None
    • query_type
      :
      interuss.automated_testing.flight_planning.v1.DeleteFlightPlan
    • participant_id
      :
      uss1
🌐
11 Successful flight deletion