curl http://saildataservice/config_versions.xml


<?xml version="1.0" encoding="UTF-8"?>
<config-versions type="array">
   <config-version>
     <created-at type="datetime">2008-08-03T22:39:55Z</created-at>
     <description>This configures the user data to be stored in the 
sds using sail-data-emf library.
        It does not save and send the console log back.</description>
     <id type="integer">1</id>
     <key>persist:sds content:curnit</key>
     <name>Original style</name>
     <template>xml.instruct! :xml, :version=&gt;"1.0", :encoding=&gt;"UTF-8"
      xml.java("version" =&gt; "1.4.0", "class" =&gt; "java.beans.XMLDecoder") {
      xml.object("class" =&gt; 
"net.sf.sail.core.service.impl.CurnitUrlProviderImpl") {
        xml.void("property" =&gt; "url") {
          xml.string(@curnit_url)
        }
      }
      xml.object("class" =&gt; 
"net.sf.sail.emf.launch.PortfolioManagerService") {
        xml.void("property" =&gt; "portfolioUrlProvider") {
          xml.object("class" =&gt; 
"net.sf.sail.emf.launch.XmlUrlStringProviderImpl") {
            xml.void("property" =&gt; "urlString") {
              xml.string(@bundle_get_url)
            }
          }
        }
        if @savedata
        xml.void("property" =&gt; "bundlePoster") {
          xml.object("class" =&gt; "net.sf.sail.emf.launch.BundlePoster") {
            xml.void("property" =&gt; "postUrl") {
              xml.string(@bundle_post_url)
            }
          }
        }
        end
      }
      xml.object("class" =&gt; 
"net.sf.sail.core.service.impl.LauncherServiceImpl") {
        xml.void("property" =&gt; "properties") {
          xml.object("class" =&gt; "java.util.Properties") {
            xml.void("method" =&gt; "setProperty") {
              xml.string("sds_time")
              xml.string((Time.now.to_f * 1000).to_i)
            }
            @offering_attributes.each do |k,v|
              xml.void("method" =&gt; "setProperty") {
                xml.string(k)
                xml.string(v)
              }
            end
          }
        }
      }
      xml.object("class" =&gt; 
"net.sf.sail.emf.launch.EMFSailDataStoreService2")
      xml.object("class" =&gt; 
"net.sf.sail.core.service.impl.UserServiceImpl") {
        xml.void("property" =&gt; "participants") {
          @sail_users = @workgroup.sail_users.version(@version)
          @sail_users.each do |u|
            add_user_to_config(xml, u)
          end
        }
        xml.void("property" =&gt; "userLookupService") {
          xml.object("class" =&gt; 
"net.sf.sail.core.service.impl.UserLookupServiceImpl")
        }
      }
      xml.object("class" =&gt; 
"net.sf.sail.core.service.impl.SessionLoadMonitor")
      xml.object("class" =&gt; 
"net.sf.sail.core.service.impl.SessionManagerImpl")
}</template>
     <updated-at type="datetime">2008-08-03T22:39:55Z</updated-at>
     <version type="float">1.0</version>
   </config-version>
   <config-version>
     <created-at type="datetime">2008-08-03T22:39:55Z</created-at>
     <description>This configures the user data to be stored in the 
