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-06-19T12:05:00.563369Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.3
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
      • json
        :
        None
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Thu, 19 Jun 2025 12:05:00 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          45
      • elapsed_s
        :
        0.006924
      • reported
        :
        2025-06-19T12:05:00.570874Z
      • 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-06-19T12:05:00.571838Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.3
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
      • json
        :
        None
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Thu, 19 Jun 2025 12:05:00 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          45
      • elapsed_s
        :
        0.006857
      • reported
        :
        2025-06-19T12:05:00.579186Z
      • 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-06-19T12:05:00.579809Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.3
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          78
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJzY2RzYy51c3MxLmxvY2FsdXRtIiwiZXhwIjoxNzUwMzM4MzAwLCJpc3MiOiJkdW1teSIsInNjb3BlIjoiaW50ZXJ1c3MubW9ja191c3MuY29uZmlndXJlIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • locality_code
          :
          CHE
        • request_id
          :
          61b0aad7-26e7-408c-9dc9-0fd1f7c2a6fc
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Thu, 19 Jun 2025 12:05:00 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          24
      • elapsed_s
        :
        0.007171
      • reported
        :
        2025-06-19T12:05:00.588862Z
      • 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-06-19T12:05:00.589060Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.32.3
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
        • Content-Length
          :
          78
        • Content-Type
          :
          application/json
        • Authorization
          :
          Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJzY2RzYy51c3MyLmxvY2FsdXRtIiwiZXhwIjoxNzUwMzM4MzAwLCJpc3MiOiJkdW1teSIsInNjb3BlIjoiaW50ZXJ1c3MubW9ja191c3MuY29uZmlndXJlIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • locality_code
          :
          CHE
        • request_id
          :
          8be172ea-a140-4cdb-99ea-61332551ef3e
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Thu, 19 Jun 2025 12:05:00 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          24
      • elapsed_s
        :
        0.007334
      • reported
        :
        2025-06-19T12:05:00.598213Z
      • json
        :
        • locality_code
          :
          CHE
      • body
        :
        None
    • query_type
      :
      interuss.mock_uss.locality.locality_set
    • participant_id
      :
      uss2
🌐
12 Query ok