e28fd3e7c9
update to use the givenX_whenY_thenZ naming convention for tests Co-Authored-By: KevinGilmore <kpg102@gmail.com>
47 lines
800 B
JSON
47 lines
800 B
JSON
{
|
|
"type":"record",
|
|
"name":"AvroHttpRequest",
|
|
"namespace":"com.baeldung.avro.model",
|
|
"fields":[
|
|
{
|
|
"name":"requestTime",
|
|
"type":"long"
|
|
},
|
|
{
|
|
"name":"clientIdentifier",
|
|
"type":{
|
|
"type":"record",
|
|
"name":"ClientIdentifier",
|
|
"fields":[
|
|
{
|
|
"name":"hostName",
|
|
"type":"string"
|
|
},
|
|
{
|
|
"name":"ipAddress",
|
|
"type":"string"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name":"employeeNames",
|
|
"type":{
|
|
"type":"array",
|
|
"items":"string"
|
|
},
|
|
"default":null
|
|
},
|
|
{
|
|
"name":"active",
|
|
"type":{
|
|
"type":"enum",
|
|
"name":"Active",
|
|
"symbols":[
|
|
"YES",
|
|
"NO"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
} |