[jira] [Commented] (CONNECTORS-1564) Support preemptive authentication to Solr connector

2019-01-26 Thread Michael Osipov (JIRA)


[ 
https://issues.apache.org/jira/browse/CONNECTORS-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16753172#comment-16753172
 ] 

Michael Osipov commented on CONNECTORS-1564:


[~erlendfg], just checked your {{config.log}}. The {{-V}} isn't that severe, it 
looks like normal checking. The XML parser is indeed not found, please check 
for the header file locations and in case, add them manually to {{export 
CPPFLAGS=-I/path/to/include}}.

> Support preemptive authentication to Solr connector
> ---
>
> Key: CONNECTORS-1564
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1564
> Project: ManifoldCF
>  Issue Type: Improvement
>  Components: Lucene/SOLR connector
>Reporter: Erlend Garåsen
>Assignee: Karl Wright
>Priority: Major
> Attachments: CONNECTORS-1564.patch
>
>
> We should post preemptively in case the Solr server requires basic 
> authentication. This will make the communication between ManifoldCF and Solr 
> much more effective instead of the following:
>  * Send a HTTP POST request to Solr
>  * Solr sends a 401 response
>  * Send the same request, but with a "{{Authorization: Basic}}" header
> With preemptive authentication, we can send the header in the first request.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


Re: Mambo CMS

2019-01-26 Thread Karl Wright
We do not have Mambo connectors in MCF.
I don't know anything about CMIS support in that offering either.

Karl


On Sat, Jan 26, 2019 at 8:17 AM Furkan KAMACI 
wrote:

