BIND 10 trac2298, created. bac00930bab6b7b78e621382aa8a0c869f00c4a2 [2298] add changelog entry for #2298

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Oct 16 13:22:58 UTC 2012


The branch, trac2298 has been created
        at  bac00930bab6b7b78e621382aa8a0c869f00c4a2 (commit)

- Log -----------------------------------------------------------------
commit bac00930bab6b7b78e621382aa8a0c869f00c4a2
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Tue Oct 16 16:17:25 2012 +0900

    [2298] add changelog entry for #2298

commit ffd348cbe28428db42e663c0a43cbe5ba356abb5
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Tue Oct 16 18:43:52 2012 +0900

    [2298] skip test_do_GET() if XMLParser() is unavailable
    
    skip test_do_GET() if XMLParser() is unavailable on the system. This is for
    #2048 (configure check for pyexpat).

commit 6805110218305a94849f9c31ca64f51298ba369b
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Tue Oct 16 18:47:20 2012 +0900

    [2298] add a unittest using XML validation with XSD
    
    XML validation with XSD by using the lxml module. the lxml module is a
    third-party module. so if it is not installed on the system, the unittest using
    the validation would be skipped.

commit b318eeb0e7ad6b7afd21cf8860f294474ceb38ec
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Mon Oct 15 21:30:48 2012 +0900

    [2298] modify test_xsl_handler()
    
    Remove the obsoleted content and add checks for items in the xsl
    document which can be also in the xml document.

commit 7ce6eca8b21f43ef53ce8a52340cb578c294d201
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Tue Oct 16 15:37:28 2012 +0900

    [2298] modify test_xsd_handler()
    
    Remove the obsoleted content and add checks for elements in the xsd document.

commit 74fcd65d1ff620ff958c411bad697ce13e6d9e1e
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Mon Oct 15 21:22:32 2012 +0900

    [2298] update test_xml_handler()
    
    Remove the obsoleted content and add checks for items in the xml document.

commit 31438436daa45f7acac83707ed23348a6cf146e5
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Mon Oct 15 21:22:02 2012 +0900

    [2298] use assertGreater() rather than assertTrue()

commit 8c344e514ed5262cc50467ad88355a9bbd93a400
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Mon Oct 15 21:20:39 2012 +0900

    [2298] update HTTP status codes
    
    This change is due to the change of the status codes returned by
    b10-stats-httpd.

commit c782571ec9bf5d66a6e212060d5fca1c99068f41
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Mon Oct 15 21:18:50 2012 +0900

    [2298] append a slash at the end of the URI

commit 722e021fd822b4d01493b611b071c4f841b15935
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Mon Oct 15 22:01:36 2012 +0900

    [2298] modify test_do_GET() and check_XSL_URL_PATH()
    
    This change is due to the change of the xsl format displayed by
    b10-stats-httpd.

commit d707753dc73e1a9fc784b5e28419fb84742d355d
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Mon Oct 15 21:59:53 2012 +0900

    [2298] modify test_do_GET() and check_XSD_URL_PATH()
    
    This change is due to the change of the xsd format displayed by
    b10-stats-httpd.

commit e33c7316e5e60b1b3151b33b7eabc7e1f6b45ef4
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Tue Oct 16 10:49:53 2012 +0900

    [2298] modify test_do_GET() and check_XML_URL_PATH()
    
    This change is due to the change of the xml format displayed by
    b10-stats-httpd.

commit aa483cd5bef61b40a74bfe4b65ac8bedde30f02c
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Mon Oct 15 21:16:06 2012 +0900

    [2298] add tests for item_name_list()

commit 65cd70c8983777b3c183d43064b2d5217e2e3a6c
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Tue Oct 16 10:24:57 2012 +0900

    [2298] add constants of XML namespaces for using in tests

