Commit graph

316 commits

Author SHA1 Message Date
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
Chris Price
33650fc7f2 Merge pull request #53 from senior/maint/master/update-stream-docs
(MAINT) Update docs to include :unbuffered-stream
2016-06-21 12:52:50 -07:00
Ryan Senior
943923ff4c (MAINT) Update docs to include :unbuffered-stream
I also added a caveat to the usage of the :stream response body so
users know the behavior isn't streaming, just returns an instance of
InputStream.
2016-06-21 14:45:16 -05:00
Jeremy Barlow
70b5d6d6ae Merge pull request #52 from rlinehan/TK-316-client-metrics-again
(TK-316) Improved client metrics support
2016-05-06 11:04:41 -07:00
Ruth Linehan
60e5a2450a (TK-316) Expand imports 2016-05-06 10:48:16 -07:00
Ruth Linehan
d3325c494e (TK-316) Add back accidentally deleted test 2016-05-05 09:36:56 -07:00
Ruth Linehan
8f3dc54a00 Merge pull request #4 from cprice404/TK-316-client-metrics-again.WORKING_ON_INSTANCEOF_REFACTOR
(TK-316) refactor java code to reduce casting and simplify logic
2016-05-05 09:36:09 -07:00
Chris Price
e5d97eba68 (TK-316) Replace client filter with smaller classes 2016-05-05 06:34:10 -07:00
Chris Price
65451a2e7c (TK-316) Add enum for metrics category 2016-05-05 05:58:24 -07:00
Chris Price
95602726e4 (TK-316) Extract specific filter class for Categories 2016-05-05 05:54:14 -07:00
Chris Price
01038b682d (TK-316) Minor cleanup of filter class 2016-05-05 05:20:35 -07:00