Configure mock_uss locality

scenarios.interuss.mock_uss.configure_locality.ConfigureLocality

Resources

KML visualization

Case Step Event uss1 uss2
Set locality Get current locality value 3 🌐
  • GET scdsc.uss1.localutm 200
    :
    • request
      :
      • method
        :
        GET
      • url
        :
        http://scdsc.uss1.localutm/configuration/locality
      • initiated_at
        :
        2024-12-19T16:17:48.318524Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
      • body
        :
        None
      • json
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Thu, 19 Dec 2024 16:17:48 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          45
      • elapsed_s
        :
        0.010834
      • reported
        :
        2024-12-19T16:17:48.330033Z
      • json
        :
        • locality_code
          :
          US.IndustryCollaboration
      • body
        :
        None
    • query_type
      :
      interuss.mock_uss.locality.locality_get
    • participant_id
      :
      uss1
🌐
4 Query ok
5 📓 http://scdsc.uss1.localutm old locality: US.IndustryCollaboration
6 🌐
  • GET scdsc.uss2.localutm 200
    :
    • request
      :
      • method
        :
        GET
      • url
        :
        http://scdsc.uss2.localutm/configuration/locality
      • initiated_at
        :
        2024-12-19T16:17:48.330847Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
      • body
        :
        None
      • json
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Thu, 19 Dec 2024 16:17:48 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          45
      • elapsed_s
        :
        0.007551
      • reported
        :
        2024-12-19T16:17:48.338997Z
      • json
        :
        • locality_code
          :
          US.IndustryCollaboration
      • body
        :
        None
    • query_type
      :
      interuss.mock_uss.locality.locality_get
    • participant_id
      :
      uss2
🌐
7 Query ok
8 📓 http://scdsc.uss2.localutm old locality: US.IndustryCollaboration
Set locality to desired value 9 🌐
  • PUT scdsc.uss1.localutm 200
    :
    • request
      :
      • method
        :
        PUT
      • url
        :
        http://scdsc.uss1.localutm/configuration/locality
      • initiated_at
        :
        2024-12-19T16:17:48.339611Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          78
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJzY2RzYy51c3MxLmxvY2FsdXRtIiwiZXhwIjoxNzM0NjI4NjY4LCJpc3MiOiJkdW1teSIsInNjb3BlIjoiaW50ZXJ1c3MubW9ja191c3MuY29uZmlndXJlIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • locality_code
          :
          CHE
        • request_id
          :
          64896132-e615-4a9f-b9ea-2266c7ca2c56
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Thu, 19 Dec 2024 16:17:48 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          24
      • elapsed_s
        :
        0.007779
      • reported
        :
        2024-12-19T16:17:48.349486Z
      • json
        :
        • locality_code
          :
          CHE
      • body
        :
        None
    • query_type
      :
      interuss.mock_uss.locality.locality_set
    • participant_id
      :
      uss1
🌐
10 Query ok
11 🌐
  • PUT scdsc.uss2.localutm 200
    :
    • request
      :
      • method
        :
        PUT
      • url
        :
        http://scdsc.uss2.localutm/configuration/locality
      • initiated_at
        :
        2024-12-19T16:17:48.349693Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          78
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJzY2RzYy51c3MyLmxvY2FsdXRtIiwiZXhwIjoxNzM0NjI4NjY4LCJpc3MiOiJkdW1teSIsInNjb3BlIjoiaW50ZXJ1c3MubW9ja191c3MuY29uZmlndXJlIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • locality_code
          :
          CHE
        • request_id
          :
          981e8ec7-93e3-4272-bd50-8cb644b69a5c
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Thu, 19 Dec 2024 16:17:48 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          24
      • elapsed_s
        :
        0.007511
      • reported
        :
        2024-12-19T16:17:48.359051Z
      • json
        :
        • locality_code
          :
          CHE
      • body
        :
        None
    • query_type
      :
      interuss.mock_uss.locality.locality_set
    • participant_id
      :
      uss2
🌐
12 Query ok