-
Notifications
You must be signed in to change notification settings - Fork 19
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 #2049 from aml-org/publish-5.6.2-master
Publish 5.6.2
- Loading branch information
Showing
23 changed files
with
364 additions
and
60 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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
amf.apicontract=5.6.1 | ||
amf.apicontract=5.6.2 | ||
amf.aml=6.6.0 | ||
amf.model=3.9.0 | ||
antlr4Version=0.7.25 | ||
|
14 changes: 14 additions & 0 deletions
14
amf-cli/shared/src/test/resources/avro/reports/union-nullable-record-invalid.report.js
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 @@ | ||
ModelId: file://amf-cli/shared/src/test/resources/avro/schemas/union-nullable-record-invalid.json | ||
Profile: | ||
Conforms: false | ||
Number of results: 1 | ||
|
||
Level: Violation | ||
|
||
- Constraint: http://a.ml/vocabularies/amf/parser#invalid-avro-schema | ||
Message: Internal error during Avro validation: Error: invalid "null": 1234 | ||
Severity: Violation | ||
Target: file://amf-cli/shared/src/test/resources/avro/schemas/union-nullable-record-invalid.json#/shape/unionNullableRecord | ||
Property: | ||
Range: | ||
Location: file://amf-cli/shared/src/test/resources/avro/schemas/union-nullable-record-invalid.json |
14 changes: 14 additions & 0 deletions
14
amf-cli/shared/src/test/resources/avro/reports/union-nullable-record-invalid.report.jvm
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 @@ | ||
ModelId: file://amf-cli/shared/src/test/resources/avro/schemas/union-nullable-record-invalid.json | ||
Profile: | ||
Conforms: false | ||
Number of results: 1 | ||
|
||
Level: Violation | ||
|
||
- Constraint: http://a.ml/vocabularies/amf/parser#invalid-avro-schema | ||
Message: invalid schema type: Invalid default for field nullableUnion: 1234 not a ["null","string"] | ||
Severity: Violation | ||
Target: file://amf-cli/shared/src/test/resources/avro/schemas/union-nullable-record-invalid.json#/shape/unionNullableRecord | ||
Property: | ||
Range: | ||
Location: file://amf-cli/shared/src/test/resources/avro/schemas/union-nullable-record-invalid.json |
14 changes: 14 additions & 0 deletions
14
amf-cli/shared/src/test/resources/avro/reports/union-root-invalid.report.js
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 @@ | ||
ModelId: file://amf-cli/shared/src/test/resources/avro/schemas/union-root-invalid.json | ||
Profile: | ||
Conforms: false | ||
Number of results: 1 | ||
|
||
Level: Violation | ||
|
||
- Constraint: http://a.ml/vocabularies/amf/parser#invalid-avro-schema | ||
Message: Internal error during Avro validation: Error: unknown type: ["string","int"] | ||
Severity: Violation | ||
Target: file://amf-cli/shared/src/test/resources/avro/schemas/union-root-invalid.json#/union/simpleUnion | ||
Property: | ||
Range: | ||
Location: file://amf-cli/shared/src/test/resources/avro/schemas/union-root-invalid.json |
14 changes: 14 additions & 0 deletions
14
amf-cli/shared/src/test/resources/avro/reports/union-root-invalid.report.jvm
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 @@ | ||
ModelId: file://amf-cli/shared/src/test/resources/avro/schemas/union-root-invalid.json | ||
Profile: | ||
Conforms: false | ||
Number of results: 1 | ||
|
||
Level: Violation | ||
|
||
- Constraint: http://a.ml/vocabularies/amf/parser#invalid-avro-schema | ||
Message: No type: {"name":"simpleUnion","type":["string","int"],"default":"something"} | ||
Severity: Violation | ||
Target: file://amf-cli/shared/src/test/resources/avro/schemas/union-root-invalid.json#/union/simpleUnion | ||
Property: | ||
Range: | ||
Location: file://amf-cli/shared/src/test/resources/avro/schemas/union-root-invalid.json |
14 changes: 14 additions & 0 deletions
14
amf-cli/shared/src/test/resources/avro/reports/union-simple-array-invalid.report.js
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 @@ | ||
ModelId: file://amf-cli/shared/src/test/resources/avro/schemas/union-simple-array-invalid.json | ||
Profile: Avro | ||
Conforms: false | ||
Number of results: 1 | ||
|
||
Level: Violation | ||
|
||
- Constraint: http://a.ml/vocabularies/amf/validation#example-validation-error | ||
Message: '132' is not a valid value (of type '"string"') for '0.string' | ||
Severity: Violation | ||
Target: file://amf-cli/shared/src/test/resources/avro/schemas/union-simple-array-invalid.json#/array/default-array/array_1 | ||
Property: file://amf-cli/shared/src/test/resources/avro/schemas/union-simple-array-invalid.json#/array/default-array/array_1 | ||
Range: [(4,13)-(4,49)] | ||
Location: file://amf-cli/shared/src/test/resources/avro/schemas/union-simple-array-invalid.json |
14 changes: 14 additions & 0 deletions
14
amf-cli/shared/src/test/resources/avro/reports/union-simple-array-invalid.report.jvm
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 @@ | ||
ModelId: file://amf-cli/shared/src/test/resources/avro/schemas/union-simple-array-invalid.json | ||
Profile: Avro | ||
Conforms: false | ||
Number of results: 1 | ||
|
||
Level: Violation | ||
|
||
- Constraint: http://a.ml/vocabularies/amf/validation#schema-exception | ||
Message: invalid schema type: Expected string. Got VALUE_NUMBER_INT | ||
Severity: Violation | ||
Target: null | ||
Property: Expected string. Got VALUE_NUMBER_INT | ||
Range: [(1,0)-(5,1)] | ||
Location: file://amf-cli/shared/src/test/resources/avro/schemas/union-simple-array-invalid.json |
14 changes: 14 additions & 0 deletions
14
amf-cli/shared/src/test/resources/avro/reports/union-simple-record-invalid.report.js
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 @@ | ||
ModelId: file://amf-cli/shared/src/test/resources/avro/schemas/union-simple-record-invalid.json | ||
Profile: | ||
Conforms: false | ||
Number of results: 1 | ||
|
||
Level: Violation | ||
|
||
- Constraint: http://a.ml/vocabularies/amf/parser#invalid-avro-schema | ||
Message: Internal error during Avro validation: Error: invalid "string": true | ||
Severity: Violation | ||
Target: file://amf-cli/shared/src/test/resources/avro/schemas/union-simple-record-invalid.json#/shape/unionSimpleRecord | ||
Property: | ||
Range: | ||
Location: file://amf-cli/shared/src/test/resources/avro/schemas/union-simple-record-invalid.json |
14 changes: 14 additions & 0 deletions
14
amf-cli/shared/src/test/resources/avro/reports/union-simple-record-invalid.report.jvm
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 @@ | ||
ModelId: file://amf-cli/shared/src/test/resources/avro/schemas/union-simple-record-invalid.json | ||
Profile: | ||
Conforms: false | ||
Number of results: 1 | ||
|
||
Level: Violation | ||
|
||
- Constraint: http://a.ml/vocabularies/amf/parser#invalid-avro-schema | ||
Message: invalid schema type: Invalid default for field simpleUnion: true not a ["string","int"] | ||
Severity: Violation | ||
Target: file://amf-cli/shared/src/test/resources/avro/schemas/union-simple-record-invalid.json#/shape/unionSimpleRecord | ||
Property: | ||
Range: | ||
Location: file://amf-cli/shared/src/test/resources/avro/schemas/union-simple-record-invalid.json |
12 changes: 12 additions & 0 deletions
12
amf-cli/shared/src/test/resources/avro/schemas/union-nullable-record-invalid.json
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,12 @@ | ||
{ | ||
"type": "record", | ||
"name": "unionNullableRecord", | ||
"namespace": "root", | ||
"fields": [ | ||
{ | ||
"name": "nullableUnion", | ||
"type": [ "null", "string"], | ||
"default": 1234 | ||
} | ||
] | ||
} |
12 changes: 12 additions & 0 deletions
12
amf-cli/shared/src/test/resources/avro/schemas/union-nullable-record-valid.json
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,12 @@ | ||
{ | ||
"type": "record", | ||
"name": "unionNullableRecord", | ||
"namespace": "root", | ||
"fields": [ | ||
{ | ||
"name": "nullableUnion", | ||
"type": [ "null", "string"], | ||
"default": null | ||
} | ||
] | ||
} |
5 changes: 5 additions & 0 deletions
5
amf-cli/shared/src/test/resources/avro/schemas/union-root-invalid.json
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,5 @@ | ||
{ | ||
"name": "simpleUnion", | ||
"type": [ "string", "int"], | ||
"default": "something" | ||
} |
5 changes: 5 additions & 0 deletions
5
amf-cli/shared/src/test/resources/avro/schemas/union-simple-array-invalid.json
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,5 @@ | ||
{ | ||
"type": "array", | ||
"items": [ "string", "int"], | ||
"default": [{"string": 132}, {"string": "b"}] | ||
} |
5 changes: 5 additions & 0 deletions
5
amf-cli/shared/src/test/resources/avro/schemas/union-simple-array-valid.json
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,5 @@ | ||
{ | ||
"type": "array", | ||
"items": [ "string", "int"], | ||
"default": [{"string": "a"}, {"string": "b"}] | ||
} |
12 changes: 12 additions & 0 deletions
12
amf-cli/shared/src/test/resources/avro/schemas/union-simple-record-invalid.json
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,12 @@ | ||
{ | ||
"type": "record", | ||
"name": "unionSimpleRecord", | ||
"namespace": "root", | ||
"fields": [ | ||
{ | ||
"name": "simpleUnion", | ||
"type": [ "string", "int"], | ||
"default": true | ||
} | ||
] | ||
} |
12 changes: 12 additions & 0 deletions
12
amf-cli/shared/src/test/resources/avro/schemas/union-simple-record-valid.json
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,12 @@ | ||
{ | ||
"type": "record", | ||
"name": "unionSimpleRecord", | ||
"namespace": "root", | ||
"fields": [ | ||
{ | ||
"name": "simpleUnion", | ||
"type": [ "string", "int"], | ||
"default": "something" | ||
} | ||
] | ||
} |
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
Oops, something went wrong.