-
Notifications
You must be signed in to change notification settings - Fork 26
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 #464 from opengeospatial/pubsub-updates
- Loading branch information
Showing
11 changed files
with
65 additions
and
38 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
9 changes: 9 additions & 0 deletions
9
...sions/pubsub/standard/recommendations/pubsub-channels/REC_message-payloads.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,9 @@ | ||
[[rec_pubsub-channels-message-payloads]] | ||
[recommendation,type="general",id="/rec/pubsub-channels/message-payloads", label="/rec/pubsub-channels/message-payloads"] | ||
==== | ||
*A:* | ||
A Publish-Subscribe server's message payload SHOULD be machine readable to enable automated workflow. | ||
==== |
14 changes: 14 additions & 0 deletions
14
extensions/pubsub/standard/recommendations/pubsub/PER_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,14 @@ | ||
[[per_pubsub_links]] | ||
|
||
[permission,type="general",id="/per/pubsub/links", label="/per/pubsub/links"] | ||
==== | ||
*A:* | ||
An OGC API collection endpoint MAY provide a link reference to a Publish-Subscribe server from an OGC API endpoint when Publish-Subscribe capabilities exist related to the OGC API collection endpoint. | ||
*B:* | ||
A Publish-Subscribe collection link reference MAY provide the `+channel+` property to allow for granular subscription. | ||
==== |
9 changes: 0 additions & 9 deletions
9
extensions/pubsub/standard/recommendations/pubsub/REC_message-payloads.adoc
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
.../requirements/pubsub/REQ_rc-channels.adoc → ...ents/pubsub-channels/REQ_rc-channels.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
16 changes: 0 additions & 16 deletions
16
extensions/pubsub/standard/requirements/pubsub/REQ_rc-links.adoc
This file was deleted.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
extensions/pubsub/standard/requirements/requirements_class_pubsub_channel.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,8 @@ | ||
[[rc_pubsub-channel]] | ||
[cols="1,4",width="90%"] | ||
|=== | ||
2+|*Requirements Class* | ||
2+|http://www.opengis.net/spec/ogcapi-edr-1/1.0/conf/pubsub-channel | ||
|Target type |Web API | ||
|Dependency |Core | ||
|=== |
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
18 changes: 18 additions & 0 deletions
18
extensions/pubsub/standard/sections/clause_8_pubsub-channels.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 @@ | ||
[[pubsub-channels-section]] | ||
== Requirements Class Publish-Subscribe (Pub/Sub) Channels | ||
|
||
=== Overview | ||
|
||
include::../requirements/requirements_class_pubsub-channels.adoc[] | ||
|
||
==== Channels | ||
|
||
The OGC API endpoint hierarchy can be used in parallel as a channel description when the data publisher wishes to provide Pub/Sub capability for OGC API resources normally available in the same way. Below are examples of OGC endpoints normally available via HTTP, and how they can be re-used as topics for Pub/Sub workflow: | ||
|
||
- ``/collections``: notifies Subscribers whenever there is a change to the ``/collections`` OGC API endpoint (for example, addition of a new collection). The message payload would be collection metadata as defined by OGC API - Common, or a message referencing same | ||
- ``/collections/{collectionId}``: notifies Subscribers whenever there is an update to a single collection (for example, spatial or temporal extents, new items, etc.). The message payload would be defined by the resource model of the given collection (items, etc.), or a message reference same | ||
|
||
Using the OGC API endpoint hierarchy provides the key benefit that OGC API users do not need to learn a different, additional approach or hierarchy for Pub/Sub (same content, additional interface). | ||
|
||
include::../recommendations/pubsub-channels/REC_message-payloads.adoc[] | ||
include::../requirements/pubsub-channels/REQ_rc-channels.adoc[] |
File renamed without changes.