pax_global_header 0000666 0000000 0000000 00000000064 13640475550 0014523 g ustar 00root root 0000000 0000000 52 comment=e57f54792e34d1b9534fee846f65064b6c723f1c
trapperkeeper-3.1.0/ 0000775 0000000 0000000 00000000000 13640475550 0014375 5 ustar 00root root 0000000 0000000 trapperkeeper-3.1.0/.gitignore 0000664 0000000 0000000 00000000270 13640475550 0016364 0 ustar 00root root 0000000 0000000
# Emacs
*#
*~
.#*
.lein-failures
.lein-repl-history
target/
checkouts/
pom.xml
.nrepl-port
/resources/locales.clj
/resources/puppetlabs/trapperkeeper/*.class
/dev-resources/i18n/bin
trapperkeeper-3.1.0/.gitmodules 0000664 0000000 0000000 00000000170 13640475550 0016550 0 ustar 00root root 0000000 0000000 [submodule "ext/pl-clojure-style"]
path = ext/pl-clojure-style
url = git://github.com/puppetlabs/pl-clojure-style.git
trapperkeeper-3.1.0/.travis.yml 0000664 0000000 0000000 00000001552 13640475550 0016511 0 ustar 00root root 0000000 0000000 language: clojure
lein: 2.9.1
jobs:
include:
- jdk: openjdk8
name: lein test (openjdk8)
- jdk: openjdk11
name: lein test (openjdk11)
- jdk: openjdk8
name: external tests (openjdk8)
script: lein uberjar && ext/test/run-all
- jdk: openjdk11
name: external tests (openjdk11)
script: lein uberjar && ext/test/run-all
- name: external tests (openjdk11)
# Apparently travis' lein support is broken right now
language: java
os: osx
osx_image: xcode10.3
script: |
# prep in standalone script so things like set -x don't affect travis
ext/travisci/prep-macos \
&& export PATH="$(pwd)/ext/travisci/bin:$PATH" \
&& lein uberjar \
&& ext/test/run-all
notifications:
email: false
cache:
directories:
- $HOME/.m2
- $HOME/Library/Caches/Homebrew
trapperkeeper-3.1.0/CHANGELOG.md 0000664 0000000 0000000 00000027501 13640475550 0016213 0 ustar 00root root 0000000 0000000 ## 2.0.1
This is a maintenance release
* Ensures that all errors are correctly thrown, notably errors about bad config schemas.
## 2.0.0
This is a maintenance release
* [ORCH-2282](https://tickets.puppetlabs.com/browse/ORCH-2282) - Updates to current clj-parent
to support using nrepl/nrepl
* Updates required for using nrepl/nrepl; mainline development for nrepl moved from
org.clojure/tools.nrepl as of the 0.3.x series (last on this line was 0.2.13)
* Updating to this version of trapperkeeper requires lein >=2.9.0 (:min-lein-version updated)
* Drops support for JDK7
## 1.5.6
This is a maintenance release
* [TK-466](https://tickets.puppetlabs.com/browse/TK-466) - Log SIGHUP events at INFO level
## 1.5.5
This is a maintenance release
* Fix log message accidentally converted to a warning
## 1.5.4
This is a maintenance release.
* Fix adding to classpath under Java 9
## 1.5.3
This is a maintenance release.
* [TK-411](https://tickets.puppetlabs.com/browse/TK-411) - Externalize strings for i18n
* [TK-439](https://tickets.puppetlabs.com/browse/TK-439) - Handle exceptions having no
type key in main
* Fix symbol redef warnings under Clojure 1.9
* Improved lifecycle debug logging
## 1.5.2
This is a maintenance release.
* [SERVER-1494](https://tickets.puppetlabs.com/browse/SERVER-1494) - use `lein-parent`
plugin to inherit dependency versions from parent project.
## 1.5.1
This is a minor feature release
* [TK-405](https://tickets.puppetlabs.com/browse/TK-405) - Add support for
specifying the restart file option via a command line argument
## 1.5.0
This is a feature/bugfix/maintenance release
* [TK-345](https://tickets.puppetlabs.com/browse/TK-345) - Add support for optional
restart file which, if specified, will contain an integer that increments when
a TK app has successfully started all of its services
* [TK-382](https://tickets.puppetlabs.com/browse/TK-382) - Fix bug where optional
dependencies could not be specified for a service without a protocol
* [TK-397](https://tickets.puppetlabs.com/browse/TK-397) - Update to logback 1.1.7
## 1.4.1
This is a bugfix release. It fixes a single issue
* [TK-375](https://tickets.puppetlabs.com/browse/TK-375) - Regression in 1.4.0
when loading bootstrap.cfg from resources/classpath
## 1.4.0
This is feature/bugfix release. It is a re-release of 1.3.2
* [TK-347](https://tickets.puppetlabs.com/browse/TK-347) - Support directories
and paths in TK's "bootstrap-config" CLI argument
* [TK-211](https://tickets.puppetlabs.com/browse/TK-211) - Trapperkeeper
doesn't error if two services implementing the same protocol are started
* [TK-349](https://tickets.puppetlabs.com/browse/TK-349) - TK should not
fail during startup if an unrecognized service is found in bootstrap config
* [TK-351](https://tickets.puppetlabs.com/browse/TK-351) - Ensure all bootstrap
related errors log what file they come from
## 1.3.2
This version was released by mistake, it was intended to be 1.4.0
## 1.3.1
This is a bugfix / maintenance / minor feature release
* [TK-319](https://tickets.puppetlabs.com/browse/TK-319) - fix a bug where
optional dependencies could not be used without a service protocol
* [TK-325](https://tickets.puppetlabs.com/browse/TK-325) - move documentation
into repo, instead of storing it on the github wiki
* [HC-51](https://tickets.puppetlabs.com/browse/HC-51) - update to newer
version of clj typesafe / hocon wrapper, fixing bug that prevented
variable interpolation from working properly in hocon config files
* New `bootstrap-services-with-config` testutils macro
* [TK-342](https://tickets.puppetlabs.com/browse/TK-342) - new logging
testutils macros, e.g. `with-logged-event-maps`.
* [TK-326](https://tickets.puppetlabs.com/browse/TK-326),
[TK-330](https://tickets.puppetlabs.com/browse/TK-330),
[TK-331](https://tickets.puppetlabs.com/browse/TK-331) - various minor
improvements to HUP support to eliminate some bugs/annoyances that
were possible in pathological situations
## 1.3.0
This is a feature release.
* [TK-202](https://tickets.puppetlabs.com/browse/TK-202) - adds support for
restarting a TK app via HUP signal, w/o shutting down entire JVM process
* [TK-315](https://tickets.puppetlabs.com/browse/TK-315) - update raynes.fs
dependency to 1.4.6, to minimize dependency conflicts for consumers
* RELEASE NOTE: adds a dependency on core.async
* RELEASE NOTE: minor changes to internal `app-context` API; all service
contexts are now stored under a key called `:service-contexts`. This
shouldn't affect any consuming code unless you were digging into the
internal `app-context` API for really low-level tests or similar.
## 1.2.0
This is a minor feature release.
* [TK-299](https://tickets.puppetlabs.com/browse/TK-299) - support optional
dependencies, which allow services to take advantage of other services if
they're included in the bootstrap and gracefully handled when they are not
included. See the
[docs](https://github.com/puppetlabs/trapperkeeper/wiki/Defining-Services#optional-services)
for more detail.
* Use newer version of schema library and make use of more schemas.
## 1.1.3
This is a bugfix release.
* [TK-311](https://tickets.puppetlabs.com/browse/TK-311) - fix a minor bug in the new
logging testutils, where the log appenders weren't implementing the `isStarted`
method.
## 1.1.2
This is a bugfix / minor feature release.
* Various, significant improvements to logging testutils, courtesy of Rob Browning.
* [TK-291](https://tickets.puppetlabs.com/browse/TK-291) - `(is (logged?` test assertion
now captures log messages that were logged by other (non-Clojure) threads.
* `logs-matching` now has an additional signature that accepts a log level
* Improvements to error handling when an error occurs in TK's `main` function
## 1.1.1
This is a maintenance / minor feature release.
* [TK-197](https://tickets.puppetlabs.com/browse/TK-197) - update prismatic
dependencies to latest versions.
* Add support for yaml config files
* [TK-131](https://tickets.puppetlabs.com/browse/TK131) Relax preconditions on logging configuration
## 1.1.0
This is a minor feature release.
* Add support for logback's `EvaluatorFilter`, which allows users to configure
the logging to filter log messages based on regular expression patterns.
## 1.0.1
* Fix an issue wherein nothing would be logged to the console when the
--debug flag was set
## 1.0.0
* Promoting previous release to 1.0.0, so that we can begin to be more deliberate
about adhering to semver from here on out.
## 0.5.2
This is a minor feature and bugfix release.
* Call the `service-symbol` function in lifecycle error messages to make it easier
to determine which service caused the error
* Fix an IllegalArgumentException that would occur when catching a slingshot exception
in the TK `main` function.
* Allow multiple comma-separated config files and directories to be specified
in the --config CLI argument.
## 0.5.1
This is a bugfix release.
* Fix a bug that prevented `defservice` from working with protocols that were defined in a different namespace.
## 0.5.0
This is a feature release with a minor breaking API change.
* The breaking API change affects the functions defined in the
`puppetlabs.trapperkeeper.services/Service` protocol - namely, `service-context`.
References to these functions are no longer automatically in scope inside a
`service` or `defservice` definition as they were previously (via macro magic),
and they must be `require`d like any other function -
`(require '[puppetlabs.trapperkeeper.services :refer [service-context]])`.
* Changed schema version to support the Bool type
* Improve implementation of the `service` macro
* Formalize public function for loading config
## 0.4.3
This is a minor feature release.
* Moved documentation to github wiki
* Get rid of requirement for `--config` command-line argument
* Add new `service-symbol` and `get-services` functions to protocols
* Update dependencies
## 0.4.2
This is a minor feature release.
* Add a new configuration setting `middlewares` to the nREPL service, to allow
registration of nREPL middleware (e.g. for compatibility with LightTable).
(Thanks to `exi` for this contribution!)
## 0.4.1
This is a maintenance/bugfix release.
* Fix a minor bug in testutils/logging where we inadvertently changed the return value of
log statements.
* Add an explicit call to `shutdown-agents` on trapperkeeper exit, to prevent the JVM from
hanging for 60 seconds on shutdown (if any services were using `future`).
## 0.4.0
This release includes improved error handling and logic for shutting down Trapperkeeper applications.
* Improved handling of errors during a service's `init` or `start` functions:
* All services' `stop` functions are now called, even when an error is thrown by any service's
`init` or `start` function. This means that `stop` implementations must now be resilient
to invocation even when `init` or `start` has not executed.
* Updated `boot-services-with-cli-data`, `boot-services-with-config`, and `boot-with-cli-data`
to return the `TrapperkeeperApp` instance rather than propagating the `Throwable`.
* Updated example "Reloaded" pattern usage to use the new `check-for-errors!`
function on the `TrapperkeeperApp` instance to detect any errors that may have occurred
while services were being bootstrapped.
## 0.3.12
This is a maintenance release.
* Upgrade fs dependency to 1.4.5 to standardize across projects
## 0.3.11
This is a maintenance/bugfix release.
* Fix minor bug in how nrepl service loads its configuration
* Add CONTRIBUTING.md file
* Fix a few misleading things in the README (dan@simple.com)
## 0.3.10
This is a maintenance release.
* Update version number of kitchensink dependency to 0.6.0, to get rid of transitive dependencies on SSL libraries.
## 0.3.9
This is a maintenance release.
* Update version number of logback dependency from 1.0.13 to 1.1.1, to resolve a bug in logback that was affecting our jetty9 web server.
## 0.3.8
This is a bugfix and maintenance release.
* Improve logging of exceptions that occur during bootstrapping.
## 0.3.7
This is a bugfix and maintenance release.
* Log exceptions that occur during bootstrapping.
## 0.3.6
This is a bugfix and maintenance release.
* Move typesafe config code to an external library - https://github.com/puppetlabs/clj-typesafe-config
* Improve error handling and logging in `shutdown-on-error`.
## 0.3.5
* Improved error handling in the `service`/`defservice` macros.
* Improved error handling in the shutdown logic, particularly when using `shutdown-on-error`.
* Fix a bug that prevented `service-id` from being called from a service's `init` function.
* Minor documentation fixes and improvements.
## 0.3.4
* Add new macros in `testutils/bootstrap` namespace, to make it easier to write tests for services
* Add support for .edn, .conf, .json, .properties config files in addition to .ini
## 0.3.3
* Fix a bug in how we were handling command-line arguments in the case where the user does not pass any
* Add a new function `get-service` to the `Service` protocol, which allows service authors to get a reference to the protocol instance of a service if they prefer that to the prismatic-style function injections
## 0.3.2
* Bugfix release
* Use prismatic schema validation during tests to ensure we are complying with
our advertised schemas
* Fix bug where we were not including lifecycle functions in the schema
* Fix bug in error handling of prismatic exceptions
* Upgrade to version 0.2.1 of prismatic schema, which includes a fix for
some thing related to aot.
## 0.3.0
* Changes to `defservice` API so that it supports service lifecycles more explicitly,
and now uses clojure protocols as the means for specifying functions provided
by a service.
* Upgrade to 0.5.1 of kitchensink, which includes a significant performance
improvement for applications that are accepting HTTPS connections
trapperkeeper-3.1.0/CODEOWNERS 0000664 0000000 0000000 00000000262 13640475550 0015770 0 ustar 00root root 0000000 0000000 # This will cause the puppetserver-maintainers group to be assigned
# review of any opened PRs against the branches containing this file.
* @puppetlabs/puppetserver-maintainers
trapperkeeper-3.1.0/CONTRIBUTING.md 0000664 0000000 0000000 00000001024 13640475550 0016623 0 ustar 00root root 0000000 0000000 # How to contribute
Third-party patches are essential for keeping Puppet Labs open-source projects
great. We want to keep it as easy as possible to contribute changes that
allow you to get the most out of our projects. There are a few guidelines
that we need contributors to follow so that we can have a chance of keeping on
top of things. For more info, see our canonical guide to contributing:
[https://github.com/puppetlabs/puppet/blob/master/CONTRIBUTING.md](https://github.com/puppetlabs/puppet/blob/master/CONTRIBUTING.md)
trapperkeeper-3.1.0/LICENSE 0000664 0000000 0000000 00000026075 13640475550 0015414 0 ustar 00root root 0000000 0000000 Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "{}"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright {yyyy} {name of copyright owner}
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
trapperkeeper-3.1.0/Makefile 0000664 0000000 0000000 00000000043 13640475550 0016032 0 ustar 00root root 0000000 0000000 include dev-resources/Makefile.i18n trapperkeeper-3.1.0/README.md 0000664 0000000 0000000 00000007060 13640475550 0015657 0 ustar 00root root 0000000 0000000
# Trapperkeeper
[](https://travis-ci.org/puppetlabs/trapperkeeper)
Trapperkeeper is a Clojure framework for hosting long-running applications and services.
You can think of it as a sort of "binder" for Ring applications and other modular bits of Clojure code.
## Installation
Add the following dependency to your `project.clj` file:
[](http://clojars.org/puppetlabs/trapperkeeper)
## Community
* Bug reports and feature requests: you can submit a Github issue, but we use [JIRA](https://tickets.puppetlabs.com/browse/TK) as our main issue tracker.
* freenode: #trapperkeeper
* [](https://gitter.im/puppetlabs/trapperkeeper?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
## Documentation
You can find a quick-start, example code, and lots and lots of documentation in our:
* [Documentation](documentation/Index.md)
## Lein Template
A Leiningen template is available that shows a suggested project structure:
lein new trapperkeeper my.namespace/myproject
Once you've created a project from the template, you can run it via the lein alias:
lein tk
Note that the template is not intended to suggest a specific namespace organization;
it's just intended to show you how to write a service, a web service, and tests
for each.
## Related Projects
Here are some additional projects that provide Trapperkeeper services, and
other related functionality:
* [trapperkeeper-webserver-jetty9](https://github.com/puppetlabs/trapperkeeper-webserver-jetty9): a Jetty9-based webserver for use with TK applications
* [trapperkeeper-rpc](https://github.com/puppetlabs/trapperkeeper-rpc): a TK service that allows you to easily build a way to call remote TK services over RPC
* [trapperkeeper-metrics](https://github.com/puppetlabs/trapperkeeper-metrics): a TK service that manages the life cycle of a [MetricRegistry](https://github.com/dropwizard/metrics), so that all of your TK services can register metrics with a common configuration syntax.
* [trapperkeeper-comidi-metrics](https://github.com/puppetlabs/trapperkeeper-comidi-metrics): a TK utility library that provides middleware to automatically generate metrics for all requests to each of your bidi/comidi HTTP routes.
* [trapperkeeper-status](https://github.com/puppetlabs/trapperkeeper-status): a TK service that provides a mechanism for registering status callbacks for all of your other TK services, and web API for requesting status information about the entire TK system.
* [trapperkeeper-scheduler](https://github.com/puppetlabs/trapperkeeper-scheduler): a TK service that provides an API for scheduling periodic background tasks
## License
Copyright © 2013 Puppet Labs
Distributed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)
## Support
Please log tickets and issues at our [JIRA tracker](https://tickets.puppetlabs.com/browse/TK).
There is also a #trapperkeeper channel on Freenode as well as [](https://gitter.im/puppetlabs/trapperkeeper?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge).
trapperkeeper-3.1.0/dev-resources/ 0000775 0000000 0000000 00000000000 13640475550 0017163 5 ustar 00root root 0000000 0000000 trapperkeeper-3.1.0/dev-resources/Makefile.i18n 0000664 0000000 0000000 00000014105 13640475550 0021402 0 ustar 00root root 0000000 0000000 # -*- Makefile -*-
# This file was generated by the i18n leiningen plugin
# Do not edit this file; it will be overwritten the next time you run
# lein i18n init
#
# The name of the package into which the translations bundle will be placed
BUNDLE=puppetlabs.trapperkeeper
# The name of the POT file into which the gettext code strings (msgid) will be placed
POT_NAME=trapperkeeper.pot
# The list of names of packages covered by the translation bundle;
# by default it contains a single package - the same where the translations
# bundle itself is placed - but this can be overridden - preferably in
# the top level Makefile
PACKAGES?=$(BUNDLE)
LOCALES=$(basename $(notdir $(wildcard locales/*.po)))
BUNDLE_DIR=$(subst .,/,$(BUNDLE))
BUNDLE_FILES=$(patsubst %,resources/$(BUNDLE_DIR)/Messages_%.class,$(LOCALES))
FIND_SOURCES=find src -name \*.clj
# xgettext before 0.19 does not understand --add-location=file. Even CentOS
# 7 ships with an older gettext. We will therefore generate full location
# info on those systems, and only file names where xgettext supports it
LOC_OPT=$(shell xgettext --add-location=file -f - /dev/null 2>&1 && echo --add-location=file || echo --add-location)
LOCALES_CLJ=resources/locales.clj
define LOCALES_CLJ_CONTENTS
{
:locales #{$(patsubst %,"%",$(LOCALES))}
:packages [$(patsubst %,"%",$(PACKAGES))]
:bundle $(patsubst %,"%",$(BUNDLE).Messages)
}
endef
export LOCALES_CLJ_CONTENTS
i18n: msgfmt
# Update locales/.pot
update-pot: locales/$(POT_NAME)
locales/$(POT_NAME): $(shell $(FIND_SOURCES)) | locales
@tmp=$$(mktemp $@.tmp.XXXX); \
$(FIND_SOURCES) \
| xgettext --from-code=UTF-8 --language=lisp \
--copyright-holder='Puppet ' \
--package-name="$(BUNDLE)" \
--package-version="$(BUNDLE_VERSION)" \
--msgid-bugs-address="docs@puppet.com" \
-k \
-kmark:1 -ki18n/mark:1 \
-ktrs:1 -ki18n/trs:1 \
-ktru:1 -ki18n/tru:1 \
-ktrun:1,2 -ki18n/trun:1,2 \
-ktrsn:1,2 -ki18n/trsn:1,2 \
$(LOC_OPT) \
--add-comments --sort-by-file \
-o $$tmp -f -; \
sed -i.bak -e 's/charset=CHARSET/charset=UTF-8/' $$tmp; \
sed -i.bak -e 's/POT-Creation-Date: [^\\]*/POT-Creation-Date: /' $$tmp; \
rm -f $$tmp.bak; \
if ! diff -q -I POT-Creation-Date $$tmp $@ >/dev/null 2>&1; then \
mv $$tmp $@; \
else \
rm $$tmp; touch $@; \
fi
# Run msgfmt over all .po files to generate Java resource bundles
# and create the locales.clj file
msgfmt: $(BUNDLE_FILES) $(LOCALES_CLJ) clean-orphaned-bundles
# Force rebuild of locales.clj if its contents is not the the desired one. The
# shell echo is used to add a trailing newline to match the one from `cat`
ifneq ($(shell cat $(LOCALES_CLJ) 2> /dev/null),$(shell echo '$(LOCALES_CLJ_CONTENTS)'))
.PHONY: $(LOCALES_CLJ)
endif
$(LOCALES_CLJ): | resources
@echo "Writing $@"
@echo "$$LOCALES_CLJ_CONTENTS" > $@
# Remove every resource bundle that wasn't generated from a PO file.
# We do this because we used to generate the english bundle directly from the POT.
.PHONY: clean-orphaned-bundles
clean-orphaned-bundles:
@for bundle in resources/$(BUNDLE_DIR)/Messages_*.class; do \
locale=$$(basename "$$bundle" | sed -E -e 's/\$$?1?\.class$$/_class/' | cut -d '_' -f 2;); \
if [ ! -f "locales/$$locale.po" ]; then \
rm "$$bundle"; \
fi \
done
resources/$(BUNDLE_DIR)/Messages_%.class: locales/%.po | resources
msgfmt --java2 -d resources -r $(BUNDLE).Messages -l $(*F) $<
# Use this to initialize translations. Updating the PO files is done
# automatically through a CI job that utilizes the scripts in the project's
# `bin` file, which themselves come from the `clj-i18n` project.
locales/%.po: | locales
@if [ ! -f $@ ]; then \
touch $@ && msginit --no-translator -l $(*F) -o $@ -i locales/$(POT_NAME); \
fi
resources locales:
@mkdir $@
help:
$(info $(HELP))
@echo
.PHONY: help
define HELP
This Makefile assists in handling i18n related tasks during development. Files
that need to be checked into source control are put into the locales/ directory.
They are
locales/$(POT_NAME) - the POT file generated by 'make update-pot'
locales/$$LANG.po - the translations for $$LANG
Only the $$LANG.po files should be edited manually; this is usually done by
translators.
You can use the following targets:
i18n: refresh all the files in locales/ and recompile resources
update-pot: extract strings and update locales/$(POT_NAME)
locales/LANG.po: create translations for LANG
msgfmt: compile the translations into Java classes; this step is
needed to make translations available to the Clojure code
and produces Java class files in resources/
endef
# @todo lutter 2015-04-20: for projects that use libraries with their own
# translation, we need to combine all their translations into one big po
# file and then run msgfmt over that so that we only have to deal with one
# resource bundle
trapperkeeper-3.1.0/dev-resources/bootstrapping/ 0000775 0000000 0000000 00000000000 13640475550 0022056 5 ustar 00root root 0000000 0000000 trapperkeeper-3.1.0/dev-resources/bootstrapping/classpath/ 0000775 0000000 0000000 00000000000 13640475550 0024040 5 ustar 00root root 0000000 0000000 trapperkeeper-3.1.0/dev-resources/bootstrapping/classpath/bootstrap.cfg 0000664 0000000 0000000 00000000247 13640475550 0026541 0 ustar 00root root 0000000 0000000 puppetlabs.trapperkeeper.examples.bootstrapping.test-services/classpath-test-service
puppetlabs.trapperkeeper.examples.bootstrapping.test-services/hello-world-service
trapperkeeper-3.1.0/dev-resources/bootstrapping/cli/ 0000775 0000000 0000000 00000000000 13640475550 0022625 5 ustar 00root root 0000000 0000000 trapperkeeper-3.1.0/dev-resources/bootstrapping/cli/bootstrap.cfg 0000664 0000000 0000000 00000000241 13640475550 0025320 0 ustar 00root root 0000000 0000000 puppetlabs.trapperkeeper.examples.bootstrapping.test-services/cli-test-service
puppetlabs.trapperkeeper.examples.bootstrapping.test-services/hello-world-service
trapperkeeper-3.1.0/dev-resources/bootstrapping/cli/bootstrap_with_comments.cfg 0000664 0000000 0000000 00000000470 13640475550 0030264 0 ustar 00root root 0000000 0000000 # commented out line
puppetlabs.trapperkeeper.examples.bootstrapping.test-services/hello-world-service # comment
; another commented out line
;puppetlabs.trapperkeeper.examples.bootstrapping.test-services/foo-test-service
puppetlabs.trapperkeeper.examples.bootstrapping.test-services/foo-test-service ; comment
trapperkeeper-3.1.0/dev-resources/bootstrapping/cli/duplicate_entries.cfg 0000664 0000000 0000000 00000000632 13640475550 0027012 0 ustar 00root root 0000000 0000000 puppetlabs.trapperkeeper.examples.bootstrapping.test-services/hello-world-service
puppetlabs.trapperkeeper.examples.bootstrapping.test-services/hello-world-service
puppetlabs.trapperkeeper.examples.bootstrapping.test-services/hello-world-service
puppetlabs.trapperkeeper.examples.bootstrapping.test-services/hello-world-service
puppetlabs.trapperkeeper.examples.bootstrapping.test-services/hello-world-service
trapperkeeper-3.1.0/dev-resources/bootstrapping/cli/duplicate_services/ 0000775 0000000 0000000 00000000000 13640475550 0026502 5 ustar 00root root 0000000 0000000 trapperkeeper-3.1.0/dev-resources/bootstrapping/cli/duplicate_services/duplicates.cfg 0000664 0000000 0000000 00000000716 13640475550 0031324 0 ustar 00root root 0000000 0000000 # cli and foo implement the same service protocol
puppetlabs.trapperkeeper.examples.bootstrapping.test-services/cli-test-service
puppetlabs.trapperkeeper.examples.bootstrapping.test-services/foo-test-service
# test-service-two and test-service-two-duplicate implement the same service protocol
puppetlabs.trapperkeeper.examples.bootstrapping.test-services/test-service-two
puppetlabs.trapperkeeper.examples.bootstrapping.test-services/test-service-two-duplicate
trapperkeeper-3.1.0/dev-resources/bootstrapping/cli/duplicate_services/split_one.cfg 0000664 0000000 0000000 00000000460 13640475550 0031157 0 ustar 00root root 0000000 0000000 # cli and foo implement the same service protocol
puppetlabs.trapperkeeper.examples.bootstrapping.test-services/foo-test-service
# test-service-two and test-service-two-duplicate implement the same service protocol
puppetlabs.trapperkeeper.examples.bootstrapping.test-services/test-service-two-duplicate
trapperkeeper-3.1.0/dev-resources/bootstrapping/cli/duplicate_services/split_two.cfg 0000664 0000000 0000000 00000000446 13640475550 0031213 0 ustar 00root root 0000000 0000000 # cli and foo implement the same service protocol
puppetlabs.trapperkeeper.examples.bootstrapping.test-services/cli-test-service
# test-service-two and test-service-two-duplicate implement the same service protocol
puppetlabs.trapperkeeper.examples.bootstrapping.test-services/test-service-two
trapperkeeper-3.1.0/dev-resources/bootstrapping/cli/empty_bootstrap.cfg 0000664 0000000 0000000 00000000000 13640475550 0026527 0 ustar 00root root 0000000 0000000 trapperkeeper-3.1.0/dev-resources/bootstrapping/cli/fake_namespace_bootstrap.cfg 0000664 0000000 0000000 00000000303 13640475550 0030321 0 ustar 00root root 0000000 0000000 puppetlabs.trapperkeeper.examples.bootstrapping.test-services/cli-test-service
puppetlabs.trapperkeeper.examples.bootstrapping.test-services/hello-world-service
non-existent-service/test-service
trapperkeeper-3.1.0/dev-resources/bootstrapping/cli/invalid_entry_bootstrap.cfg 0000664 0000000 0000000 00000000151 13640475550 0030247 0 ustar 00root root 0000000 0000000 puppetlabs.trapperkeeper.examples.bootstrapping.test-services/foo-test-service
This is not a legit line.
trapperkeeper-3.1.0/dev-resources/bootstrapping/cli/invalid_service_graph_bootstrap.cfg 0000664 0000000 0000000 00000000134 13640475550 0031730 0 ustar 00root root 0000000 0000000 puppetlabs.trapperkeeper.examples.bootstrapping.test-services/invalid-service-graph-service
trapperkeeper-3.1.0/dev-resources/bootstrapping/cli/missing_definition_bootstrap.cfg 0000664 0000000 0000000 00000000364 13640475550 0031267 0 ustar 00root root 0000000 0000000 puppetlabs.trapperkeeper.examples.bootstrapping.test-services/cli-test-service
puppetlabs.trapperkeeper.examples.bootstrapping.test-services/hello-world-service
puppetlabs.trapperkeeper.examples.bootstrapping.test-services/non-existent-service
trapperkeeper-3.1.0/dev-resources/bootstrapping/cli/path with spaces/ 0000775 0000000 0000000 00000000000 13640475550 0025754 5 ustar 00root root 0000000 0000000 trapperkeeper-3.1.0/dev-resources/bootstrapping/cli/path with spaces/bootstrap.cfg 0000664 0000000 0000000 00000000241 13640475550 0030447 0 ustar 00root root 0000000 0000000 puppetlabs.trapperkeeper.examples.bootstrapping.test-services/cli-test-service
puppetlabs.trapperkeeper.examples.bootstrapping.test-services/hello-world-service
trapperkeeper-3.1.0/dev-resources/bootstrapping/cli/split_bootstraps/ 0000775 0000000 0000000 00000000000 13640475550 0026240 5 ustar 00root root 0000000 0000000 trapperkeeper-3.1.0/dev-resources/bootstrapping/cli/split_bootstraps/both/ 0000775 0000000 0000000 00000000000 13640475550 0027174 5 ustar 00root root 0000000 0000000 trapperkeeper-3.1.0/dev-resources/bootstrapping/cli/split_bootstraps/both/bootstrap_one.cfg 0000664 0000000 0000000 00000000241 13640475550 0032530 0 ustar 00root root 0000000 0000000 puppetlabs.trapperkeeper.examples.bootstrapping.test-services/cli-test-service
puppetlabs.trapperkeeper.examples.bootstrapping.test-services/hello-world-service
trapperkeeper-3.1.0/dev-resources/bootstrapping/cli/split_bootstraps/both/bootstrap_two.cfg 0000664 0000000 0000000 00000000240 13640475550 0032557 0 ustar 00root root 0000000 0000000 puppetlabs.trapperkeeper.examples.bootstrapping.test-services/test-service-two
puppetlabs.trapperkeeper.examples.bootstrapping.test-services/test-service-three
trapperkeeper-3.1.0/dev-resources/bootstrapping/cli/split_bootstraps/empty/ 0000775 0000000 0000000 00000000000 13640475550 0027376 5 ustar 00root root 0000000 0000000 trapperkeeper-3.1.0/dev-resources/bootstrapping/cli/split_bootstraps/empty/empty1.cfg 0000664 0000000 0000000 00000000000 13640475550 0031264 0 ustar 00root root 0000000 0000000 trapperkeeper-3.1.0/dev-resources/bootstrapping/cli/split_bootstraps/empty/empty2.cfg 0000664 0000000 0000000 00000000034 13640475550 0031274 0 ustar 00root root 0000000 0000000 # any entries here?
# nope
trapperkeeper-3.1.0/dev-resources/bootstrapping/cli/split_bootstraps/one/ 0000775 0000000 0000000 00000000000 13640475550 0027021 5 ustar 00root root 0000000 0000000 trapperkeeper-3.1.0/dev-resources/bootstrapping/cli/split_bootstraps/one/bootstrap_one.cfg 0000664 0000000 0000000 00000000241 13640475550 0032355 0 ustar 00root root 0000000 0000000 puppetlabs.trapperkeeper.examples.bootstrapping.test-services/cli-test-service
puppetlabs.trapperkeeper.examples.bootstrapping.test-services/hello-world-service
trapperkeeper-3.1.0/dev-resources/bootstrapping/cli/split_bootstraps/spaces/ 0000775 0000000 0000000 00000000000 13640475550 0027516 5 ustar 00root root 0000000 0000000 bootstrap with spaces one.cfg 0000664 0000000 0000000 00000000241 13640475550 0035067 0 ustar 00root root 0000000 0000000 trapperkeeper-3.1.0/dev-resources/bootstrapping/cli/split_bootstraps/spaces puppetlabs.trapperkeeper.examples.bootstrapping.test-services/cli-test-service
puppetlabs.trapperkeeper.examples.bootstrapping.test-services/hello-world-service
bootstrap with spaces two.cfg 0000664 0000000 0000000 00000000240 13640475550 0035116 0 ustar 00root root 0000000 0000000 trapperkeeper-3.1.0/dev-resources/bootstrapping/cli/split_bootstraps/spaces puppetlabs.trapperkeeper.examples.bootstrapping.test-services/test-service-two
puppetlabs.trapperkeeper.examples.bootstrapping.test-services/test-service-three
trapperkeeper-3.1.0/dev-resources/bootstrapping/cli/split_bootstraps/two/ 0000775 0000000 0000000 00000000000 13640475550 0027051 5 ustar 00root root 0000000 0000000 trapperkeeper-3.1.0/dev-resources/bootstrapping/cli/split_bootstraps/two/bootstrap_two.cfg 0000664 0000000 0000000 00000000240 13640475550 0032434 0 ustar 00root root 0000000 0000000 puppetlabs.trapperkeeper.examples.bootstrapping.test-services/test-service-two
puppetlabs.trapperkeeper.examples.bootstrapping.test-services/test-service-three
trapperkeeper-3.1.0/dev-resources/bootstrapping/cwd/ 0000775 0000000 0000000 00000000000 13640475550 0022633 5 ustar 00root root 0000000 0000000 trapperkeeper-3.1.0/dev-resources/bootstrapping/cwd/bootstrap.cfg 0000664 0000000 0000000 00000000241 13640475550 0025326 0 ustar 00root root 0000000 0000000 puppetlabs.trapperkeeper.examples.bootstrapping.test-services/cwd-test-service
puppetlabs.trapperkeeper.examples.bootstrapping.test-services/hello-world-service
trapperkeeper-3.1.0/dev-resources/bootstrapping/jar/ 0000775 0000000 0000000 00000000000 13640475550 0022632 5 ustar 00root root 0000000 0000000 trapperkeeper-3.1.0/dev-resources/bootstrapping/jar/this-jar-contains-a-bootstrap-config-file.jar 0000664 0000000 0000000 00000000365 13640475550 0033302 0 ustar 00root root 0000000 0000000 PK ⁞C#4E S
bootstrap.cfgUT RRux 5K
0KZ}h16![70*Ku
+m O9TE¿J찫i[?PK ⁞C#4E S
bootstrap.cfgUT Rux PK S trapperkeeper-3.1.0/dev-resources/bootstrapping/plugin/ 0000775 0000000 0000000 00000000000 13640475550 0023354 5 ustar 00root root 0000000 0000000 trapperkeeper-3.1.0/dev-resources/bootstrapping/plugin/bootstrap.cfg 0000664 0000000 0000000 00000000067 13640475550 0026055 0 ustar 00root root 0000000 0000000 test-services.plugin-test-services/plugin-test-service
trapperkeeper-3.1.0/dev-resources/config/ 0000775 0000000 0000000 00000000000 13640475550 0020430 5 ustar 00root root 0000000 0000000 trapperkeeper-3.1.0/dev-resources/config/conflictdir1/ 0000775 0000000 0000000 00000000000 13640475550 0023011 5 ustar 00root root 0000000 0000000 trapperkeeper-3.1.0/dev-resources/config/conflictdir1/config.conf 0000664 0000000 0000000 00000000110 13640475550 0025115 0 ustar 00root root 0000000 0000000 foo {
// comment
somesetting : 12
# comment
baz = "hi"
} trapperkeeper-3.1.0/dev-resources/config/conflictdir1/config.ini 0000664 0000000 0000000 00000000041 13640475550 0024752 0 ustar 00root root 0000000 0000000 [foo]
bar = "barbar"
baz = bazbaz trapperkeeper-3.1.0/dev-resources/config/conflictdir2/ 0000775 0000000 0000000 00000000000 13640475550 0023012 5 ustar 00root root 0000000 0000000 trapperkeeper-3.1.0/dev-resources/config/conflictdir2/config.json 0000664 0000000 0000000 00000000076 13640475550 0025155 0 ustar 00root root 0000000 0000000 {"foo":
{"something": "something",
"baz": "jsonbaz"}} trapperkeeper-3.1.0/dev-resources/config/conflictdir2/config.properties 0000664 0000000 0000000 00000000037 13640475550 0026375 0 ustar 00root root 0000000 0000000 foo.bar="barbar"
foo.baz=bazbaz trapperkeeper-3.1.0/dev-resources/config/conflictdir3/ 0000775 0000000 0000000 00000000000 13640475550 0023013 5 ustar 00root root 0000000 0000000 trapperkeeper-3.1.0/dev-resources/config/conflictdir3/config.edn 0000664 0000000 0000000 00000000051 13640475550 0024744 0 ustar 00root root 0000000 0000000 {:foo
{:bar "barbar"
:baz "bazbaz"}} trapperkeeper-3.1.0/dev-resources/config/conflictdir3/config.json 0000664 0000000 0000000 00000000076 13640475550 0025156 0 ustar 00root root 0000000 0000000 {"foo":
{"something": "something",
"baz": "jsonbaz"}} trapperkeeper-3.1.0/dev-resources/config/file/ 0000775 0000000 0000000 00000000000 13640475550 0021347 5 ustar 00root root 0000000 0000000 trapperkeeper-3.1.0/dev-resources/config/file/config.conf 0000664 0000000 0000000 00000000314 13640475550 0023461 0 ustar 00root root 0000000 0000000 foo {
baz = "bazbaz"
// this is a test comment
bam: 42
# this is another test comment
bap.boozle = "boozleboozle"
}
foo.bar = barbar
foo.bap : {
bip : [1, 2, { hi = "there" }, 3]
} trapperkeeper-3.1.0/dev-resources/config/file/config.edn 0000664 0000000 0000000 00000000201 13640475550 0023275 0 ustar 00root root 0000000 0000000 {:foo
{:bar "barbar"
:baz "bazbaz"
:bam 42
:bap
{:boozle "boozleboozle"
:bip [1 2 {:hi "there"} 3]}}} trapperkeeper-3.1.0/dev-resources/config/file/config.ini 0000664 0000000 0000000 00000000125 13640475550 0023313 0 ustar 00root root 0000000 0000000 [foo]
# these are some settings
setting1 = foo1
setting2=foo2
[bar]
setting1 = bar1 trapperkeeper-3.1.0/dev-resources/config/file/config.json 0000664 0000000 0000000 00000000251 13640475550 0023505 0 ustar 00root root 0000000 0000000 {"foo":
{"bar": "barbar",
"baz": "bazbaz",
"bam": 42,
"bap":
{"boozle": "boozleboozle",
"bip": [1, 2, {"hi": "there"}, 3]
}}} trapperkeeper-3.1.0/dev-resources/config/file/config.properties 0000664 0000000 0000000 00000000110 13640475550 0024722 0 ustar 00root root 0000000 0000000 foo.bar="barbar"
foo.baz=bazbaz
foo.bam=42
foo.bap.boozle="boozleboozle" trapperkeeper-3.1.0/dev-resources/config/file/config.yaml 0000664 0000000 0000000 00000000204 13640475550 0023474 0 ustar 00root root 0000000 0000000 foo:
bap:
boozle: boozleboozle
bip:
- 1
- 2
- hi: there
- 3
bar: barbar
baz: bazbaz
bam: 42
trapperkeeper-3.1.0/dev-resources/config/inidir/ 0000775 0000000 0000000 00000000000 13640475550 0021706 5 ustar 00root root 0000000 0000000 trapperkeeper-3.1.0/dev-resources/config/inidir/bam.ini 0000664 0000000 0000000 00000000025 13640475550 0023143 0 ustar 00root root 0000000 0000000 [bam]
setting1 = bam1 trapperkeeper-3.1.0/dev-resources/config/inidir/baz.ini 0000664 0000000 0000000 00000000077 13640475550 0023167 0 ustar 00root root 0000000 0000000 [baz]
# these are some settings
setting1 = baz1
setting2=baz2
trapperkeeper-3.1.0/dev-resources/config/mixeddir/ 0000775 0000000 0000000 00000000000 13640475550 0022235 5 ustar 00root root 0000000 0000000 trapperkeeper-3.1.0/dev-resources/config/mixeddir/bar.conf 0000664 0000000 0000000 00000000225 13640475550 0023647 0 ustar 00root root 0000000 0000000 bar {
nesty.mappy {
hi = there
# comment
stuff = [1, 2, {"how" = "areyou"}, 3]
}
// comment
junk : "thingz"
} trapperkeeper-3.1.0/dev-resources/config/mixeddir/baz.ini 0000664 0000000 0000000 00000000077 13640475550 0023516 0 ustar 00root root 0000000 0000000 [baz]
# these are some settings
setting1 = baz1
setting2=baz2
trapperkeeper-3.1.0/dev-resources/config/mixeddir/foo.properties 0000664 0000000 0000000 00000000064 13640475550 0025136 0 ustar 00root root 0000000 0000000 foo.bar="barbar"
foo.baz=bazbaz
foo.meaningoflife=42 trapperkeeper-3.1.0/dev-resources/config/mixeddir/qux.yaml 0000664 0000000 0000000 00000000105 13640475550 0023732 0 ustar 00root root 0000000 0000000 qux:
first:
list:
- 1
- 2
second:
key: value
trapperkeeper-3.1.0/dev-resources/config/mixeddir/taco.json 0000664 0000000 0000000 00000000071 13640475550 0024054 0 ustar 00root root 0000000 0000000 {"taco":
{"burrito": [1, 2],
"nacho": "cheese"}} trapperkeeper-3.1.0/dev-resources/logback.xml 0000664 0000000 0000000 00000000530 13640475550 0021305 0 ustar 00root root 0000000 0000000
%d %-5p [%c{2}] %m%n
trapperkeeper-3.1.0/dev-resources/logging/ 0000775 0000000 0000000 00000000000 13640475550 0020611 5 ustar 00root root 0000000 0000000 trapperkeeper-3.1.0/dev-resources/logging/logback-debug.xml 0000664 0000000 0000000 00000000573 13640475550 0024026 0 ustar 00root root 0000000 0000000
%d %-5p [%c{2}] %m%n