Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C0095200B85 for ; Thu, 15 Sep 2016 17:09:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BEBA0160ABA; Thu, 15 Sep 2016 15:09:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 00CF9160AC6 for ; Thu, 15 Sep 2016 17:09:22 +0200 (CEST) Received: (qmail 46460 invoked by uid 500); 15 Sep 2016 15:09:22 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 46431 invoked by uid 99); 15 Sep 2016 15:09:22 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Sep 2016 15:09:22 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id F027F2C0D59 for ; Thu, 15 Sep 2016 15:09:21 +0000 (UTC) Date: Thu, 15 Sep 2016 15:09:21 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CAMEL-9671) camel-docker fails to consume events (Docker API version 1.22) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 15 Sep 2016 15:09:23 -0000 [ https://issues.apache.org/jira/browse/CAMEL-9671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-9671: ------------------------------- Fix Version/s: (was: 2.18.0) > camel-docker fails to consume events (Docker API version 1.22) > -------------------------------------------------------------- > > Key: CAMEL-9671 > URL: https://issues.apache.org/jira/browse/CAMEL-9671 > Project: Camel > Issue Type: Improvement > Components: camel-docker > Affects Versions: 2.16.2 > Environment: MacOS: 10.11.3 > Docker Machine: 0.6.0 > Docker: Version 1.10.2, API version 1.22 > Reporter: Peter Keller > Assignee: Andrea Cosentino > Priority: Minor > > Camel complains that different fields are "not marked as ignorable" and fails properly handling the event. Fields: > - Type > - Action > - ID > - Attributes > - image > - name > Camel route: > {code} > from("docker://events?host=192.168.99.100&port=2376&secure=true&certPath=/path/to/.docker/machine/machines/default") > .process(new Processor() { > @Override > public void process(Exchange exchange) throws Exception { > LOG.info("body = {}", exchange.getIn().getBody()); > } > }); > {code} > Error messages: > {code} > [ pool-1-thread-1] DockerEventsConsumer ERROR Error Consuming from Docker Events: Unrecognized field "Type" (class com.github.dockerjava.api.model.Event), not marked as ignorable (4 known properties: "status", "id", "time", "from"]) > at [Source: com.github.dockerjava.jaxrs.util.WrappedResponseInputStream@7d534017; line: 1, column: 134] (through reference chain: com.github.dockerjava.api.model.Event["Type"]) > [ pool-1-thread-1] DockerEventsConsumer ERROR Error Consuming from Docker Events: Unrecognized field "Action" (class com.github.dockerjava.api.model.Event), not marked as ignorable (4 known properties: "status", "id", "time", "from"]) > at [Source: com.github.dockerjava.jaxrs.util.WrappedResponseInputStream@7d534017; line: 1, column: 155] (through reference chain: com.github.dockerjava.api.model.Event["Action"]) > [ pool-1-thread-1] DockerEventsConsumer ERROR Error Consuming from Docker Events: Unrecognized field "Actor" (class com.github.dockerjava.api.model.Event), not marked as ignorable (4 known properties: "status", "id", "time", "from"]) > at [Source: com.github.dockerjava.jaxrs.util.WrappedResponseInputStream@7d534017; line: 1, column: 173] (through reference chain: com.github.dockerjava.api.model.Event["Actor"]) > [ pool-1-thread-1] DockerEventsConsumer ERROR Error Consuming from Docker Events: Unrecognized field "ID" (class com.github.dockerjava.api.model.Event), not marked as ignorable (4 known properties: "status", "id", "time", "from"]) > at [Source: com.github.dockerjava.jaxrs.util.WrappedResponseInputStream@7d534017; line: 1, column: 179] (through reference chain: com.github.dockerjava.api.model.Event["ID"]) > [ pool-1-thread-1] DockerEventsConsumer ERROR Error Consuming from Docker Events: Unrecognized field "Attributes" (class com.github.dockerjava.api.model.Event), not marked as ignorable (4 known properties: "status", "id", "time", "from"]) > at [Source: com.github.dockerjava.jaxrs.util.WrappedResponseInputStream@7d534017; line: 1, column: 259] (through reference chain: com.github.dockerjava.api.model.Event["Attributes"]) > [ pool-1-thread-1] DockerEventsConsumer ERROR Error Consuming from Docker Events: Unrecognized field "image" (class com.github.dockerjava.api.model.Event), not marked as ignorable (4 known properties: "status", "id", "time", "from"]) > at [Source: com.github.dockerjava.jaxrs.util.WrappedResponseInputStream@7d534017; line: 1, column: 268] (through reference chain: com.github.dockerjava.api.model.Event["image"]) > [ pool-1-thread-1] DockerEventsConsumer ERROR Error Consuming from Docker Events: Unrecognized field "name" (class com.github.dockerjava.api.model.Event), not marked as ignorable (4 known properties: "status", "id", "time", "from"]) > at [Source: com.github.dockerjava.jaxrs.util.WrappedResponseInputStream@7d534017; line: 1, column: 301] (through reference chain: com.github.dockerjava.api.model.Event["name"]) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)