sds using sail-data-emf library.
        It saves and sends the console log back.</description>
     <id type="integer">2</id>
     <key>persist:sds content:curnit logging</key>
     <name>With console logging</name>
     <template>xml.instruct! :xml, :version=&gt;"1.0", :encoding=&gt;"UTF-8"
      xml.java("version" =&gt; "1.4.0", "class" =&gt; "java.beans.XMLDecoder") {
      xml.object("class" =&gt; "net.sf.sail.emf.launch.ConsoleLogServiceImpl") {
        if @savedata
          xml.void("property" =&gt; "bundlePoster") {
            xml.object("class" =&gt; "net.sf.sail.emf.launch.BundlePoster") {
              xml.void("property" =&gt; "postUrl") {
                xml.string(@controller.url_for(
                                :controller =&gt; "log_bundles",
                                :action =&gt; "index",
                                :id =&gt; @offering.id,
                                :wid =&gt; @workgroup.id,
                                :pid =&gt; @portal.id,
                                :only_path =&gt; false))
              }
            }
          }
        end
      }
      xml.object("class" =&gt; 
"net.sf.sail.core.service.impl.CurnitUrlProviderImpl") {
        xml.void("property" =&gt; "url") {
          xml.string(@curnit_url)
        }
      }
      xml.object("class" =&gt; 
"net.sf.sail.emf.launch.PortfolioManagerService") {
        xml.void("property" =&gt; "portfolioUrlProvider") {
          xml.object("class" =&gt; 
"net.sf.sail.emf.launch.XmlUrlStringProviderImpl") {
            xml.void("property" =&gt; "urlString") {
              xml.string(@bundle_get_url)
            }
          }
        }
        if @savedata
        xml.void("property" =&gt; "bundlePoster") {
          xml.object("class" =&gt; "net.sf.sail.emf.launch.BundlePoster") {
            xml.void("property" =&gt; "postUrl") {
              xml.string(@bundle_post_url)
            }
          }
        }
        end
      }
      xml.object("class" =&gt; 
"net.sf.sail.core.service.impl.LauncherServiceImpl") {
        xml.void("property" =&gt; "properties") {
          xml.object("class" =&gt; "java.util.Properties") {
            xml.void("method" =&gt; "setProperty") {
              xml.string("sds_time")
              xml.string((Time.now.to_f * 1000).to_i)
            }
            @offering_attributes.each do |k,v|
              xml.void("method" =&gt; "setProperty") {
                xml.string(k)
                xml.string(v)
              }
            end
          }
        }
      }
      xml.object("class" =&gt; 
"net.sf.sail.emf.launch.EMFSailDataStoreService2")
      xml.object("class" =&gt; 
"net.sf.sail.core.service.impl.UserServiceImpl") {
        xml.void("property" =&gt; "participants") {
          @sail_users = @workgroup.sail_users.version(@version)
          @sail_users.each do |u|
            add_user_to_config(xml, u)
          end
        }
        xml.void("property" =&gt; "userLookupService") {
          xml.object("class" =&gt; 
"net.sf.sail.core.service.impl.UserLookupServiceImpl")
        }
      }
      xml.object("class" =&gt; 
"net.sf.sail.core.service.impl.SessionLoadMonitor")
      xml.object("class" =&gt; 
"net.sf.sail.core.service.impl.SessionManagerImpl")
}</template>
     <updated-at type="datetime">2008-08-03T22:39:55Z</updated-at>
     <version type="float">1.1</version>
   </config-version>
   <config-version>
     <created-at type="datetime">2008-08-03T22:39:55Z</created-at>
     <description>This configures the user data to be stored in the 
sds using the sail-data-emf library.
       It loads content from an otml file and uses the OTViewer to display it.
       It saves and sends the console log back.</description>
     <id type="integer">3</id>
     <key>persist:sds content:otml-view logging</key>
     <name>OTrunk View System With console logging</name>
     <template>xml.instruct! :xml, :version=&gt;"1.0", :encoding=&gt;"UTF-8"
      xml.java("version" =&gt; "1.4.0", "class" =&gt; "java.beans.XMLDecoder") {
      xml.object("class" =&gt; "net.sf.sail.emf.launch.ConsoleLogServiceImpl") {
        if @savedata
          xml.void("property" =&gt; "bundlePoster") {
            xml.object("class" =&gt; "net.sf.sail.emf.launch.BundlePoster") {
              xml.void("property" =&gt; "postUrl") {
                xml.string(@controller.url_for(
                                :controller =&gt; "log_bundles",
                                :action =&gt; "index",
                                :id =&gt; @offering.id,
                                :wid =&gt; @workgroup.id,
                                :pid =&gt; @portal.id,
                                :only_path =&gt; false))
              }
            }
          }
        end
      }
      xml.object("class" =&gt; 
"org.telscenter.sailotrunk.OtmlUrlCurnitProvider") {
        xml.void("property" =&gt; "viewSystem") {
          xml.boolean("true")
        }
      }
      xml.object("class" =&gt; 
"net.sf.sail.emf.launch.PortfolioManagerService") {
        xml.void("property" =&gt; "portfolioUrlProvider") {
          xml.object("class" =&gt; 
"net.sf.sail.emf.launch.XmlUrlStringProviderImpl") {
            xml.void("property" =&gt; "urlString") {
              xml.string(@bundle_get_url)
            }
          }
        }
        if @savedata
        xml.void("property" =&gt; "bundlePoster") {
          xml.object("class" =&gt; "net.sf.sail.emf.launch.BundlePoster") {
            xml.void("property" =&gt; "postUrl") {
              xml.string(@bundle_post_url)
            }
          }
        }
        end
      }
      xml.object("class" =&gt; 
"net.sf.sail.core.service.impl.LauncherServiceImpl") {
        xml.void("property" =&gt; "properties") {
          xml.object("class" =&gt; "java.util.Properties") {
            xml.void("method" =&gt; "setProperty") {
              xml.string("sds_time")
              xml.string((Time.now.to_f * 1000).to_i)
            }
            @offering_attributes.each do |k,v|
              xml.void("method" =&gt; "setProperty") {
                xml.string(k)
                xml.string(v)
              }
            end
          }
        }
      }
      xml.object("class" =&gt; 
"net.sf.sail.emf.launch.EMFSailDataStoreService2")
      xml.object("class" =&gt; 
"net.sf.sail.core.service.impl.UserServiceImpl") {
        xml.void("property" =&gt; "participants") {
          @sail_users = @workgroup.sail_users.version(@version)
          @sail_users.each do |u|
            add_user_to_config(xml, u)
          end
        }
        xml.void("property" =&gt; "userLookupService") {
          xml.object("class" =&gt; 
"net.sf.sail.core.service.impl.UserLookupServiceImpl")
        }
      }
      xml.object("class" =&gt; 
"net.sf.sail.core.service.impl.SessionLoadMonitor")
      xml.object("class" =&gt; 
"net.sf.sail.core.service.impl.SessionManagerImpl")
}</template>
     <updated-at type="datetime">2008-08-03T22:39:55Z</updated-at>
     <version type="float">1.1</version>
   </config-version>
   <config-version>
     <created-at type="datetime">2008-08-03T22:39:55Z</created-at>
     <description>This configures the user data to be stored in the 
