Merge pull request #856 from senior/ticket/master/pdb-271-remove-jdk-16-from-docs

(PDB-271) Update docs to reflect removal of JDK 1.6 support
PDB-234 Add v4, deprecate v2 query API

This patch adds the new code relevant for doing any future v4 work. It has been
raised as an experimental end-point only so there are no commitments to its
interface yet. Once stable we will need another patch to declare it as so.

This patch also deprecates the v2 end-point in documentation and by adding the
same headers we used to use for the v1 end-point.

Signed-off-by: Ken Barber <ken@bob.sh>
Remove redmine links

There were still links to the redmine tracker in our documentation. This patch
removes them and replaces them with the Jira URL instead.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #857 from senior/maint/1.6.x/keys-vals-order-not-guaranteed

The order of (keys m) and (vals m) is not guaranteed to be the same
PDB-308 Drop 2.7.x support

This patch removes support for Puppet 2.7.x in several ways:

* New check for every entry point in terminus will return an error if the
  version of Puppet is not supported. This is done in a 'soft' manner to
  avoid Puppet from not working.
* Documentation now only references Puppet 3
* Documentation now states only latest version of Puppet is supported
* Packaging now has hard dependencies on the latest version of Puppet
* Contrib gemspec has been updated
* Gemfile for tests have been updated

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #858 from kbarber/maint/1.5.x/remove-redmine-references

Remove redmine links
Merge pull request #859 from kbarber/ticket/master/PDB-308-drop-27x-support-for-terminus

PDB-308 Drop 2.7.x support
PDB-463 Fix assertion error in /v1/resources

resource-query-limit wasn't removed from this end-point, this removes it
properly.

Signed-off-by: Ken Barber <ken@bob.sh>
PDB-308 Fix missing files from packaging

global_checks.rb was added to the source code, but not the packaging. This
patch fixes that.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #861 from kbarber/ticket/master/PDB-308-fix-packaging-for-global_checks

PDB-308 Fix missing files from packaging
(pdb-80)(packaging) Fixup logic in defaults file for java on EL

On EL {5,6} X86_64 platforms, the direct path to the java-1.7.0-openjdk binaries has
an arch-specific component. This PR adds logic to the /etc/defaults/puppetdb file to
support accessing that path.
Merge pull request #862 from shrug/bug/1.6.x/openjdk

(pdb-80)(packaging) Fixup logic in defaults file for java on EL
(pdb-343)(packaging) Remove Fedora 18 from default package builds

Fedora 18 reached end-of-life on 1/14/14.
This removes Fedora 18 from the list of default package builds.
Merge pull request #863 from shrug/maint/pdb-343/1.5.x

(pdb-343)(packaging) Remove Fedora 18 from default package builds
PDB-463 Add back missing query-resources

I had removed limited-query-resources but not replaced it with something
that actually peforms the SQL query. This patch replaces limited-query-resources
with query-resources which really just wraps the limited-* version with
a zero limit.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge branch '1.6.x'

* 1.6.x:
  (pdb-80)(packaging) Fixup logic in defaults file for java on EL
  The order of (keys m) and (vals m) is not guaranteed to be the same
Merge pull request #860 from kbarber/ticket/1.6.x/PDB-463-assertion-failure-v1

PDB-463 Fix assertion error in /v1/resources
Merge pull request #848 from kbarber/ticket/master/PDB-234-create-v4-api

PDB-234 Add v4, deprecate v2 query API
Merge branch '1.5.x' into 1.6.x

* 1.5.x:
  (pdb-343)(packaging) Remove Fedora 18 from default package builds
  Remove redmine links

Conflicts:
	ext/build_defaults.yaml
Merge branch '1.6.x'

* 1.6.x:
  PDB-463 Add back missing query-resources
  (pdb-343)(packaging) Remove Fedora 18 from default package builds
  PDB-463 Fix assertion error in /v1/resources
  Remove redmine links

Conflicts:
	src/com/puppetlabs/puppetdb/http/v1/resources.clj