streams-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Blackmon (JIRA)" <j...@apache.org>
Subject [jira] [Created] (STREAMS-276) Upgrade providers to supply DocumentClassifier and ActivityConverter implementations
Date Mon, 09 Feb 2015 23:15:34 GMT
Steve Blackmon created STREAMS-276:
--------------------------------------

             Summary: Upgrade providers to supply DocumentClassifier and ActivityConverter
implementations
                 Key: STREAMS-276
                 URL: https://issues.apache.org/jira/browse/STREAMS-276
             Project: Streams
          Issue Type: Improvement
            Reporter: Steve Blackmon


For each provider where the proposed re-factoring improvement is feasible, create sub-tasks
to perform the following:

1) Add a DocumentClassifier for each provider-specific type combination the provider expects
to receive from all upstream end-points.

2) Add a test demonstrating one and only one of these Classifiers returns true across a set
of example origin documents.

3) Add an ActivityConverter for each objectType/Verb combination the provider expects to emit.
 requiredClass should be one of String.class, ObjectNode.class, or a POJO which extends Serializable.

4) Add tests demonstrating that ActivityConverterProcessor is able to convert the set of example
origin documents into activities with correct objectType/verb.

5) Mark legacy TypeConverters as Deprecated

For any provider where the proposed re-factoring improvement is not feasible, document why
in the module README and/or create issues for whatever refactoring would be necessary to make
that provider compatible with ActivityConverterProcessor.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message