sds using the sail-data-emf library.
       It loads content from an otml file and uses the controller 
system to load the root object which is treated as the root bean in a 
sail curnit.
       It saves and sends the console log back.</description>
     <id type="integer">4</id>
     <key>persist:sds content:otml-controller logging</key>
     <name>OTrunk Contoller System With console logging</name>
     <template>xml.instruct! :xml, :version=&gt;"1.0", :encoding=&gt;"UTF-8"
      xml.java("version" =&gt; "1.4.0", "class" =&gt; "java.beans.XMLDecoder") {
      xml.object("class" =&gt; "net.sf.sail.emf.launch.ConsoleLogServiceImpl") {
        if @savedata
          xml.void("property" =&gt; "bundlePoster") {
            xml.object("class" =&gt; "net.sf.sail.emf.launch.BundlePoster") {
              xml.void("property" =&gt; "postUrl") {
                xml.string(@controller.url_for(
                                :controller =&gt; "log_bundles",
                                :action =&gt; "index",
                                :id =&gt; @offering.id,
                                :wid =&gt; @workgroup.id,
                                :pid =&gt; @portal.id,
                                :only_path =&gt; false))
              }
            }
          }
        end
      }
     xml.object("class" =&gt; "org.telscenter.sailotrunk.OtmlUrlCurnitProvider")
      xml.object("class" =&gt; 
"net.sf.sail.emf.launch.PortfolioManagerService") {
        xml.void("property" =&gt; "portfolioUrlProvider") {
          xml.object("class" =&gt; 
"net.sf.sail.emf.launch.XmlUrlStringProviderImpl") {
            xml.void("property" =&gt; "urlString") {
              xml.string(@bundle_get_url)
            }
          }
        }
        if @savedata
        xml.void("property" =&gt; "bundlePoster") {
          xml.object("class" =&gt; "net.sf.sail.emf.launch.BundlePoster") {
            xml.void("property" =&gt; "postUrl") {
              xml.string(@bundle_post_url)
            }
          }
        }
        end
      }
      xml.object("class" =&gt; 
"net.sf.sail.core.service.impl.LauncherServiceImpl") {
        xml.void("property" =&gt; "properties") {
          xml.object("class" =&gt; "java.util.Properties") {
            xml.void("method" =&gt; "setProperty") {
              xml.string("sds_time")
              xml.string((Time.now.to_f * 1000).to_i)
            }
            @offering_attributes.each do |k,v|
              xml.void("method" =&gt; "setProperty") {
                xml.string(k)
                xml.string(v)
              }
            end
          }
        }
      }
      xml.object("class" =&gt; 
"net.sf.sail.emf.launch.EMFSailDataStoreService2")
      xml.object("class" =&gt; 
"net.sf.sail.core.service.impl.UserServiceImpl") {
        xml.void("property" =&gt; "participants") {
          @sail_users = @workgroup.sail_users.version(@version)
          @sail_users.each do |u|
            add_user_to_config(xml, u)
          end
        }
        xml.void("property" =&gt; "userLookupService") {
          xml.object("class" =&gt; 
"net.sf.sail.core.service.impl.UserLookupServiceImpl")
        }
      }
      xml.object("class" =&gt; 
"net.sf.sail.core.service.impl.SessionLoadMonitor")
      xml.object("class" =&gt; 
"net.sf.sail.core.service.impl.SessionManagerImpl")
}</template>
     <updated-at type="datetime">2008-08-03T22:39:55Z</updated-at>
     <version type="float">1.1</version>
   </config-version>
   <config-version>
     <created-at type="datetime">2008-08-03T22:39:55Z</created-at>
     <description>This configures the user data to be stored in a 
