BIND 10 #2298: Xfrout/zones and XML stats

BIND 10 Development do-not-reply at isc.org
Fri Oct 26 11:33:31 UTC 2012


#2298: Xfrout/zones  and XML stats
-------------------------------------+-------------------------------------
                   Reporter:  jreed  |                 Owner:  UnAssigned
                       Type:         |                Status:  reviewing
  defect                             |             Milestone:
                   Priority:         |  Sprint-20121106
  medium                             |            Resolution:
                  Component:         |             Sensitive:  0
  statistics                         |           Sub-Project:  Core
                   Keywords:         |  Estimated Difficulty:  5
            Defect Severity:  N/A    |           Total Hours:  0
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
Changes (by naokikambe):

 * owner:  naokikambe => UnAssigned


Comment:

 Replying to [comment:9 naokikambe]:
 > OK, I'll try to split the branch into multiple small ones.

 I've split the branch into the following 7 small branches. They all are
 now for ready for reviewing.

 I've added new code for making the unit test passed inside each small
 branch after splitting. As a result, total number of commits were
 increased to 39. But total differences are not changed before being split.

 Split small branches are trac2298_1, trac2298_2 .. and trac2298_7. There
 is a dependency between branches. So we need to start reviewing from the
 small one trac2298_1. The last one trac2298_7 has all changes for this
 ticket. That is, there is no differences between the not split one
 trac2298 and trac2298_7.

 The split branches are (the duplicate commits are omitted) :

 trac2298_1: adding a helper method
 {{{
 56da3a8 [2298] update copyrights
 62c09c1 [2298] add a method item_name_list()
 17fb05b [2298] add tests for item_name_list()
 }}}

 trac2298_2:  Handling statistics data returned from the stats daemon and
 converting to an xml format
 {{{
 a675312 [2298] modify the xml_handler() method
 d9ea05e [2298] modify test_do_GET() and check_XML_URL_PATH()
 6ae5e49 [2298] update test_xml_handler()
 1601f31 [2298] add some consts (xml root element and attributes)
 e5b2478 [2298] add constants of XML namespaces for using in tests
 }}}

 trac2298_3: Revising an xsd format
 {{{
 ac274af [2298] modify the xsd template file
 0434072 [2298] modify the xsd_handler() method
 65a6e71 [2298] modify test_do_GET() and check_XSD_URL_PATH()
 b9fd968 [2298] modify test_xsd_handler()
 a9c0e9a [2298] rename the parameter name for template
 f680979 [2298] update HTTP status codes due to the change of xml_handler()
 }}}

 trac2298_4: Revising an xsl format
 {{{
 68be400 [2298] modify the xsl template file
 5d7d2c8 [2298] modify test_xsl_handler()
 f504c0e [2298] modify test_do_GET() and check_XSL_URL_PATH()
 ff27bd0 [2298] modify test_xsl_handler()
 8fd3d74 [2298] update HTTP status codes due to the change of xsl_handler()
 4e1f5f6 [2298] rename the parameter name for template
 }}}

 trac2298_5:  Handling the uri requested via HTTP
 {{{
 f1cef3c [2298] modify consts related to XML, XSD, and XSL
 3dd20b5 [2298] modify handling the accepted URI
 36ccf2e [2298] append a slash at the end of the URI
 ca4dcdb [2298] add a copyright
 3968d20 [2298] add CONST_BASETIME and use it in MockBoss and MyStats
 classes
 3cf06ca [2298] modify DUMMY_DATA
 0e2e8ca [2298] modify the xml_handler() method
 ab359d1 [2298] modify the xsd_handler() method
 746fd5c [2298] modify the xsl_handler() method
 3c4b62a [2298] modify check_XML_URL_PATH() in test_do_GET()
 f74756d [2298] revert checks of http status codes when requesting XSD URI
 with some path
 7428368 [2298] revert checks of http status codes when requesting XSL URI
 with some path
 }}}

 trac2298_6: misc changes in b10-stats-httpd
 {{{
 0a2d254 [2298] return a 500 status code when catching any exception
 05314a2 [2298] append a Last-Modified header
 4c1b039 [2298] modify the open_template() method
 86dbecd [2298] assert IOError raising instead of StatsHttpdDataError
 }}}

 trac2298_7: misc changes in unittest
 {{{
 1185fc6 [2298] use assertGreater() rather than assertTrue()
 d3e6af5 [2298] add a unittest using XML validation with XSD
 8309d89 [2298] skip test_do_GET() if XMLParser() is unavailable
 }}}

-- 
Ticket URL: <http://bind10.isc.org/ticket/2298#comment:10>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list