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

Clean up retrieval of urls/test points #24

Open
lgoltz opened this issue Jul 3, 2018 · 1 comment
Open

Clean up retrieval of urls/test points #24

lgoltz opened this issue Jul 3, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@lgoltz
Copy link
Contributor

lgoltz commented Jul 3, 2018

Should the URLs be retrieved from the OpenAPI document or e.g. the collections document (e.g. for a Get Features request)?

The paths in OpenAPI document should be unique, requesting TestPoints in OpenApiUtils should be simplified.

@lgoltz lgoltz added the enhancement New feature or request label Jul 3, 2018
@cmheazel
Copy link

I would use a two pass approach.
First I would process the OpenAPI document to see what this service claims to support.

  1. Extract the test paths and associated supporting data (security, parameters, etc.)
  2. Discard any test paths which are not part of the WFS 3.0 spec.
  3. Validate that the test path descriptions comply with WFS 3.0.
    If the OpenAPI document does not comply with WFS 3.0, flag the error and stop.
    You now have a validated description of how this service implements WFS 3.0
    Next I would crawl the service. For each path:
  4. If this path is not a WFS 3.0 test path, skip it.
  5. If this path was not described by the OpenAPI document, flag the error.
  6. Validate that this path and associated metadata agrees with the OpenAPI description.
  7. Validate that this path behaves in accordance with the WFS 3.0 spec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: To do
Development

No branches or pull requests

2 participants