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=>"1.0", :encoding=>"UTF-8"
xml.java("version" => "1.4.0", "class" => "java.beans.XMLDecoder") {
xml.object("class" =>
"net.sf.sail.core.service.impl.CurnitUrlProviderImpl") {
xml.void("property" => "url") {
xml.string(@curnit_url)
}
}
xml.object("class" =>
"net.sf.sail.emf.launch.PortfolioManagerService") {
xml.void("property" => "portfolioUrlProvider") {
xml.object("class" =>
"net.sf.sail.emf.launch.XmlUrlStringProviderImpl") {
xml.void("property" => "urlString") {
xml.string(@bundle_get_url)
}
}
}
if @savedata
xml.void("property" => "bundlePoster") {
xml.object("class" => "net.sf.sail.emf.launch.BundlePoster") {
xml.void("property" => "postUrl") {
xml.string(@bundle_post_url)
}
}
}
end
}
xml.object("class" =>
"net.sf.sail.core.service.impl.LauncherServiceImpl") {
xml.void("property" => "properties") {
xml.object("class" => "java.util.Properties") {
xml.void("method" => "setProperty") {
xml.string("sds_time")
xml.string((Time.now.to_f * 1000).to_i)
}
@offering_attributes.each do |k,v|
xml.void("method" => "setProperty") {
xml.string(k)
xml.string(v)
}
end
}
}
}
xml.object("class" =>
"net.sf.sail.emf.launch.EMFSailDataStoreService2")
xml.object("class" =>
"net.sf.sail.core.service.impl.UserServiceImpl") {
xml.void("property" => "participants") {
@sail_users = @workgroup.sail_users.version(@version)
@sail_users.each do |u|
add_user_to_config(xml, u)
end
}
xml.void("property" => "userLookupService") {
xml.object("class" =>
"net.sf.sail.core.service.impl.UserLookupServiceImpl")
}
}
xml.object("class" =>
"net.sf.sail.core.service.impl.SessionLoadMonitor")
xml.object("class" =>
"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=>"1.0", :encoding=>"UTF-8"
xml.java("version" => "1.4.0", "class" => "java.beans.XMLDecoder") {
xml.object("class" => "net.sf.sail.emf.launch.ConsoleLogServiceImpl") {
if @savedata
xml.void("property" => "bundlePoster") {
xml.object("class" => "net.sf.sail.emf.launch.BundlePoster") {
xml.void("property" => "postUrl") {
xml.string(@controller.url_for(
:controller => "log_bundles",
:action => "index",
:id => @offering.id,
:wid => @workgroup.id,
:pid => @portal.id,
:only_path => false))
}
}
}
end
}
xml.object("class" =>
"net.sf.sail.core.service.impl.CurnitUrlProviderImpl") {
xml.void("property" => "url") {
xml.string(@curnit_url)
}
}
xml.object("class" =>
"net.sf.sail.emf.launch.PortfolioManagerService") {
xml.void("property" => "portfolioUrlProvider") {
xml.object("class" =>
"net.sf.sail.emf.launch.XmlUrlStringProviderImpl") {
xml.void("property" => "urlString") {
xml.string(@bundle_get_url)
}
}
}
if @savedata
xml.void("property" => "bundlePoster") {
xml.object("class" => "net.sf.sail.emf.launch.BundlePoster") {
xml.void("property" => "postUrl") {
xml.string(@bundle_post_url)
}
}
}
end
}
xml.object("class" =>
"net.sf.sail.core.service.impl.LauncherServiceImpl") {
xml.void("property" => "properties") {
xml.object("class" => "java.util.Properties") {
xml.void("method" => "setProperty") {
xml.string("sds_time")
xml.string((Time.now.to_f * 1000).to_i)
}
@offering_attributes.each do |k,v|
xml.void("method" => "setProperty") {
xml.string(k)
xml.string(v)
}
end
}
}
}
xml.object("class" =>
"net.sf.sail.emf.launch.EMFSailDataStoreService2")
xml.object("class" =>
"net.sf.sail.core.service.impl.UserServiceImpl") {
xml.void("property" => "participants") {
@sail_users = @workgroup.sail_users.version(@version)
@sail_users.each do |u|
add_user_to_config(xml, u)
end
}
xml.void("property" => "userLookupService") {
xml.object("class" =>
"net.sf.sail.core.service.impl.UserLookupServiceImpl")
}
}
xml.object("class" =>
"net.sf.sail.core.service.impl.SessionLoadMonitor")
xml.object("class" =>
"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=>"1.0", :encoding=>"UTF-8"
xml.java("version" => "1.4.0", "class" => "java.beans.XMLDecoder") {
xml.object("class" => "net.sf.sail.emf.launch.ConsoleLogServiceImpl") {
if @savedata
xml.void("property" => "bundlePoster") {
xml.object("class" => "net.sf.sail.emf.launch.BundlePoster") {
xml.void("property" => "postUrl") {
xml.string(@controller.url_for(
:controller => "log_bundles",
:action => "index",
:id => @offering.id,
:wid => @workgroup.id,
:pid => @portal.id,
:only_path => false))
}
}
}
end
}
xml.object("class" =>
"org.telscenter.sailotrunk.OtmlUrlCurnitProvider") {
xml.void("property" => "viewSystem") {
xml.boolean("true")
}
}
xml.object("class" =>
"net.sf.sail.emf.launch.PortfolioManagerService") {
xml.void("property" => "portfolioUrlProvider") {
xml.object("class" =>
"net.sf.sail.emf.launch.XmlUrlStringProviderImpl") {
xml.void("property" => "urlString") {
xml.string(@bundle_get_url)
}
}
}
if @savedata
xml.void("property" => "bundlePoster") {
xml.object("class" => "net.sf.sail.emf.launch.BundlePoster") {
xml.void("property" => "postUrl") {
xml.string(@bundle_post_url)
}
}
}
end
}
xml.object("class" =>
"net.sf.sail.core.service.impl.LauncherServiceImpl") {
xml.void("property" => "properties") {
xml.object("class" => "java.util.Properties") {
xml.void("method" => "setProperty") {
xml.string("sds_time")
xml.string((Time.now.to_f * 1000).to_i)
}
@offering_attributes.each do |k,v|
xml.void("method" => "setProperty") {
xml.string(k)
xml.string(v)
}
end
}
}
}
xml.object("class" =>
"net.sf.sail.emf.launch.EMFSailDataStoreService2")
xml.object("class" =>
"net.sf.sail.core.service.impl.UserServiceImpl") {
xml.void("property" => "participants") {
@sail_users = @workgroup.sail_users.version(@version)
@sail_users.each do |u|
add_user_to_config(xml, u)
end
}
xml.void("property" => "userLookupService") {
xml.object("class" =>
"net.sf.sail.core.service.impl.UserLookupServiceImpl")
}
}
xml.object("class" =>
"net.sf.sail.core.service.impl.SessionLoadMonitor")
xml.object("class" =>
"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=>"1.0", :encoding=>"UTF-8"
xml.java("version" => "1.4.0", "class" => "java.beans.XMLDecoder") {
xml.object("class" => "net.sf.sail.emf.launch.ConsoleLogServiceImpl") {
if @savedata
xml.void("property" => "bundlePoster") {
xml.object("class" => "net.sf.sail.emf.launch.BundlePoster") {
xml.void("property" => "postUrl") {
xml.string(@controller.url_for(
:controller => "log_bundles",
:action => "index",
:id => @offering.id,
:wid => @workgroup.id,
:pid => @portal.id,
:only_path => false))
}
}
}
end
}
xml.object("class" => "org.telscenter.sailotrunk.OtmlUrlCurnitProvider")
xml.object("class" =>
"net.sf.sail.emf.launch.PortfolioManagerService") {
xml.void("property" => "portfolioUrlProvider") {
xml.object("class" =>
"net.sf.sail.emf.launch.XmlUrlStringProviderImpl") {
xml.void("property" => "urlString") {
xml.string(@bundle_get_url)
}
}
}
if @savedata
xml.void("property" => "bundlePoster") {
xml.object("class" => "net.sf.sail.emf.launch.BundlePoster") {
xml.void("property" => "postUrl") {
xml.string(@bundle_post_url)
}
}
}
end
}
xml.object("class" =>
"net.sf.sail.core.service.impl.LauncherServiceImpl") {
xml.void("property" => "properties") {
xml.object("class" => "java.util.Properties") {
xml.void("method" => "setProperty") {
xml.string("sds_time")
xml.string((Time.now.to_f * 1000).to_i)
}
@offering_attributes.each do |k,v|
xml.void("method" => "setProperty") {
xml.string(k)
xml.string(v)
}
end
}
}
}
xml.object("class" =>
"net.sf.sail.emf.launch.EMFSailDataStoreService2")
xml.object("class" =>
"net.sf.sail.core.service.impl.UserServiceImpl") {
xml.void("property" => "participants") {
@sail_users = @workgroup.sail_users.version(@version)
@sail_users.each do |u|
add_user_to_config(xml, u)
end
}
xml.void("property" => "userLookupService") {
xml.object("class" =>
"net.sf.sail.core.service.impl.UserLookupServiceImpl")
}
}
xml.object("class" =>
"net.sf.sail.core.service.impl.SessionLoadMonitor")
xml.object("class" =>
"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=>"1.0", :encoding=>"UTF-8"
xml.java("version" => "1.4.0", "class" => "java.beans.XMLDecoder") {
xml.object("class" => "net.sf.sail.emf.launch.ConsoleLogServiceImpl") {
if @savedata
xml.void("property" => "bundlePoster") {
xml.object("class" => "net.sf.sail.emf.launch.BundlePoster") {
xml.void("property" => "postUrl") {
xml.string(@controller.url_for(
:controller => "log_bundles",
:action => "index",
:id => @offering.id,
:wid => @workgroup.id,
:pid => @portal.id,
:only_path => false))
}
}
}
end
}
xml.object("class" =>
"org.telscenter.sailotrunk.OtmlUrlCurnitProvider") {
xml.void("property" => "viewSystem") {
xml.boolean("true")
}
}
xml.object("class" =>
"net.sf.sail.core.service.impl.LauncherServiceImpl") {
xml.void("property" => "properties") {
xml.object("class" => "java.util.Properties") {
xml.void("method" => "setProperty") {
xml.string("sds_time")
xml.string((Time.now.to_f * 1000).to_i)
}
@offering_attributes.each do |k,v|
xml.void("method" => "setProperty") {
xml.string(k)
xml.string(v)
}
end
}
}
}
xml.object("class" =>
"org.concord.otrunk.jackrabbit.JackrabbitSPIRMIUserSessionProvider"){
xml.void("property" => "repositoryUrl"){
xml.string("http://localhost:8080/jackrabbit-1.5/rmi")
}
xml.void("property" => "workspaceName"){
xml.string("default")
}
}
xml.object("class" =>
"net.sf.sail.core.service.impl.UserServiceImpl") {
xml.void("property" => "workgroupUuid") {
xml.object("class" => "net.sf.sail.core.uuid.AgentUuid"){
xml.string(@workgroup.uuid)
}
}
xml.void("property" => "participants") {
@sail_users = @workgroup.sail_users.version(@version)
@sail_users.each do |u|
add_user_to_config(xml, u)
end
}
xml.void("property" => "userLookupService") {
xml.object("class" =>
"net.sf.sail.core.service.impl.UserLookupServiceImpl")
}
}
xml.object("class" =>
"net.sf.sail.core.service.impl.SessionLoadMonitor")
xml.object("class" =>
"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
-~----------~----~----~----~------~----~------~--~---