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
        :
        2025-11-06T14:48:37.978075Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.4
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
      • body
        :
        None
      • json
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Thu, 06 Nov 2025 14:48:37 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          45
      • elapsed_s
        :
        0.008051
      • reported
        :
        2025-11-06T14:48:37.986723Z
      • 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
        :
        2025-11-06T14:48:37.987383Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.4
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
      • body
        :
        None
      • json
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Thu, 06 Nov 2025 14:48:37 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          45
      • elapsed_s
        :
        0.006736
      • reported
        :
        2025-11-06T14:48:37.994516Z
      • 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
        :
        2025-11-06T14:48:37.994964Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.4
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          78
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJzY2RzYy51c3MxLmxvY2FsdXRtIiwiZXhwIjoxNzYyNDQ0MTE3LCJpc3MiOiJkdW1teSIsInNjb3BlIjoiaW50ZXJ1c3MubW9ja191c3MuY29uZmlndXJlIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • locality_code
          :
          CHE
        • request_id
          :
          be1a885e-45dc-4e1e-a181-b3d69a491a34
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Thu, 06 Nov 2025 14:48:38 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          24
      • elapsed_s
        :
        0.007769
      • reported
        :
        2025-11-06T14:48:38.005466Z
      • 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
        :
        2025-11-06T14:48:38.005663Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.4
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          78
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJzY2RzYy51c3MyLmxvY2FsdXRtIiwiZXhwIjoxNzYyNDQ0MTE4LCJpc3MiOiJkdW1teSIsInNjb3BlIjoiaW50ZXJ1c3MubW9ja191c3MuY29uZmlndXJlIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • locality_code
          :
          CHE
        • request_id
          :
          b555dfe2-9bf4-42c3-b244-435161f24383
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Thu, 06 Nov 2025 14:48:38 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          24
      • elapsed_s
        :
        0.007873
      • reported
        :
        2025-11-06T14:48:38.016327Z
      • json
        :
        • locality_code
          :
          CHE
      • body
        :
        None
    • query_type
      :
      interuss.mock_uss.locality.locality_set
    • participant_id
      :
      uss2
🌐
12 Query ok