Re: Code review on use of cxf in Apache Tika?

2022-05-10 Thread Tim Allison
Andriy, Thank you so much for looking into this! My personal preference would be to hold off on spring, and continue down our current path. However, if fellow devs are otherwise inclined, I'm not fully against adding Spring, and the benefits would be huge. Again, many thanks!

Re: Code review on use of cxf in Apache Tika?

2022-05-07 Thread Andriy Redko
Hey Tim, I got a time to learn about Tika server more. The CXF's XML-based configuration, which could be used in Tika's context, relies on Spring Framework. Here is a quick snippet on how it looks like with respect to Jetty engine + TLS/SSL declarative configuration (ports, keystores are

Re: Code review on use of cxf in Apache Tika?

2022-05-07 Thread Sergey Beryozkin
Hi Andriy No problems at all, thanks a million for starting looking into it Sergey On Fri, May 6, 2022 at 2:06 AM Andriy Redko wrote: > Hey Sergey, > > My apologies, I was off last week and only now caught up with all the > things, > so let me understand the problem first. I have looked at

Re: Code review on use of cxf in Apache Tika?

2022-05-06 Thread Tim Allison
Yes. Thank you! I’m sure the answer is obvious. As we make more cxf functionality available, we'd prefer to use the native cxf configuration over our own programmatic configuration. Generally, our use of cxf has grown over time, and if you notice any anti-patterns, please let us know! Again,

Re: Code review on use of cxf in Apache Tika?

2022-05-05 Thread Andriy Redko
Hey Sergey, My apologies, I was off last week and only now caught up with all the things, so let me understand the problem first. I have looked at [1] and saw that team has added programmatic SSL/TLS configuration [2]. However, another approach team is looking at is to use declarative cxf.xml to

Re: Code review on use of cxf in Apache Tika?

2022-04-24 Thread Tim Allison
Thank you! We need help figuring out how to rely on the cxf.xml rather than coding our own configuration for auth+tls and whatever else is configurable via cxf.xml (http/2?). Many, many thanks! On Sat, Apr 23, 2022 at 5:38 PM Sergey Beryozkin wrote: > Hey Andriy > > Great stuff, glad to hear,

Re: Code review on use of cxf in Apache Tika?

2022-04-23 Thread Sergey Beryozkin
Hey Andriy Great stuff, glad to hear, it is a collection of JAX-RS endpoints backed up by CXF, so the team needs some help to setup HTTPS, Basic (and possibly bearer JWT token verification going forward), I can help with clarifying some details related to JWT, CXF has everything related to it...

Re: Code review on use of cxf in Apache Tika?

2022-04-23 Thread Andriy Redko
Hi Tim & Sergey, Yeah, sure, happy to help here. I think I understood the problem, will try to look shortly on how to address that in context of Tika Server (I have never used the server-based deployment of Tika yet). Best Regards, Andriy Redko SB> Hi Tim SB> Apologies I'm totally occupied

Re: Code review on use of cxf in Apache Tika?

2022-04-23 Thread Sergey Beryozkin
Hi Tim Apologies I'm totally occupied with Quarkus right now, I'm sorry it consumes all the time. Andriy, if you could help the Tika colleagues then it would be great, as you've helped with integrating Tika in Apache CXF as well, recall how we enjoyed the presentation about Tika at one of ASF

Code review on use of cxf in Apache Tika?

2022-04-21 Thread Tim Allison
Friends and colleagues, Over on Apache Tika, our server has been using cxf for a long time. We've been very happy with its capabilities and robustness. So, thank you! Recently we were asked to add TLS, and we managed to do so programmatically[0]. The requestor on that issue noted that it