From chemistry-dev-returnjohn82@example.net Wed Dec 02 08:54:09 2009 Return-Path: <chemistry-dev-returnjohn82@example.net> Delivered-To: john82@example.net Received: (qmail 29190 invoked from network); 2 Dec 2009 08:54:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Dec 2009 08:54:09 -0000 Received: (qmail 69042 invoked by uid 500); 2 Dec 2009 08:54:09 -0000 Delivered-To: john82@example.net Received: (qmail 68972 invoked by uid 500); 2 Dec 2009 08:54:08 -0000 Mailing-List: contact john82@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:john82@example.net> List-Unsubscribe: <mailto:john82@example.net> List-Post: <mailto:john82@example.net> List-Id: <chemistry-dev.incubator.apache.org> Reply-To: john82@example.net Delivered-To: mailing list john82@example.net Received: (qmail 68962 invoked by uid 99); 2 Dec 2009 08:54:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Dec 2009 08:54:08 +0000 X-ASF-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mail.in-gmbh.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Dec 2009 08:54:03 +0000 Received: from mail.in-gmbh.de (localhost [83.161.120.155]) by postfix.imss70 (Postfix) with ESMTP id 258C438C876 for <john82@example.net>; Wed, 2 Dec 2009 09:52:37 +0100 (CET) Received: from insvkn31.PCIN-NET.local (unknown [83.161.120.155]) by mail.in-gmbh.de (Postfix) with ESMTP id D766738C3EA for <john82@example.net>; Wed, 2 Dec 2009 09:52:36 +0100 (CET) Received: from insvkn16.PCIN-NET.local ([83.161.120.155]) by insvkn31.PCIN-NET.local ([83.161.120.155]) with mapi; Wed, 2 Dec 2009 09:53:48 +0100 From: Florian Roth <john82@example.net> To: "john82@example.net" <john82@example.net> Content-Class: urn:content-classes:message Date: Wed, 2 Dec 2009 09:53:45 +0100 Subject: POST via AbderaResource jax-rs Thread-Topic: POST via AbderaResource jax-rs Thread-Index: AcpzLPSCJGJsvRp7Ro6KIdTmWckQAg== Message-ID: <5BFF21C0838C584F91F461E6C2AAD43E2E66FAA9@insvkn16> Accept-Language: de-DE Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-TM-AS-Product-Ver: IMSS-83.161.120.15546-83.161.120.1558-17044.006 X-TM-AS-User-Approved-Sender: Yes;Yes Hi, can someone give me an example how to implement a doCreateFolder with jax-r= s? @POST @Consumes(?) @Produces(?) @Path("/{objectid}/children?) public Response doCreateFolder() { ???? } Best regards Florian Roth in-integrierte informationssysteme GmbH Am Seerhein 8 =95 78467 Konstanz http://www.in-gmbh.de/ =95 mailto:john82@example.net Telefon: +1-530-657-3975 Telefax: +1-530-657-3975 Diese E-Mail enth=E4lt vertrauliche und/oder rechtlich gesch=FCtzte Informa= tionen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrt=FC= mlich erhalten haben, informieren Sie bitte sofort den Absender und vernich= ten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe = dieser Mail sind nicht gestattet. This e-mail may contain confidential and/or privileged information. If you = are not the intended recipient (or have received this e-mail in error) plea= se notify the sender immediately and destroy this e-mail. Any unauthorised = copying, disclosure or distribution of the material in this e-mail is stric= tly forbidden. Sitz der Gesellschaft: Konstanz =95 Amtsgericht Freiburg i.B. =95 Registern= ummer: HRB 380976 =95 Gesch=E4ftsf=FChrer: Siegfried Wagner From chemistry-dev-returnjohn82@example.net Wed Dec 02 09:14:04 2009 Return-Path: <chemistry-dev-returnjohn82@example.net> Delivered-To: john82@example.net Received: (qmail 35924 invoked from network); 2 Dec 2009 09:14:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Dec 2009 09:14:04 -0000 Received: (qmail 12125 invoked by uid 500); 2 Dec 2009 09:14:04 -0000 Delivered-To: john82@example.net Received: (qmail 12062 invoked by uid 500); 2 Dec 2009 09:14:04 -0000 Mailing-List: contact john82@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:john82@example.net> List-Unsubscribe: <mailto:john82@example.net> List-Post: <mailto:john82@example.net> List-Id: <chemistry-dev.incubator.apache.org> Reply-To: john82@example.net Delivered-To: mailing list john82@example.net Received: (qmail 12052 invoked by uid 99); 2 Dec 2009 09:14:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Dec 2009 09:14:04 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of john82@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-ew0-f220.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Dec 2009 09:13:53 +0000 Received: by ewy20 with SMTP id 20so2701886ewy.20 for <john82@example.net>; Wed, 02 Dec 2009 01:13:33 -0800 (PST) Received: by 83.161.120.155 with SMTP id 6mr7484826ebi.30.1259745205300; Wed, 02 Dec 2009 01:13:25 -0800 (PST) Received: from ?83.161.120.155? (gob75-4-82-228-45-48.fbx.proxad.net [83.161.120.155]) by mx.google.com with ESMTPS id 14sm607945ewy.3.283.161.120.155.13.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 02 Dec 2009 01:13:24 -0800 (PST) Message-Id: <john82@example.net> From: Stefane Fermigier <john82@example.net> To: john82@example.net In-Reply-To: <5BFF21C0838C584F91F461E6C2AAD43E2E66FAA9@insvkn16> Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: POST via AbderaResource jax-rs Date: Wed, 2 Dec 2009 10:13:22 +0100 References: <5BFF21C0838C584F91F461E6C2AAD43E2E66FAA9@insvkn16> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org Here's what I'm using in my JAX-RS based implementation of CMIS on top =20= of Nuxeo: @POST @Path("node/{uuid}/children") @Consumes("application/atom+xml;type=3Dentry") @Produces("application/atom+xml;type=3Dentry") public Response createObject(@PathParam("uuid") String uuid) =20 throws Exception { ... } S. On Dec 2, 2009, at 9:53 AM, Florian Roth wrote: > Hi, > > can someone give me an example how to implement a doCreateFolder =20 > with jax-rs? > > @POST > @Consumes(?) > @Produces(?) > @Path("/{objectid}/children?) > public Response doCreateFolder() > { > ???? > } > > Best regards > > Florian Roth > > > in-integrierte informationssysteme GmbH > Am Seerhein 8 =95 78467 Konstanz > http://www.in-gmbh.de/ =95 mailto:john82@example.net > > Telefon: +1-530-657-3975 > Telefax: +1-530-657-3975 > > > Diese E-Mail enth=E4lt vertrauliche und/oder rechtlich gesch=FCtzte =20= > Informationen. Wenn Sie nicht der richtige Adressat sind oder diese =20= > E-Mail irrt=FCmlich erhalten haben, informieren Sie bitte sofort den =20= > Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren =20 > sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet. > This e-mail may contain confidential and/or privileged information. =20= > If you are not the intended recipient (or have received this e-mail =20= > in error) please notify the sender immediately and destroy this e-=20 > mail. Any unauthorised copying, disclosure or distribution of the =20 > material in this e-mail is strictly forbidden. > > Sitz der Gesellschaft: Konstanz =95 Amtsgericht Freiburg i.B. =95 =20 > Registernummer: HRB 380976 =95 Gesch=E4ftsf=FChrer: Siegfried Wagner > > > -- Stefane Fermigier, Founder and Chairman, Nuxeo Open Source, Java EE based, Enterprise Content Management (ECM) Web: http://www.nuxeo.com/ - Tel: +1-530-657-3975 New: follow me on Twitter: http://twitter.com/sfermigier From chemistry-dev-returnjohn82@example.net Wed Dec 02 11:14:33 2009 Return-Path: <chemistry-dev-returnjohn82@example.net> Delivered-To: john82@example.net Received: (qmail 82571 invoked from network); 2 Dec 2009 11:14:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Dec 2009 11:14:33 -0000 Received: (qmail 47573 invoked by uid 500); 2 Dec 2009 11:14:33 -0000 Delivered-To: john82@example.net Received: (qmail 47491 invoked by uid 500); 2 Dec 2009 11:14:33 -0000 Mailing-List: contact john82@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:john82@example.net> List-Unsubscribe: <mailto:john82@example.net> List-Post: <mailto:john82@example.net> List-Id: <chemistry-dev.incubator.apache.org> Reply-To: john82@example.net Delivered-To: mailing list john82@example.net Received: (qmail 47481 invoked by uid 99); 2 Dec 2009 11:14:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Dec 2009 11:14:32 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of john82@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-bw0-f210.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Dec 2009 11:14:30 +0000 Received: by bwz2 with SMTP id 2so69604bwz.20 for <john82@example.net>; Wed, 02 Dec 2009 03:14:07 -0800 (PST) MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id e19mr7044919bkc.149.1259752447812; Wed, 02 Dec 2009 03:14:07 -0800 (PST) In-Reply-To: <5BFF21C0838C584F91F461E6C2AAD43E21ED8509@insvkn16> References: <5BFF21C0838C584F91F461E6C2AAD43E21ED8509@insvkn16> Date: Wed, 2 Dec 2009 12:14:07 +0100 Message-ID: <john82@example.net> Subject: Re: TODO in SimpleTypeManager with spec 1 clear now From: Florent Guillaume <john82@example.net> To: chemistry-dev <john82@example.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi, Yes the spec is now clear that getTypeChildren and getTypeDescendants never return the type itself, just children at various depth. I'll make sure the clients/servers behave well. However in the Java API I find this not very useful. I try to provide in the API the best user experience possible, and at the moment I have two methods: Collection<Type> getTypes(String typeId); Collection<Type> getTypes(String typeId, int depth, boolean returnPropertyDefinitions); I think a Java programmer seeing these method signatures would expect to see the type itself returned along its children. What do you think? Florent On Thu, Nov 12, 2009 at 4:36 PM, Florian Roth <john82@example.net> wro= te: > Hi, > > In my opinion the =A0//TODO: in SimpleTypeManager is clear now with spec = 1.0 getTypes(typeId,-1,.) returns all descendants without Type=3DtypeId > For me I changed TestSimpleRepository getTypes() and =A0uncommented in Si= mpleTypeManager. What do you think? I did It like that also for JcrTypeMana= ger. > > > //if (depth < 0) { > =A0// =A0 =A0list.add(types.get(typeId)); > =A0//} > > Chears > > frh > > > in-integrierte informationssysteme GmbH > Am Seerhein 8 =95 78467 Konstanz > http://www.in-gmbh.de/ =95 mailto:john82@example.net > > Telefon: +1-530-657-3975 > Telefax: +1-530-657-3975 > > > Diese E-Mail enth=E4lt vertrauliche und/oder rechtlich gesch=FCtzte Infor= mationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrt= =FCmlich erhalten haben, informieren Sie bitte sofort den Absender und vern= ichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weiterga= be dieser Mail sind nicht gestattet. > This e-mail may contain confidential and/or privileged information. If yo= u are not the intended recipient (or have received this e-mail in error) pl= ease notify the sender immediately and destroy this e-mail. Any unauthorise= d copying, disclosure or distribution of the material in this e-mail is str= ictly forbidden. > > Sitz der Gesellschaft: Konstanz =95 Amtsgericht Freiburg i.B. =95 Registe= rnummer: HRB 380976 =95 Gesch=E4ftsf=FChrer: Siegfried Wagner > > > > --=20 Florent Guillaume, Director of R&D, Nuxeo Open Source, Java EE based, Enterprise Content Management (ECM) http://www.nuxeo.com http://www.nuxeo.org +1-530-657-3975 From chemistry-dev-returnjohn82@example.net Wed Dec 02 12:12:48 2009 Return-Path: <chemistry-dev-returnjohn82@example.net> Delivered-To: john82@example.net Received: (qmail 96490 invoked from network); 2 Dec 2009 12:12:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Dec 2009 12:12:48 -0000 Received: (qmail 38697 invoked by uid 500); 2 Dec 2009 12:12:48 -0000 Delivered-To: john82@example.net Received: (qmail 38672 invoked by uid 500); 2 Dec 2009 12:12:47 -0000 Mailing-List: contact john82@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:john82@example.net> List-Unsubscribe: <mailto:john82@example.net> List-Post: <mailto:john82@example.net> List-Id: <chemistry-dev.incubator.apache.org> Reply-To: john82@example.net Delivered-To: mailing list john82@example.net Received: (qmail 38662 invoked by uid 99); 2 Dec 2009 12:12:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Dec 2009 12:12:47 +0000 X-ASF-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mail.in-gmbh.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Dec 2009 12:12:45 +0000 Received: from mail.in-gmbh.de (localhost [83.161.120.155]) by postfix.imss70 (Postfix) with ESMTP id EFF17395649 for <john82@example.net>; Wed, 2 Dec 2009 13:11:20 +0100 (CET) Received: from insvkn31.PCIN-NET.local (unknown [83.161.120.155]) by mail.in-gmbh.de (Postfix) with ESMTP id AFA9539555A for <john82@example.net>; Wed, 2 Dec 2009 13:11:20 +0100 (CET) Received: from insvkn16.PCIN-NET.local ([83.161.120.155]) by insvkn31.PCIN-NET.local ([83.161.120.155]) with mapi; Wed, 2 Dec 2009 13:12:32 +0100 From: Florian Roth <john82@example.net> To: "john82@example.net" <john82@example.net> Date: Wed, 2 Dec 2009 13:12:29 +0100 Subject: AW: TODO in SimpleTypeManager with spec 1 clear now Thread-Topic: TODO in SimpleTypeManager with spec 1 clear now Thread-Index: AcpzQKf/HcMoHG2TSqeqtzUcx7zvBgAB31SQ Message-ID: <5BFF21C0838C584F91F461E6C2AAD43E2E66FAAD@insvkn16> References: <5BFF21C0838C584F91F461E6C2AAD43E21ED8509@insvkn16> <john82@example.net> In-Reply-To: <john82@example.net> Accept-Language: de-DE Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-TM-AS-Product-Ver: IMSS-83.161.120.15546-83.161.120.1558-17044.007 X-TM-AS-User-Approved-Sender: Yes;Yes Hi, you are right. getTypes(typeid,..) speaks for a result that includes the ty= pe with typeid. I have to remove the type in services. Chears Florian -----Urspr=FCngliche Nachricht----- Von: Florent Guillaume [mailto:john82@example.net]=20 Gesendet: Mittwoch, 2. Dezember 2009 12:14 An: chemistry-dev Betreff: Re: TODO in SimpleTypeManager with spec 1 clear now Hi, Yes the spec is now clear that getTypeChildren and getTypeDescendants never return the type itself, just children at various depth. I'll make sure the clients/servers behave well. However in the Java API I find this not very useful. I try to provide in the API the best user experience possible, and at the moment I have two methods: Collection<Type> getTypes(String typeId); Collection<Type> getTypes(String typeId, int depth, boolean returnPropertyDefinitions); I think a Java programmer seeing these method signatures would expect to see the type itself returned along its children. What do you think? Florent On Thu, Nov 12, 2009 at 4:36 PM, Florian Roth <john82@example.net> wro= te: > Hi, > > In my opinion the =A0//TODO: in SimpleTypeManager is clear now with spec = 1.0 getTypes(typeId,-1,.) returns all descendants without Type=3DtypeId > For me I changed TestSimpleRepository getTypes() and =A0uncommented in Si= mpleTypeManager. What do you think? I did It like that also for JcrTypeMana= ger. > > > //if (depth < 0) { > =A0// =A0 =A0list.add(types.get(typeId)); > =A0//} > > Chears > > frh > > > in-integrierte informationssysteme GmbH > Am Seerhein 8 . 78467 Konstanz > http://www.in-gmbh.de/ . mailto:john82@example.net > > Telefon: +1-530-657-3975 > Telefax: +1-530-657-3975 > > > Diese E-Mail enth=E4lt vertrauliche und/oder rechtlich gesch=FCtzte Infor= mationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrt= =FCmlich erhalten haben, informieren Sie bitte sofort den Absender und vern= ichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weiterga= be dieser Mail sind nicht gestattet. > This e-mail may contain confidential and/or privileged information. If yo= u are not the intended recipient (or have received this e-mail in error) pl= ease notify the sender immediately and destroy this e-mail. Any unauthorise= d copying, disclosure or distribution of the material in this e-mail is str= ictly forbidden. > > Sitz der Gesellschaft: Konstanz . Amtsgericht Freiburg i.B. . Registernum= mer: HRB 380976 . Gesch=E4ftsf=FChrer: Siegfried Wagner > > > > --=20 Florent Guillaume, Director of R&D, Nuxeo Open Source, Java EE based, Enterprise Content Management (ECM) http://www.nuxeo.com http://www.nuxeo.org +1-530-657-3975 From chemistry-dev-returnjohn82@example.net Wed Dec 02 12:22:53 2009 Return-Path: <chemistry-dev-returnjohn82@example.net> Delivered-To: john82@example.net Received: (qmail 98814 invoked from network); 2 Dec 2009 12:22:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Dec 2009 12:22:52 -0000 Received: (qmail 46778 invoked by uid 500); 2 Dec 2009 12:22:52 -0000 Delivered-To: john82@example.net Received: (qmail 46714 invoked by uid 500); 2 Dec 2009 12:22:52 -0000 Mailing-List: contact john82@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:john82@example.net> List-Unsubscribe: <mailto:john82@example.net> List-Post: <mailto:john82@example.net> List-Id: <chemistry-dev.incubator.apache.org> Reply-To: john82@example.net Delivered-To: mailing list john82@example.net Received: (qmail 46704 invoked by uid 99); 2 Dec 2009 12:22:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Dec 2009 12:22:52 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Dec 2009 12:22:41 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id BA7DD234C045 for <john82@example.net>; Wed, 2 Dec 2009 04:22:20 -0800 (PST) Message-ID: <1457081302.1259756540749.JavaMail.jira@brutus> Date: Wed, 2 Dec 2009 12:22:20 +0000 (UTC) From: "Florent Guillaume (JIRA)" <john82@example.net> To: john82@example.net Subject: [jira] Commented: (CMIS-59) ContentStream PUT success should be 201 In-Reply-To: <982783362.1257878369607.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CMIS-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12784793#action_12784793 ] Florent Guillaume commented on CMIS-59: --------------------------------------- I think the spec is wrong, see http://tools.oasis-open.org/issues/browse/CMIS-605 for my reasoning. > ContentStream PUT success should be 201 > --------------------------------------- > > Key: CMIS-59 > URL: https://issues.apache.org/jira/browse/CMIS-59 > Project: Chemistry > Issue Type: Bug > Components: tck > Reporter: Norrie Quinn > Priority: Minor > > The TCK tests for 200 and fails for 201. See CMIS 1.0 draft4 section 3.10.7. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From chemistry-dev-returnjohn82@example.net Wed Dec 02 14:23:42 2009 Return-Path: <chemistry-dev-returnjohn82@example.net> Delivered-To: john82@example.net Received: (qmail 51440 invoked from network); 2 Dec 2009 14:23:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Dec 2009 14:23:42 -0000 Received: (qmail 1805 invoked by uid 500); 2 Dec 2009 14:23:42 -0000 Delivered-To: john82@example.net Received: (qmail 1754 invoked by uid 500); 2 Dec 2009 14:23:42 -0000 Mailing-List: contact john82@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:john82@example.net> List-Unsubscribe: <mailto:john82@example.net> List-Post: <mailto:john82@example.net> List-Id: <chemistry-dev.incubator.apache.org> Reply-To: john82@example.net Delivered-To: mailing list john82@example.net Received: (qmail 1696 invoked by uid 99); 2 Dec 2009 14:23:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Dec 2009 14:23:42 +0000 X-ASF-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mail.in-gmbh.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Dec 2009 14:23:38 +0000 Received: from mail.in-gmbh.de (localhost [83.161.120.155]) by postfix.imss70 (Postfix) with ESMTP id C1FAA395766 for <john82@example.net>; Wed, 2 Dec 2009 15:22:13 +0100 (CET) Received: from insvkn31.PCIN-NET.local (unknown [83.161.120.155]) by mail.in-gmbh.de (Postfix) with ESMTP id 81320395756 for <john82@example.net>; Wed, 2 Dec 2009 15:22:13 +0100 (CET) Received: from insvkn16.PCIN-NET.local ([83.161.120.155]) by insvkn31.PCIN-NET.local ([83.161.120.155]) with mapi; Wed, 2 Dec 2009 15:23:24 +0100 From: Florian Roth <john82@example.net> To: "john82@example.net" <john82@example.net> Content-Class: urn:content-classes:message Date: Wed, 2 Dec 2009 15:23:22 +0100 Subject: How to return 201 jax-rs on posing new object Thread-Topic: How to return 201 jax-rs on posing new object Thread-Index: AcpzWwDQ0wVHV215SnGyTg6UPONcJg== Message-ID: <5BFF21C0838C584F91F461E6C2AAD43E2E66FAAF@insvkn16> Accept-Language: de-DE Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-TM-AS-Product-Ver: IMSS-83.161.120.15546-83.161.120.1558-17044.007 X-TM-AS-User-Approved-Sender: Yes;Yes Hi, want to implement jax-rs post object. How do I return 201 I tried this but = does not work. Ends in some parsing exceptions. Can you help me? protected Response getAbderaPostEntry(int skipSegments) { RequestContext requestContext =3D getRequestContext(skipSegments); CollectionAdapter adapter =3D getAbderaCollectionAdapter(requestCon= text); if (adapter =3D=3D null) { return Response.status(Response.Status.NOT_FOUND).build(); } ResponseContext con=3Dadapter.postEntry(requestContext); try { URI uri=3Dcon.getLocation().toURI(); return Response.created(uri).build(); } catch (URISyntaxException e) { // TODO Auto-generated catch block e.printStackTrace(); } //return Response.ok(con).build(); return Response.status(Response.Status.BAD_REQUEST).build(); } Best regards Florian Roth in-integrierte informationssysteme GmbH Am Seerhein 8 =95 78467 Konstanz http://www.in-gmbh.de/ =95 mailto:john82@example.net Telefon: +1-530-657-3975 Telefax: +1-530-657-3975 Diese E-Mail enth=E4lt vertrauliche und/oder rechtlich gesch=FCtzte Informa= tionen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrt=FC= mlich erhalten haben, informieren Sie bitte sofort den Absender und vernich= ten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe = dieser Mail sind nicht gestattet. This e-mail may contain confidential and/or privileged information. If you = are not the intended recipient (or have received this e-mail in error) plea= se notify the sender immediately and destroy this e-mail. Any unauthorised = copying, disclosure or distribution of the material in this e-mail is stric= tly forbidden. Sitz der Gesellschaft: Konstanz =95 Amtsgericht Freiburg i.B. =95 Registern= ummer: HRB 380976 =95 Gesch=E4ftsf=FChrer: Siegfried Wagner From chemistry-dev-returnjohn82@example.net Wed Dec 02 15:32:17 2009 Return-Path: <chemistry-dev-returnjohn82@example.net> Delivered-To: john82@example.net Received: (qmail 73430 invoked from network); 2 Dec 2009 15:32:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Dec 2009 15:32:17 -0000 Received: (qmail 10868 invoked by uid 500); 2 Dec 2009 15:32:17 -0000 Delivered-To: john82@example.net Received: (qmail 10814 invoked by uid 500); 2 Dec 2009 15:32:17 -0000 Mailing-List: contact john82@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:john82@example.net> List-Unsubscribe: <mailto:john82@example.net> List-Post: <mailto:john82@example.net> List-Id: <chemistry-dev.incubator.apache.org> Reply-To: john82@example.net Delivered-To: mailing list john82@example.net Received: (qmail 10802 invoked by uid 99); 2 Dec 2009 15:32:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Dec 2009 15:32:17 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO mail.in-gmbh.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Dec 2009 15:32:07 +0000 Received: from mail.in-gmbh.de (localhost [83.161.120.155]) by postfix.imss70 (Postfix) with ESMTP id 1D51738BF13 for <john82@example.net>; Wed, 2 Dec 2009 16:30:44 +0100 (CET) Received: from insvkn31.PCIN-NET.local (unknown [83.161.120.155]) by mail.in-gmbh.de (Postfix) with ESMTP id D188538BC76 for <john82@example.net>; Wed, 2 Dec 2009 16:30:43 +0100 (CET) Received: from insvkn16.PCIN-NET.local ([83.161.120.155]) by insvkn31.PCIN-NET.local ([83.161.120.155]) with mapi; Wed, 2 Dec 2009 16:31:55 +0100 From: Florian Roth <john82@example.net> To: "john82@example.net" <john82@example.net> Date: Wed, 2 Dec 2009 16:31:53 +0100 Subject: AW: How to return 201 jax-rs on posing new object Thread-Topic: How to return 201 jax-rs on posing new object Thread-Index: AcpzWwDQ0wVHV215SnGyTg6UPONcJgAB7pGQ Message-ID: <5BFF21C0838C584F91F461E6C2AAD43E2E66FAB3@insvkn16> References: <5BFF21C0838C584F91F461E6C2AAD43E2E66FAAF@insvkn16> In-Reply-To: <5BFF21C0838C584F91F461E6C2AAD43E2E66FAAF@insvkn16> Accept-Language: de-DE Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-TM-AS-Product-Ver: IMSS-83.161.120.15546-83.161.120.1558-17046.000 X-TM-AS-User-Approved-Sender: Yes;Yes X-Virus-Checked: Checked by ClamAV on apache.org :D I figgured it out. Do it like this: protected Response getAbderaPostEntry(int skipSegments) { RequestContext requestContext =3D getRequestContext(skipSegments); CollectionAdapter adapter =3D getAbderaCollectionAdapter(requestCon= text); if (adapter =3D=3D null) { return Response.status(Response.Status.NOT_FOUND).build(); } ResponseContext responseContext =3D adapter.postEntry(requestContex= t); =20 URI uri =3D null; try { uri =3D requestContext.getUri().toURI(); } catch (URISyntaxException e) { log.error("Error: Could not get uri from requestContext", e); = =20 e.printStackTrace(); } =20 return Response.created(uri).entity(responseContext).build(); } Chears=20 Florian -----Urspr=FCngliche Nachricht----- Von: Florian Roth [mailto:john82@example.net]=20 Gesendet: Mittwoch, 2. Dezember 2009 15:23 An: john82@example.net Betreff: How to return 201 jax-rs on posing new object Hi, want to implement jax-rs post object. How do I return 201 I tried this but = does not work. Ends in some parsing exceptions. Can you help me? protected Response getAbderaPostEntry(int skipSegments) { RequestContext requestContext =3D getRequestContext(skipSegments); CollectionAdapter adapter =3D getAbderaCollectionAdapter(requestCon= text); if (adapter =3D=3D null) { return Response.status(Response.Status.NOT_FOUND).build(); } ResponseContext con=3Dadapter.postEntry(requestContext); try { URI uri=3Dcon.getLocation().toURI(); return Response.created(uri).build(); } catch (URISyntaxException e) { // TODO Auto-generated catch block e.printStackTrace(); } //return Response.ok(con).build(); return Response.status(Response.Status.BAD_REQUEST).build(); } Best regards Florian Roth in-integrierte informationssysteme GmbH Am Seerhein 8 . 78467 Konstanz http://www.in-gmbh.de/ . mailto:john82@example.net Telefon: +1-530-657-3975 Telefax: +1-530-657-3975 Diese E-Mail enth=E4lt vertrauliche und/oder rechtlich gesch=FCtzte Informa= tionen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrt=FC= mlich erhalten haben, informieren Sie bitte sofort den Absender und vernich= ten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe = dieser Mail sind nicht gestattet. This e-mail may contain confidential and/or privileged information. If you = are not the intended recipient (or have received this e-mail in error) plea= se notify the sender immediately and destroy this e-mail. Any unauthorised = copying, disclosure or distribution of the material in this e-mail is stric= tly forbidden. Sitz der Gesellschaft: Konstanz . Amtsgericht Freiburg i.B. . Registernumme= r: HRB 380976 . Gesch=E4ftsf=FChrer: Siegfried Wagner From chemistry-dev-returnjohn82@example.net Wed Dec 02 17:26:54 2009 Return-Path: <chemistry-dev-returnjohn82@example.net> Delivered-To: john82@example.net Received: (qmail 18389 invoked from network); 2 Dec 2009 17:26:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Dec 2009 17:26:54 -0000 Received: (qmail 23922 invoked by uid 500); 2 Dec 2009 17:26:54 -0000 Delivered-To: john82@example.net Received: (qmail 23880 invoked by uid 500); 2 Dec 2009 17:26:54 -0000 Mailing-List: contact john82@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:john82@example.net> List-Unsubscribe: <mailto:john82@example.net> List-Post: <mailto:john82@example.net> List-Id: <chemistry-dev.incubator.apache.org> Reply-To: john82@example.net Delivered-To: mailing list john82@example.net Received: (qmail 23870 invoked by uid 99); 2 Dec 2009 17:26:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Dec 2009 17:26:54 +0000 X-ASF-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mail.in-gmbh.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Dec 2009 17:26:51 +0000 Received: from mail.in-gmbh.de (localhost [83.161.120.155]) by postfix.imss70 (Postfix) with ESMTP id 7439E39586C for <john82@example.net>; Wed, 2 Dec 2009 18:25:24 +0100 (CET) Received: from insvkn31.PCIN-NET.local (unknown [83.161.120.155]) by mail.in-gmbh.de (Postfix) with ESMTP id 3337E395853 for <john82@example.net>; Wed, 2 Dec 2009 18:25:24 +0100 (CET) Received: from insvkn16.PCIN-NET.local ([83.161.120.155]) by insvkn31.PCIN-NET.local ([83.161.120.155]) with mapi; Wed, 2 Dec 2009 18:26:35 +0100 From: Florian Roth <john82@example.net> To: "john82@example.net" <john82@example.net> Content-Class: urn:content-classes:message Date: Wed, 2 Dec 2009 18:26:33 +0100 Subject: atompub-server test post folder Thread-Topic: atompub-server test post folder Thread-Index: AcpzdJgXFOF4JHf2RPOCOU2ZlwNsEQ== Message-ID: <5BFF21C0838C584F91F461E6C2AAD43E2E66FAB4@insvkn16> Accept-Language: de-DE Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-TM-AS-Product-Ver: IMSS-83.161.120.15546-83.161.120.1558-17046.000 X-TM-AS-User-Approved-Sender: Yes;Yes Want to expand atompub-server with an postFolder Test. Similar to the Query= post test. Im getting Parsing errors. Can you help me out? This is the xml (Name and type are class members) public void writeTo(StreamWriter sw) { sw.startDocument(); sw.startElement("entry", CMIS.CMIS_NS, CMIS.CMIS_PREFIX); sw.startElement("id").writeElementText( "urn:uuid:00000000-0000-0000-0000-000000000000").endEle= ment(); sw.startElement("title").writeElementText(name).endElement(); sw.startElement("updated").writeElementText("2009-01-01T00:00:0= 0Z").endElement(); sw.startElement("author").writeElementText("component test").en= dElement(); sw.startElement("link").writeAttribute("rel", "alternate").writ= eAttribute( "href", "").endElement(); sw.startElement("summary").writeElementText("test (summary)").e= ndElement(); sw.startElement("object", CMIS.CMIS_NS, "cmisra"); sw.startElement("properties", CMIS.CMIS_NS, CMIS.CMIS_PREFIX); sw.startElement("propertyId", CMIS.CMIS_NS, CMIS.CMIS_PREFIX).w= riteAttribute( "propertyDefinitionId", "cmis:objectTypeId"); sw.startElement("value", CMIS.CMIS_NS, CMIS.CMIS_PREFIX).writeE= lementText( type).endElement(); sw.endElement();// propertyId sw.endElement();// properties sw.endElement();// object sw.endElement();// entry*/ sw.endDocument(); } chears in-integrierte informationssysteme GmbH Am Seerhein 8 =95 78467 Konstanz http://www.in-gmbh.de/ =95 mailto:john82@example.net Telefon: +1-530-657-3975 Telefax: +1-530-657-3975 Diese E-Mail enth=E4lt vertrauliche und/oder rechtlich gesch=FCtzte Informa= tionen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrt=FC= mlich erhalten haben, informieren Sie bitte sofort den Absender und vernich= ten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe = dieser Mail sind nicht gestattet. This e-mail may contain confidential and/or privileged information. If you = are not the intended recipient (or have received this e-mail in error) plea= se notify the sender immediately and destroy this e-mail. Any unauthorised = copying, disclosure or distribution of the material in this e-mail is stric= tly forbidden. Sitz der Gesellschaft: Konstanz =95 Amtsgericht Freiburg i.B. =95 Registern= ummer: HRB 380976 =95 Gesch=E4ftsf=FChrer: Siegfried Wagner From chemistry-dev-returnjohn82@example.net Wed Dec 02 20:51:38 2009 Return-Path: <chemistry-dev-returnjohn82@example.net> Delivered-To: john82@example.net Received: (qmail 11642 invoked from network); 2 Dec 2009 20:51:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Dec 2009 20:51:38 -0000 Received: (qmail 24794 invoked by uid 500); 2 Dec 2009 20:51:38 -0000 Delivered-To: john82@example.net Received: (qmail 24736 invoked by uid 500); 2 Dec 2009 20:51:38 -0000 Mailing-List: contact john82@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:john82@example.net> List-Unsubscribe: <mailto:john82@example.net> List-Post: <mailto:john82@example.net> List-Id: <chemistry-dev.incubator.apache.org> Reply-To: john82@example.net Delivered-To: mailing list john82@example.net Received: (qmail 24726 invoked by uid 99); 2 Dec 2009 20:51:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Dec 2009 20:51:38 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of john82@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-iw0-f201.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Dec 2009 20:51:28 +0000 Received: by iwn39 with SMTP id 39so371987iwn.32 for <john82@example.net>; Wed, 02 Dec 2009 12:51:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=tX7nkhNKGCXvQg72jXPIGiveGqWpcGyUMM5uVy7ZCDs=; b=LH+Lb3XxM8HHP4FeZDFhk6p6rBXjND9qX5amUvGG8aGkn/wXF4Cy/iPmAFyyNRrXpL 5FYbMjiB7KF9Qb7yjea/MUyuecNsASbNwfRtH8grmyjthpy+5kNHJPld6matqPztHLyo qhfoqH+bYN+uTkizz+1NK5qkeHqTbIMqn19kE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=nx8Eig/EBFuECk4WlVZjNffT7eTeR1NpvKxpVUy2+BPEv/opbUwftWSF9vmu0Cp8+C issjEvNU1+RkwLDu3fDYP3KXVBak+KW+aGfrDIwgQFM8ahcdfcMD8H03x2w7/Ogxe4Fh 6H9rj2pw5l+Y4N900XKcZoDuFA04hEQSaPk34= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id w28mr1012061ibr.50.1259787066956; Wed, 02 Dec 2009 12:51:06 -0800 (PST) Date: Wed, 2 Dec 2009 15:51:06 -0500 Message-ID: <john82@example.net> Subject: SQLWalker Issue From: Jason Tesser <john82@example.net> To: john82@example.net Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org I am trying to use the CmisSimpleWalker in Chemistry to parse my SQL. It works until I pass 2 conditions within the where clause. Here is my code http://pastebin.com/f6ea1b90e It fails in the generated CmisSimpleWalker here on line 1596. for (boolean_factor_return t : (List<boolean_factor_return>) list_list) { The reason it is faling is list_list is a CommonTree. This makes no sense to me as the only things that get added to the list are from public static class boolean_factor_return extends TreeRuleReturnScope { public boolean matches; CommonTree tree; public Object getTree() { return tree; } }; And here you can see where the generated code fills the list. Notice that getTree will always be a CommonTree. list=boolean_factor(); state._fsp--; adaptor.addChild(root_1, list.getTree()); if (list_list==null) list_list=new ArrayList(); list_list.add(list.getTree()); My question is is the grammer file in Chemistry wrong that generates this? I wouldn't think this is a bug with ANTLR. I was looking here at the grammer http://svn.apache.org/viewvc/incubator/chemistry/trunk/chemistry/chemistry-commons/src/main/antlr3/org/apache/chemistry/impl/simple/CmisSqlSimpleWalker.g?revision=825570&view=markup Thanks, Jason Tesser dotCMS Lead Development Manager +1-530-657-3975 From chemistry-dev-returnjohn82@example.net Thu Dec 03 07:06:46 2009 Return-Path: <chemistry-dev-returnjohn82@example.net> Delivered-To: john82@example.net Received: (qmail 59096 invoked from network); 3 Dec 2009 07:06:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Dec 2009 07:06:46 -0000 Received: (qmail 3300 invoked by uid 500); 3 Dec 2009 07:06:46 -0000 Delivered-To: john82@example.net Received: (qmail 3227 invoked by uid 500); 3 Dec 2009 07:06:45 -0000 Mailing-List: contact john82@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:john82@example.net> List-Unsubscribe: <mailto:john82@example.net> List-Post: <mailto:john82@example.net> List-Id: <chemistry-dev.incubator.apache.org> Reply-To: john82@example.net Delivered-To: mailing list john82@example.net Received: (qmail 3217 invoked by uid 99); 3 Dec 2009 07:06:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 07:06:45 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 07:06:42 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id D81E7234C045 for <john82@example.net>; Wed, 2 Dec 2009 23:06:21 -0800 (PST) Message-ID: <922573857.1259823981870.JavaMail.jira@brutus> Date: Thu, 3 Dec 2009 07:06:21 +0000 (UTC) From: "Serge Huber (JIRA)" <john82@example.net> To: john82@example.net Subject: [jira] Commented: (CMIS-13) Add empty constructor to CMISServlet In-Reply-To: <1902406663.1241184750389.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CMIS-13?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12785202#action_12785202 ] Serge Huber commented on CMIS-13: --------------------------------- It looks like this issue needs to be re-opened as the constructor is no longer present since revision 787180. > Add empty constructor to CMISServlet > ------------------------------------ > > Key: CMIS-13 > URL: https://issues.apache.org/jira/browse/CMIS-13 > Project: Chemistry > Issue Type: Improvement > Components: atompub > Reporter: Dominique Pfister > Assignee: Dominique Pfister > > In order to deploy the atompub server to a servlet container, an empty constructor in CMISServlet is required. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From chemistry-dev-returnjohn82@example.net Thu Dec 03 10:35:38 2009 Return-Path: <chemistry-dev-returnjohn82@example.net> Delivered-To: john82@example.net Received: (qmail 30878 invoked from network); 3 Dec 2009 10:35:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Dec 2009 10:35:37 -0000 Received: (qmail 34777 invoked by uid 500); 3 Dec 2009 10:35:37 -0000 Delivered-To: john82@example.net Received: (qmail 34702 invoked by uid 500); 3 Dec 2009 10:35:37 -0000 Mailing-List: contact john82@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:john82@example.net> List-Unsubscribe: <mailto:john82@example.net> List-Post: <mailto:john82@example.net> List-Id: <chemistry-dev.incubator.apache.org> Reply-To: john82@example.net Delivered-To: mailing list john82@example.net Received: (qmail 34692 invoked by uid 99); 3 Dec 2009 10:35:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 10:35:37 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of john82@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-bw0-f210.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 10:35:27 +0000 Received: by bwz2 with SMTP id 2so993538bwz.20 for <john82@example.net>; Thu, 03 Dec 2009 02:35:06 -0800 (PST) MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id e23mr1456723bkd.36.1259836506555; Thu, 03 Dec 2009 02:35:06 -0800 (PST) In-Reply-To: <john82@example.net> References: <john82@example.net> Date: Thu, 3 Dec 2009 11:35:06 +0100 Message-ID: <john82@example.net> Subject: Re: SQLWalker Issue From: Florent Guillaume <john82@example.net> To: chemistry-dev <john82@example.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Jason, The CmisSqlSimpleWalker has only been lightly tested, I can't say I'm certain it works in all cases. From doing ANTLR work (based on the same tree parser) in Nuxeo I remember that list management was a bit john82@example.net. You haven't given an example of query that fails by the way. The simplest way to help fixing this would be for you to provide me with an updated unit test in Chemistry, for instance new query calls in TestSimpleRepository.testBasicQuery. Could you open a JIRA issue with that? I would like to stress also that the goal of CmisSqlSimpleWalker is not to be efficient, so you shouldn't use it in any production project. Its goal is to be simple to understand so that unit tests can be run with it on small in-memory databases. In particular, it will probably get even slower when I get around to implementing JOIN support in it, as the simplest way to code it will probably be to just do the cross join and walk all possible solutions -- which is expensive but correct. I can't guarantee efficiency without reimplementing a SQL query engine, or bridging to a real one, and that's not the goal of the "simple" implementation. Cheers, Florent On Wed, Dec 2, 2009 at 9:51 PM, Jason Tesser <john82@example.net> wrote: > I am trying to use the CmisSimpleWalker in Chemistry to parse my SQL. > It works until I pass 2 conditions within the where clause. > > Here is my code > http://pastebin.com/f6ea1b90e > > It fails in the generated CmisSimpleWalker here on line 1596. > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0for (boolean_factor_return t : > (List<boolean_factor_return>) list_list) { > > > The reason it is faling is list_list is a CommonTree. =A0This makes no > sense to me as the only things that get added to the list are from > > =A0 public static class boolean_factor_return extends TreeRuleReturnScope= { > =A0 =A0 =A0 =A0public boolean matches; > =A0 =A0 =A0 =A0CommonTree tree; > =A0 =A0 =A0 =A0public Object getTree() { return tree; } > =A0 =A0}; > > And here you can see where the generated code fills the list. =A0Notice > that getTree will always be a CommonTree. > > =A0list=3Dboolean_factor(); > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0state._fsp--; > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0adaptor.addChild(r= oot_1, list.getTree()); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0if (list_list=3D= =3Dnull) list_list=3Dnew ArrayList(); > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0list_list.add(list= .getTree()); > > > My question is is the grammer file in Chemistry wrong that generates > this? =A0I wouldn't think this is a bug with ANTLR. =A0I was looking here > at the grammer http://svn.apache.org/viewvc/incubator/chemistry/trunk/che= mistry/chemistry-commons/src/main/antlr3/org/apache/chemistry/impl/simple/C= misSqlSimpleWalker.g?revision=3D825570&view=3Dmarkup > > Thanks, > Jason Tesser > dotCMS Lead Development Manager > +1-530-657-3975 > --=20 Florent Guillaume, Director of R&D, Nuxeo Open Source, Java EE based, Enterprise Content Management (ECM) http://www.nuxeo.com http://www.nuxeo.org +1-530-657-3975 From chemistry-dev-returnjohn82@example.net Thu Dec 03 10:36:44 2009 Return-Path: <chemistry-dev-returnjohn82@example.net> Delivered-To: john82@example.net Received: (qmail 31036 invoked from network); 3 Dec 2009 10:36:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Dec 2009 10:36:44 -0000 Received: (qmail 35280 invoked by uid 500); 3 Dec 2009 10:36:44 -0000 Delivered-To: john82@example.net Received: (qmail 35236 invoked by uid 500); 3 Dec 2009 10:36:44 -0000 Mailing-List: contact john82@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:john82@example.net> List-Unsubscribe: <mailto:john82@example.net> List-Post: <mailto:john82@example.net> List-Id: <chemistry-dev.incubator.apache.org> Reply-To: john82@example.net Delivered-To: mailing list john82@example.net Received: (qmail 35148 invoked by uid 99); 3 Dec 2009 10:36:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 10:36:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 10:36:41 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id BEE29234C052 for <john82@example.net>; Thu, 3 Dec 2009 02:36:20 -0800 (PST) Message-ID: <129745465.1259836580780.JavaMail.jira@brutus> Date: Thu, 3 Dec 2009 10:36:20 +0000 (UTC) From: "Florent Guillaume (JIRA)" <john82@example.net> To: john82@example.net Subject: [jira] Reopened: (CMIS-13) Add empty constructor to CMISServlet In-Reply-To: <1902406663.1241184750389.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CMIS-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Florent Guillaume reopened CMIS-13: ----------------------------------- > Add empty constructor to CMISServlet > ------------------------------------ > > Key: CMIS-13 > URL: https://issues.apache.org/jira/browse/CMIS-13 > Project: Chemistry > Issue Type: Improvement > Components: atompub > Reporter: Dominique Pfister > Assignee: Dominique Pfister > > In order to deploy the atompub server to a servlet container, an empty constructor in CMISServlet is required. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From chemistry-dev-returnjohn82@example.net Thu Dec 03 10:42:43 2009 Return-Path: <chemistry-dev-returnjohn82@example.net> Delivered-To: john82@example.net Received: (qmail 33306 invoked from network); 3 Dec 2009 10:42:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Dec 2009 10:42:43 -0000 Received: (qmail 46067 invoked by uid 500); 3 Dec 2009 10:42:42 -0000 Delivered-To: john82@example.net Received: (qmail 45991 invoked by uid 500); 3 Dec 2009 10:42:42 -0000 Mailing-List: contact john82@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:john82@example.net> List-Unsubscribe: <mailto:john82@example.net> List-Post: <mailto:john82@example.net> List-Id: <chemistry-dev.incubator.apache.org> Reply-To: john82@example.net Delivered-To: mailing list john82@example.net Received: (qmail 45977 invoked by uid 99); 3 Dec 2009 10:42:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 10:42:42 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 10:42:40 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id A30EE234C045 for <john82@example.net>; Thu, 3 Dec 2009 02:42:20 -0800 (PST) Message-ID: <1928183150.1259836940653.JavaMail.jira@brutus> Date: Thu, 3 Dec 2009 10:42:20 +0000 (UTC) From: "Florian Roth (JIRA)" <john82@example.net> To: john82@example.net Subject: [jira] Created: (CMIS-72) missing post objects in jax-rs binding MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 missing post objects in jax-rs binding -------------------------------------- Key: CMIS-72 URL: https://issues.apache.org/jira/browse/CMIS-72 Project: Chemistry Issue Type: Improvement Components: server Reporter: Florian Roth Priority: Minor Currently there is no service method to post objects in a children collection in jax-rs binding. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From chemistry-dev-returnjohn82@example.net Thu Dec 03 10:46:44 2009 Return-Path: <chemistry-dev-returnjohn82@example.net> Delivered-To: john82@example.net Received: (qmail 34640 invoked from network); 3 Dec 2009 10:46:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Dec 2009 10:46:44 -0000 Received: (qmail 50414 invoked by uid 500); 3 Dec 2009 10:46:44 -0000 Delivered-To: john82@example.net Received: (qmail 50338 invoked by uid 500); 3 Dec 2009 10:46:43 -0000 Mailing-List: contact john82@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:john82@example.net> List-Unsubscribe: <mailto:john82@example.net> List-Post: <mailto:john82@example.net> List-Id: <chemistry-dev.incubator.apache.org> Reply-To: john82@example.net Delivered-To: mailing list john82@example.net Received: (qmail 50328 invoked by uid 99); 3 Dec 2009 10:46:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 10:46:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 10:46:41 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id 9B45F234C045 for <john82@example.net>; Thu, 3 Dec 2009 02:46:20 -0800 (PST) Message-ID: <1245372838.1259837180621.JavaMail.jira@brutus> Date: Thu, 3 Dec 2009 10:46:20 +0000 (UTC) From: "Florian Roth (JIRA)" <john82@example.net> To: john82@example.net Subject: [jira] Updated: (CMIS-72) missing post objects in jax-rs binding In-Reply-To: <1928183150.1259836940653.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CMIS-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Florian Roth updated CMIS-72: ----------------------------- Status: Patch Available (was: Open) this patch includes tests and fixes the missing post methods in jax-rs binding > missing post objects in jax-rs binding > -------------------------------------- > > Key: CMIS-72 > URL: https://issues.apache.org/jira/browse/CMIS-72 > Project: Chemistry > Issue Type: Improvement > Components: server > Reporter: Florian Roth > Priority: Minor > > Currently there is no service method to post objects in a children collection in jax-rs binding. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From chemistry-dev-returnjohn82@example.net Thu Dec 03 10:46:46 2009 Return-Path: <chemistry-dev-returnjohn82@example.net> Delivered-To: john82@example.net Received: (qmail 34676 invoked from network); 3 Dec 2009 10:46:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Dec 2009 10:46:46 -0000 Received: (qmail 50508 invoked by uid 500); 3 Dec 2009 10:46:46 -0000 Delivered-To: john82@example.net Received: (qmail 50434 invoked by uid 500); 3 Dec 2009 10:46:46 -0000 Mailing-List: contact john82@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:john82@example.net> List-Unsubscribe: <mailto:john82@example.net> List-Post: <mailto:john82@example.net> List-Id: <chemistry-dev.incubator.apache.org> Reply-To: john82@example.net Delivered-To: mailing list john82@example.net Received: (qmail 50423 invoked by uid 99); 3 Dec 2009 10:46:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 10:46:46 +0000 X-ASF-Spam-Status: No, hits=-6.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 10:46:40 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id A29B6234C04C for <john82@example.net>; Thu, 3 Dec 2009 02:46:20 -0800 (PST) Message-ID: <1125491226.1259837180664.JavaMail.jira@brutus> Date: Thu, 3 Dec 2009 10:46:20 +0000 (UTC) From: "Florian Roth (JIRA)" <john82@example.net> To: john82@example.net Subject: [jira] Updated: (CMIS-72) missing post objects in jax-rs binding In-Reply-To: <1928183150.1259836940653.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CMIS-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Florian Roth updated CMIS-72: ----------------------------- Comment: was deleted (was: this patch includes tests and fixes the missing post methods in jax-rs binding) > missing post objects in jax-rs binding > -------------------------------------- > > Key: CMIS-72 > URL: https://issues.apache.org/jira/browse/CMIS-72 > Project: Chemistry > Issue Type: Improvement > Components: server > Reporter: Florian Roth > Priority: Minor > > Currently there is no service method to post objects in a children collection in jax-rs binding. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From chemistry-dev-returnjohn82@example.net Thu Dec 03 10:48:45 2009 Return-Path: <chemistry-dev-returnjohn82@example.net> Delivered-To: john82@example.net Received: (qmail 36045 invoked from network); 3 Dec 2009 10:48:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Dec 2009 10:48:45 -0000 Received: (qmail 52788 invoked by uid 500); 3 Dec 2009 10:48:45 -0000 Delivered-To: john82@example.net Received: (qmail 52713 invoked by uid 500); 3 Dec 2009 10:48:45 -0000 Mailing-List: contact john82@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:john82@example.net> List-Unsubscribe: <mailto:john82@example.net> List-Post: <mailto:john82@example.net> List-Id: <chemistry-dev.incubator.apache.org> Reply-To: john82@example.net Delivered-To: mailing list john82@example.net Received: (qmail 52702 invoked by uid 99); 3 Dec 2009 10:48:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 10:48:45 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 10:48:43 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id CDCD6234C045 for <john82@example.net>; Thu, 3 Dec 2009 02:48:22 -0800 (PST) Message-ID: <569905840.1259837302825.JavaMail.jira@brutus> Date: Thu, 3 Dec 2009 10:48:22 +0000 (UTC) From: "Florian Roth (JIRA)" <john82@example.net> To: john82@example.net Subject: [jira] Updated: (CMIS-72) missing post objects in jax-rs binding In-Reply-To: <1928183150.1259836940653.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CMIS-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Florian Roth updated CMIS-72: ----------------------------- Attachment: Patch jax-rs post objects.java.patch patch improves tests and fixes the missing post methods in jax-rs binding > missing post objects in jax-rs binding > -------------------------------------- > > Key: CMIS-72 > URL: https://issues.apache.org/jira/browse/CMIS-72 > Project: Chemistry > Issue Type: Improvement > Components: server > Reporter: Florian Roth > Priority: Minor > Attachments: Patch jax-rs post objects.java.patch > > > Currently there is no service method to post objects in a children collection in jax-rs binding. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From chemistry-dev-returnjohn82@example.net Thu Dec 03 10:50:44 2009 Return-Path: <chemistry-dev-returnjohn82@example.net> Delivered-To: john82@example.net Received: (qmail 36271 invoked from network); 3 Dec 2009 10:50:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Dec 2009 10:50:44 -0000 Received: (qmail 54267 invoked by uid 500); 3 Dec 2009 10:50:44 -0000 Delivered-To: john82@example.net Received: (qmail 54231 invoked by uid 500); 3 Dec 2009 10:50:43 -0000 Mailing-List: contact john82@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:john82@example.net> List-Unsubscribe: <mailto:john82@example.net> List-Post: <mailto:john82@example.net> List-Id: <chemistry-dev.incubator.apache.org> Reply-To: john82@example.net Delivered-To: mailing list john82@example.net Received: (qmail 54221 invoked by uid 99); 3 Dec 2009 10:50:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 10:50:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 10:50:41 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id A8AE4234C045 for <john82@example.net>; Thu, 3 Dec 2009 02:50:20 -0800 (PST) Message-ID: <1739610747.1259837420675.JavaMail.jira@brutus> Date: Thu, 3 Dec 2009 10:50:20 +0000 (UTC) From: "Florian Roth (JIRA)" <john82@example.net> To: john82@example.net Subject: [jira] Updated: (CMIS-72) missing post objects in jax-rs binding In-Reply-To: <1928183150.1259836940653.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CMIS-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Florian Roth updated CMIS-72: ----------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) > missing post objects in jax-rs binding > -------------------------------------- > > Key: CMIS-72 > URL: https://issues.apache.org/jira/browse/CMIS-72 > Project: Chemistry > Issue Type: Improvement > Components: server > Reporter: Florian Roth > Priority: Minor > Attachments: Patch jax-rs post objects.java.patch > > > Currently there is no service method to post objects in a children collection in jax-rs binding. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From chemistry-dev-returnjohn82@example.net Thu Dec 03 10:50:44 2009 Return-Path: <chemistry-dev-returnjohn82@example.net> Delivered-To: john82@example.net Received: (qmail 36299 invoked from network); 3 Dec 2009 10:50:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Dec 2009 10:50:44 -0000 Received: (qmail 54354 invoked by uid 500); 3 Dec 2009 10:50:44 -0000 Delivered-To: john82@example.net Received: (qmail 54326 invoked by uid 500); 3 Dec 2009 10:50:44 -0000 Mailing-List: contact john82@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:john82@example.net> List-Unsubscribe: <mailto:john82@example.net> List-Post: <mailto:john82@example.net> List-Id: <chemistry-dev.incubator.apache.org> Reply-To: john82@example.net Delivered-To: mailing list john82@example.net Received: (qmail 54255 invoked by uid 99); 3 Dec 2009 10:50:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 10:50:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 10:50:41 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id B17AB234C1F0 for <john82@example.net>; Thu, 3 Dec 2009 02:50:20 -0800 (PST) Message-ID: <479403887.1259837420725.JavaMail.jira@brutus> Date: Thu, 3 Dec 2009 10:50:20 +0000 (UTC) From: "Florian Roth (JIRA)" <john82@example.net> To: john82@example.net Subject: [jira] Reopened: (CMIS-72) missing post objects in jax-rs binding In-Reply-To: <1928183150.1259836940653.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CMIS-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Florian Roth reopened CMIS-72: ------------------------------ > missing post objects in jax-rs binding > -------------------------------------- > > Key: CMIS-72 > URL: https://issues.apache.org/jira/browse/CMIS-72 > Project: Chemistry > Issue Type: Improvement > Components: server > Reporter: Florian Roth > Priority: Minor > Attachments: Patch jax-rs post objects.java.patch > > > Currently there is no service method to post objects in a children collection in jax-rs binding. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From chemistry-dev-returnjohn82@example.net Thu Dec 03 10:52:44 2009 Return-Path: <chemistry-dev-returnjohn82@example.net> Delivered-To: john82@example.net Received: (qmail 36555 invoked from network); 3 Dec 2009 10:52:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Dec 2009 10:52:44 -0000 Received: (qmail 55270 invoked by uid 500); 3 Dec 2009 10:52:44 -0000 Delivered-To: john82@example.net Received: (qmail 55217 invoked by uid 500); 3 Dec 2009 10:52:44 -0000 Mailing-List: contact john82@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:john82@example.net> List-Unsubscribe: <mailto:john82@example.net> List-Post: <mailto:john82@example.net> List-Id: <chemistry-dev.incubator.apache.org> Reply-To: john82@example.net Delivered-To: mailing list john82@example.net Received: (qmail 55207 invoked by uid 99); 3 Dec 2009 10:52:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 10:52:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO brutus.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 10:52:42 +0000 Received: from brutus (localhost [83.161.120.155]) by brutus.apache.org (Postfix) with ESMTP id AAE13234C045 for <john82@example.net>; Thu, 3 Dec 2009 02:52:20 -0800 (PST) Message-ID: <359713649.1259837540695.JavaMail.jira@brutus> Date: Thu, 3 Dec 2009 10:52:20 +0000 (UTC) From: "Florian Roth (JIRA)" <john82@example.net> To: john82@example.net Subject: [jira] Updated: (CMIS-72) missing post objects in jax-rs binding In-Reply-To: <1928183150.1259836940653.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CMIS-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Florian Roth updated CMIS-72: ----------------------------- Status: Patch Available (was: Reopened) > missing post objects in jax-rs binding > -------------------------------------- > > Key: CMIS-72 > URL: https://issues.apache.org/jira/browse/CMIS-72 > Project: Chemistry > Issue Type: Improvement > Components: server > Reporter: Florian Roth > Priority: Minor > Attachments: Patch jax-rs post objects.java.patch > > > Currently there is no service method to post objects in a children collection in jax-rs binding. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. From chemistry-dev-returnjohn82@example.net Thu Dec 03 15:43:07 2009 Return-Path: <chemistry-dev-returnjohn82@example.net> Delivered-To: john82@example.net Received: (qmail 43007 invoked from network); 3 Dec 2009 15:43:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Dec 2009 15:43:07 -0000 Received: (qmail 20257 invoked by uid 500); 3 Dec 2009 15:43:07 -0000 Delivered-To: john82@example.net Received: (qmail 20186 invoked by uid 500); 3 Dec 2009 15:43:06 -0000 Mailing-List: contact john82@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:john82@example.net> List-Unsubscribe: <mailto:john82@example.net> List-Post: <mailto:john82@example.net> List-Id: <chemistry-dev.incubator.apache.org> Reply-To: john82@example.net Delivered-To: mailing list john82@example.net Received: (qmail 20176 invoked by uid 99); 3 Dec 2009 15:43:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 15:43:06 +0000 X-ASF-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mail.in-gmbh.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Dec 2009 15:43:03 +0000 Received: from mail.in-gmbh.de (localhost [83.161.120.155]) by postfix.imss70 (Postfix) with ESMTP id D7C5B37FD9C for <john82@example.net>; Thu, 3 Dec 2009 16:42:39 +0100 (CET) Received: from insvkn31.PCIN-NET.local (unknown [83.161.120.155]) by mail.in-gmbh.de (Postfix) with ESMTP id 93E5237FD9B for <john82@example.net>; Thu, 3 Dec 2009 16:42:39 +0100 (CET) Received: from insvkn16.PCIN-NET.local ([83.161.120.155]) by insvkn31.PCIN-NET.local ([83.161.120.155]) with mapi; Thu, 3 Dec 2009 16:42:52 +0100 From: Florian Roth <john82@example.net> To: "john82@example.net" <john82@example.net> Content-Class: urn:content-classes:message Date: Thu, 3 Dec 2009 16:42:45 +0100 Subject: CMISProvider.getUriTemplates(Request r) does not work with jax-rs Thread-Topic: CMISProvider.getUriTemplates(Request r) does not work with jax-rs Thread-Index: Acp0L0IgLGO3rmNQQrmc+RC4FI/bUw== Message-ID: <5BFF21C0838C584F91F461E6C2AAD43E2E66FAD7@insvkn16> Accept-Language: de-DE Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-cr-hashedpuzzle: ucU= AIfx Ajqn Bg5O CSZp CXul CheW DnxW GMaK GrLB HDpC HGbY HphH IQPQ JSqz JrXc;1;YwBoAGUAbQBpAHMAdAByAHkALQBkAGUAdgBAAGkAbgBjAHUAYgBhAHQAbwByAC4AYQBwAGEAYwBoAGUALgBvAHIAZwA=;Sosha1_v1;7;{1E82EF7A-9465-47D9-BF25-A533C2EE72EF};ZgBsAG8AcgBpAGEAbgAuAHIAbwB0AGgAQABpAG4ALQBnAG0AYgBoAC4AZABlAA==;Thu, 03 Dec 2009 15:42:46 GMT;QwBNAEkAUwBQAHIAbwB2AGkAZABlAHIALgBnAGUAdABVAHIAaQBUAGUAbQBwAGwAYQB0AGUAcwAoAFIAZQBxAHUAZQBzAHQAIAByACkAIABkAG8AZQBzACAAbgBvAHQAIAB3AG8AcgBrACAAdwBpAHQAaAAgAGoAYQB4AC0AcgBzAA== x-cr-puzzleid: {1E82EF7A-9465-47D9-BF25-A533C2EE72EF} acceptlanguage: de-DE Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-TM-AS-Product-Ver: IMSS-83.161.120.15546-83.161.120.1558-17048.000 X-TM-AS-User-Approved-Sender: Yes;Yes Hi, CMISProvider.getUriTemplates(Request r) does not work with jax-rs . String = base(Path) is ever the path to the project without /servletPath/cmis . How = can I fix this in a good way? Best regards Florian Roth in-integrierte informationssysteme GmbH Am Seerhein 8 =95 78467 Konstanz http://www.in-gmbh.de/ =95 mailto:john82@example.net Telefon: +1-530-657-3975 Telefax: +1-530-657-3975 Diese E-Mail enth=E4lt vertrauliche und/oder rechtlich gesch=FCtzte Informa= tionen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrt=FC= mlich erhalten haben, informieren Sie bitte sofort den Absender und vernich= ten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe = dieser Mail sind nicht gestattet. This e-mail may contain confidential and/or privileged information. If you = are not the intended recipient (or have received this e-mail in error) plea= se notify the sender immediately and destroy this e-mail. Any unauthorised = copying, disclosure or distribution of the material in this e-mail is stric= tly forbidden. Sitz der Gesellschaft: Konstanz =95 Amtsgericht Freiburg i.B. =95 Registern=
{'source': 'Apache Software Foundation Public Mail Archives'}