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

Rest api for handle resolution with metadata #761

Merged
merged 23 commits into from
Nov 4, 2024

Conversation

Paurikova2
Copy link
Collaborator

@Paurikova2 Paurikova2 commented Sep 16, 2024

Phases MP MM MB MR JM Total
ETA 0 0 0 0 0 0
Developing 10 0 0 0 0 0
Review 0 0 0 0 0 0
Total - - - - - 0
ETA est. 0
ETA cust. - - - - - 0

Problem description

Return title, repository , submitdate and reportemail metadata for handle. not only url.

The new Handle server project (link) uses this code or this code to get a URL for a specific handle.

The endpoint "/resolve/" can be found in HdlResolverRestController.java and here.

I want to modify this endpoint so that if a parameter is provided (or in some other way, such as updating the URL, HTTP request parameters, etc.), it will return a List Map, i.e., instead of https://dev-5.pc:8443/server/resolve/11234/1-5419 which returns ["AAA"], it should return [{"url": "AAA", OTHER METADATA}] where other metadata is like in http://hdl.handle.net/11025/57448?noredirect which is in HandlePlugin.java.

NOTE: (Note, you restarted Docker during the import and handle.remote-resolver.enabled = true is set to false, which is why /resolve/ does not work.)

SUMMARY: Instead of ["string"], I want /resolve/* [{}].

@Paurikova2 Paurikova2 linked an issue Sep 16, 2024 that may be closed by this pull request
@Paurikova2 Paurikova2 requested review from vidiecan and removed request for vidiecan October 8, 2024 06:59
milanmajchrak
milanmajchrak previously approved these changes Oct 8, 2024
@milanmajchrak milanmajchrak requested a review from vidiecan October 8, 2024 11:45
@Paurikova2 Paurikova2 requested review from vidiecan and milanmajchrak and removed request for vidiecan October 10, 2024 12:06
@Paurikova2 Paurikova2 requested a review from vidiecan October 21, 2024 06:38
@Paurikova2 Paurikova2 merged commit 68fb203 into dtq-dev Nov 4, 2024
10 checks passed
@Paurikova2 Paurikova2 deleted the rest-api-for-handle-resolution-with-metadata branch November 4, 2024 11:43
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.

prepare REST api for handle resolution with metadata
3 participants