kieran mccarthy Possibly Common (base) set of headers but mandatory aspect might differ. In practice we might need a separate headers (schema?) for each event
4
Clarify the format of the version eventSchemaVersion
Conclusion: events not designed as proposed, very inconsistent. Never go a bug because these async events aren't used at all (confirmed by Csaba Koscis) Instead bulk request wil be used for topology use cases.
We cannot override the mandatory/optional parameter from the Parent schema.
Toine Siebelink agrees to go ahead with separate schema/headers per event. There will be some duplication but it will have its advantage when versioning.
11
Is anyone using Async Request feature?
See
Jira Legacy
server
System Jira
serverId
4733707d-2057-3a0f-ae5e-4fd8aff50176
key
CPS-1660
we need to re-design event #4 (Covers Point 6 as well) and #5 in a backward incompatible way. If no-one is using this feature right now (suspected) we can do this more easily/cheaper!
Csaba Kocsis confirmed this is not used by Ericsson currently. No plans to use soon for single-cmhandle requests either (TBC). Need to decide priority (Csaba Kocsis to find out of fiXing the legacy schema(s) See decision on issue #7
12
Do we need additionalProperties for DMI ASync Data Request respondes (events #4, #5)
The original code populates a framework defined 'additionalProperties' field with a singel key-value pair: "response-data",{<json data>}. No other (private) properties are added either in DMI PLugin or NCMP code. The name is just coincidence and misleading. In fact this 'additionalProperties' field should NOT have been used at all!
No, the new schema should NOT add 'additionalProperties' field at all use 'additionalProperties:no' in the schema
13
AVC Subscription Event (DMI → NCMP) (events #3)
Want to understand what 'data' is datatype referring to under Subscription Event?
What value comes under 'schemaName' & 'SchemaVersion' of Datatype definition under AVC Subscription Event?
Reconfirmation needed on 'schemaName' & 'SchemaVersion' should be in the payload?
In meetingkieran mccarthy updated #3 is ON HOLD to analyse further.
Agreed with Toine Siebelink on that Priyank Maheshwari will look into this from now as they are working on something related to this.
14
Align headers with CNCF Cloud Events
Using standard headers as defined by Cloud Events and possibly common header
exact list of common headers need to be agreed Jira (first impl.) to be added!
Jira Legacy
server
System Jira
serverId
4733707d-2057-3a0f-ae5e-4fd8aff50176
key
CPS-1717
15
During the meeting we saw that the Header fields were prefiXed with "ce_" so we need to check if we are ok with that.
assume "ce_" can be used as all user of the CNCF lib will get this behavior, will check if it can be replaced with no prefix at all. Sourabh Sourabh and Priyank Maheshwari concluded a cloud events specific serializer is used that add this prefix and cannot easily be changed (also that would be inconsistent use of this library)
CPS Team recommend to accept this prefix and simply document that this prefer is required when filtering on kafka headers defined by CloudEvenst standard.
The unique id identifying the event generated by DMI
X
Mandatory. Generated by DMI-Plugin
standard (time)
eventCorrelationId
string
The request id passed by NCMP
X
Mandatory. This is requestId that NCMP sent to client as an ACK. Example example : “request-1234" (UUID)
eXtension extension (correlationid)
eventTarget
string
The destination topic of the client
X
Mandatory. TBC Exampleexample: my-topic
eXtension extension (destination)
source
string
The source of the event
Optional. Example example : dmi-plugin:enm-1 (dmi service name)
eventTime
string
The timestamp when original event occurred
X
Optional. The timestamp should follow that onhttps://www.rfc-editor.org/rfc/rfc3339#section-5. This follows ISO 8601 and is what is used/referenced in3GPP standards Exampleexample: 1985-04-12T23:20:50.52Z this represents 20 minutes and 50.52 seconds after the 23rd hour of April 12th, 1985 in UTC.
standard (time)
eventType
string
The type of the event
X
Mandatory. NCMP owns eventType that would be used by dmi-plugins The Convention of eventType and Schema names is under discussion, see open issue #17 on CPS-1515 Spike
standard (type)
eventSchema
string
The event schema for async request response events
X
Mandatory. The Convention of eventType and Schema names is under discussion, see open issue #17 on CPS-1515 Spike
standard (dataschema)
eventSchemaVersion
string
The event schema version for async request response events
X
N/A included in 'dataschema'
event
Event
The payload of an event
X
java object not yet defined by schema, see issue #2
Mandatory - This is the version of the cloud events
eventType
(ce_)type
.withType()
Mandatory
eventTime
(ce_)time
.withTime()
Optional (could be Mandatory for
eventSchema
(ce_)dataschema
.withDataSchema()
Optional includes the version of the schema
content-type2
withDataContentType()
application/json
Optional
eventCorrelationId
(ce_)correlationid
.withExtension()
Optional This will be part of the eXtensions extensions field in the cloud events and all the restrictions of the attribute field naming applies to it.
i.e these fields will be in the small case.
This is marked as optional as it only applies to some events.
event
(ce_)data
.withData(json TBC)
Mandatory actual event/payload now would be under "data" field.