Reorganize sync and async clients.

This commit is contained in:
Patrick Carlisle 2014-03-11 17:59:07 -07:00
parent f7970ab978
commit 96ad26b054
4 changed files with 7 additions and 7 deletions

View file

@ -5,5 +5,5 @@ providing some extra functionality for configuring SSL in a way
compatible with Puppet.
Async versions of the http methods are exposed in
puppetlabs.http.client, and synchronous versions are in
puppetlabs.http.sync.
puppetlabs.http.client.async, and synchronous versions are in
puppetlabs.http.client.sync.

View file

@ -12,7 +12,7 @@
;; See the puppetlabs.http.sync namespace for synchronous versions of all
;; these methods.
(ns puppetlabs.http.client
(ns puppetlabs.http.client.async
(:require [org.httpkit.client :as http]
[puppetlabs.kitchensink.ssl :as ssl])
(:refer-clojure :exclude (get)))

View file

@ -1,8 +1,8 @@
;; This namespace provides synchronous versions of the request functions
;; defined in puppetlabs.http.client
(ns puppetlabs.http.sync
(:require [puppetlabs.http.client :as async])
(ns puppetlabs.http.client.sync
(:require [puppetlabs.http.client.async :as async])
(:refer-clojure :exclute (get)))
(defn request

View file

@ -1,8 +1,8 @@
(ns puppetlabs.http.client-test
(ns puppetlabs.http.client.async-test
(:require [clojure.test :refer :all]
[clojure.java.io :refer [resource]]
[puppetlabs.kitchensink.ssl :as ks-ssl]
[puppetlabs.http.client :as http])
[puppetlabs.http.client.async :as http])
(:import [javax.net.ssl SSLEngine]))
(deftest ssl-config-with-files