From celso.agra at gmail.com Wed Jan 16 09:05:25 2019 From: celso.agra at gmail.com (Celso Agra) Date: Wed, 16 Jan 2019 12:05:25 -0200 Subject: [Apiman-user] How to reindex all data into a new elasticsearch instance Message-ID: Hi all, I have a question about elasticsearch and apiman. So, my apiman instance (v1.3.0) are using embedded elasticsearch, but now, I have to upgrade my instance to an apiman cluster. so, I've change my apiman.properties, and remove apiman-es.war from deployments. But My question is, how reindex all data from embedded elasticsearch to the new one? Best regards, -- --- *Celso Agra* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20190116/44bd64c4/attachment.html From eric.wittmann at redhat.com Wed Jan 16 09:54:17 2019 From: eric.wittmann at redhat.com (Eric Wittmann) Date: Wed, 16 Jan 2019 09:54:17 -0500 Subject: [Apiman-user] How to reindex all data into a new elasticsearch instance In-Reply-To: References: Message-ID: I think the typical solution to this is: 1) Export everything via the apiman UI (there is an admin page for this) 2) Shut down 3) Change whatever persistence settings you want to change resulting in a fresh, empty apiman system configured against whatever persistence you want (ES, RDBMS, etc) 4) Start up the new system 5) Import That *should* work but make sure you back everything up before doing this sort of thing! -Eric On Wed, Jan 16, 2019 at 9:06 AM Celso Agra wrote: > Hi all, > > I have a question about elasticsearch and apiman. > So, my apiman instance (v1.3.0) are using embedded elasticsearch, but now, > I have to upgrade my instance to an apiman cluster. > > so, I've change my apiman.properties, and remove apiman-es.war from > deployments. But My question is, how reindex all data from embedded > elasticsearch to the new one? > > Best regards, > > -- > --- > *Celso Agra* > _______________________________________________ > Apiman-user mailing list > Apiman-user at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/apiman-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20190116/ee2f8de8/attachment.html From celso.agra at gmail.com Wed Jan 16 10:07:31 2019 From: celso.agra at gmail.com (Celso Agra) Date: Wed, 16 Jan 2019 13:07:31 -0200 Subject: [Apiman-user] How to reindex all data into a new elasticsearch instance In-Reply-To: References: Message-ID: I got it. Thanks Eric! So, in this case, would be better to create a new APIMAN instance with a new version Is there any compatibility among versions in this case? So, should I export data from old version and import that to the new one? Best Regards, Em qua, 16 de jan de 2019 ?s 12:54, Eric Wittmann escreveu: > I think the typical solution to this is: > > 1) Export everything via the apiman UI (there is an admin page for this) > 2) Shut down > 3) Change whatever persistence settings you want to change resulting in a > fresh, empty apiman system configured against whatever persistence you want > (ES, RDBMS, etc) > 4) Start up the new system > 5) Import > > That *should* work but make sure you back everything up before doing this > sort of thing! > > -Eric > > > On Wed, Jan 16, 2019 at 9:06 AM Celso Agra wrote: > >> Hi all, >> >> I have a question about elasticsearch and apiman. >> So, my apiman instance (v1.3.0) are using embedded elasticsearch, but >> now, I have to upgrade my instance to an apiman cluster. >> >> so, I've change my apiman.properties, and remove apiman-es.war from >> deployments. But My question is, how reindex all data from embedded >> elasticsearch to the new one? >> >> Best regards, >> >> -- >> --- >> *Celso Agra* >> _______________________________________________ >> Apiman-user mailing list >> Apiman-user at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/apiman-user >> > -- --- *Celso Agra* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20190116/3d96a66c/attachment-0001.html From eric.wittmann at redhat.com Wed Jan 16 11:19:18 2019 From: eric.wittmann at redhat.com (Eric Wittmann) Date: Wed, 16 Jan 2019 11:19:18 -0500 Subject: [Apiman-user] How to reindex all data into a new elasticsearch instance In-Reply-To: References: Message-ID: I generally would recommend exporting data from the old version and then importing into the new one, yes. Apiman should handle any issues of data compatibility between versions. This is one of the main reasons the import/export feature was actually written. The ability to migrate from one version to another, or the ability to migrate from one storage type (RDBMS) to another (Elastic). -Eric On Wed, Jan 16, 2019 at 10:05 AM Celso Agra wrote: > I got it. > Thanks Eric! > > So, in this case, would be better to create a new APIMAN instance with a > new version > Is there any compatibility among versions in this case? > > So, should I export data from old version and import that to the new one? > > Best Regards, > > > Em qua, 16 de jan de 2019 ?s 12:54, Eric Wittmann < > eric.wittmann at redhat.com> escreveu: > >> I think the typical solution to this is: >> >> 1) Export everything via the apiman UI (there is an admin page for this) >> 2) Shut down >> 3) Change whatever persistence settings you want to change resulting in a >> fresh, empty apiman system configured against whatever persistence you want >> (ES, RDBMS, etc) >> 4) Start up the new system >> 5) Import >> >> That *should* work but make sure you back everything up before doing this >> sort of thing! >> >> -Eric >> >> >> On Wed, Jan 16, 2019 at 9:06 AM Celso Agra wrote: >> >>> Hi all, >>> >>> I have a question about elasticsearch and apiman. >>> So, my apiman instance (v1.3.0) are using embedded elasticsearch, but >>> now, I have to upgrade my instance to an apiman cluster. >>> >>> so, I've change my apiman.properties, and remove apiman-es.war from >>> deployments. But My question is, how reindex all data from embedded >>> elasticsearch to the new one? >>> >>> Best regards, >>> >>> -- >>> --- >>> *Celso Agra* >>> _______________________________________________ >>> Apiman-user mailing list >>> Apiman-user at lists.jboss.org >>> https://lists.jboss.org/mailman/listinfo/apiman-user >>> >> > > -- > --- > *Celso Agra* > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20190116/afc66a50/attachment.html From celso.agra at gmail.com Wed Jan 16 12:27:43 2019 From: celso.agra at gmail.com (Celso Agra) Date: Wed, 16 Jan 2019 15:27:43 -0200 Subject: [Apiman-user] How to reindex all data into a new elasticsearch instance In-Reply-To: References: Message-ID: Thanks Eric! I'll do that Last question (please!): Which version of elasticsearch should I use with APIMAN v1.5.1.Final? Em qua, 16 de jan de 2019 ?s 14:19, Eric Wittmann escreveu: > I generally would recommend exporting data from the old version and then > importing into the new one, yes. Apiman should handle any issues of data > compatibility between versions. > > This is one of the main reasons the import/export feature was actually > written. The ability to migrate from one version to another, or the > ability to migrate from one storage type (RDBMS) to another (Elastic). > > -Eric > > > On Wed, Jan 16, 2019 at 10:05 AM Celso Agra wrote: > >> I got it. >> Thanks Eric! >> >> So, in this case, would be better to create a new APIMAN instance with a >> new version >> Is there any compatibility among versions in this case? >> >> So, should I export data from old version and import that to the new one? >> >> Best Regards, >> >> >> Em qua, 16 de jan de 2019 ?s 12:54, Eric Wittmann < >> eric.wittmann at redhat.com> escreveu: >> >>> I think the typical solution to this is: >>> >>> 1) Export everything via the apiman UI (there is an admin page for this) >>> 2) Shut down >>> 3) Change whatever persistence settings you want to change resulting in >>> a fresh, empty apiman system configured against whatever persistence you >>> want (ES, RDBMS, etc) >>> 4) Start up the new system >>> 5) Import >>> >>> That *should* work but make sure you back everything up before doing >>> this sort of thing! >>> >>> -Eric >>> >>> >>> On Wed, Jan 16, 2019 at 9:06 AM Celso Agra wrote: >>> >>>> Hi all, >>>> >>>> I have a question about elasticsearch and apiman. >>>> So, my apiman instance (v1.3.0) are using embedded elasticsearch, but >>>> now, I have to upgrade my instance to an apiman cluster. >>>> >>>> so, I've change my apiman.properties, and remove apiman-es.war from >>>> deployments. But My question is, how reindex all data from embedded >>>> elasticsearch to the new one? >>>> >>>> Best regards, >>>> >>>> -- >>>> --- >>>> *Celso Agra* >>>> _______________________________________________ >>>> Apiman-user mailing list >>>> Apiman-user at lists.jboss.org >>>> https://lists.jboss.org/mailman/listinfo/apiman-user >>>> >>> >> >> -- >> --- >> *Celso Agra* >> > -- --- *Celso Agra* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20190116/065952ac/attachment.html From ashish.patel at futuregroup.in Wed Jan 16 23:39:56 2019 From: ashish.patel at futuregroup.in (Ashish Patel) Date: Thu, 17 Jan 2019 04:39:56 +0000 Subject: [Apiman-user] How to reindex all data into a new elasticsearch instance In-Reply-To: References: Message-ID: <11855627d3a04a5683128211459b3bad@futuregroup.in> Just a cent on below conversation. You will lose usage matrix data in export -> import (which only covers API definition). If you want usage matrix data, please plan elastic search (used for matrix data) export -> import. We are in process of doing the same, shall share feedback once we complete the same. Thanks & Regards, Ashish Patel From: apiman-user-bounces at lists.jboss.org [mailto:apiman-user-bounces at lists.jboss.org] On Behalf Of Celso Agra Sent: Wednesday, January 16, 2019 22:58 To: Eric Wittmann Cc: apiman-user at lists.jboss.org Subject: Re: [Apiman-user] How to reindex all data into a new elasticsearch instance Thanks Eric! I'll do that Last question (please!): Which version of elasticsearch should I use with APIMAN v1.5.1.Final? Em qua, 16 de jan de 2019 ?s 14:19, Eric Wittmann > escreveu: I generally would recommend exporting data from the old version and then importing into the new one, yes. Apiman should handle any issues of data compatibility between versions. This is one of the main reasons the import/export feature was actually written. The ability to migrate from one version to another, or the ability to migrate from one storage type (RDBMS) to another (Elastic). -Eric On Wed, Jan 16, 2019 at 10:05 AM Celso Agra > wrote: I got it. Thanks Eric! So, in this case, would be better to create a new APIMAN instance with a new version Is there any compatibility among versions in this case? So, should I export data from old version and import that to the new one? Best Regards, Em qua, 16 de jan de 2019 ?s 12:54, Eric Wittmann > escreveu: I think the typical solution to this is: 1) Export everything via the apiman UI (there is an admin page for this) 2) Shut down 3) Change whatever persistence settings you want to change resulting in a fresh, empty apiman system configured against whatever persistence you want (ES, RDBMS, etc) 4) Start up the new system 5) Import That *should* work but make sure you back everything up before doing this sort of thing! -Eric On Wed, Jan 16, 2019 at 9:06 AM Celso Agra > wrote: Hi all, I have a question about elasticsearch and apiman. So, my apiman instance (v1.3.0) are using embedded elasticsearch, but now, I have to upgrade my instance to an apiman cluster. so, I've change my apiman.properties, and remove apiman-es.war from deployments. But My question is, how reindex all data from embedded elasticsearch to the new one? Best regards, -- --- Celso Agra _______________________________________________ Apiman-user mailing list Apiman-user at lists.jboss.org https://lists.jboss.org/mailman/listinfo/apiman-user -- --- Celso Agra -- --- Celso Agra Accept the Challenge. Go Paperless -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20190117/b9463183/attachment-0001.html From Florian.Volk at scheer-group.com Thu Jan 17 01:55:55 2019 From: Florian.Volk at scheer-group.com (Volk, Florian) Date: Thu, 17 Jan 2019 06:55:55 +0000 Subject: [Apiman-user] [DKIM] Re: How to reindex all data into a new elasticsearch instance In-Reply-To: References: Message-ID: Currently we use elasticsearch version 5.6.13 and we encountered no problems with this version. Regards Florian Von: apiman-user-bounces at lists.jboss.org Im Auftrag von Celso Agra Gesendet: Wednesday, 16 January 2019 18:28 An: Eric Wittmann Cc: apiman-user at lists.jboss.org Betreff: [DKIM] Re: [Apiman-user] How to reindex all data into a new elasticsearch instance Thanks Eric! I'll do that Last question (please!): Which version of elasticsearch should I use with APIMAN v1.5.1.Final? Em qua, 16 de jan de 2019 ?s 14:19, Eric Wittmann > escreveu: I generally would recommend exporting data from the old version and then importing into the new one, yes. Apiman should handle any issues of data compatibility between versions. This is one of the main reasons the import/export feature was actually written. The ability to migrate from one version to another, or the ability to migrate from one storage type (RDBMS) to another (Elastic). -Eric On Wed, Jan 16, 2019 at 10:05 AM Celso Agra > wrote: I got it. Thanks Eric! So, in this case, would be better to create a new APIMAN instance with a new version Is there any compatibility among versions in this case? So, should I export data from old version and import that to the new one? Best Regards, Em qua, 16 de jan de 2019 ?s 12:54, Eric Wittmann > escreveu: I think the typical solution to this is: 1) Export everything via the apiman UI (there is an admin page for this) 2) Shut down 3) Change whatever persistence settings you want to change resulting in a fresh, empty apiman system configured against whatever persistence you want (ES, RDBMS, etc) 4) Start up the new system 5) Import That *should* work but make sure you back everything up before doing this sort of thing! -Eric On Wed, Jan 16, 2019 at 9:06 AM Celso Agra > wrote: Hi all, I have a question about elasticsearch and apiman. So, my apiman instance (v1.3.0) are using embedded elasticsearch, but now, I have to upgrade my instance to an apiman cluster. so, I've change my apiman.properties, and remove apiman-es.war from deployments. But My question is, how reindex all data from embedded elasticsearch to the new one? Best regards, -- --- Celso Agra _______________________________________________ Apiman-user mailing list Apiman-user at lists.jboss.org https://lists.jboss.org/mailman/listinfo/apiman-user -- --- Celso Agra -- --- Celso Agra -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20190117/77870d56/attachment.html From eric.wittmann at redhat.com Thu Jan 17 12:38:36 2019 From: eric.wittmann at redhat.com (Eric Wittmann) Date: Thu, 17 Jan 2019 12:38:36 -0500 Subject: [Apiman-user] [DKIM] Re: How to reindex all data into a new elasticsearch instance In-Reply-To: References: Message-ID: Thanks to everyone for their insights on this. +1 to Florian regarding the ES version. I think 5.6.* should be fine. I also didn't know about the matrix data issue, so thanks for that info @Ashish Patel ! -Eric On Thu, Jan 17, 2019 at 1:56 AM Volk, Florian wrote: > Currently we use elasticsearch version 5.6.13 and we encountered no > problems with this version. > > > > Regards > > Florian > > > > *Von:* apiman-user-bounces at lists.jboss.org < > apiman-user-bounces at lists.jboss.org> *Im Auftrag von *Celso Agra > *Gesendet:* Wednesday, 16 January 2019 18:28 > *An:* Eric Wittmann > *Cc:* apiman-user at lists.jboss.org > *Betreff:* [DKIM] Re: [Apiman-user] How to reindex all data into a new > elasticsearch instance > > > > Thanks Eric! > I'll do that > > > > Last question (please!): Which version of elasticsearch should I use with > APIMAN v1.5.1.Final? > > > > > > Em qua, 16 de jan de 2019 ?s 14:19, Eric Wittmann < > eric.wittmann at redhat.com> escreveu: > > I generally would recommend exporting data from the old version and then > importing into the new one, yes. Apiman should handle any issues of data > compatibility between versions. > > > > This is one of the main reasons the import/export feature was actually > written. The ability to migrate from one version to another, or the > ability to migrate from one storage type (RDBMS) to another (Elastic). > > > > -Eric > > > > > > On Wed, Jan 16, 2019 at 10:05 AM Celso Agra wrote: > > I got it. > > Thanks Eric! > > > > So, in this case, would be better to create a new APIMAN instance with a > new version > > Is there any compatibility among versions in this case? > > > > So, should I export data from old version and import that to the new one? > > > > Best Regards, > > > > > > Em qua, 16 de jan de 2019 ?s 12:54, Eric Wittmann < > eric.wittmann at redhat.com> escreveu: > > I think the typical solution to this is: > > > > 1) Export everything via the apiman UI (there is an admin page for this) > > 2) Shut down > > 3) Change whatever persistence settings you want to change resulting in a > fresh, empty apiman system configured against whatever persistence you want > (ES, RDBMS, etc) > > 4) Start up the new system > > 5) Import > > > > That *should* work but make sure you back everything up before doing this > sort of thing! > > > > -Eric > > > > > > On Wed, Jan 16, 2019 at 9:06 AM Celso Agra wrote: > > Hi all, > > > > I have a question about elasticsearch and apiman. > > So, my apiman instance (v1.3.0) are using embedded elasticsearch, but now, > I have to upgrade my instance to an apiman cluster. > > > > so, I've change my apiman.properties, and remove apiman-es.war from > deployments. But My question is, how reindex all data from embedded > elasticsearch to the new one? > > > > Best regards, > > > > -- > > --- > *Celso Agra* > > _______________________________________________ > Apiman-user mailing list > Apiman-user at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/apiman-user > > > > > -- > > --- > *Celso Agra* > > > > > -- > > --- > *Celso Agra* > _______________________________________________ > Apiman-user mailing list > Apiman-user at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/apiman-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20190117/9615a262/attachment-0001.html From celso.agra at gmail.com Thu Jan 17 14:32:54 2019 From: celso.agra at gmail.com (Celso Agra) Date: Thu, 17 Jan 2019 17:32:54 -0200 Subject: [Apiman-user] [DKIM] Re: How to reindex all data into a new elasticsearch instance In-Reply-To: References: Message-ID: Great! All set Thanks to everyone. Em qui, 17 de jan de 2019 ?s 15:38, Eric Wittmann escreveu: > Thanks to everyone for their insights on this. +1 to Florian regarding > the ES version. I think 5.6.* should be fine. > > I also didn't know about the matrix data issue, so thanks for that info @Ashish > Patel ! > > -Eric > > On Thu, Jan 17, 2019 at 1:56 AM Volk, Florian < > Florian.Volk at scheer-group.com> wrote: > >> Currently we use elasticsearch version 5.6.13 and we encountered no >> problems with this version. >> >> >> >> Regards >> >> Florian >> >> >> >> *Von:* apiman-user-bounces at lists.jboss.org < >> apiman-user-bounces at lists.jboss.org> *Im Auftrag von *Celso Agra >> *Gesendet:* Wednesday, 16 January 2019 18:28 >> *An:* Eric Wittmann >> *Cc:* apiman-user at lists.jboss.org >> *Betreff:* [DKIM] Re: [Apiman-user] How to reindex all data into a new >> elasticsearch instance >> >> >> >> Thanks Eric! >> I'll do that >> >> >> >> Last question (please!): Which version of elasticsearch should I use with >> APIMAN v1.5.1.Final? >> >> >> >> >> >> Em qua, 16 de jan de 2019 ?s 14:19, Eric Wittmann < >> eric.wittmann at redhat.com> escreveu: >> >> I generally would recommend exporting data from the old version and then >> importing into the new one, yes. Apiman should handle any issues of data >> compatibility between versions. >> >> >> >> This is one of the main reasons the import/export feature was actually >> written. The ability to migrate from one version to another, or the >> ability to migrate from one storage type (RDBMS) to another (Elastic). >> >> >> >> -Eric >> >> >> >> >> >> On Wed, Jan 16, 2019 at 10:05 AM Celso Agra wrote: >> >> I got it. >> >> Thanks Eric! >> >> >> >> So, in this case, would be better to create a new APIMAN instance with a >> new version >> >> Is there any compatibility among versions in this case? >> >> >> >> So, should I export data from old version and import that to the new one? >> >> >> >> Best Regards, >> >> >> >> >> >> Em qua, 16 de jan de 2019 ?s 12:54, Eric Wittmann < >> eric.wittmann at redhat.com> escreveu: >> >> I think the typical solution to this is: >> >> >> >> 1) Export everything via the apiman UI (there is an admin page for this) >> >> 2) Shut down >> >> 3) Change whatever persistence settings you want to change resulting in a >> fresh, empty apiman system configured against whatever persistence you want >> (ES, RDBMS, etc) >> >> 4) Start up the new system >> >> 5) Import >> >> >> >> That *should* work but make sure you back everything up before doing this >> sort of thing! >> >> >> >> -Eric >> >> >> >> >> >> On Wed, Jan 16, 2019 at 9:06 AM Celso Agra wrote: >> >> Hi all, >> >> >> >> I have a question about elasticsearch and apiman. >> >> So, my apiman instance (v1.3.0) are using embedded elasticsearch, but >> now, I have to upgrade my instance to an apiman cluster. >> >> >> >> so, I've change my apiman.properties, and remove apiman-es.war from >> deployments. But My question is, how reindex all data from embedded >> elasticsearch to the new one? >> >> >> >> Best regards, >> >> >> >> -- >> >> --- >> *Celso Agra* >> >> _______________________________________________ >> Apiman-user mailing list >> Apiman-user at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/apiman-user >> >> >> >> >> -- >> >> --- >> *Celso Agra* >> >> >> >> >> -- >> >> --- >> *Celso Agra* >> _______________________________________________ >> Apiman-user mailing list >> Apiman-user at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/apiman-user >> > -- --- *Celso Agra* -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20190117/4fdf2163/attachment.html From jeremy.hauray at gmail.com Mon Jan 14 04:14:35 2019 From: jeremy.hauray at gmail.com (=?UTF-8?B?SsOpcsOpbXkgSEFVUkFZ?=) Date: Mon, 14 Jan 2019 09:14:35 -0000 Subject: [Apiman-user] Apiman 1.2.9 Wildfly - How to capture bodies Message-ID: Hello, I encounter some errors that don?t throw stack in response. It concern Transformation policy (json ? xml). I have no access to exposed api. To find the root cause, I need to compare inbound and outbound request bodies. Responses bodies could be interesting too. Do you know a method to capture bodies ? Thanks by advance. Best regards. J?r?my HAURAY -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20190114/9f3ba1d4/attachment-0001.html