- 21 May, 2012 2 commits
-
-
Jelte Jansen authored
not really useful at this point anymore
-
Jelte Jansen authored
It isn't actually used by the test, but by not setting any db, the default db would've been created (and not cleaned up, making distcheck fail for leaving files around)
-
- 18 May, 2012 2 commits
-
-
Jelte Jansen authored
-
Jelte Jansen authored
note that this is mostly a way to at least get it working, we need to figure out a more permanent solution related to static linking (or stop supporting it in the first place)
-
- 17 May, 2012 1 commit
-
-
JINMEI Tatuya authored
-
- 16 May, 2012 7 commits
-
-
Jelte Jansen authored
The removal of memory_datasrc.cc in b10_auth_SOURCES was premature; zone loading code is still in auth (but memory_datasrc-specific)
-
Jelte Jansen authored
Which is now no longer necessary
-
Jelte Jansen authored
instead of fighting the API to get empty zones in, actually change the zone in the database and reload
-
Jelte Jansen authored
- RAII InMemoryClient's createInstance - remove dead code - added more comments
-
Jelte Jansen authored
-
Jelte Jansen authored
and store it as a scoped ptr
-
Jelte Jansen authored
it is no longer necessary to derive it from InMemoryClient, but it can be directly derived from DataSourceClient
-
- 15 May, 2012 1 commit
-
-
JINMEI Tatuya authored
-
- 11 May, 2012 1 commit
-
-
Jelte Jansen authored
See http://bind10.isc.org/ticket/1207#comment:11
-
- 08 May, 2012 4 commits
-
-
Jelte Jansen authored
-
Jelte Jansen authored
The temporary name with the added P is no longer necessary now the original method has been removed.
-
Jelte Jansen authored
Made the getZoneCount() method from inmemory client a general datasource client call (which throws NotImplemented by default), as this does seem useful in other cases as well. Now the work starts to pay off; removed the temporary pointer variable (getInMemoryClientP() still returns a pointer but now directly retrieved from the container), and any direct reference to isc::datasrc::InMemoryClient is removed from au th_srv (but not from tests as of yet)
-
Jelte Jansen authored
-
- 07 May, 2012 1 commit
-
-
Jelte Jansen authored
Instead of the direct shared_ptr. Changes needed: Moved loading of zones in config into the memory_datasrc implementation; at this moment the general API has no method for this (and it may not be necessary; datasources should handle their own config anyway). This does have one drawback; through the dynamic loading mechanism we currently lose exception type information. So for now specific exceptions such as MasterLoadError end up as 'general' DataSourceErrors. Tests have been updated to reflect this. Also, I made config handler slightly more lenient; it has hardcoded defaults and will now accept config parts without "class" or "zones"; using .spec -derived values is impractical here with the current config API, but in this case it shouldn't *really* matter; as IN is hardcoded in several places anyway atm.
-
- 19 Apr, 2012 4 commits
-
-
JINMEI Tatuya authored
not directly related to this branch, but the review comment on this point for the previous change should actually apply to this.
-
Michal 'vorner' Vaner authored
The run_unittests should be linked only if it is compiled. Confirmed on jabber this was a mistake.
-
JINMEI Tatuya authored
The old version is a result of copy-paste and is wrong.
-
Michal 'vorner' Vaner authored
We have camelCase in many places, but variable names are not one of those.
-
- 18 Apr, 2012 1 commit
-
-
Michal 'vorner' Vaner authored
-
- 17 Apr, 2012 3 commits
-
-
Jelte Jansen authored
previous commit had a mangled tab due to a copy-paste error from the original diff
-
Jelte Jansen authored
So that the sqlite3_ds.so is found correctly This has been acked on jabber, and is tentatively waiting full resolution in ticket #1895
-
Michal 'vorner' Vaner authored
Checking various error modes, like unreadable database, wrong or missing configuration.
-
- 16 Apr, 2012 1 commit
-
-
Michal 'vorner' Vaner authored
It puts the configuration of the zone (which is loaded from SQLite3 database) and the database at the disposition of the test. Then it asks it to load the zone and it expects it to load it.
-
- 09 Apr, 2012 2 commits
-
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
it creates a temporary SQLite3 DB file from a shared template with a specified stream of zone data. this will help reduce the number of pre-generated DB files in the repository (which will be subject to upgrading the schema).
-
- 05 Apr, 2012 2 commits
-
-
JINMEI Tatuya authored
in this test we are only interested in the specific config is valid or not, so we didn't need the 'errors'. (actually I didn't notice there was this version of validateConfig() previously).
-
JINMEI Tatuya authored
-
- 04 Apr, 2012 2 commits
-
-
JINMEI Tatuya authored
- added one test case for checking the new "filetype" item is optional. - also added a test in MemoryDatasrcConfigTest to see whether "filetype" is accepted. - others should be trivial editorial cleanup.
-
JINMEI Tatuya authored
also added a new set of unittests that verify the new spec syntax.
-
- 30 Mar, 2012 4 commits
-
-
Mukund Sivaraman authored
* Case when no file is specified * Case where both origin and file are not specified
-
Mukund Sivaraman authored
-
Mukund Sivaraman authored
NameParserExceptions are now caught and AuthConfigError is thrown.
-
JINMEI Tatuya authored
(except for some "intentionally broken" ones). these were semi-automatically convered by b10-dbutil. "nodiffs" needed to be tweaked by hand after upgrade for their test. and all unit/system/lettuce tests now passed.
-
- 26 Mar, 2012 1 commit
-
-
JINMEI Tatuya authored
To make this test workable, I needed to change the returned flag for the NXRRSET case in MockZoneFinder::find() from setting NSEC_SIGNED unconditionally to setting any SIGNED flags. this doesn't affect other tests.
-
- 22 Mar, 2012 1 commit
-
-
JINMEI Tatuya authored
that way we don't have to expose mutable member variables of `Query`. now the responsibility of the "inserter" is enlarged, also renamed it to represent the new job more appropriately.
-