Hi Rosen, If a user wrongly configured a mediator, do we allow to switch to the source view? If we do so, when we switch back to design view do we have enough information to re-generate the model (and show wrongly configured sign)?
Also, if a user directly edited the source in a wrong manner and switch to design view do we allow to switch? If we do so, do we indicate that mediator is configured wrongly in there too? Do we also indicate which fields are not configured correctly? Thanks On Sun, Oct 21, 2018 at 9:55 PM Rosen Silva <[email protected]> wrote: > Hi All, > > We have started implementing mediator error validation for the > graphical view of the EI tooling. Currently, the EI tooling only has > validation in the source view(XML view)[1]. > The proposed validation will be added to the controller of the mediator in > the GMF model. The EI tooling contains one controller(called EditParts in > the Eclipse domain) > per each mediator. We are planning to override the 'notifyChanged' method > in the EditPart such that it would validate mediator when the data model > changes. > All the mediators' data models will be validated against the corresponding > synapse data model of the mediator. > After the implementation, If a user configures any mediator in a wrong > way, the validation will show a warning sign on top of the > erroneous mediator[2]. > > [1] Source view error validation > > > [2] Expected view for an erroneous mediator > > > Your valuable comments and suggestions are highly appreciated. > > Thanks and best regards, > -- > > *Rosen Silva* > Software Engineer - WSO2 > > Email: [email protected] > Mobile: +94770677418 > Web: https://wso2.com/ > -- *Hasitha Abeykoon* Associate Technical Lead; WSO2, Inc.; http://wso2.com *cell:* *+94 719363063* *blog: **abeykoon.blogspot.com* <http://abeykoon.blogspot.com>
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
