From issues-return-49199-archive-asf-public=cust-asf.ponee.io@camel.apache.org Tue Feb 6 13:55:11 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 81F52180657 for ; Tue, 6 Feb 2018 13:55:11 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 71A18160C45; Tue, 6 Feb 2018 12:55:11 +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 B96F8160C3A for ; Tue, 6 Feb 2018 13:55:10 +0100 (CET) Received: (qmail 74348 invoked by uid 500); 6 Feb 2018 12:55:10 -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 74339 invoked by uid 99); 6 Feb 2018 12:55:09 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Feb 2018 12:55:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 0DA4B1A03D5 for ; Tue, 6 Feb 2018 12:55:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -101.511 X-Spam-Level: X-Spam-Status: No, score=-101.511 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id jT51PX9gmUv3 for ; Tue, 6 Feb 2018 12:55:08 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id D48B560D91 for ; Tue, 6 Feb 2018 12:55:03 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 882C9E0449 for ; Tue, 6 Feb 2018 12:55:02 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id EEF882411A for ; Tue, 6 Feb 2018 12:55:00 +0000 (UTC) Date: Tue, 6 Feb 2018 12:55:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAMEL-12221) Let's create a camel-fhir component MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-12221?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D163= 53827#comment-16353827 ]=20 ASF GitHub Bot commented on CAMEL-12221: ---------------------------------------- davsclaus commented on a change in pull request #2206: [CAMEL-12221] Let's = create a camel-fhir component URL: https://github.com/apache/camel/pull/2206#discussion_r166284536 =20 =20 ########## File path: camel-core/src/main/java/org/apache/camel/model/dataformat/Fhir= JsonDataFormat.java ########## @@ -0,0 +1,57 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied= . + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.model.dataformat; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlTransient; +import org.apache.camel.CamelContext; +import org.apache.camel.model.DataFormatDefinition; +import org.apache.camel.spi.DataFormat; +import org.apache.camel.spi.Metadata; + +/** + * The FHIR JSON data format is used to marshall/unmarshall to/from FHIR o= bjects to/from JSON. + */ +@Metadata(firstVersion =3D "2.21.0", label =3D "dataformat,transformation,= json", title =3D "FHIR JSON") +@XmlRootElement(name =3D "fhir-json") +@XmlAccessorType(XmlAccessType.FIELD) +public class FhirJsonDataFormat extends DataFormatDefinition { + + @XmlTransient + private Object fhirContext; =20 Review comment: In other words it should not be transient ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. =20 For queries about this service, please contact Infrastructure at: users@infra.apache.org > Let's create a camel-fhir component > ----------------------------------- > > Key: CAMEL-12221 > URL: https://issues.apache.org/jira/browse/CAMEL-12221 > Project: Camel > Issue Type: New Feature > Reporter: John Poth > Priority: Major > > Let's create a camel-fhir component based on [HAPI-FHIR|http://hapifhir.i= o] > I can take care of the PR.=C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005)