- 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 4 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().
-
Jelte Jansen authored
-
- 04 May, 2012 14 commits
-
-
Mukund Sivaraman authored
-
Mukund Sivaraman authored
-
Mukund Sivaraman authored
-
Michal 'vorner' Vaner authored
We use anonymous namespace instead of static before a function.
-
Mukund Sivaraman authored
-
Mukund Sivaraman authored
-
Mukund Sivaraman authored
-
Mukund Sivaraman authored
-
-
Jelte Jansen authored
other binaries in log/unittests also need to link to our local libs first
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
The test code now reflects the code change.
-
Mukund Sivaraman authored
-
Mukund Sivaraman authored
-
- 03 May, 2012 2 commits
-
-
Jelte Jansen authored
so that sys-installed bind10 libraries do not interfere with those in the build tree
-
Jelte Jansen authored
This should fix the unit tests complaining about wrong error messages. While debugging, I also found an uninitialized value error that has been present probably since the logger code exists. This has also been fixed.
-