Jenkins User
ba78a4e2e7
lein-release plugin: bumped version from 0.2.1 to 0.2.2-SNAPSHOT for next development cycle
2014-08-12 16:24:58 -07:00
Jenkins User
9cde4b47f4
lein-release plugin: preparing 0.2.1 release
2014-08-12 16:24:38 -07:00
Chris Price
b062b1bccb
Update CHANGELOG for 0.2.1 release
2014-08-12 16:22:26 -07:00
Jeremy Barlow
684b55d8da
Merge pull request #11 from cprice404/maint/master/upgrade-to-apache-4.0.2
...
Update to apache 4.0.2
2014-08-12 16:20:14 -07:00
Chris Price
78ae3a8ab3
Update to apache 4.0.2
2014-08-12 16:17:09 -07:00
Kevin Corcoran
7fe744f49c
Merge pull request #9 from rlinehan/update_readme
...
(doc) Update README to link to Apache HttpAsyncClient
2014-07-28 14:55:22 -07:00
Ruth Linehan
78c17ad97c
(doc) Update README to link to Apache HttpAsyncClient
...
Previously, this library was a wrapper around http-kit, but has since been
updated to use the Apache HttpAsyncClient library instead. This commit updates
the README to link to HttpAsyncClient rather than http-kit.
2014-07-28 14:45:45 -07:00
Jenkins User
8150092217
lein-release plugin: bumped version from 0.2.0 to 0.2.1-SNAPSHOT for next development cycle
2014-07-25 15:09:55 -07:00
Jenkins User
d4237ce263
lein-release plugin: preparing 0.2.0 release
2014-07-25 15:09:36 -07:00
Patrick Carlisle
47ed251dd3
Update changelog for 0.2.0
2014-07-25 15:05:53 -07:00
Chris Price
0466c7592b
Merge pull request #8 from fpringvaldsen/TK-27-manage-clients-explicitly
...
(TK-27) Allow user to manage clients explicitly
2014-07-23 12:14:28 -07:00
Preben Ingvaldsen
6fe97dee92
(TK-27) Add test for sync client close
...
Add test to make sure that a sync client is closed properly.
2014-07-23 10:20:15 -07:00
Preben Ingvaldsen
ebde2f4737
Separate request options
...
Seperate the request options in the async request function,
then pass these down to future-callback rather than the
entire list of options.
2014-07-23 09:50:31 -07:00
Preben Ingvaldsen
4c13602b05
Use ok alias for consistency
...
Change instance of schema/optional-key to use ok alias instead
for consistency with the rest of the file.
2014-07-22 11:14:22 -07:00
Preben Ingvaldsen
24aa1da0c7
Fix test failures
...
Fix test failures introduced by previous commit by
changing definition of Client protocl back to
CloseableHttpAsyncClient.
2014-07-17 14:35:32 -07:00
Preben Ingvaldsen
1aa3b997d6
(TK-27) Add schema docstrings
...
Add docstrings to certain schemas. Specifically, they were added
to schemas whose purpose could not be made obvious through their
name.
2014-07-17 14:15:42 -07:00
Preben Ingvaldsen
0aeaf73dd9
(TK-27) Add tests for request-with-client
...
Add asynchronous and synchronous tests for request-with-client.
2014-07-17 14:03:39 -07:00
Preben Ingvaldsen
e586ea53c8
(TK-27) Add request-with-client functions
...
Add request-with-client functions to the async and sync
namespaces. These now do all the work of the request functions,
so that the request functions cannot directly be passed a client
by the user.
2014-07-17 13:28:33 -07:00
Preben Ingvaldsen
d7e283df42
(TK-27) Dry up use of defaults
...
Dry up use of defaults. Now, the second signature of the
request function will pass in nil for the client argument
in the third signature, which will create a default client if no
client was provided.
2014-07-17 11:39:35 -07:00
Preben Ingvaldsen
81cd0eabaf
(TK-27) Remove persistent namespaces
...
Remove persistent-async and persistent-sync namespaces,
moving their contents into async and sync, respectively.
2014-07-17 11:06:13 -07:00
Preben Ingvaldsen
849b209bae
(TK-27) Move schemas into common
...
Combine the schemas and common namespaces.
2014-07-17 10:40:40 -07:00
Preben Ingvaldsen
b807083c5a
(TK-27) Refactor client protocols
...
Refactor the async and sync client protocols into a single
protocol which resides in a new file, common.clj.
2014-07-15 16:46:20 -07:00
Preben Ingvaldsen
0b2755eef5
(TK-27) Add persistent sync client
...
Add a persistent sync client to the persistent-sync namespace.
With this namespace, a user can now create a persistent
sync client for reuse. Also, add persistent sync client test.
2014-07-15 16:01:36 -07:00
Preben Ingvaldsen
cebaeb9eb6
(TK-27) Move test
...
Move persistent async client test back into the
async-plaintext-test file.
2014-07-15 15:07:43 -07:00
Preben Ingvaldsen
27d5838ce3
(TK-27) Put persistent client in own ns
...
Put the persistent client in its own namespace. Remove the
persistent- prefix from the front of the persistent client
http request functions.
2014-07-15 15:04:28 -07:00
Preben Ingvaldsen
54fa3d77fd
(TK-27) Add test for persistent async client
...
Add test for persistent async client. This test creates a
persistent async client, then uses it to make each kind of HTTP
request.
2014-07-15 14:06:28 -07:00
Preben Ingvaldsen
a2ef578c76
(TK-27) Allow clients to persist
...
Modify the handling of clients such that a client that is
explicitly created by a user will not be closed after receiving
a response.
2014-07-15 14:01:18 -07:00
Preben Ingvaldsen
f3f3c5b6af
Fix typo in test comment
...
Fix typo in test comment, which was referring to an async client
as a sync client.
2014-07-14 13:45:43 -07:00
Preben Ingvaldsen
3a3e60109d
(TK-27) Modify create-client function
...
Modify create-client function in async.clj to now return a new
client wrapped in the async-client protocol. Make create-client
public. Modify request to make a default client if none is
provided to support these changes.
2014-07-14 13:39:08 -07:00
Preben Ingvaldsen
085ad7a4d0
(TK-27) Add async client protocol
...
Add async client protocol to the async.clj file. This protocol
has methods for all the various HTTP request types.
2014-07-10 12:06:42 -07:00
Kevin Corcoran
59a676f107
Merge pull request #7 from cprice404/feature/master/TK-23-port-to-apache-async
...
(TK-23) Port to apache HttpAsyncClient
2014-07-09 09:39:19 -07:00
Chris Price
729af72491
(TK-23) Cleanups based on PR feedback
2014-07-03 09:21:42 -07:00
Chris Price
186b226512
(TK-23) Port to apache HttpAsyncClient
...
* Ports the code over to use the Apache HttpAsyncClient library
instead of http-kit, as we were getting some weird and inconsistent
SSL errors from http-kit, and
* Simplify the API (by eliminating a lot of the supported configuration
options). Some of these options we'll eventually want to add back in,
but for now, getting rid of them makes the API less cluttered and
also gives us the opportunity to do a better job writing tests
for new options when we do add support for them.
For now it only supports constructing a new client on every request.
I intend to add API for creating a client explicitly, and a protocol
for how to interact with the client. This will allow users to
re-use an existing client as they see fit... but this hasn't been
implemented yet.
2014-07-03 08:58:46 -07:00
Jenkins User
f6c4b5b059
lein-release plugin: bumped version from 0.1.7 to 0.1.8-SNAPSHOT for next development cycle
2014-04-28 11:48:54 -07:00
Jenkins User
003c2c4044
lein-release plugin: preparing 0.1.7 release
2014-04-28 11:48:27 -07:00
Chris Price
466581324e
Update CHANGELOG for 0.1.7 release
2014-04-28 11:40:05 -07:00
Nate Wolfe
a75372c87c
Merge pull request #6 from cprice404/maint/master/PE-3769-source-jars-and-explicit-jdk-target
...
(PE-3769) Build source jars and use explicit JDK target version
2014-04-28 11:35:04 -07:00
Chris Price
8b66e32677
Correct the path to the clojure source code for the sources jar
2014-04-28 11:32:42 -07:00
Chris Price
064f735004
Remove jdk6 from travis test matrix
2014-04-28 11:17:07 -07:00
Chris Price
5b23e8a508
Bump jvm-ca version to 0.1.5
2014-04-25 17:12:42 -07:00
Chris Price
76722c2e4a
(PE-3769) Build source jars and use explicit JDK target version
2014-04-25 15:42:55 -07:00
Chris Price
4c237edcdd
Add CONTRIBUTING.md
2014-04-15 17:04:52 -07:00
Jenkins User
beb7ef0114
lein-release plugin: bumped version from 0.1.6 to 0.1.7-SNAPSHOT for next development cycle
2014-04-14 16:14:40 -07:00
Jenkins User
60d2d04a23
lein-release plugin: preparing 0.1.6 release
2014-04-14 16:14:10 -07:00
Chris Price
8eeba9423c
Update CHANGELOG for 0.1.6 release
2014-04-14 16:13:08 -07:00
Chris Price
ecac3786be
Merge pull request #5 from cprice404/bug/master/add-missing-pem-file
...
Add missing pem file
2014-04-14 15:52:00 -07:00
Chris Price
4e0358ded3
Add missing pem file
2014-04-14 15:48:59 -07:00
Kevin Corcoran
b39f17e536
Merge pull request #4 from cprice404/feature/master/PE-3484-support-sslcontext-with-ca-cert-only
...
Support SSLContext configured with only CA cert
2014-04-14 12:29:33 -07:00
Chris Price
f9a7a9fd49
Cleanup and additional test based on PR feedback
2014-04-11 13:56:09 -07:00
Chris Price
cc3633b428
Support SSLContext configured with only CA cert
2014-04-08 17:21:13 -07:00