Skip to content

Commit

Permalink
Removing notif.v1
Browse files Browse the repository at this point in the history
Notification message have been implemented as pub.v1 events and
notif.v1 is not needed nor supported in the sdks so removing it
to avoid confusion.

fixes #8
  • Loading branch information
Steven Hartley committed Jul 6, 2023
1 parent 09c0e62 commit ae270a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 28 deletions.
4 changes: 0 additions & 4 deletions up-l2/messages/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ Table <<message-types>> below list the defined event types with links to their v
| link:v1/README.adoc[v1]
|Publication of events (1:many)

|*Notification*
| link:v1/README.adoc[v1]
|Published event to a specific destination (1:1)

|*Request*
| link:v1/README.adoc[v1]
|RPC Request message
Expand Down
27 changes: 3 additions & 24 deletions up-l2/messages/v1/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,6 @@ a|uProtocol CE type
!*Publish*
! `pub.v1`

!*Notification*
!`notif.v1`

!*Request*
!`req.v1`

Expand Down Expand Up @@ -297,7 +294,7 @@ The following are additional recommendations when implementing the protocol:
== Examples
The following examples are using the JSON CE format

=== Publish Message
=== Publish
[source]
----
{
Expand All @@ -313,25 +310,7 @@ The following examples are using the JSON CE format
}
----

=== Notification Message
[source]
----
{
"specversion": "1.0",
"id": "5b9fe861-8c1c-4899-9b07-ad1cde652e10",
"source": "up://VCU.VIN.veh.up.gm.com/body.access/1/rpc.UpdateDoor",
"sink": "up://VCU.VIN.veh.up.gm.com/MyAppp/1/rpc.response",
"type": "res.v1",
"datacontenttype": "application/x-protobuf",
"dataschema": "/google.rpc.Status",
"priority": "CS4",
"reqid": "cf8b1bcd-30bd-43be-a8d3-ad1cde652e10",
"ttl": 50000,
"data": /* Protobuf serialized google.rpc.Status Message*/
}
----

=== Request Message
=== Request
[source]
----
{
Expand All @@ -348,7 +327,7 @@ The following examples are using the JSON CE format
}
----

=== Response Message
=== Response
[source]
----
{
Expand Down

0 comments on commit ae270a9

Please sign in to comment.