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

Improve mechanism to provide record used for harvest operation #49

Closed
dstenger opened this issue Nov 7, 2018 · 2 comments
Closed

Improve mechanism to provide record used for harvest operation #49

dstenger opened this issue Nov 7, 2018 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@dstenger
Copy link
Contributor

dstenger commented Nov 7, 2018

See #8 (comment).

@dstenger dstenger added the enhancement New feature or request label Nov 7, 2018
@dstenger dstenger changed the title Improve mechanism to provide record used for harvesting Improve mechanism to provide record used for harvest operation Nov 7, 2018
@etj
Copy link
Collaborator

etj commented Nov 27, 2018

I copied the sample metadata in our dgiwg test server at
http://dgiwg.geo-solutions.it/test/metadata/DMFMetadataRecord.xml
so that the returned content-type is text/xml, and so it's accepted by gn.

This is a temporary workaround to make the test pass.

etj added a commit to etj/ets-cat20-dgiwg10 that referenced this issue Nov 27, 2018
@lgoltz lgoltz added this to the Testbed14_M4 (0.3) milestone Dec 21, 2018
@lgoltz
Copy link
Contributor

lgoltz commented Dec 21, 2018

We provided the record at https://opengeospatial.github.io/ets-cat20-dgiwg10/DMFMetadataRecord.xml, the returned content type is application/xml (default of ResourceFormat parameter of the harvest operation). The test issueHarvestRequest fails cause the service returns

<ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        version="1.2.0"
        xsi:schemaLocation="http://www.opengis.net/ows http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd">
  <ows:Exception exceptionCode="NoApplicableCode">
      <ows:ExceptionText>Host name 'opengeospatial.github.io' does not match the certificate subject provided by the peer (CN=www.github.com, O="GitHub, Inc.", L=San Francisco, ST=California, C=US)</ows:ExceptionText>
  </ows:Exception>
</ows:ExceptionReport>

@etj Can you take a look at this?

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
None yet
Development

No branches or pull requests

3 participants