Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tooling changes for recent WUM updates #107

Closed
3 of 5 tasks
GDLMadushanka opened this issue Aug 11, 2020 · 0 comments · Fixed by #943
Closed
3 of 5 tasks

Tooling changes for recent WUM updates #107

GDLMadushanka opened this issue Aug 11, 2020 · 0 comments · Fixed by #943

Comments

@GDLMadushanka
Copy link
Contributor

GDLMadushanka commented Aug 11, 2020

Description:
Recently we shipped several improvements for JSON, Jager, Tasks as WUM updates in EI 6.6.0.
For those new functionalities to work we need to add the following changes to the tooling.

  • Property mediator trace scope
  • New property called "invokeHandlers" in tasks
  • New "remove" action for enrich mediator
  • New "aggregateElementType" property for Aggregate mediator
  • New "JSON" data type for property mediator
  1. Property Mediator
    Currently, in EI Jager tracing, we can only see the property name. We should improve the code to add the property value also.

Here if the property mediator scope is given as trace

<property name="CHARACTER_SET_ENCODING" value="ISO-8859-1" scope="trace" type="STRING"/>

The Trace scope should be added to Property mediator

"JSON" data type is introduced to the property mediator
Sample
<property name="Greeting" expression="json-eval($.)" type="JSON"/>

  1. Tasks
    In scheduled Tasks, we are introducing a new additional property called "invokeHandlers"
    This property can have either "true" | "false"
    This property is applicable only if injectTo == "seq" | "main" (not for proxy)

  2. Enrich mediator
    Example

<enrich>
    <source clone="true" xpath="json-eval($.store.book[*].author,$.store.book[0])"/>
    <target type="body" action="remove"/>
</enrich>

UI validation: When target action = "remove" source type should be custom only.

  1. Aggregate mediator
    Add aggregateElementType to onComplete section
    This property can have only 2 values "root" | "child"

Suggested Labels:
improvement

Affected Product Version:
EI 6.6.0

Related Issues:
wso2/product-ei#5218
wso2/product-ei#5199
wso2/product-ei#5226
wso2/product-ei#5266

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants