Add 'service_id' field. Used to include the message senders hostname
All checks were successful
Generate and Release Protos / release (push) Successful in 26s
All checks were successful
Generate and Release Protos / release (push) Successful in 26s
This commit is contained in:
@@ -8,6 +8,10 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Name of the service submitting the update"
|
"description": "Name of the service submitting the update"
|
||||||
},
|
},
|
||||||
|
"service_id": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "ID of the service sending the message - usually a hostname"
|
||||||
|
},
|
||||||
"data_type": {
|
"data_type": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": ["file"],
|
"enum": ["file"],
|
||||||
@@ -38,6 +42,6 @@
|
|||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["service_name", "data_type", "sent_timestamp", "data_kind", "payload"],
|
"required": ["service_name", "service_id", "data_type", "sent_timestamp", "data_kind", "payload"],
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user