Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert to ConnectorTable for resolution #1014

Merged
merged 2 commits into from
Jul 29, 2024

Conversation

sirosen
Copy link
Member

@sirosen sirosen commented Jul 29, 2024

Rather than keeping a CLI-specific dict of IDs and names, use the
ConnectorTable object provided by the SDK to resolve IDs to names.

This changeset also eliminates a never-used method for converting
names to IDs, which is functionality provided by the ConnectorTable if
we should need it.

In addition to test refactoring, the relevant test module is renamed.

The changelog notes this as a rendering fix, since Dropbox and HPSS
were previously missing from the data but are included in the
ConnectorTable. So, effectively two entries have been "added" to this
formatter.

Rather than keeping a CLI-specific dict of IDs and names, use the
ConnectorTable object provided by the SDK to resolve IDs to names.

This changeset also eliminates a never-used method for converting
names to IDs, which is functionality provided by the ConnectorTable if
we should need it.

In addition to test refactoring, the relevant test module is renamed.

The changelog notes this as a rendering fix, since Dropbox and HPSS
were previously missing from the data but are included in the
ConnectorTable. So, effectively two entries have been "added" to this
formatter.
Co-authored-by: Kurt McKee <contactme@kurtmckee.org>
@sirosen sirosen merged commit 74d4823 into globus:main Jul 29, 2024
17 checks passed
@sirosen sirosen deleted the use-sdk-connector-table branch July 29, 2024 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants