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
[DS-4301] Ensure that DSpace REST Report capabilities are part of the DSpace 8 REST API #7641
[DS-4301] Ensure that DSpace REST Report capabilities are part of the DSpace 8 REST API #7641
Comments
Is related to: DS-4303 |
alaw said: I have used these reporting tools and found them very helpful for cleaning up metadata and checking the status of bitstreams. For instance, using the checksum column, I found 200 ETD file pairs in our collection of ~30,000 that had different filenames but were actually duplicates, in addition to many duplicate pairs with identical filenames. Without Reporting Tools, bitstream data is much harder to obtain. We used the Reports to discover items that we had not realized were missing files. I would very much like the Reporting Tools preserved in later versions of DSpace. |
pbecker said: I know at least two German repositories that uses the RESTvreport tools on a regular base. Both are larger installations and at least one of the already contributed back to DSpace. Would be great to see this being continued and supported in the future. |
tdonohue said: Just a note here, one of the primary reasons for keeping the old REST API (v4-6) around in DSpace 7 is to continue support of these reports in DSpace 7 (and the future). My hope is that someone(s) would adapt these reporting tools to use the (new) DSpace 7 REST API prior to the DSpace 8 release (or even just after 7.0 is out). Technically, the tool need not be packaged as part of the official REST API itself, as this tool is a client of the REST API. Therefore, it could be made available as a separate client project, or even as part of the Angular UI (if it is more easily adapted there). So, this is all to say that I agree with others that these reporting tools seem useful to continue to maintain. However, some effort will have to be made to adapt them to the new REST API. |
mwood said: I think that that is the purpose of this Issue: to port specific capabilities of "old REST" into "new REST" so that the above-mentioned reporting package can be ported to "new REST", removing a significant roadblock to retiring the "old REST" code. DSpace 7 will have the same situation w.r.t. REST that DSpace 6 has w.r.t. GUI: we have two to maintain, and we'd be better off with only one. We should consider making REST feature parity and deprecation of "old REST" goals for DSpace 8. That, I think, is what this Issue is really saying, though it is expressed in terms of a specific REST client. |
tdonohue said: If the goal of this ticket is feature "parity" between the old REST API and new REST API, then I'd recommend we create separate (perhaps sub-) tickets listing the features of the old REST API that are not yet available in the new REST API. At this time, it's unclear to me whether any such gaps exist (and whether those gaps are easily solvable prior to DSpace 7 or require extra effort/work and should be scheduled for DSpace 8) To Mark's point, the old REST API will be deprecated in DSpace 7. So, two REST APIs will only exist in that DSpace 7.x release, allowing developers/institutions using the old REST API to migrate all tooling to the new REST API. As of DSpace 8, there will only be a single REST API (the new one). |
Hi @tdonohue, we will try to advance this issue. @jeffmorin will be working on it. We will focus on Legacy REST endpoints used by the report tools but not on the new Entity Support for now. Since Entity Support involves working on a new functionality (i.e. not porting an existing one), I suggest creating a new ticket for it specifically. Moreover, a functional specification will be needed for any willing contributor to properly work on it. |
@pilasou : There is no requirement in this issue ticket to update the existing reporting tools to also report on Entities. I agree that could be future work, as that's not been defined at all yet. The only requirement in this ticket is to ensure the old reports don't "die" when the old REST API is removed from DSpace (in v8). So, I agree that the reporting tools do not need to be updated beyond fixing them to work with the new REST API... any additional improvements can always come later as needed. If you or @jeffmorin have additional questions, let us know. As usual, we are open to suggestions of the "best way" to resolve this ticket, the end goal is just to ensure the old reports are retained in some manner (how they are retained is open for suggestion/discussion....it could be porting them over mostly "as-is" to the new REST API or it could even be moving them into the Angular UI, or some other solution I haven't thought of) |
I created a pull request for the REST specification of the first report (Filtered Collections): DSpace/RestContract#202. |
Imported from JIRA [DS-4301] created by terrywbrady
The tools are described here.
https://wiki.duraspace.org/display/DSDOC6x/REST+Based+Quality+Control+Reports
These tools allow for very specific validation of metadata fields: field is present, field is missing, field matches a regular expression.
Legacy REST endpoints used by the report tools
Legacy endpoint documentation
Rest Report Client
Once the endpoint code is in place, it should be fairly simple to recreate the 2 rest report client pages. The updated client should take advantage of the authentication features of the new REST 7API.
The REST Report Client displays the results of these queries in tabular form. That table can be directly output and used by the bulk metadata update process. Additionally, some high level bitstream metadata can appear in the report results.
Entity Support
The queries will need to evolve to support queries on DSpace entity metadata.
The text was updated successfully, but these errors were encountered: