1. 01 Jul, 2014 1 commit
  2. 26 Jun, 2014 8 commits
    • Thomas Markwalder's avatar
    • Thomas Markwalder's avatar
      [3436] Added configuration permutations test from file to D2 · d1a0a7fa
      Thomas Markwalder authored
      Added the unit test D2CfgMgrTest.configPermutations to
      d2_cfg_mgr_unittests.cc.  This test iterates through the
      list of test configurations defined in a specialzed JSON
      data file.  It provides a relatively painless way to test
      a large number configurations without hard-coding them.
      Added the test data file:
      It currently contains over sixty tests. The vast majority
      of these tests are invalid content tests.
    • Thomas Markwalder's avatar
      [3436] D2 DdnsDomain configuration errors now include position info. · c2b4e255
      Thomas Markwalder authored
      Modified DdnsDomainParser::build to validate parameters and use position
      info in error messages.
    • Thomas Markwalder's avatar
      [3436] D2 DnsServerInfo configuration errors now include position info. · 80997c12
      Thomas Markwalder authored
      Modified TSIGKeyInfoParser::build to validate parameters and use position
      in error messages.
      Parameter "hostname" now throws an "not supported yet" error.  This
      can be undone if/when its implmemented.
      Port must now be non-zero.
    • Thomas Markwalder's avatar
      [3436] D2 TSIGKeyInfo configuration errors now include position info. · 2d89d22a
      Thomas Markwalder authored
      Modified DCfgContextBase::getParam() variants to return the parameter's
      Element::Position.  This makes it available during parsing.
      Modified TSIGKeyInfoParser::build to validate parameters and use position
      in error messages.
    • Thomas Markwalder's avatar
      [3436] D2CfgMgr now validates top level params · 1e69c034
      Thomas Markwalder authored
      D2CfgMgr::buildParams now validates all of the
      top level params prior to calling the D2Params
      constructor.  This allows element position info
      to be included in error logging.
    • Thomas Markwalder's avatar
      [3436] Added position info to top level parser creation in D2 · e10603ef
      Thomas Markwalder authored
      Added element position argument to DCfgMgrBase::createConfigParser(),
      so derivations have access to print position info unsupported top level
      element errors.
      Removed two log messages DCT_ORDER_ERROR and DCT_ORDER_NO_ELEMENT. These
      conditions are well explained in exceptions thrown and these logs just
      cluttered the log output.
      Removed extra text from DCTL_CONFIG_LOAD_FAIL and DCTL_PARSER_FAIL log
      messages. The log ID is self-explanatory and the underlying exceptions
      provide ample explanation of the error.  Makes the log output much easier
      to understand.
      Revised items-not-in-parse-order detection in DCfgMgrBase::parseConfig().
      Rather than complicated counting logic, objects are removed from the list
      as they are parsed.  Any left over were not in the parsing-order.
      Removed try-catch-throw from DCfgMgrBase::buildAndCommit. This method
      already throws its own exception. Catching, logging, and re-throwing
      exceptions from underneath it really just server to clutter the log.
    • Thomas Markwalder's avatar
      [master] Update D2 shell script tests · f1a224df
      Thomas Markwalder authored
      As part of merging 3407, D2's shell script tests were
      revamped to match work done under 3422.
  3. 25 Jun, 2014 9 commits
  4. 20 Jun, 2014 1 commit
  5. 18 Jun, 2014 2 commits
  6. 17 Jun, 2014 4 commits
  7. 16 Jun, 2014 1 commit
    • Thomas Markwalder's avatar
      [3407] Added IOSignal class to send signals to IOService · 231f440a
      Thomas Markwalder authored
      Created d2::IOSignal and d2::IOSignalQueue for propagating
      caught OS signals to IOService instances.
      Added TimedSignal test class.
      New files:
  8. 13 Jun, 2014 4 commits
  9. 12 Jun, 2014 3 commits
  10. 11 Jun, 2014 3 commits
  11. 10 Jun, 2014 4 commits