-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #406 from pvretano/issue-381
Add "self" and "alternate" link requirements to the process summary and the process description.
- Loading branch information
Showing
8 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[[ats_core_process-summary-links]] | ||
|
||
[abstract_test] | ||
==== | ||
[%metadata] | ||
identifier:: /conf/core/process-summary-links | ||
target:: /req/core/process-summary-links | ||
test-purpose:: Validate that the proper links are included in each process summary. | ||
test-method:: | ||
+ | ||
-- | ||
1. Get a list of process summaries as per test <<ats_core_process-list-op,/conf/core/process-list-op>>. | ||
2. Verify that the `links` section of each process summary of the response contains a link with `rel=self`. | ||
3. Verify that the `links` section of each process summary of the response contains a link with `rel=alternate` for each response representation the service claims to support in its <<sc_conformance,conformance document>>. | ||
-- | ||
==== |
18 changes: 18 additions & 0 deletions
18
core/abstract_tests/ogc-process-description/ATS_links.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[[ats_ogc-process-description_links]] | ||
|
||
[abstract_test] | ||
==== | ||
[%metadata] | ||
identifier:: /conf/ogc-process-description/links | ||
target:: /req/ogc-process-description/links | ||
test-purpose:: Verify that an OGC Process Description includes the required links. | ||
test-method:: | ||
+ | ||
-- | ||
1. Retrieve a description of each process according to test <<ats_core_process-description,/conf/core/process-description>>. | ||
2. For each process, verify that the description includes a link (relation: `self`) pointing to itself. | ||
3. If the server indicates that it supports other representations of the process description, verify that the description includes a link (relation: `alternate`) for each alternative representation of the process description. | ||
-- | ||
==== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[[req_core_process-summary-links]] | ||
[requirement] | ||
==== | ||
[%metadata] | ||
identifier:: /req/core/process-summary-links | ||
[.component,class=part] | ||
-- | ||
Each process summary SHALL include a link (relation: `self`) that points to the full description of the process (path: `/processes/{processID}`). | ||
-- | ||
[.component,class=part] | ||
-- | ||
Each process summary SHALL include one or more links (relation: `alternate`) that points to each alternative representation of the full description of the process (path: `/processes/{processID}`). | ||
-- | ||
==== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[[req_ogc-process-description_links]] | ||
[requirement] | ||
==== | ||
[%metadata] | ||
identifier:: /req/ogc-process-description/links | ||
[.component,class=part] | ||
-- | ||
Each process description SHALL include a link (relation: `self`) that points to itself. | ||
-- | ||
[.component,class=part] | ||
-- | ||
Each process description SHALL include one or more links (relation: `alternate`) that points to each alternative representation of this process description. | ||
-- | ||
==== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters