Commit Graph

8 Commits

Author SHA1 Message Date
Sviatoslav Boichuk
9dc4239795 Change sender_id type for ConsumerMetadata field to string 2025-03-11 17:43:01 +02:00
Oleksandr Mazur
cbc1ca38f8 API revamp: add optional / mandatory fields specificators, fix description(s)
* Update API to fix some spelling issues;
* Add specificators that specify the mandatoriness of fields in API;
* Add a simple table that maps req->kaka_topic;

Signed-off-by: Oleksandr Mazur <oleksandr.mazur@plvision.eu>
2025-03-03 18:53:41 +02:00
Sviatoslav Boichuk
f10e5622ee Added consumer metadata to cnc/cnc_res messages 2025-02-21 20:04:57 +02:00
Sviatoslav Boichuk
910e513e7d Do not use capital letter in Kafka topocs name 2025-02-17 09:17:55 +02:00
Sviatoslav Boichuk
64f114e427 Update CnC & CnC_Res APIs 2025-02-05 10:07:50 +02:00
Sviatoslav Boichuk
80ec425329 Change NB API infra_group_id type from string to integer 2025-01-27 17:11:33 +02:00
Sviatoslav Boichuk
94bc789537 Fixed spell issues in API YAML 2025-01-02 16:57:37 +02:00
Oleksandr Mazur
e9d37d1b8c Initial formalization of API in form of YAML files
Add initial list of YAML files that formalize Kafka API:
 - requests list that CGW can handle
 - responses that CGW will generate
 - unsolicited events that CGW might generate

Also a small cleanup of requests and responses was made,
to align it with a common format (renamed some of the fields,
added missing etc).
Tests are tweaked to accomodate for changed field names.

Signed-off-by: Oleksandr Mazur <oleksandr.mazur@plvision.eu>
2024-12-19 14:51:16 +02:00