Michal 'vorner' Vaner
8545674c14
[2377] Tests for actually loading something
2012-12-03 10:06:32 +01:00
Michal 'vorner' Vaner
3814969790
[2377] Add missing callback to MasterLoader
...
The tentative interface of the MasterLoader was missing a callback to
add RRsets.
Also, include some small changes to the interface - pass RRClass as
reference and have DEFAULT options value for no special options.
2012-12-03 10:06:32 +01:00
Jelte Jansen
e4ecc70f8d
[2377] Initial MasterLoader class and test class
2012-12-03 10:06:32 +01:00
Michal 'vorner' Vaner
3a81d2d941
Merge remote-tracking branch 'origin/trac2382' into base/loader
2012-12-03 09:44:26 +01:00
Michal 'vorner' Vaner
425e18f704
Merge remote-tracking branch 'origin/trac2506' into base/loader
2012-12-03 09:42:55 +01:00
Mukund Sivaraman
3e5f225205
[2497] Remove a couple of txt tests
2012-12-03 11:13:59 +05:30
JINMEI Tatuya
947a2d7aec
[2497] Move repeated code to a function
2012-12-03 11:09:00 +05:30
Mukund Sivaraman
292db149be
[2497] Make new_rdata_factory_users[] a list of tuples
...
Also:
* document new_rdata_factory_users[] with an example
* Rename new_rdatafactory_users[] to new_rdata_factory_users[]
2012-12-03 10:54:09 +05:30
Mukund Sivaraman
5bb4db417e
Merge branch 'master' into trac2450
2012-12-03 08:41:30 +05:30
Jelte Jansen
7cf0d50479
[2445] Fix includes for log4cplus-1.1.0
2012-12-02 23:37:09 +01:00
Jelte Jansen
ad7b96467c
[2445] Rename new files, and assorted cleanups
...
including docstring updates
2012-12-02 22:25:59 +01:00
Jelte Jansen
a5330334a5
[2445] Create unit tests and fix a few issues
...
Also updated log's README
2012-12-02 22:25:12 +01:00
Jelte Jansen
9c4e97e7f8
[2445] Make buffering optional, and enable in b10 components
2012-12-02 22:24:53 +01:00
JINMEI Tatuya
5d239b6aed
[2382] more update on comment
2012-12-01 08:32:06 -08:00
JINMEI Tatuya
9440d65d7e
[2382] comment wording fix
2012-12-01 08:28:37 -08:00
JINMEI Tatuya
dfd0dd105b
[2382] documentation updates
2012-11-30 20:17:23 -08:00
JINMEI Tatuya
e441d6b05a
[2382] warn if RDATA immediately followed by EOF
2012-11-30 19:41:14 -08:00
JINMEI Tatuya
0ad163bb37
[2382] handle other generic isc::Exception
2012-11-30 19:41:13 -08:00
JINMEI Tatuya
f7f3060b97
[2382] supported extra token case and callback calls on error.
2012-11-30 19:41:13 -08:00
JINMEI Tatuya
b9f1eefe7e
[2382] Consume to end of line / file in createRdata().
2012-11-30 19:41:13 -08:00
JINMEI Tatuya
03dc2386b1
[2382] ungetToken EOL/EOF in the backend factories.
2012-11-30 19:41:12 -08:00
JINMEI Tatuya
3ae13a89a2
[2382] added from-lexer ctor for AAAA RDATA.
...
not directly related to this task, but I found we need one real (non wrapper)
example to test some of the feature of generic createRdata().
also updated RDATA template including with-lexer constructor.
2012-11-30 19:40:59 -08:00
JINMEI Tatuya
f73f27474f
[2382] unrelated fix to lexer: support empty qstring and nul termination.
...
an empty qstring previously caused an exception, which is a clear bug
and should be fixed. nul-terminating string regions is an extension,
but I found it useful when implementing RDATA parsers.
2012-11-30 18:50:13 -08:00
JINMEI Tatuya
ca8fc9f414
[2382] resolved remaining merge conflict on MasterLexer::Token.
2012-11-30 18:50:12 -08:00
JINMEI Tatuya
b48ecd894a
[2497] constify
2012-11-30 18:50:12 -08:00
Mukund Sivaraman
638a2d7fbb
[2497] Return NULL upon exception in rdata::createRdata()
2012-11-30 18:50:12 -08:00
Mukund Sivaraman
cb52403a8a
[2497] Add tests for NSEC3PARAM-like rrtypes
2012-11-30 18:50:11 -08:00
Mukund Sivaraman
a9a6007e02
[2497] Add tests for NSEC3PARAM, DS-like and TXT-like rrtypes
2012-11-30 18:50:11 -08:00
Mukund Sivaraman
3e964a48bd
[2497] Add tests for NSEC3, NSEC and TSIG rrtypes
2012-11-30 18:50:11 -08:00
JINMEI Tatuya
8ab540a511
[2497] constify
2012-11-30 13:41:01 -08:00
Marcin Siodelski
1dc0f0871d
[2491] Add a function to set binary data for a data field.
2012-11-30 18:06:26 +01:00
Marcin Siodelski
1bbe13152c
[2491] Added first set of functions to set data field values.
2012-11-30 17:32:12 +01:00
Marcin Siodelski
8a21830a25
[2491] Added function to get a single option definition using a code.
2012-11-30 17:31:18 +01:00
Stephen Morris
ef364ccb84
[2404] First set of changes as a result of review
...
* Corrections of miscellaneous typos in comments
* Update database version to 1.0
* Handling of truncation while fetching data from the database
2012-11-30 15:49:42 +00:00
Mukund Sivaraman
45b4e930c9
[2497] Return NULL upon exception in rdata::createRdata()
2012-11-30 20:01:49 +05:30
Mukund Sivaraman
9e98b4768d
[2497] Add tests for NSEC3PARAM-like rrtypes
2012-11-30 18:14:21 +05:30
Mukund Sivaraman
43292d60d9
[2497] Add tests for NSEC3PARAM, DS-like and TXT-like rrtypes
2012-11-30 18:06:40 +05:30
Marcin Siodelski
ac111116c5
[2491] Test that appropriate std options are returned.
2012-11-30 13:28:28 +01:00
Mukund Sivaraman
e3afa9c528
[2497] Add tests for NSEC3, NSEC and TSIG rrtypes
2012-11-30 17:42:39 +05:30
Jelte Jansen
bbefd6bc41
[2445] initial working version
...
needs cleanup and tests
2012-11-30 11:32:13 +01:00
JINMEI Tatuya
8e32eb96aa
[2382] Merge branch 'trac2506' into trac2382
2012-11-29 20:44:10 -08:00
JINMEI Tatuya
6226330df8
[2382] Merge branch 'trac2497' into trac2382
2012-11-29 20:43:49 -08:00
Mukund Sivaraman
c73280d2eb
[2497] Also check and stop at END_OF_LINE
2012-11-30 09:50:23 +05:30
Mukund Sivaraman
1c4683ddcc
[2497] Add tests for AFSDB, DHCID and DNSKEY rrtypes
2012-11-30 09:40:17 +05:30
Mukund Sivaraman
25f65134a9
[2497] Add tests for HINFO, MINFO and NAPTR rrtypes
2012-11-30 09:31:39 +05:30
Mukund Sivaraman
5c8cd4010e
[2497] Add tests for OPT, PTR and RP rrtypes
2012-11-30 09:17:01 +05:30
Mukund Sivaraman
3563065b6c
[2497] Add tests for RRSIG, SOA and SRV rrtypes
2012-11-30 08:58:00 +05:30
Mukund Sivaraman
41754f406f
[2497] Refactor RRSIG rrtype test code
2012-11-30 08:55:03 +05:30
Jelte Jansen
9a5e89e0e6
[master] Revert one change from #2398
...
Removed the socket.shutdown() before socket.close() again, this seemed to cause some errors with the statistics tests (which we will look into separately)
Discussed on jabber
2012-11-29 15:49:19 -08:00
JINMEI Tatuya
5dacdd2da8
[master] changelog for #2420
2012-11-29 15:37:45 -08:00