> Hi All,
>
> Mambo (http://mambo-foundation.org) is an open source CMS system which is
> being used by many companies.
>
> Do we have a Mambo integration via ManifoldCF or does anybody knows Mambo
> supports our CMIS connector?
>
> If not, we can suggest it as a GSoC project for 2019.
>
> Kind Regards,
> Furkan KAMACI
>


Mambo CMS

2019-01-26 Thread Furkan KAMACI
Hi All,

Mambo (http://mambo-foundation.org) is an open source CMS system which is
being used by many companies.

Do we have a Mambo integration via ManifoldCF or does anybody knows Mambo
supports our CMIS connector?

If not, we can suggest it as a GSoC project for 2019.

Kind Regards,
Furkan KAMACI


Re: Axis question

2019-01-26 Thread Rafa Haro
Didn't have the chance I mean 

El El sáb, 26 ene 2019 a las 13:30, Rafa Haro  escribió:

> Glad to hear it! Sorry I just got to work on the surface of the problem,
> didn't have time to dedicate more time
>
> El El sáb, 26 ene 2019 a las 13:11, Karl Wright 
> escribió:
>
>> I was able to get the wsdl->java compilation working without downloading
>> a ton of additional dependencies, and with cxf version 2.6.2.  Thanks,
>> Rafa, for your help in getting this far.
>>
>> Karl
>>
>>
>> On Fri, Jan 25, 2019 at 4:11 PM Karl Wright  wrote:
>>
>>> That's one approach.  I'm not thrilled with it; we cannot guarantee no
>>> client wsdl changes over time.  But if there's nothing better we'll have to
>>> live with it.
>>>
>>> The real problem, of course, is that code generated with version X of
>>> cxf requires runtime libraries from version X, and that's still a
>>> conflict.  So I need to get the WSDL2Java going for 2.6.2.
>>>
>>> Karl
>>>
>>>
>>> On Fri, Jan 25, 2019 at 3:54 PM Rafa Haro  wrote:
>>>
 I would try to be pragmatic. If those wsdl are not likely to change in
 the
 future, I would build the client classes offline. Not sure if the
 generated
 class are going to use further classes of cxf and then the problem could
 end up being the same, but it is worth to try

 El El vie, 25 ene 2019 a las 21:14, Karl Wright 
 escribió:

 > I downloaded the cxf binary, latest version.
 > The dependency list is huge and very likely conflicts with existing
 > connectors which have dependencies on cxf 2.x.  I would estimate that
 > including all the new jars and dependencies would easily double our
 > download footprint.
 >
 > Surely there must be a list of the minimal jars needed to get
 WSDLToJava to
 > function somewhere?
 >
 > Karl
 >
 >
 >
 >
 > On Fri, Jan 25, 2019 at 2:14 PM Karl Wright 
 wrote:
 >
 > > I'm not getting missing cxf jars.  I'm getting problems with
 downstream
 > > dependencies.
 > >
 > > We don't usually ship more jars than we need to, is the short
 answer to
 > > your second question.
 > >
 > > Karl
 > >
 > >
 > > On Fri, Jan 25, 2019 at 11:38 AM Rafa Haro 
 wrote:
 > >
 > >> which jars are you downloading?. Why not getting the whole release?
 > >>
 > >> On Fri, Jan 25, 2019 at 5:31 PM Rafa Haro 
 wrote:
 > >>
 > >>> Not sure, Karl I just picked up last release. I can try to find
 the
 > >>> first version offering it but as long as they have backwards
 > compatibility
 > >>> we should be fine with the last version although we might need to
 > update
 > >>> the affected connectors
 > >>>
 > >>> Rafa
 > >>>
 > >>> On Fri, Jan 25, 2019 at 3:53 PM Karl Wright 
 > wrote:
 > >>>
 >  When did it first appear?  We're currently on 2.6.2; this is set
 by
 >  various dependencies by our connectors.
 > 
 >  Karl
 > 
 >  On Fri, Jan 25, 2019 at 9:52 AM Karl Wright 
 > wrote:
 > 
 > > The tools package doesn't seem to have it either.
 > > Karl
 > >
 > >
 > > On Fri, Jan 25, 2019 at 9:43 AM Karl Wright >>> >
 > > wrote:
 > >
 > >> Do you know what jar/maven package this is in?  because I
 don't seem
 > >> to have it in our normal cxf jars...
 > >>
 > >> Karl
 > >>
 > >>
 > >> On Fri, Jan 25, 2019 at 9:08 AM Rafa Haro 
 wrote:
 > >>
 > >>> I used a wsdl2java script that comes as an utility of the
 apache
 > cxf
 > >>> release, but basically is making use
 > >>> of org.apache.cxf.tools.wsdlto.WSDLToJava class. You can find
 here
 > >>> an usage
 > >>> example with ant:
 http://cxf.apache.org/docs/wsdl-to-java.html
 > >>>
 > >>> On Fri, Jan 25, 2019 at 2:59 PM Karl Wright <
 daddy...@gmail.com>
 > >>> wrote:
 > >>>
 > >>> > I was using ancient Axis 1.4 and none of them were
 working.  You
 > >>> can
 > >>> > exercise this with "ant classcreate-wsdls" in the csws
 directory.
 > >>> >
 > >>> > If you can give instructions for invoking CXF, maybe we can
 do
 > that
 > >>> > instead.  What's the main class, and what jars do we need to
 > >>> include?
 > >>> >
 > >>> > Karl
 > >>> >
 > >>> >
 > >>> > On Fri, Jan 25, 2019 at 7:28 AM Rafa Haro >>> >
 > >>> wrote:
 > >>> >
 > >>> >> Yes, I did. I have only tested Authentication service with
 > Apache
 > >>> CXF and
 > >>> >> it was apparently working fine. Which ones were failing
 for you?
 > >>> >>
 > >>> >> On Fri, Jan 25, 2019 at 12:38 PM Karl Wright <
 > daddy...@gmail.com>
 > 

Re: Axis question

2019-01-26 Thread Rafa Haro
Glad to hear it! Sorry I just got to work on the surface of the problem,
didn't have time to dedicate more time

El El sáb, 26 ene 2019 a las 13:11, Karl Wright 
escribió:

> I was able to get the wsdl->java compilation working without downloading a
> ton of additional dependencies, and with cxf version 2.6.2.  Thanks, Rafa,
> for your help in getting this far.
>
> Karl
>
>
> On Fri, Jan 25, 2019 at 4:11 PM Karl Wright  wrote:
>
>> That's one approach.  I'm not thrilled with it; we cannot guarantee no
>> client wsdl changes over time.  But if there's nothing better we'll have to
>> live with it.
>>
>> The real problem, of course, is that code generated with version X of cxf
>> requires runtime libraries from version X, and that's still a conflict.  So
>> I need to get the WSDL2Java going for 2.6.2.
>>
>> Karl
>>
>>
>> On Fri, Jan 25, 2019 at 3:54 PM Rafa Haro  wrote:
>>
>>> I would try to be pragmatic. If those wsdl are not likely to change in
>>> the
>>> future, I would build the client classes offline. Not sure if the
>>> generated
>>> class are going to use further classes of cxf and then the problem could
>>> end up being the same, but it is worth to try
>>>
>>> El El vie, 25 ene 2019 a las 21:14, Karl Wright 
>>> escribió:
>>>
>>> > I downloaded the cxf binary, latest version.
>>> > The dependency list is huge and very likely conflicts with existing
>>> > connectors which have dependencies on cxf 2.x.  I would estimate that
>>> > including all the new jars and dependencies would easily double our
>>> > download footprint.
>>> >
>>> > Surely there must be a list of the minimal jars needed to get
>>> WSDLToJava to
>>> > function somewhere?
>>> >
>>> > Karl
>>> >
>>> >
>>> >
>>> >
>>> > On Fri, Jan 25, 2019 at 2:14 PM Karl Wright 
>>> wrote:
>>> >
>>> > > I'm not getting missing cxf jars.  I'm getting problems with
>>> downstream
>>> > > dependencies.
>>> > >
>>> > > We don't usually ship more jars than we need to, is the short answer
>>> to
>>> > > your second question.
>>> > >
>>> > > Karl
>>> > >
>>> > >
>>> > > On Fri, Jan 25, 2019 at 11:38 AM Rafa Haro  wrote:
>>> > >
>>> > >> which jars are you downloading?. Why not getting the whole release?
>>> > >>
>>> > >> On Fri, Jan 25, 2019 at 5:31 PM Rafa Haro  wrote:
>>> > >>
>>> > >>> Not sure, Karl I just picked up last release. I can try to find the
>>> > >>> first version offering it but as long as they have backwards
>>> > compatibility
>>> > >>> we should be fine with the last version although we might need to
>>> > update
>>> > >>> the affected connectors
>>> > >>>
>>> > >>> Rafa
>>> > >>>
>>> > >>> On Fri, Jan 25, 2019 at 3:53 PM Karl Wright 
>>> > wrote:
>>> > >>>
>>> >  When did it first appear?  We're currently on 2.6.2; this is set
>>> by
>>> >  various dependencies by our connectors.
>>> > 
>>> >  Karl
>>> > 
>>> >  On Fri, Jan 25, 2019 at 9:52 AM Karl Wright 
>>> > wrote:
>>> > 
>>> > > The tools package doesn't seem to have it either.
>>> > > Karl
>>> > >
>>> > >
>>> > > On Fri, Jan 25, 2019 at 9:43 AM Karl Wright 
>>> > > wrote:
>>> > >
>>> > >> Do you know what jar/maven package this is in?  because I don't
>>> seem
>>> > >> to have it in our normal cxf jars...
>>> > >>
>>> > >> Karl
>>> > >>
>>> > >>
>>> > >> On Fri, Jan 25, 2019 at 9:08 AM Rafa Haro 
>>> wrote:
>>> > >>
>>> > >>> I used a wsdl2java script that comes as an utility of the
>>> apache
>>> > cxf
>>> > >>> release, but basically is making use
>>> > >>> of org.apache.cxf.tools.wsdlto.WSDLToJava class. You can find
>>> here
>>> > >>> an usage
>>> > >>> example with ant: http://cxf.apache.org/docs/wsdl-to-java.html
>>> > >>>
>>> > >>> On Fri, Jan 25, 2019 at 2:59 PM Karl Wright <
>>> daddy...@gmail.com>
>>> > >>> wrote:
>>> > >>>
>>> > >>> > I was using ancient Axis 1.4 and none of them were working.
>>> You
>>> > >>> can
>>> > >>> > exercise this with "ant classcreate-wsdls" in the csws
>>> directory.
>>> > >>> >
>>> > >>> > If you can give instructions for invoking CXF, maybe we can
>>> do
>>> > that
>>> > >>> > instead.  What's the main class, and what jars do we need to
>>> > >>> include?
>>> > >>> >
>>> > >>> > Karl
>>> > >>> >
>>> > >>> >
>>> > >>> > On Fri, Jan 25, 2019 at 7:28 AM Rafa Haro 
>>> > >>> wrote:
>>> > >>> >
>>> > >>> >> Yes, I did. I have only tested Authentication service with
>>> > Apache
>>> > >>> CXF and
>>> > >>> >> it was apparently working fine. Which ones were failing for
>>> you?
>>> > >>> >>
>>> > >>> >> On Fri, Jan 25, 2019 at 12:38 PM Karl Wright <
>>> > daddy...@gmail.com>
>>> > >>> wrote:
>>> > >>> >>
>>> > >>> >>> Were you able to look at this yesterday at all?
>>> > >>> >>> Karl
>>> > >>> >>>
>>> > >>> >>> On Thu, Jan 24, 2019 at 6:34 AM Karl Wright <
>>> > daddy...@gmail.com>
>>> > >>> wrote:
>>> > >>> >>>
>>> > 

Re: Axis question

2019-01-26 Thread Karl Wright
I was able to get the wsdl->java compilation working without downloading a
ton of additional dependencies, and with cxf version 2.6.2.  Thanks, Rafa,
for your help in getting this far.

Karl


On Fri, Jan 25, 2019 at 4:11 PM Karl Wright  wrote:

> That's one approach.  I'm not thrilled with it; we cannot guarantee no
> client wsdl changes over time.  But if there's nothing better we'll have to
> live with it.
>
> The real problem, of course, is that code generated with version X of cxf
> requires runtime libraries from version X, and that's still a conflict.  So
> I need to get the WSDL2Java going for 2.6.2.
>
> Karl
>
>
> On Fri, Jan 25, 2019 at 3:54 PM Rafa Haro  wrote:
>
>> I would try to be pragmatic. If those wsdl are not likely to change in the
>> future, I would build the client classes offline. Not sure if the
>> generated
>> class are going to use further classes of cxf and then the problem could
>> end up being the same, but it is worth to try
>>
>> El El vie, 25 ene 2019 a las 21:14, Karl Wright 
>> escribió:
>>
>> > I downloaded the cxf binary, latest version.
>> > The dependency list is huge and very likely conflicts with existing
>> > connectors which have dependencies on cxf 2.x.  I would estimate that
>> > including all the new jars and dependencies would easily double our
>> > download footprint.
>> >
>> > Surely there must be a list of the minimal jars needed to get
>> WSDLToJava to
>> > function somewhere?
>> >
>> > Karl
>> >
>> >
>> >
>> >
>> > On Fri, Jan 25, 2019 at 2:14 PM Karl Wright  wrote:
>> >
>> > > I'm not getting missing cxf jars.  I'm getting problems with
>> downstream
>> > > dependencies.
>> > >
>> > > We don't usually ship more jars than we need to, is the short answer
>> to
>> > > your second question.
>> > >
>> > > Karl
>> > >
>> > >
>> > > On Fri, Jan 25, 2019 at 11:38 AM Rafa Haro  wrote:
>> > >
>> > >> which jars are you downloading?. Why not getting the whole release?
>> > >>
>> > >> On Fri, Jan 25, 2019 at 5:31 PM Rafa Haro  wrote:
>> > >>
>> > >>> Not sure, Karl I just picked up last release. I can try to find the
>> > >>> first version offering it but as long as they have backwards
>> > compatibility
>> > >>> we should be fine with the last version although we might need to
>> > update
>> > >>> the affected connectors
>> > >>>
>> > >>> Rafa
>> > >>>
>> > >>> On Fri, Jan 25, 2019 at 3:53 PM Karl Wright 
>> > wrote:
>> > >>>
>> >  When did it first appear?  We're currently on 2.6.2; this is set by
>> >  various dependencies by our connectors.
>> > 
>> >  Karl
>> > 
>> >  On Fri, Jan 25, 2019 at 9:52 AM Karl Wright 
>> > wrote:
>> > 
>> > > The tools package doesn't seem to have it either.
>> > > Karl
>> > >
>> > >
>> > > On Fri, Jan 25, 2019 at 9:43 AM Karl Wright 
>> > > wrote:
>> > >
>> > >> Do you know what jar/maven package this is in?  because I don't
>> seem
>> > >> to have it in our normal cxf jars...
>> > >>
>> > >> Karl
>> > >>
>> > >>
>> > >> On Fri, Jan 25, 2019 at 9:08 AM Rafa Haro 
>> wrote:
>> > >>
>> > >>> I used a wsdl2java script that comes as an utility of the apache
>> > cxf
>> > >>> release, but basically is making use
>> > >>> of org.apache.cxf.tools.wsdlto.WSDLToJava class. You can find
>> here
>> > >>> an usage
>> > >>> example with ant: http://cxf.apache.org/docs/wsdl-to-java.html
>> > >>>
>> > >>> On Fri, Jan 25, 2019 at 2:59 PM Karl Wright > >
>> > >>> wrote:
>> > >>>
>> > >>> > I was using ancient Axis 1.4 and none of them were working.
>> You
>> > >>> can
>> > >>> > exercise this with "ant classcreate-wsdls" in the csws
>> directory.
>> > >>> >
>> > >>> > If you can give instructions for invoking CXF, maybe we can do
>> > that
>> > >>> > instead.  What's the main class, and what jars do we need to
>> > >>> include?
>> > >>> >
>> > >>> > Karl
>> > >>> >
>> > >>> >
>> > >>> > On Fri, Jan 25, 2019 at 7:28 AM Rafa Haro 
>> > >>> wrote:
>> > >>> >
>> > >>> >> Yes, I did. I have only tested Authentication service with
>> > Apache
>> > >>> CXF and
>> > >>> >> it was apparently working fine. Which ones were failing for
>> you?
>> > >>> >>
>> > >>> >> On Fri, Jan 25, 2019 at 12:38 PM Karl Wright <
>> > daddy...@gmail.com>
>> > >>> wrote:
>> > >>> >>
>> > >>> >>> Were you able to look at this yesterday at all?
>> > >>> >>> Karl
>> > >>> >>>
>> > >>> >>> On Thu, Jan 24, 2019 at 6:34 AM Karl Wright <
>> > daddy...@gmail.com>
>> > >>> wrote:
>> > >>> >>>
>> > >>>  They're all checked in.
>> > >>> 
>> > >>>  See
>> > >>> 
>> > >>>
>> >
>> https://svn.apache.org/repos/asf/manifoldcf/branches/CONNECTORS-1566/connectors/csws/wsdls
>> > >>> 
>> > >>>  Karl
>> > >>> 
>> > >>> 
>> > >>>  On Thu, Jan 24, 2019 at 6:24 AM Rafa Haro <
>> rh...@apache.org>
>>