- 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 3 commits
-
-
Jelte Jansen authored
-
Jelte Jansen authored
i.e. jinmei's patch, see http://bind10.isc.org/ticket/1207?replyto=15#comment:15
-
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 2 commits
-
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
-
- 16 May, 2012 9 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
- fixed a few include statements - amended a few comments
-
Jelte Jansen authored
it is no longer necessary to derive it from InMemoryClient, but it can be directly derived from DataSourceClient
-
Jelte Jansen authored
The special case is still there, but it's been moved into the general DataSourceConfig class; this makes later generalization easier. It also allowed the removal of the specialized createAuthConfigParser (the overloaded version with the 'internal' argument), and the special case therein.
-
- 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 3 commits
-
-
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.
-
Jelte Jansen authored
-
Jelte Jansen authored
(temporarily) In order to add datasource factory, but keep current code working, store both the shared ptr (for reference counting) and the raw pointer it encapsulates. The latter is then used to call query::process().
-
- 19 Apr, 2012 5 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.
-
JINMEI Tatuya authored
The values are deduced from something else, no need to keep them. This eliminates the ugly initialization with wrong values.
-
Michal 'vorner' Vaner authored
We have camelCase in many places, but variable names are not one of those.
-
- 18 Apr, 2012 2 commits
-
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
It is now placed into the getZoneConfig method. This is code cleanup only, functionality should not be changed.
-
- 17 Apr, 2012 4 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.
-
Michal 'vorner' Vaner authored
It now looks into the configuration and checks if the zone should be loaded from the sqlite3 data source instead of the text file.
-
- 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 1 commit
-
-
JINMEI Tatuya authored
for optional items setting the default doesn't make sense, but we also have test cases where syntax validation is skipped, so changing it to non-optional will break existing test cases. at least for now, it seems to make most sense to keep it optional and define the default within the parser code.
-