Commit graph

326 commits

Author SHA1 Message Date
Jeremy Barlow
13f694cfda (SERVER-1733) Update to clj-parent 0.4.3 and i18n 0.7.1
This commit updates the clj-parent dependency to 0.4.3 and i18n plugin
dependency to 0.7.1.  This commit also includes some updates to
i18n-related files, including the removal of pot files which are no
longer used, updates to the Makefile, and regenerated .po files.
2017-03-20 13:46:06 -07:00
Jenkins CI
cff90fbea2 Version 0.8.1-SNAPSHOT 2017-02-09 14:30:16 -08:00
Jenkins CI
a0cf791212 Version 0.8.0 2017-02-09 14:30:06 -08:00
Ruth Linehan
66716b8c89 Merge pull request #70 from camlow325/maint/master/prep-for-0.8.0-release
(MAINT) Prep for 0.8.0 release
2017-02-09 13:51:29 -08:00
Jeremy Barlow
2e35c54145 (MAINT) Prep for 0.8.0 release 2017-02-09 12:06:57 -08:00
Jeremy Barlow
53abf04ee5 Merge pull request #69 from rlinehan/update-i18n-files
(maint) Update i18n files
2017-02-09 11:55:13 -08:00
Ruth Linehan
7bab3dddae (maint) Update i18n files 2017-02-09 11:50:20 -08:00
Ruth Linehan
78ddeacf60 Merge pull request #67 from camlow325/feature/master/PDB-2640-add-gzip-request-body-option
(PDB-2640) Add option for gzip compressing a request's body
2017-02-08 17:02:12 -08:00
Jeremy Barlow
cb5de4555d (PDB-2640) Close gzip-wrapped body input stream on request completion
In the previous commit, if gzip compression was applied to a request
input stream, the stream was not automatically closed when the request
was complete.  The Apache HTTP async library, however, closes an input
stream in cases where gzip compression is not being added.  In this
commit, the original request input stream is closed immediately after
attempts to copy the data from it to the downstream gzipped input stream
have been completed, for compatibility with the pre-existing Apache HTTP
async library behavior.
2017-02-08 12:29:42 -08:00
Jeremy Barlow
689db7cb87 (PDB-2640) Add option for gzip compressing a request's body
This commit adds a new Clojure HTTP request option,
`:compress-request-body`, and corresponding Java option which can be used
to have gzip compression applied to the request's body before it is sent
along to the server.
2017-02-01 14:36:07 -08:00
Matthaus Owens
4c60d6d371 Merge pull request #68 from camlow325/maint/master/TK-430-bump-clj-parent-to-0.3.3-and-i18n-to-0.6.0
(TK-430) Migrate to clj-parent 0.3.3 and bump i18n to 0.6.0
2017-01-31 15:59:00 -08:00
Jeremy Barlow
b0c51913f3 (TK-430) Migrate to clj-parent 0.3.3 and bump i18n to 0.6.0
This commit migrates tk-auth to using clj-parent version 0.3.3 for its
dependencies.  This commit also updates the i18n plugin dependency from
0.4.3 to 0.6.0 for compatibility with the version of i18n being
inherited from clj-parent.  This commit also upgrades the lein version
to 2.7.1 in the .travis.yml file since 2.7.1 is the minimum version
required for compatibility with lein/clj-parent.
2017-01-31 15:27:22 -08:00
Steve Axthelm
9fe8364919 Merge pull request #66 from puppetlabs/rm_cprice404
remove cprice404
2017-01-25 15:49:56 -08:00
call
363828ad66 remove cprice404 2017-01-24 11:39:44 -08:00
Jenkins CI
f1e367c808 Version 0.7.1-SNAPSHOT 2016-12-06 14:45:29 -08:00
Jenkins CI
b4f5007fb6 Version 0.7.0 2016-12-06 14:45:24 -08:00
Ruth Linehan
aed57c67de Merge pull request #65 from ajroetker/maint/prep_for_0.7.0_release
(maint) Prepare for 0.7.0 release
2016-12-06 14:34:38 -08:00
Andrew Roetker
d9b3207c9f (maint) Document default i18n accept-language behavior of Clojure client 2016-12-06 14:25:37 -08:00
Andrew Roetker
9c30001326 (maint) Prepare release notes and project.clj for 0.7.0 feature release 2016-12-06 13:59:21 -08:00
Andrew Roetker
b97ebb0526 (maint) Consolidate i18n version dependency to project.clj variable 2016-12-06 13:55:46 -08:00
Ruth Linehan
8bddf122a9 Merge pull request #64 from ajroetker/ticket/master/PE-18703/pass_negotiate_locale_in_accept-language_header
(PE-18703) Pass negotiated locale in Accept-Language header
2016-12-06 13:25:38 -08:00
Andrew Roetker
40d2cfb3c3 (PE-18703) Pass negotiated locale in Accept-Language header
This commit passes the negotiated locale via the i18n/*locale* variable
through the Accept-Language header by default in a clj-http-client
request (only in the Clojure client, not the Java client).
2016-12-05 11:37:40 -08:00
Chris Price
827dd2cfcf Merge pull request #63 from jpinsonault/server-1556-externalize-strings
(SERVER-1556) Externalize strings
2016-10-17 14:32:04 -07:00
Joe Pinsonault
315804eb7c (SERVER-1556) Add i18n related files 2016-10-17 11:10:06 -07:00
Joe Pinsonault
4df791e24f (SERVER-1556) Externalize strings
Adds a dependency on puppetlabs/i18n and externalizes the user facing strings
2016-10-17 10:34:36 -07:00
Jenkins CI
80d59cfb7d Version 0.6.1-SNAPSHOT 2016-10-05 11:02:16 -07:00
Jenkins CI
2d3e7e6153 Version 0.6.0 2016-10-05 11:02:10 -07:00
Chris Price
5682a9a69d Merge pull request #62 from rlinehan/maint-prep-for-0.6.0-release
(maint) Prep for 0.6.0 release
2016-10-04 17:51:42 -07:00
Ruth Linehan
07a051144d (maint) Prep for 0.6.0 release 2016-10-04 17:45:41 -07:00
Chris Price
a723934fcb Merge pull request #61 from rlinehan/add-logback-test
(maint) Add logback-test to suppress logging output when running tests
2016-10-04 15:15:43 -07:00
Ruth Linehan
4396d9b5ee (maint) Add logback-test to suppress logging output when running tests 2016-10-04 14:46:35 -07:00
Chris Price
c038015730 Merge pull request #60 from rlinehan/TK-402-configurable-metric-namespace
(TK-402) Allow metric namespace to be configurable
2016-10-04 14:22:30 -07:00
Ruth Linehan
af9f144e1d (TK-402) Add note about precedence of metric-prefix and server-id options
Add note to clojure client docs about precendence of `metric-prefix` option if
both it and `server-id` are specified as client options.

Also remove some empty lines.
2016-10-04 13:26:21 -07:00
Ruth Linehan
5237287c2b (TK-402) Update docs to mention configurable metric namespace 2016-10-03 12:06:15 -07:00
Ruth Linehan
4f92c1ba55 (TK-402) Allow metric namespace to be configurable
Add two new client options - `server-id` and `metric-prefix` that allow the
metric namespace to be configured rather than always
`puppetlabs.http-client.experimental`.

If `server-id` is set, the metric namespace becomes
`puppetlabs.<server-id>.http-client.experimental`.

If `metric-prefix` is set, the metric namespace becomes
`<metric-prefix>.http-client.experimental`.

If both are set, `metric-prefix` wins out and a warning message is logged.

Also add a `get-client-metric-namespace`/`getMetricNamespace` method on the
client (clojure and java) to get back the metric namespace.
2016-10-03 12:06:15 -07:00
Ruth Linehan
57702988ee (maint) Bump dependencies to newer versions 2016-09-30 14:48:58 -07:00
Chris Price
d5c91fce22 Merge pull request #59 from puppetlabs/theshanx-patch-2
Add internal_list key to MAINTAINERS
2016-09-27 12:54:36 -07:00
theshanx
404fd0cebd Add internal_list key to MAINTAINERS
This change adds a reference to the Google group the maintainers are associated with.
2016-09-27 11:26:12 -07:00
Jeremy Barlow
fd2886b5f7 Merge pull request #58 from rlinehan/TK-308-bump-apache-async
(TK-308) Bump Apache HttpAsyncClient library to 4.1.2
2016-09-27 08:18:29 -07:00
Ruth Linehan
ef8c2030da (TK-308) Bump Apache HttpAsyncClient library to 4.1.2
There was a bug in the previous version of the Apache HttpAsyncClient library
that caused the cline tto hang if the process had exhausted the number of open
file descriptors it was allowed. This bug was fixed in the 4.1.2 release,
which this commit bumps to.
2016-09-26 16:32:07 -07:00
Chris Price
90b701abe6 Merge pull request #56 from rlinehan/TK-354-add-metrics-docs
(TK-354) add metrics docs
2016-09-16 10:43:11 -07:00
Chris Price
81b15189a7 Fix typo an -> any 2016-09-16 10:42:44 -07:00
Scott Walker
1904c3893c Merge pull request #57 from cprice404/maint/master/200-add-maintainers
(200) Add MAINTAINERS
2016-09-16 10:54:09 +01:00
Ruth Linehan
594f55accb (TK-354) Reorder metrics docs
Place Clojure metrics API docs ahead of Java API docs, since probably more
people will use the Clojure API.
2016-09-15 17:27:21 -07:00
Ruth Linehan
c6b6b91da8 (TK-354) Add examples to metrics docs
And some other tweaks in response to review.
2016-09-15 17:24:07 -07:00
Chris Price
5bf122d8ac (200) Add MAINTAINERS 2016-09-15 16:18:18 -07:00
Ruth Linehan
81659166cf (TK-353) Clarify keywords vs strings for Clojure metric-ids
The Clojure metrics API supports metric-ids as vectors of keywords or strings.
Previously, the docs only mentioned that keywords could be used. Strings
should be used if special characters are needed.
2016-09-14 17:05:36 -07:00
Ruth Linehan
2703471854 (TK-354) Add metrics docs 2016-09-13 15:19:42 -07:00
Chris Price
e0368d61df Merge pull request #54 from janelu2/cookiesupport
(TK-295) add tests for cookies
2016-07-19 14:54:49 -07:00
janelu2
23b44ae93d (TK-295) add tests for cookies
(MAINT) remove comments

(MAINT) change body message to reflect 400 status

(MAINT) change test to use Java and Clj API

(MAINT) refactor RequestOptions in let block of java api test

(MAINT) add tests for async cookie support
2016-07-19 14:27:02 -07:00