commit 86bbf73d3999e1fdc6f19bbd220c8a7a781f42e4
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Tue Oct 16 10:41:49 2012 +0900

    [2298] modify DUMMY_DATA
    
    For consistency with consts in test_utils.py. Modifying for consisting
    of time values based on CONST_BASETIME in test_utils.py. Modifying to
    counters returned from MockAuth in test_utils.py.

commit 2234fad395f1fb78fda6a3733ce0aed4ad309144
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Tue Oct 16 11:15:01 2012 +0900

    [2298] add CONST_BASETIME and use it in MockBoss and MyStats classes
    
    Add fixed BASETIME not depending on the time module. And modify
    MockBoss and MockStats classes in order that they return time values
    of that. This is for testing b10-stats and b10-stats-httpd.

commit 99e40acc0ae66cbb82c03a7265a88fea5d349c7a
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Mon Oct 15 21:14:46 2012 +0900

    [2298] modify the open_template() method
    
    open_template() throws StatsHttpdDataError instead of IOError when the
    specified file is not found. The parent class catches it and returns a
    404 status code.

commit 4e92833ca73b9b19d32442fd3befb51ce13756f6
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Tue Oct 16 13:16:54 2012 +0900

    [2298] modify test_xsl_handler()
    
    Remove the obsoleted content and add checks for items in the xsl document which
    can be also in the xml document.

commit bbe84c8af27d38d36c4e05f99589e988096d4471
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Tue Oct 16 13:15:49 2012 +0900

    [2298] modify the xsd_handler() method
    
    xsd_handler() doesn't accept any arguments such as a module name and a item
    name. It replaces variable strings in the template and displays it.

commit 76140c55d28e9ffecfc67827a4eec0c172813671
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Tue Oct 16 13:12:16 2012 +0900

    [2298] modify the xml_handler() method
    
    The requested URI is divided at the delimiter '/' and the module name and the
    top-level item name are extracted if there are. It requests statistics data and
    statistics schema of them the the stats daemon. It builds an xml document by
    the values returned from the stats daemon.

commit 69de152bd05f41dc0cf2c51a1598ad49bb688931
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Mon Oct 15 21:08:51 2012 +0900

    [2298] append a Last-Modified header
    
    This is because the server tells browsers that the contents are always
    being modified.

commit 309d6933e2c756861ae1c180a9582928f78c5bed
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Mon Oct 15 21:08:09 2012 +0900

    [2298] return a 500 status code when catching any exception

commit 64c2f156adfadb5ef56bbd5b907c87068fb4556c
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Mon Oct 15 21:07:10 2012 +0900

    [2298] modify handling the accepted URI
    
    - Do not return a dynamic page when being requested XSD or XSL. So
      pass nothing to xsd_handler() or xsl_handler(). Pass path in URI to
      xml_handler().
    
    - XML_URL_PATH is handled as a directory.  When XML_URL_PATH which
      doesn't ends with '/' is requested, the request is redirected to
      XML_URL_PATH + '/'.

commit 6dca85aa4a7892d89e3375b7ff8b205248c3a3f1
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Tue Oct 16 13:07:27 2012 +0900

    [2298] add a method item_name_list()

commit a312d3cca07570976f674ac3cf290bdd4d0fd03e
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Mon Oct 15 22:07:30 2012 +0900

    [2298] modify consts related to XML, XSD, and XSL
    
    change URIs of XSD and XSL to fixed ones

commit 753ad7b5833e2deadb02de991be382317d43963d
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Mon Oct 15 21:04:49 2012 +0900

    [2298] modify the xsl template file
    
    The XSL contents are fixed.

commit ebf84ed39844d7e34ab20091c33454a180eae212
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Mon Oct 15 21:04:44 2012 +0900

    [2298] modify the xsd template file
    
    The XSD contents are fixed.

commit bdbfc777cb1a293d8ee7f62e36423388d171fe84
Author: Naoki Kambe <kambe at jprs.co.jp>
Date:   Tue Oct 16 11:15:38 2012 +0900

    [2298] add copyright and update copyrights

-----------------------------------------------------------------------



More information about the bind10-changes mailing list