streams-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Blackmon (JIRA)" <>
Subject [jira] [Created] (STREAMS-148) Platform-level type validation
Date Fri, 15 Aug 2014 19:45:18 GMT
Steve Blackmon created STREAMS-148:

             Summary: Platform-level type validation
                 Key: STREAMS-148
             Project: Streams
          Issue Type: Improvement
            Reporter: Steve Blackmon

Investigate / implement mechanisms for a streams runtime (starting with streams-runtime-local)
to validate each document against it's declared type class(es) using whatever javax.validation
annotations are present on those classes at any point where a document is pulled off a provider
or processor  outbound queue.  A non-valid document should be logged to WARN, and written
to a different queue which downstream processors/providers can connect to using StreamBuilder.
 Demonstrate this works by making a required field in streams-pojo and having
a test that ensures an activity without an id is caught and handled by the runtime.

This message was sent by Atlassian JIRA

View raw message