globus / globus-compute

Globus Compute: High Performance Function Serving for Science
https://www.globus.org/compute
Apache License 2.0
148 stars 47 forks source link

Separate MultiUser configuration #1708

Closed khk-globus closed 2 weeks ago

khk-globus commented 2 weeks ago

To date, we've been comingling the MEP and UEP configurations in Config. At this time, the two implementations are starting to diverge in their overlap, so bite the bullet and be clear about the differences. This implementation uses BaseConfig for the shared attributes, maintains Config for backward compatability, and introduces UserEndpointConfig for the user endpoint and ManagerEndpointConfig for the endpoint manager configuration.

The core of the changes start in endpoint/config/config.py, where UserEndpointConfig (for UEPs) and ManagerEndpointConfig (for MEPs) are defined. These are backed up by requisite changes to the Pydantic model in config/model.py, Just about every other change is in support of the now-distinct configuration classes.

Notes:

[sc-37362]

Type of change