metron-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cestella <...@git.apache.org>
Subject [GitHub] incubator-metron pull request #184: METRON-284: SensorParserConfig object ca...
Date Thu, 07 Jul 2016 21:22:05 GMT
GitHub user cestella opened a pull request:

    https://github.com/apache/incubator-metron/pull/184

    METRON-284: SensorParserConfig object cannot be serialized with the default Jackson ObjectMapper


    The SensorParserConfig object cannot be serialized without a custom Jackson ObjectMapper.
Specifically, this is caused by the way the FieldTransformer is implemented. A call to SensorParserConfig.toJSON()
will fail with this message if a transformer is configured:
    No serializer found for class org.apache.metron.common.field.transformation.MTLTransformation
and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS)
)


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cestella/incubator-metron METRON-284

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-metron/pull/184.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 #184
    
----
commit 35f116e14f953a2de03886d42b6fc6581ab768f7
Author: cstella <cestella@gmail.com>
Date:   2016-07-07T21:20:54Z

    Updating the field transformer to allow serialization and deserialization via jackson.

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message