1. 15 Nov, 2017 1 commit
  2. 14 Nov, 2017 1 commit
  3. 12 Nov, 2017 2 commits
  4. 10 Nov, 2017 1 commit
  5. 09 Nov, 2017 4 commits
  6. 08 Nov, 2017 4 commits
  7. 07 Nov, 2017 5 commits
  8. 06 Nov, 2017 4 commits
    • Srinivasan Muralidharan's avatar
    • Jason Yellick's avatar
      [FAB-6841] configtx to errs pkg, improve test · f26264aa
      Jason Yellick authored
      The configtx package was written before the pkg/errors package gained
      acceptance in the fabric codebase.  Consequently, it contains many
      fmt.Errorf references.
      This CR updates the errors with the newer framework, including fixing
      capitalization, adds some additional unit tests, and generally cleans up
      configtx cruft.
      It improves test coverage from 76.2% to 87.3%.
      Change-Id: I834769ac44ba6d238f95a4a3e5f5d175c2c1f153
      Signed-off-by: default avatarJason Yellick <jyellick@us.ibm.com>
    • Jason Yellick's avatar
      [FAB-6840] Consolidate configtxapi to configtx · 57611461
      Jason Yellick authored
      Once upon a time, the configtx package did far too much.  It exposed the
      channel configuration for each component, it handled transactional state
      for the policy manager, and the other transaction components, and
      generally became something that too many packages linked to.  Because of
      all the different packages which linked to it, the interface definitions
      were factored out into their own package configtxapi.
      Since then, the vast majority of this function has been factored out
      into other more appropriate places, and there are no longer dependency
      This CR moves the interface definitions back into the package, and
      changes the rather generic 'configtx.Manager' name to
      'configtx.Validator' (as its only purpose now is to validate configtx
      updates before generating a new configuration).  This renaming ripples
      throughout a fair bit of the code, but should be reasonably easy to
      Change-Id: Icd8494fc727a2474fc28f15945da7d0548f49f23
      Signed-off-by: default avatarJason Yellick <jyellick@us.ibm.com>
    • Jason Yellick's avatar
      [FAB-6839] configtx to directly utilize cb.Config · 5d410fe1
      Jason Yellick authored
      The configtx package has changed considerably over time, and no longer
      needs to be initialized with an envelope message.  The only places which
      actually instantiate the configtx manager are creating an artificial
      Envelope message and mashaling the config inside it, purely to satisfy
      the constructor.  This CR modifies the constructor to take the
      ultimately necessary type.
      Change-Id: I3e4909e45118694b309f733a5179efb7d9a235fd
      Signed-off-by: default avatarJason Yellick <jyellick@us.ibm.com>
  9. 05 Nov, 2017 2 commits
  10. 04 Nov, 2017 5 commits
  11. 03 Nov, 2017 9 commits
  12. 02 Nov, 2017 2 commits