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-10-14T12:06:13.871680Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
      • json
        :
        None
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Mon, 14 Oct 2024 12:06:13 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          45
      • elapsed_s
        :
        0.010359
      • reported
        :
        2024-10-14T12:06:13.882685Z
      • 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-10-14T12:06:13.883486Z
      • headers
        :
        • User-Agent
          :
          python-requests/2.31.0
        • Accept-Encoding
          :
          gzip, deflate, br
        • Accept
          :
          */*
        • Connection
          :
          keep-alive
      • json
        :
        None
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Mon, 14 Oct 2024 12:06:13 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          45
      • elapsed_s
        :
        0.00981
      • reported
        :
        2024-10-14T12:06:13.893833Z
      • 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-10-14T12:06:13.894375Z
      • 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.eyJhdWQiOiJzY2RzYy51c3MxLmxvY2FsdXRtIiwiZXhwIjoxNzI4OTExMTczLCJpc3MiOiJkdW1teSIsInNjb3BlIjoiaW50ZXJ1c3MubW9ja191c3MuY29uZmlndXJlIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • locality_code
          :
          CHE
        • request_id
          :
          bae5ee70-b3a4-41e9-8b6d-7320bd4b826b
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Mon, 14 Oct 2024 12:06:13 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          24
      • elapsed_s
        :
        0.007782
      • reported
        :
        2024-10-14T12:06:13.904091Z
      • 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-10-14T12:06:13.904246Z
      • 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.eyJhdWQiOiJzY2RzYy51c3MyLmxvY2FsdXRtIiwiZXhwIjoxNzI4OTExMTczLCJpc3MiOiJkdW1teSIsInNjb3BlIjoiaW50ZXJ1c3MubW9ja191c3MuY29uZmlndXJlIiwic3ViIjoidXNzX3F1YWxpZmllciJ9.REDACTED
      • json
        :
        • locality_code
          :
          CHE
        • request_id
          :
          283e65a2-3c37-44d5-922b-0402126aaae8
      • body
        :
        None
    • response
      :
      • code
        :
        200
      • headers
        :
        • Server
          :
          gunicorn
        • Date
          :
          Mon, 14 Oct 2024 12:06:13 GMT
        • Connection
          :
          keep-alive
        • Content-Type
          :
          application/json
        • Content-Length
          :
          24
      • elapsed_s
        :
        0.007186
      • reported
        :
        2024-10-14T12:06:13.913232Z
      • json
        :
        • locality_code
          :
          CHE
      • body
        :
        None
    • query_type
      :
      interuss.mock_uss.locality.locality_set
    • participant_id
      :
      uss2
🌐
12 Query ok