Date:   Thursday January 3, 2002 @ 17:30
Author: matt

Update of /home/cvs/AxKitB2B
In directory ted:/tmp/cvs-serv29739

Modified Files:
        server.conf 
Log Message:
Started to implement chain building

Index: server.conf
===================================================================
RCS file: /home/cvs/AxKitB2B/server.conf,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- server.conf 2002/01/03 10:09:50     1.3
+++ server.conf 2002/01/03 17:30:17     1.4
@@ -20,4 +20,129 @@
         <class>AxKitB2B::Server::Service::HTTP</class>
         <name>http 8086</name>
     </service>
+    
+    <schemes>
+        <!-- note this would need to be more complex, I think.
+            Either that or XML::Generator::DBI would need more work to
+            accept parameters in the call to parse() so it can do SQL directly.
+       <scheme>
+           <name>DBI Generator</name>
+           <prefix>dbi</prefix>
+           <class>XML::Generator::DBI</class>
+        </scheme>
+       -->
+    </schemes>
+
+    <modules>
+        <module>
+            <class>XML::Filter::XSLT</class>
+            <alias>xslt</alias>
+        </module>
+        <!-- example when we've written this
+       <module>
+           <class>XML::Generator::XSP</class>
+           <alias>xsp</alias>
+       </module>
+        -->
+    </modules>
+    
+    <applications>
+       <application>
+
+           <metadata>
+               <name>Foo App</name>
+               <author>...</author>
+            </metadata>
+
+            <services>
+                <service>http 8082</service>
+            </services>
+           
+            <listeners>
+               <listener>
+                   <id>l_1</id>
+                    <uri>/foo</uri>
+                    <resource>file:///home/httpd/foo.xml</resource>
+               </listener>
+               <listener>
+                   <id>l_2</id>
+                   <uri>/bar</uri>
+                   <resource>file:///home/httpd/bar.xsp</resource>
+               </listener>
+           </listeners>
+           
+            <transformers>
+                <transformer>
+                    <id>t_1</id>
+                    <resource>file:///home/httpd/foo.xsl</resource>
+                    <module_alias>xslt</module_alias>
+                    <!-- also can use <module>XML::Filter::XSLT</module> -->
+                </transformer>
+                <transformer>
+                    <id>t_2</id>
+                    <module_alias>xsp</module_alias>
+                </transformer>
+           </transformers>
+
+           <serialisers>
+               <serialiser>
+                   <id>s_1</id>
+                   <module_alias>html</module_alias>
+               </serialiser>
+               <serialiser>
+                   <id>s_2</id>
+                   <module_alias>pdf</module_alias>
+               </serialiser>
+           </serialisers>
+
+           <choosers>
+               <chooser>
+                   <id>c_1</id>
+                   <module>MyChooserModule</module>
+               </chooser>
+           </choosers>
+
+           <connections>
+               <connection>
+                   <source_id>l_1</source_id>
+                   <target_id>t_1</target_id>
+               </connection>
+               <connection>
+                   <source_id>l_2</source_id>
+                   <target_id>t_2</target_id>
+               </connection>
+               <connection>
+                   <source_id>t_1</source_id>
+                   <target_id>t_2</target_id>
+               </connection>
+               <connection>
+                   <source_id>t_2</source_id>
+                   <target_id>c_1</target_id>
+               </connection>
+               <connection>
+                   <source_id>c_1</source_id>
+                    <target_id>s_1</target_id>
+               </connection>
+               <connection>
+                   <source_id>c_1</source_id>
+                    <target_id>s_2</target_id>
+               </connection>
+           </connections>
+
+           <app_resources>
+               <app_resource>
+                   <!-- A resource that can be accessed via app://r_1 -->
+                   <id>r_1</id>
+                   <resource>file:///someplace/foo.xml</resource>
+                   <!-- need to specify transformations here?
+                       Maybe Robin's idea of just using other applications is actually
+                       much better, for simplicity of development's sake. Even
+                       if we just allow applications within applications!
+                   -->
+               </app_resource>
+           </app_resources>
+            
+        </application>
+    </applications>
+
 </config>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to