Closed kiahna-tucker closed 1 month ago
A requirement for this feature was not communicated before this feature was released:
This change will be bundled in PR 1289 which is the complete solution for issue 1274 that has the same requirement. Noting this in this issue for completeness.
Code
Last Updated: Sept. 25, 2024
The connector endpoint displayed on the Overview tab of a task Details page needs to use the new reactor address instead of that returned by the
gateway_auth_token
RPC.Below are the base requirements for this feature:
reactor_address
column of thelive_specs_ext
view.Dependencies
Last Updated: Sept. 25, 2024
live_specs_ext
view needs to be extended to include thereactor_address
of the matched data-plane (i.e., value of thedata_plane_id
column of thelive_specs
table).Additional Comments
The control-plane, task authorization API will be slow to return when a task is first created because it must fetch a new snapshot to observe the task. An alternative would be to source the address from the
reactor_address
column of the matched data-plane. If the alternative approach is preferable, thereactor_address
column in thedata_planes
table would need to be added to thelive_specs_ext
view.For client development, the
useShardEndpoints
anduseScopedGatewayAuthToken
hooks are the primary points of interest.