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

Unable to test metadata provided as link to remote file #793

Closed
danieluct opened this issue Jun 22, 2022 · 4 comments
Closed

Unable to test metadata provided as link to remote file #793

danieluct opened this issue Jun 22, 2022 · 4 comments
Labels
deployed in reference validator Solution deployed in production Validator UI This issue is about the (new) Validator UI
Milestone

Comments

@danieluct
Copy link

When testing metadata with the reference validator (at https://inspire.ec.europa.eu/validator/test-selection/index.html ), we are unable to start tests for Metadata provided as a link. The "Start test" button doesn't do anything

Screenshot 2022-06-22 at 11-37-48 INSPIRE Validator - Test selection

Browser version: Firefox 101.0.1 and Chrome 104.0.51112.14
Link to metadata document used to test: https://inspire.meteoromania.ro/WIGOS/MD-DS
The tests work as expected when using file upload

@fabiovinci
Copy link
Collaborator

Dear @danieluct,

thanks for opening the issue, we will have a look.

@jenriquesoriano
Copy link
Collaborator

jenriquesoriano commented Jun 22, 2022

Dear @danieluct ,

the recommended behavior to introduce a service to be validated is to introduce a url of the type:
http://example.service.url/context?service=[SERVICE]&request=GetCapabilities , as advised in the textbox of the interface.

imagen

In this sense, we have implemented an enhancement to add default parameters for outputSchema and elementSetName default parameters in case they are not provided in the URL (please see #749 ) .
This improvement considers urls formed with a question mark for the separation of the service, so we recommend, at least, to incorporate the ? at the end of the url. In that case, the validation will work without any problem.
Please try:
https://inspire.meteoromania.ro/WIGOS/MD-DS?

Additionally, to make the application more resilient, we are working to incorporate a fix to consider URLs without this question mark incorporated that will be released in the short term.

We will keep you informed.

Best regards

@danieluct
Copy link
Author

@jenriquesoriano Thanks for your answer. Adding the question mark at the end fixes the issue.

Regarding the recommendation to enter a service, it is unclear which service I should add when validating the metadata for the dataset. Adding the associated WFS Download Service (in this case https://inspire.meteoromania.ro/WIGOS/WFS?service=WFS&version=2.0.0&request=GetCapabilities ) doesn't seem to work.

On the other hand, it seems it deals fine with CSW requests that returns metadata (such as https://inspire.meteoromania.ro/geonetwork/srv/eng/csw?service=CSW&version=2.0.2&request=GetRecordById&id=b7e35875-272e-416e-bf85-8f3789c48198 ). Maybe the instructions should be made clearer.

@jenriquesoriano
Copy link
Collaborator

Dear @danieluct ,

we are implementing a new feature in the UI that addresses your issue for CSW and eases the urls to be introduced for testing.
We will keep you posted for any update at this regard.
Thanks for your contribution.

Best,

@jenriquesoriano jenriquesoriano added this to the v2023.0 milestone Dec 21, 2022
jenriquesoriano added a commit to inspire-eu-validation/INSPIRE-Validator-UI that referenced this issue Dec 21, 2022
Issue 35
Related to: 
INSPIRE-MIF/helpdesk-validator#846
INSPIRE-MIF/helpdesk-validator#793
INSPIRE-MIF/helpdesk-validator#836

    INSPIRE Reference Validator - problem validate 'Metadata' for 'Data sets and data set series' #846
    Unable to test metadata provided as link to remote file #793
    Validator does not accept WMS URL #836
@fabiovinci fabiovinci added the Validator UI This issue is about the (new) Validator UI label Jan 13, 2023
@fabiovinci fabiovinci added deployed in reference validator Solution deployed in production and removed under development labels Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed in reference validator Solution deployed in production Validator UI This issue is about the (new) Validator UI
Projects
None yet
Development

No branches or pull requests

5 participants