Return-Path: X-Original-To: apmail-jclouds-user-archive@minotaur.apache.org Delivered-To: apmail-jclouds-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 02EBB1770A for ; Fri, 3 Oct 2014 17:05:51 +0000 (UTC) Received: (qmail 32249 invoked by uid 500); 3 Oct 2014 17:05:50 -0000 Delivered-To: apmail-jclouds-user-archive@jclouds.apache.org Received: (qmail 32184 invoked by uid 500); 3 Oct 2014 17:05:50 -0000 Mailing-List: contact user-help@jclouds.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@jclouds.apache.org Delivered-To: mailing list user@jclouds.apache.org Received: (qmail 32174 invoked by uid 99); 3 Oct 2014 17:05:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Oct 2014 17:05:50 +0000 X-ASF-Spam-Status: No, hits=1.0 required=5.0 tests=FORGED_YAHOO_RCVD,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yurykats@yahoo.com designates 98.139.213.74 as permitted sender) Received: from [98.139.213.74] (HELO nm26-vm0.bullet.mail.bf1.yahoo.com) (98.139.213.74) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Oct 2014 17:05:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1412355924; bh=h+HLTikZ23TeRAmaxDGPT0N0rGP6KiRrVqviEHPfF8k=; h=Received:Received:Received:DKIM-Signature:X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:From:Subject; b=AT8dkRZGINBocDBqXNPvSXE/wdbs/gZpb86eTeVZYgJtImaUS8G9hT4QNTYDlrg4YW6j1hJ/19t9+pjh7EQUYy0LB4N3p+GcoTEdhIifkSRXKLPRv2zQf+0C7lGjXEjMhvLxa3xFzyst1nbaUQJdwT+lyIEFFt0SKsshuP9BGmM1aVIYjEM/GeP857YbU9znNz3MnBBz3QD0kjqTk9f7X/8lYjNraj/nns7ktu2LQfXcAAqknlBUMsAudDp211ckW0Nh5i353GKWEDAW7kV3O67/29lZQ0nVAqKD4jz92CQvReSODQ1ro4cphyEFtSwRnDLg77eGie16rxVbpzWtEg== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.com; b=d5I1Ok8jC8rtSFVrHpWIRThyt6bP3GBimpCn9D62/K65xeK/bRiuc8AGT+8rkjumqrLf39F0zer0ULSeofpoM5R0/uv+Uf0+TIj5wOjOvEZUh/W7CfhXzEq36yrp+kPwWyEYIV7UyD997D93Yz7kVOZ0YwPYjXSvorc0rlokvQ0xztIMwB/3JMml6YhQ13+Vh1VSIj3pascw1tRa7vQ4JlsB0cz/OOnyAZHpzKyRV5UMZK+zbOe+11AxR9zsZqKFt9od3fTnIOhR1/wAS9An5LZayz/Ucb1QNTyU0XGz4MBQHAsJycghgt0HT+AimN4KcAwPgcQ13EewdVbnNL90OA==; Received: from [66.196.81.171] by nm26.bullet.mail.bf1.yahoo.com with NNFMP; 03 Oct 2014 17:05:24 -0000 Received: from [98.139.211.203] by tm17.bullet.mail.bf1.yahoo.com with NNFMP; 03 Oct 2014 17:05:24 -0000 Received: from [127.0.0.1] by smtp212.mail.bf1.yahoo.com with NNFMP; 03 Oct 2014 17:05:24 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1412355924; bh=h+HLTikZ23TeRAmaxDGPT0N0rGP6KiRrVqviEHPfF8k=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=qc9OAuf1NSxegtkHTJKVAoZrtg2VAzoDeOfD0NFFmiivsPZflshja/hkESIbXJ7FROQ4YI44GGeeAxcGqXFlu6L7S+ZiHFfxTn9JjGvLvpzBaDd5emtFKJRRAq1mBgDq0B1Rx1PP31SJKDM6G6l7kq+sLsnnGYjghbN7srFibZQ= X-Yahoo-Newman-Id: 38459.21448.bm@smtp212.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: Wr5BeZQVM1kyY.HocijzU5U6drUjUPHioeAgi29GEDTIjyF w0jX7dd9VQTE0VkWuhHPYca3nETmv0zxV.1ai0aDVXMgm0mRTcjt3qCq5jat 6L28WDLPU.ggD6h2LE1dJt4OFMZ1cqLsFolrCwz3Bkq3ZfghlyxhF3lvmLkM kgIfKGvSi6Nmnqf_46HyU8eVgj4dGqsjD5cJT3lY.ag3xBGPtrEEqh.8tawA 77rnR9ifCoio4Sr80slYszLEAJPhr4ZIA_Jgq2WoVn71AvOoaCgvzwb3z1CB yEDkVAJy.o6HmuJSOCTh1mnZbhJb8ycISMtDraAF_roIIrY6r4yXh0ugts1P w7jjVaCKvs00lFFwoqnkXhvTK.zjS0kvtkUUnSKSv5a_lMdrEsTtOiRIold9 yy__1AqjitnYYdijE1FdcptNGxshi1jzB0wUrkgSKe60BfIE6E2cYonwUIde ng1bwtQ_v0jUDxaHe6QAb1GH7rcHpP_qhir0.mkIrvtEEM_F3pCDa3yejvDG baax16rmULR5hxGyub7UN7HDNbs7zACKFaxfBbg35FXCyUGIqaisXGSyOKgB wXOiEtYj.XOsn41.sY1nM689QHuAz X-Yahoo-SMTP: Xc0D9PSswBCzl7QEioTGF6RJytwf Message-ID: <542ED753.9040607@yahoo.com> Date: Fri, 03 Oct 2014 13:05:23 -0400 From: Yury Kats User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Thunderbird/1.0.6 Mnenhy/0.7.1 MIME-Version: 1.0 To: user@jclouds.apache.org Subject: Re: Self-signed certs References: <542DCDB7.9020304@yahoo.com> <20141003082651.pueu3kief4scs4c4@webmail.qrmedia.com> <542EA1C9.4030502@yahoo.com> <20141003155645.ti3n0vlh5w08480c@webmail.qrmedia.com> <542ECB7D.6080009@yahoo.com> In-Reply-To: Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Tried both, no change in behavior. However, what's confusing, is that if I add just the jclouds-okhttp jar, without pulling its dependencies (no okhttp and okio), I can still instantiate the KeystoneApi and connect KeystoneApi keystoneAPI = ContextBuilder.newBuilder(new KeystoneApiMetadata()) .endpoint(url) .credentials(tenant + ":" + user, key) .modules(ImmutableSet.of(new OkHttpCommandExecutorServiceModule())) .buildApi(KeystoneApi.class); Which makes me think the driver is not being utilized, regardless of the .modules() modifier. How can I confirm what driver is actually being used to make the connection? On 10/3/2014 12:44 PM, Adrian Cole wrote: > Nope that's it. Same process for the okhttp one (if you wish to try it) > > -A > > On Oct 3, 2014 9:15 AM, "Yury Kats" > wrote: > > Thanks, got them. > > So to use those drivers, all I need to do is add > > .modules(ImmutableSet.of(new ApacheHCHttpCommandExecutorServiceModule())) > > into > > KeystoneApi keystoneAPI = ContextBuilder.newBuilder(new KeystoneApiMetadata()) > .endpoint(url) > .credentials(tenant + ":" + user, key) > .buildApi(KeystoneApi.class); > > Or is there more to it? > > On 10/3/2014 9:56 AM, Andrew Phillips wrote: > > Hi Yury > > > >> I don't seem to find those in any of the jclouds 1.8.0 jars. > >> Where do I get them from? > > > > They're additional dependencies with GA > > org.apache.jclouds.driver:jclouds-okhttp and > > org.apache.jclouds.driver:jclouds-apachehc [1] respectively. You > > should be able to add them to your project as just an additional Maven > > dependency (if you're using Maven) - they'll take care of wiring them > > up themselves. > > > > If you have any questions or it doesn't seem to work, please give us > > some more details about your project setup (e.g. are you using Maven?). > > > > Regards > > > > ap > > > > [1] http://search.maven.org/#search%7Cga%7C1%7Cjclouds%20driver > > >