Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/puppet-enterprise-pipeline-plugin
  Commit: 030fda8b9ffba97e62e48ba2f1209a215ff26f3d
      
https://github.com/jenkinsci/puppet-enterprise-pipeline-plugin/commit/030fda8b9ffba97e62e48ba2f1209a215ff26f3d
  Author: Carl Caum <c...@carlcaum.com>
  Date:   2016-12-15 (Thu, 15 Dec 2016)

  Changed paths:
    M pom.xml
    M 
src/main/java/org/jenkinsci/plugins/puppetenterprise/api/HieraDataStore.java
    M 
src/main/java/org/jenkinsci/plugins/puppetenterprise/models/HieraConfig.java
    M src/main/java/org/jenkinsci/plugins/workflow/steps/CodeDeployStep.java
    M 
src/main/java/org/jenkinsci/plugins/workflow/steps/PuppetEnterpriseStep.java
    M src/main/java/org/jenkinsci/plugins/workflow/steps/PuppetJobStep.java
    M src/main/java/org/jenkinsci/plugins/workflow/steps/QueryStep.java
    M src/test/java/org/jenkinsci/plugins/workflow/steps/HieraStepTest.java
    M src/test/java/org/jenkinsci/plugins/workflow/steps/QueryStepTest.java

  Log Message:
  -----------
  Use Google's Gson instead of quick-json

Previous to this commit, quick-json was used to parse JSON from Puppet
Enterprise API calls. However, it turns out that library breaks on empty
arrays. It always assumes there should be a value. This commit replaces
the quick-json library with Google's Gson library.

One gotcha was Gson uses LinkedTreeMap for JSON hashes instead of
HashMap, so each instance of HashMap needed to be replaced.


  Commit: 04661927306275b71e0df8be8de96e9d19061f0a
      
https://github.com/jenkinsci/puppet-enterprise-pipeline-plugin/commit/04661927306275b71e0df8be8de96e9d19061f0a
  Author: Carl Caum <c...@carlcaum.com>
  Date:   2016-12-15 (Thu, 15 Dec 2016)

  Changed paths:
    M pom.xml
    M 
src/main/java/org/jenkinsci/plugins/puppetenterprise/api/HieraDataStore.java
    M 
src/main/java/org/jenkinsci/plugins/puppetenterprise/models/HieraConfig.java
    M src/main/java/org/jenkinsci/plugins/workflow/steps/CodeDeployStep.java
    M 
src/main/java/org/jenkinsci/plugins/workflow/steps/PuppetEnterpriseStep.java
    M src/main/java/org/jenkinsci/plugins/workflow/steps/PuppetJobStep.java
    M src/main/java/org/jenkinsci/plugins/workflow/steps/QueryStep.java
    M src/test/java/org/jenkinsci/plugins/workflow/steps/HieraStepTest.java
    M src/test/java/org/jenkinsci/plugins/workflow/steps/QueryStepTest.java

  Log Message:
  -----------
  Merge pull request #1 from ccaum/fix_empty_puppetdb_result_bug

Use Google's Gson instead of quick-json


Compare: 
https://github.com/jenkinsci/puppet-enterprise-pipeline-plugin/compare/d49f2a619b0b...046619273062

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-commits+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to