<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 5 April 2016 at 14:19, Bill Burke <span dir="ltr">&lt;<a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><span class="">
    <br>
    <br>
    <div>On 4/5/2016 7:47 AM, Marek Posolda
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <br>
      <blockquote type="cite">
        <div dir="ltr">
          <div class="gmail_extra">
            <div class="gmail_quote">
              <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div bgcolor="#FFFFFF" text="#000000"><span>
                    <blockquote type="cite">
                      <div dir="ltr">
                        <div><font face="arial, helvetica, sans-serif">2)

                            Use JAX-RS 2 client</font></div>
                      </div>
                    </blockquote>
                  </span><font face="arial, helvetica, sans-serif">+1<br>
                    <br>
                    But it will be good if people have possibility to
                    configure the details of underlying Apache HTTP
                    Client (connection pooling, connection/socket
                    timeouts, tls etc). If it&#39;s possible to achieve it
                    and use JAX-RS 2 client at the same time, it will be
                    cool. Otherwise if we need to choose just one of
                    these, the &quot;configurability&quot; of Apache HTTP client
                    is more important IMO.<br>
                  </font></div>
              </blockquote>
              <div><br>
              </div>
              <div>Sticking with RestEasy Client makes the assumption
                that all users use other JBoss projects. We know that&#39;s
                not true as Tomcat, Jetty and Spring adapters all have a
                lot of use. IMO we should either convert to JAX-RS 2
                client or use Apache HTTP client directly (I&#39;m not to
                keen on that though).<br>
              </div>
            </div>
          </div>
        </div>
      </blockquote>
      At least we may just have possibility to inject underlying
      <a href="http://javax.ws.rs" target="_blank">javax.ws.rs</a>.<span style="background-color:#e4e4ff">client.Client
        during creation of admin-client. So if someone is on resteasy
        and wants to tweak Apache HTTP Client, he can use RestEasy API
        to build client by himself and inject it. If he&#39;s using some
        other library, he would need to use it&#39;s API to build client
        (and possibly configure connection pooling etc in library
        specific way).<br>
        <br>
      </span></blockquote></span>
     If you&#39;re using Tomcat, Spring or whatever, anything JBoss is evil
    and they can&#39;t co-exist?  That&#39;s ridiculous.  You&#39;re really going to
    stub out every single piece of the REST api and/or write your own
    tool?  No....<br></div></blockquote><div><br></div><div>What&#39;s wrong with JAX-RS 2.0?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
    <br>
    We revise the rest interface.  Either use Resteasy, or they can
    write their own clients.</div></blockquote><div><br></div><div>What are you saying here exactly?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000"><span class="HOEnZb"><font color="#888888"><br>
    <br>
    <pre cols="72">-- 
Bill Burke
JBoss, a division of Red Hat
<a href="http://bill.burkecentral.com" target="_blank">http://bill.burkecentral.com</a></pre>
  </font></span></div>

<br>_______________________________________________<br>
keycloak-dev mailing list<br>
<a href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a><br></blockquote></div><br></div></div>