-
Notifications
You must be signed in to change notification settings - Fork 4
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
A simple/model implementation of being able to obtain harvested metadata records unparsed, as Strings #285
base: branch-5.0
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't run this but it seems reasonable to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should talk about this some more. I think there is a cleaner way to do this, maybe using the existing CopyElement
or adding a new RawElement
.
See
xoai/xoai-common/src/main/java/io/gdcc/xoai/model/oaipmh/results/record/Metadata.java
Line 55 in 83f9c1b
public boolean needsProcessing() { |
Also, this PR does not yet contain any unit tests. It might be interesting to see some benchmark tests as well to compare different approaches.
Yes, sure, happy to talk about it this week.
The way I implemented it, using the existing Yes, I will add a test shortly. |
|
I really like the
(everything else appears to be passing).
I'm puzzled as to what's going on - ? |
If you feel strongly about it, please let me know and I'll be happy to change the code to use |
Can we talk about this sometime soon? |
Let's do a VC call tomorrow! Ping me on Zulip, I don't have any appointments tomorrow. (I wasn't paying attention to this thread, halfway expecting you to ping me via DM again. Sorry!) |
As the title says, this is a "model" implementation - primarily to illustrate what I want the final result to be on the application side.
I expect that it will likely need to be implemented differently before the PR can be merged. I'm happy to work on a cleaner/better implementation.