File tree Expand file tree Collapse file tree 2 files changed +66
-2
lines changed Expand file tree Collapse file tree 2 files changed +66
-2
lines changed Original file line number Diff line number Diff line change 32
32
<packaging >jar</packaging >
33
33
34
34
<properties >
35
- <avro .version>1.10 .2</avro .version>
35
+ <avro .version>1.9 .2</avro .version>
36
36
<module-name >io.cloudevents.formats.avro</module-name >
37
37
</properties >
38
38
96
96
<dependency >
97
97
<groupId >org.apache.avro</groupId >
98
98
<artifactId >avro</artifactId >
99
- <version >1.10.2 </version >
99
+ <version >${avro.version} </version >
100
100
</dependency >
101
101
102
102
<!-- Test deps -->
Original file line number Diff line number Diff line change
1
+ {
2
+ "namespace" :" io.cloudevents" ,
3
+ "type" :" record" ,
4
+ "name" :" AvroCloudEvent" ,
5
+ "version" :" 1.0" ,
6
+ "doc" :" Avro Event Format for CloudEvents" ,
7
+ "fields" :[
8
+ {
9
+ "name" :" attribute" ,
10
+ "type" :{
11
+ "type" :" map" ,
12
+ "values" :[
13
+ " null" ,
14
+ " boolean" ,
15
+ " int" ,
16
+ " string" ,
17
+ " bytes"
18
+ ]
19
+ }
20
+ },
21
+ {
22
+ "name" : " data" ,
23
+ "type" : [
24
+ " bytes" ,
25
+ " null" ,
26
+ " boolean" ,
27
+ {
28
+ "type" : " map" ,
29
+ "values" : [
30
+ " null" ,
31
+ " boolean" ,
32
+ {
33
+ "type" : " record" ,
34
+ "name" : " AvroCloudEventData" ,
35
+ "doc" : " Representation of a JSON Value" ,
36
+ "fields" : [
37
+ {
38
+ "name" : " value" ,
39
+ "type" : {
40
+ "type" : " map" ,
41
+ "values" : [
42
+ " null" ,
43
+ " boolean" ,
44
+ { "type" : " map" , "values" : " AvroCloudEventData" },
45
+ { "type" : " array" , "items" : " AvroCloudEventData" },
46
+ " double" ,
47
+ " string"
48
+ ]
49
+ }
50
+ }
51
+ ]
52
+ },
53
+ " double" ,
54
+ " string"
55
+ ]
56
+ },
57
+ { "type" : " array" , "items" : " AvroCloudEventData" },
58
+ " double" ,
59
+ " string"
60
+ ]
61
+ }
62
+ ]
63
+ }
64
+
You can’t perform that action at this time.
0 commit comments