Closed maxl2287 closed 5 months ago
I have requested our DevOps team to confirm if they encounter the same challenge. I will provide confirmation on this matter soon.
@sachinvodafone any new information from the DevOps-team? @akoshunyadi / @bigludo7 can we talk about that again to just make the type as "string" in CloudEvent?
@maxl2287 my colleague Patrice put a comment here: https://github.com/camaraproject/Commonalities/issues/159 Very interested on your feedback ... in order to understand the issue.
@maxl2287 my colleague Patrice put a comment here: camaraproject/Commonalities#159 Very interested on your feedback ... in order to understand the issue.
Commented on that as well.
I will close this issue as it was already discussed with @shilpa-padgaonkar.
Problem description I am looking from a developer POV and we are using code-generators to generate the code based on the CAMARA specifications. When generating enums, e.g. here SubscriptionEventType, they will be generated like
The in the spec described enums cannot be used in the CloudEvent, as we want here the String (e.g. org.camaraproject.device-status.v0.roaming-status).
Possible evolution With this change we are not forced anymore to provide a Enum (e.g. ROAMING_STATUS), but can use the value of this enum (e.g. org.camaraproject.device-status.v0.roaming-status)