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
        :
        2026-01-07T09:26:28.748701Z
      • 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
          :
          Wed, 07 Jan 2026 09:26:28 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          45
      • elapsed_s
        :
        0.006749
      • reported
        :
        2026-01-07T09:26:28.755978Z
      • 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
        :
        2026-01-07T09:26:28.756530Z
      • 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
          :
          Wed, 07 Jan 2026 09:26:28 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          45
      • elapsed_s
        :
        0.006221
      • reported
        :
        2026-01-07T09:26:28.763100Z
      • 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
        :
        2026-01-07T09:26:28.763488Z
      • 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.eyJhdWQiOiJzY2RzYy51c3MxLmxvY2FsdXRtIiwiZXhwIjoxNzY3NzgxNTg4LCJpc3MiOiJkdW1teSIsInNjb3BlIjoiaW50ZXJ1c3MubW9ja191c3MuY29uZmlndXJlIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • locality_code
          :
          CHE
        • request_id
          :
          56bc794e-b64a-470a-8e24-1831c7bd11b1
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Wed, 07 Jan 2026 09:26:28 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          24
      • elapsed_s
        :
        0.007055
      • reported
        :
        2026-01-07T09:26:28.773180Z
      • 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
        :
        2026-01-07T09:26:28.773303Z
      • 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.eyJhdWQiOiJzY2RzYy51c3MyLmxvY2FsdXRtIiwiZXhwIjoxNzY3NzgxNTg4LCJpc3MiOiJkdW1teSIsInNjb3BlIjoiaW50ZXJ1c3MubW9ja191c3MuY29uZmlndXJlIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • locality_code
          :
          CHE
        • request_id
          :
          4094dd18-d9ee-478d-993f-b33757479f6c
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Wed, 07 Jan 2026 09:26:28 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          24
      • elapsed_s
        :
        0.006932
      • reported
        :
        2026-01-07T09:26:28.782689Z
      • json
        :
        • locality_code
          :
          CHE
      • body
        :
        None
    • query_type
      :
      interuss.mock_uss.locality.locality_set
    • participant_id
      :
      uss2
🌐
12 Query ok