GitHub user steveblackmon opened a pull request:
https://github.com/apache/incubator-streams/pull/150
Streams 218 - General Purpose Activity Converter Processor
Declares interfaces that modules can implement to:
discover that untyped documents contain specific types
convert those types to Activities
Provides a general ActivityConverterProcessor that handles:
valid Activities typed as JSON string, ObjectNode, or other POJOs
structurally similar to Activity
any specific types with available converters
This PR does NOT modify any existing Classifiers, Serializers, or
TypeConverters. It DOES provide a path for most if not all of them to be
deleted and replaced with this more flexible capability.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/steveblackmon/incubator-streams STREAMS-218
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-streams/pull/150.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #150
----
commit 5b042485a09655b0e9f7df1a494b6ce698279413
Author: sblackmon <[email protected]>
Date: 2014-12-01T23:44:46Z
deprecate ActivitySerializer
commit 4d41eac017a56337bac304616da68a73cd81946f
Author: sblackmon <[email protected]>
Date: 2014-12-02T16:16:19Z
key classes and interfaces for STREAMS-218
commit d082e01a02d6d9d737da8ad9571fd577fdfb5e6e
Author: sblackmon <[email protected]>
Date: 2014-12-02T17:43:50Z
Also test for detection / conversion of custom types
JavaDocs
Code Comments
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---