Skip to content

Commit 5a7c1cf

Browse files
author
Doug Davis
authoredDec 6, 2018
Merge pull request #358 from duglin/v0.2
v0.2
2 parents 36448a9 + c80314d commit 5a7c1cf

9 files changed

+35
-35
lines changed
 

‎README.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,20 @@ The following documents are available:
2828
| | Latest Release | Working Draft |
2929
| :--- | :---: | :---: |
3030
| **Core Specification:** |
31-
| CloudEvents | [v0.1](https://github.com/cloudevents/spec/blob/v0.1/spec.md) | [master](https://github.com/cloudevents/spec/blob/master/spec.md) |
31+
| CloudEvents | [v0.2](https://github.com/cloudevents/spec/blob/v0.2/spec.md) | [master](https://github.com/cloudevents/spec/blob/master/spec.md) |
3232
| |
3333
| **Optional Specifications:** |
34-
| HTTP Transport Binding | [v0.1](https://github.com/cloudevents/spec/blob/v0.1/http-transport-binding.md) | [master](https://github.com/cloudevents/spec/blob/master/http-transport-binding.md) |
35-
| JSON Event Format | [v0.1](https://github.com/cloudevents/spec/blob/v0.1/json-format.md) | [master](https://github.com/cloudevents/spec/blob/master/json-format.md) |
36-
| Web hook | - | [master](https://github.com/cloudevents/spec/blob/master/http-webhook.md) |
37-
| MQTT Transport Binding | - | [master](https://github.com/cloudevents/spec/blob/master/mqtt-transport-binding.md) |
38-
| NATS Transport Binding | - | [master](https://github.com/cloudevents/spec/blob/master/nats-transport-binding.md) |
39-
| AMQP Event Format | - | [master](https://github.com/cloudevents/spec/blob/master/amqp-format.md) |
40-
| AMQP Transport Binding | - | [master](https://github.com/cloudevents/spec/blob/master/amqp-transport-binding.md) |
34+
| HTTP Transport Binding | [v0.2](https://github.com/cloudevents/spec/blob/v0.2/http-transport-binding.md) | [master](https://github.com/cloudevents/spec/blob/master/http-transport-binding.md) |
35+
| JSON Event Format | [v0.2](https://github.com/cloudevents/spec/blob/v0.2/json-format.md) | [master](https://github.com/cloudevents/spec/blob/master/json-format.md) |
36+
| Web hook | [v0.2](https://github.com/cloudevents/spec/blob/v0.2/http-webhook.md) | [master](https://github.com/cloudevents/spec/blob/master/http-webhook.md) |
37+
| MQTT Transport Binding | [v0.2](https://github.com/cloudevents/spec/blob/v0.2/mqtt-transport-binding.md) | [master](https://github.com/cloudevents/spec/blob/master/mqtt-transport-binding.md) |
38+
| NATS Transport Binding | [v0.2](https://github.com/cloudevents/spec/blob/v0.2/nats-transport-binding.md) | [master](https://github.com/cloudevents/spec/blob/master/nats-transport-binding.md) |
39+
| AMQP Event Format | [v0.2](https://github.com/cloudevents/spec/blob/v0.2/amqp-format.md) | [master](https://github.com/cloudevents/spec/blob/master/amqp-format.md) |
40+
| AMQP Transport Binding | [v0.2](https://github.com/cloudevents/spec/blob/v0.2/amqp-transport-binding.md) | [master](https://github.com/cloudevents/spec/blob/master/amqp-transport-binding.md) |
4141
| |
4242
| **Additional Documentation:** |
43-
| Primer | - | [master](https://github.com/cloudevents/spec/blob/master/primer.md) |
44-
| Documented Extensions | | [master](https://github.com/cloudevents/spec/blob/master/documented-extensions.md) |
43+
| Primer | [v0.2](https://github.com/cloudevents/spec/blob/v0.2/primer.md) | [master](https://github.com/cloudevents/spec/blob/master/primer.md) |
44+
| Documented Extensions | - | [master](https://github.com/cloudevents/spec/blob/master/documented-extensions.md) |
4545

4646
If you are new to CloudEvents, it is recommended that you start by
4747
reading the [Primer](primer.md) for an overview of the specification's

‎amqp-transport-binding.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ content-type: application/json; charset=utf-8
195195
196196
----------- application-properties -----------
197197
198-
cloudEvents:specversion: "0.1"
198+
cloudEvents:specversion: "0.2"
199199
cloudEvents:type: "com.example.someevent"
200200
cloudEvents:time: "2018-04-05T03:56:24Z"
201201
cloudEvents:id: "1234-1234-1234"
@@ -257,7 +257,7 @@ content-type: application/cloudevents+json; charset=utf-8
257257
------------- application-data --------------------------
258258
259259
{
260-
"specversion" : "0.1",
260+
"specversion" : "0.2",
261261
"type" : "com.example.someevent",
262262
263263
... further attributes omitted ...
@@ -296,4 +296,4 @@ content-type: application/cloudevents+json; charset=utf-8
296296
[OASIS-AMQP-1.0]: http://docs.oasis-open.org/amqp/core/v1.0/amqp-core-overview-v1.0.html
297297
[message-format]: http://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-messaging-v1.0-os.html#section-message-format
298298
[data]: http://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-messaging-v1.0-os.html#type-data
299-
[app-properties]: http://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-messaging-v1.0-os.html#type-application-properties
299+
[app-properties]: http://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-messaging-v1.0-os.html#type-application-properties

‎http-transport-binding.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# HTTP Transport Binding for CloudEvents - Version 0.1
1+
# HTTP Transport Binding for CloudEvents - Version 0.2
22

33
## Abstract
44

@@ -220,7 +220,7 @@ request:
220220
``` text
221221
POST /someresource HTTP/1.1
222222
Host: webhook.example.com
223-
ce-specversion: "0.1"
223+
ce-specversion: "0.2"
224224
ce-type: "com.example.someevent"
225225
ce-time: "2018-04-05T03:56:24Z"
226226
ce-id: "1234-1234-1234"
@@ -238,7 +238,7 @@ This example shows a response containing an event:
238238

239239
``` text
240240
HTTP/1.1 200 OK
241-
ce-specversion: "0.1"
241+
ce-specversion: "0.2"
242242
ce-type: "com.example.someevent"
243243
ce-time: "2018-04-05T03:56:24Z"
244244
ce-id: "1234-1234-1234"
@@ -297,7 +297,7 @@ Content-Type: application/cloudevents+json; charset=utf-8
297297
Content-Length: nnnn
298298
299299
{
300-
"specversion" : "0.1",
300+
"specversion" : "0.2",
301301
"type" : "com.example.someevent",
302302
303303
... further attributes omitted ...
@@ -318,7 +318,7 @@ Content-Type: application/cloudevents+json; charset=utf-8
318318
Content-Length: nnnn
319319
320320
{
321-
"specversion" : "0.1",
321+
"specversion" : "0.2",
322322
"type" : "com.example.someevent",
323323
324324
... further attributes omitted ...

‎json-format.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# JSON Event Format for CloudEvents - Version 0.1
1+
# JSON Event Format for CloudEvents - Version 0.2
22

33
## Abstract
44

@@ -109,7 +109,7 @@ The following table shows exemplary mappings:
109109
| CloudEvents | Type | Exemplary JSON Value
110110
|--------------------|---------------|--------------------------
111111
| type | String | "com.example.someevent"
112-
| specversion | String | "0.1"
112+
| specversion | String | "0.2"
113113
| source | URI-reference | "/mycontext"
114114
| id | String | "1234-1234-1234"
115115
| time | Timestamp | "2018-04-05T17:31:00Z"
@@ -174,7 +174,7 @@ Example event with `String`-valued `data`:
174174

175175
``` JSON
176176
{
177-
"specversion" : "0.1",
177+
"specversion" : "0.2",
178178
"type" : "com.example.someevent",
179179
"source" : "/mycontext",
180180
"id" : "A234-1234-1234",
@@ -192,7 +192,7 @@ Example event with `Binary`-valued data
192192

193193
``` JSON
194194
{
195-
"specversion" : "0.1",
195+
"specversion" : "0.2",
196196
"type" : "com.example.someevent",
197197
"source" : "/mycontext",
198198
"id" : "B234-1234-1234",
@@ -211,7 +211,7 @@ a `Map` or [JSON data](#31-special-handling-of-the-data-attribute) data:
211211

212212
``` JSON
213213
{
214-
"specversion" : "0.1",
214+
"specversion" : "0.2",
215215
"type" : "com.example.someevent",
216216
"source" : "/mycontext",
217217
"id" : "C234-1234-1234",

‎mqtt-transport-binding.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ Content Type: application/json; charset=utf-8
195195
196196
------------- User Properties ----------------
197197
198-
specversion: "0.1"
198+
specversion: "0.2"
199199
type: "com.example.someevent"
200200
time: "2018-04-05T03:56:24Z"
201201
id: "1234-1234-1234"
@@ -257,7 +257,7 @@ Content Type: application/cloudevents+json; charset=utf-8
257257
------------------ payload -------------------
258258
259259
{
260-
"specversion" : "0.1",
260+
"specversion" : "0.2",
261261
"type" : "com.example.someevent",
262262
263263
... further attributes omitted ...
@@ -282,7 +282,7 @@ Topic Name: mytopic
282282
------------------ payload -------------------
283283
284284
{
285-
"specversion" : "0.1",
285+
"specversion" : "0.2",
286286
"type" : "com.example.someevent",
287287
288288
... further attributes omitted ...
@@ -316,4 +316,4 @@ Topic Name: mytopic
316316
[RFC2046]: https://tools.ietf.org/html/rfc2046
317317
[RFC2119]: https://tools.ietf.org/html/rfc2119
318318
[RFC3629]: https://tools.ietf.org/html/rfc3629
319-
[RFC4627]: https://tools.ietf.org/html/rfc4627
319+
[RFC4627]: https://tools.ietf.org/html/rfc4627

‎nats-transport-binding.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Subject: mySubject
122122
------------------ payload -------------------
123123
124124
{
125-
"specversion" : "0.1",
125+
"specversion" : "0.2",
126126
"type" : "com.example.someevent",
127127
128128
... further attributes omitted ...
@@ -155,4 +155,4 @@ Subject: mySubject
155155
[RFC2046]: https://tools.ietf.org/html/rfc2046
156156
[RFC2119]: https://tools.ietf.org/html/rfc2119
157157
[RFC3629]: https://tools.ietf.org/html/rfc3629
158-
[RFC7159]: https://tools.ietf.org/html/rfc7159
158+
[RFC7159]: https://tools.ietf.org/html/rfc7159

‎protobuf-format.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Protocol Buffers Event Format for CloudEvents - Version 0.1
1+
# Protocol Buffers Event Format for CloudEvents - Version 0.2
22

33
## Abstract
44

@@ -109,7 +109,7 @@ CloudEventMap event = CloudEventMap.newBuilder()
109109
.putValue(
110110
"specversion",
111111
CloudEventAny.newBuilder()
112-
.setStringValue("0.1")
112+
.setStringValue("0.2")
113113
.build())
114114
.putValue(
115115
"time",

‎roadmap.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ item; they don't imply an order for implementation._
4242
1. Events are sent by code written by Developer1 and received by code
4343
written by Developer2, where Developer1 has no knowledge of Developer2.
4444

45-
*0.2*
45+
*0.2* - Completed - 2018/12/06
4646

4747
1. Incorporate learnings and feedback from interop demo to support wider
4848
adoption.

‎spec.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# CloudEvents - Version 0.1
1+
# CloudEvents - Version 0.2
22

33
## Abstract
44

@@ -193,7 +193,7 @@ help intermediate gateways determine how to route the events.
193193
* Type: `String`
194194
* Description: The version of the CloudEvents specification which the event
195195
uses. This enables the interpretation of the context. Compliant event
196-
producers MUST use a value of `0.1` when referring to this version of
196+
producers MUST use a value of `0.2` when referring to this version of
197197
the specification.
198198
* Constraints:
199199
* REQUIRED
@@ -295,7 +295,7 @@ The following example shows a CloudEvent serialized as JSON:
295295

296296
``` JSON
297297
{
298-
"specversion" : "0.1",
298+
"specversion" : "0.2",
299299
"type" : "com.github.pull.create",
300300
"source" : "https://github.com/cloudevents/spec/pull/123",
301301
"id" : "A234-1234-1234",

0 commit comments

Comments
 (0)
Please sign in to comment.