Note for later
Once #421 is merged, we will have two types of pilots, each with different token types and API access:
-
New pilots
- Use a token exchanged from a secret.
- Can interact with the
/api/pilots/ route.
-
Legacy pilots
- Use tokens from the legacy exchange mechanism.
- Act like "bot users" (e.g.,
lb_pilot).
- Can only interact with the
/api/jobs/ route.
As interactions between pilots and DiracX increase, legacy pilots will be deprecated in favor of new pilots.
Until then, both types must be supported, and this distinction should be kept in mind.
This is applicable for #468
New pilots
/api/pilots/route.Legacy pilots
lb_pilot)./api/jobs/route.As interactions between pilots and DiracX increase, legacy pilots will be deprecated in favor of new pilots.
Until then, both types must be supported, and this distinction should be kept in mind.
This is applicable for #468