wso2 / carbon-analytics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Editor-source-view] Validations required for attribute/payload mapping for sink/source annotation

PradeepaJey1 opened this issue · comments

Description:
In the source-view when attribute or payload is mapped for the sink/source annotations, it lacks validations.
Required Validations -

  1. When an extra attribute is mapped as key/value pairs (attribute or payload mapping), there is no error displayed [source and sink]
    image

  2. When the stream attributes are not mapped as key/value pairs (attribute or payload mapping), there is no error displayed [sink]
    image

  3. When the attributes are mapped as list (attribute mapping), there is no error displayed when the length of the mapped attributes differs from the length of the stream attributes [sink]
    image