jackrabbit repository.
       It loads content from an otml file and uses the OTViewer to display it.
       It saves and sends the console log back.</description>
     <id type="integer">5</id>
     <key>persist:jackrabbit-spi-rmi content:otml-view logging</key>
     <name>Jackrabbit OTrunk View System With console logging</name>
     <template>xml.instruct! :xml, :version=&gt;"1.0", :encoding=&gt;"UTF-8"
      xml.java("version" =&gt; "1.4.0", "class" =&gt; "java.beans.XMLDecoder") {
      xml.object("class" =&gt; "net.sf.sail.emf.launch.ConsoleLogServiceImpl") {
        if @savedata
          xml.void("property" =&gt; "bundlePoster") {
            xml.object("class" =&gt; "net.sf.sail.emf.launch.BundlePoster") {
              xml.void("property" =&gt; "postUrl") {
                xml.string(@controller.url_for(
                                :controller =&gt; "log_bundles",
                                :action =&gt; "index",
                                :id =&gt; @offering.id,
                                :wid =&gt; @workgroup.id,
                                :pid =&gt; @portal.id,
                                :only_path =&gt; false))
              }
            }
          }
        end
      }
      xml.object("class" =&gt; 
"org.telscenter.sailotrunk.OtmlUrlCurnitProvider") {
        xml.void("property" =&gt; "viewSystem") {
          xml.boolean("true")
        }
      }
      xml.object("class" =&gt; 
"net.sf.sail.core.service.impl.LauncherServiceImpl") {
        xml.void("property" =&gt; "properties") {
          xml.object("class" =&gt; "java.util.Properties") {
            xml.void("method" =&gt; "setProperty") {
              xml.string("sds_time")
              xml.string((Time.now.to_f * 1000).to_i)
            }
            @offering_attributes.each do |k,v|
              xml.void("method" =&gt; "setProperty") {
                xml.string(k)
                xml.string(v)
              }
            end
          }
        }
      }
      xml.object("class" =&gt; 
"org.concord.otrunk.jackrabbit.JackrabbitSPIRMIUserSessionProvider"){
        xml.void("property" =&gt; "repositoryUrl"){
          xml.string("http://localhost:8080/jackrabbit-1.5/rmi";)
        }
        xml.void("property" =&gt; "workspaceName"){
          xml.string("default")
        }
      }
      xml.object("class" =&gt; 
"net.sf.sail.core.service.impl.UserServiceImpl") {
        xml.void("property" =&gt; "workgroupUuid") {
          xml.object("class" =&gt; "net.sf.sail.core.uuid.AgentUuid"){
            xml.string(@workgroup.uuid)
          }
        }
        xml.void("property" =&gt; "participants") {
          @sail_users = @workgroup.sail_users.version(@version)
          @sail_users.each do |u|
            add_user_to_config(xml, u)
          end
        }
        xml.void("property" =&gt; "userLookupService") {
          xml.object("class" =&gt; 
"net.sf.sail.core.service.impl.UserLookupServiceImpl")
        }
      }
      xml.object("class" =&gt; 
"net.sf.sail.core.service.impl.SessionLoadMonitor")
      xml.object("class" =&gt; 
"net.sf.sail.core.service.impl.SessionManagerImpl")
}</template>
     <updated-at type="datetime">2008-08-03T22:39:55Z</updated-at>
     <version type="float">1.1</version>
   </config-version>
</config-versions>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SAIL-Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/SAIL-Dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to