-
Notifications
You must be signed in to change notification settings - Fork 61
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
unify DCAT output #522
Comments
GeoportalSchema.buildAtomLinks (Line 150 to 171) - pushes the links with base url. In case of scheduled dcat task, links do not have baseURL so it is pushed as undefined/itemid . DcatWriter validates that links are valid (isHrefValid) before adding in Distribution ( Line 91) , Since link is not valid, not added in distribution. That is why in case of NOOA – only link added in distribution is from – GeoportalSchema : Line 173 (image) DcatBuilder.java - Since it is a scheduler or process, httpServletRequest is not available and hence baseURL can not be calculated to be sent in requestInfo. Added a new property baseUrl in app-dcat.xml - DcatBuilder <beans:bean id="dcatBuilder" class="com.esri.geoportal.dcat.DcatBuilder"> This needs to be modified as per environment |
Merged in master |
Currently the output to DCAT format is different between the cached DCAT file and the output of the opensearch endpoint with f=dcat. The objective is to have both provide the same amount of detail per record (as much as possible).
The text was updated successfully, but these errors were encountered: