<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -22,9 +22,11 @@
 {&quot;src/rest/*&quot;, [debug_info, {outdir, &quot;ebin&quot;}, {i,&quot;include&quot;}]}.
 {&quot;src/domains/*&quot;, [debug_info, {outdir, &quot;ebin&quot;}, {i,&quot;include&quot;}]}.
 {&quot;src/domains/matcher/*&quot;, [debug_info, {outdir, &quot;ebin&quot;}, {i,&quot;include&quot;}]}.
+{&quot;src/domains/survey/*&quot;, [debug_info, {outdir, &quot;ebin&quot;}, {i,&quot;include&quot;}]}.
 {&quot;src/sinks/*&quot;, [debug_info, {outdir, &quot;ebin&quot;}, {i,&quot;include&quot;}]}.
 {&quot;src/sinks/audit/*&quot;, [debug_info, {outdir, &quot;ebin&quot;}, {i,&quot;include&quot;}]}.
 {&quot;src/sinks/index/*&quot;, [debug_info, {outdir, &quot;ebin&quot;}, {i,&quot;include&quot;}]}.
+{&quot;src/sinks/append/*&quot;, [debug_info, {outdir, &quot;ebin&quot;}, {i,&quot;include&quot;}]}.
 {&quot;src/sinks/default/*&quot;, [debug_info, {outdir, &quot;ebin&quot;}, {i,&quot;include&quot;}]}.
 {&quot;src/core/*&quot;, [debug_info, {outdir, &quot;ebin&quot;}, {i,&quot;include&quot;}]}.
 {&quot;src/test/*&quot;, [debug_info, {outdir, &quot;ebin&quot;}, {i,&quot;include&quot;}]}.</diff>
      <filename>Reactor/Emakefile</filename>
    </modified>
    <modified>
      <diff>@@ -168,8 +168,8 @@ code_change(_OldVsn, State, _Extra) -&gt;
 queue(Domain,{nomatch})-&gt;
     void;
 queue(Domain,{Sink,Data})-&gt;
-    case queue_server:add(Domain,Sink,Data) of
-	{ok} -&gt; void;
+    case queue_server:add(?DOMAIN ++ ?CONTEXT ++ ?QUEUE,Sink,Data) of
+	{ok,Xref} -&gt; Xref;
 	{error,Why} -&gt; error({&quot;Error putting on &quot; ++ Domain ++ &quot; queue&quot;,Why,{Sink,Data}})
     end;
 queue(Domain,Unrecognised) -&gt;
@@ -191,10 +191,11 @@ get_server(Matchername) -&gt; % the matchers are OTP applications we need to call m
 load_matcher(Domain) -&gt;
     %% Start matcher OTP app, if module fails to load/start use error app instead
     Matcher = case domain:retrieve(Domain) of
-		  {ok,{atomic,[{domain,_Dom,_Owner,undefined}]}} -&gt; ?ERRORMATCHER;
-		  {ok,{atomic,[{domain,_Dom,_Owner,Match}]}} -&gt; Match;
+		  {atomic,[{domain,_Dom,_Owner,undefined}]} -&gt; ?ERRORMATCHER;
+		  {atomic,[{domain,_Dom,_Owner,Match}]} -&gt; Match;
 		  _ -&gt; ?ERRORMATCHER
 	      end,
+    io:format(&quot;About to load matcher ~p~n&quot;,[Matcher]),
     case application:load(Matcher) of
 	ok -&gt; 
 	    start(Matcher);
@@ -202,7 +203,7 @@ load_matcher(Domain) -&gt;
 		   start(Matcher),
 		   Matcher;
 	{error,_Why} -&gt; 
-	    io:format(&quot;Matcher not loaded ~p&quot;,[Matcher]),
+	    io:format(&quot;Matcher not loaded ~p~n&quot;,[Matcher]),
 	    ?ERRORMATCHER %flag an error?
     end.
 
@@ -211,7 +212,7 @@ start(Matcher) -&gt;
 	ok -&gt; Matcher;
 	{error,{already_started,matcher}} -&gt; Matcher;
 	{error,_Why} -&gt; 
-	    io:format(&quot;Matcher not started ~p&quot;,[Matcher]),
+	    io:format(&quot;Matcher not started ~p~n&quot;,[Matcher]),
 	    ?ERRORMATCHER %flag an error?
     end.
 </diff>
      <filename>Reactor/src/core/domain_server.erl</filename>
    </modified>
    <modified>
      <diff>@@ -507,7 +507,8 @@ react(Adaptor,create,Resource,Request) -&gt;
 				  {uri,Actor}
 			  end,
 	    case actor_server:lookup(qres(Resource,Request)) of
-		[] -&gt; error(Adaptor,create,Resource,Request,&quot;Cannot create resource as child of unknown resource/domain &quot; ++ Resource);
+		[] -&gt;
+		    error(Adaptor,create,Resource,Request,&quot;Cannot create resource as child of unknown resource/domain &quot; ++ Resource);
 		Qitem -&gt;
 		    [Domain,Res] = string:tokens(Qitem,?DOMAINSEPERATOR),
 		    {Tags,A1} = get_option(&quot;tags&quot;,attributes('POST',Request)),</diff>
      <filename>Reactor/src/core/rest_server.erl</filename>
    </modified>
    <modified>
      <diff>@@ -225,7 +225,7 @@ retrieve(Domain, Item, [Attribute]) -&gt;
 	[] -&gt; []
     end.
 
-%% TODO this is now broken since domain changes etc..							
+%% TODO this is now broken since domain changes etc..				retrieve(Domain, Item, basic) -&gt; 			
 q(Domain) -&gt; 
 	do(qlc:q([Z#attribute.id || 
 		     Z &lt;- mnesia:table(attribute),</diff>
      <filename>Reactor/src/util/attribute.erl</filename>
    </modified>
    <modified>
      <diff></diff>
      <filename>docs/Reactored.graffle</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>0a444eab5c0c47df02e001e55741ee87e6303b7e</id>
    </parent>
  </parents>
  <author>
    <name>Alan Wood</name>
    <email>al@folknology.com</email>
  </author>
  <url>http://github.com/folknology/reactored/commit/94992cc3179a68c7c3e4e9a28c31859cbc5569bf</url>
  <id>94992cc3179a68c7c3e4e9a28c31859cbc5569bf</id>
  <committed-date>2008-07-18T12:20:53-07:00</committed-date>
  <authored-date>2008-07-18T12:20:53-07:00</authored-date>
  <message>Added the append adaptor and a survey domain matcher, the conbination can catch and append parameters passed over REST creator</message>
  <tree>13eed6ae935ce0673ef12d50595a703ae64a33cc</tree>
  <committer>
    <name>Alan Wood</name>
    <email>al@folknology.com</email>
  </committer>
</commit>
