CDLUC3 / CDLUC3/resolver

Support legacy inflection behavior

Open
#49 1 comment 0 reactions 1 assignee View on GitHub

@datadavev is already working on this.

Since Oct 20, 2025.

bug
Dominant language
Python
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

When receiving an inflection request (i.e. request ending in ?, ??, or ?info, the legacy N2T service would either return metadata or redirect to the target for metadata. The current implementation always returns metadata for such a request. This behavior is desirable for technical evaluation of the request, but does not provide the same experience for non-technical users.

Task here is to support redirection to the registered target for an inflection request, but still provide information about the registration when needed.

The approach taken will be to compare the requested identifier string with the registered information. If there is an exact match, then the resolver should return information about the identifier registration. If there is any suffix portion (i.e. the supplied identifier is not an exact match to the registered information), the client should be redirected to the target along with the same inflection request parameters.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.