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

07.SOS enhancedOperations: GetObservationById - 07.09.RequestValidRequest Test - invalid test request for POST #20

Closed
agtokty opened this issue Sep 18, 2015 · 2 comments
Labels
Milestone

Comments

@agtokty
Copy link

agtokty commented Sep 18, 2015

In Test Suite: SOS 2.0, teamengine sends a request with no observation id in Test sos:GOBIRequestValidRequest_obsByIdRetrieval test.
Normally if sos:observation element does not have value(s) Sos server should throw an exception ( MissingParameterValue, locator=Observation).

According to OGC 12-006 document , observation should be one or many (mandatory) .

See Table 29: Properties of GetObservationById data type in OGC 12-006

And here is my log : https://gist.github.com/agtokty/cde89879a2c3674dbbaf

@agtokty agtokty changed the title 07.SOS enhancedOperations: GetObservationById - 07.09.RequestValidRequest Test - Invalid Post 07.SOS enhancedOperations: GetObservationById - 07.09.RequestValidRequest Test - Invalid Post invalid test request for POST Sep 18, 2015
@agtokty agtokty changed the title 07.SOS enhancedOperations: GetObservationById - 07.09.RequestValidRequest Test - Invalid Post invalid test request for POST 07.SOS enhancedOperations: GetObservationById - 07.09.RequestValidRequest Test - invalid test request for POST Sep 18, 2015
@rockygis
Copy link
Contributor

The observation is from "ows:OperationsMetadata/ows:Operation[@name='GetObservationById']/ows:Parameter[@name='observation']/ows:AllowedValues/ows:Value[1]" in the GetCapabilities response.
Teamengine got an empty string so it sends a request with empty observation id.

@rockygis
Copy link
Contributor

rockygis commented Oct 8, 2015

It looks like the TeamEngine needs the observation id from the response body of GetCapabilities, but lacks of these info. If the observation id can be found in the GetCapabilities, this problem should be no problem.

@rockygis rockygis closed this as completed Oct 8, 2015
@epicureanism epicureanism modified the milestones: 1.13, 1.14 Oct 28, 2015
@bermud bermud modified the milestones: 1.14, 1.12 Oct 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants