[federate-commits] Federate SVN: r26 - in trunk/federate-embedded/src/main: resources and 1 other directory.
federate-commits at lists.jboss.org
federate-commits at lists.jboss.org
Mon Nov 24 13:10:14 EST 2008
Author: rareddy
Date: 2008-11-24 13:10:14 -0500 (Mon, 24 Nov 2008)
New Revision: 26
Added:
trunk/federate-embedded/src/main/resources/configuration.xml
trunk/federate-embedded/src/main/resources/mm.properties
Modified:
trunk/federate-embedded/src/main/java/com/metamatrix/dqp/embedded/services/EmbeddedConfigurationService.java
Log:
Adding the default properties file and configuration for the deployment based on classpath profile
Modified: trunk/federate-embedded/src/main/java/com/metamatrix/dqp/embedded/services/EmbeddedConfigurationService.java
===================================================================
--- trunk/federate-embedded/src/main/java/com/metamatrix/dqp/embedded/services/EmbeddedConfigurationService.java 2008-11-21 16:16:10 UTC (rev 25)
+++ trunk/federate-embedded/src/main/java/com/metamatrix/dqp/embedded/services/EmbeddedConfigurationService.java 2008-11-24 18:10:14 UTC (rev 26)
@@ -206,7 +206,7 @@
* @see com.metamatrix.dqp.service.ConfigurationService#getConfigFile()
*/
public URL getConfigFile() {
- String configFile = userPreferences.getProperty(DQPEmbeddedProperties.DQP_CONFIGFILE);
+ String configFile = userPreferences.getProperty(DQPEmbeddedProperties.DQP_CONFIGFILE, "configuration.xml"); //$NON-NLS-1$
if (valid(configFile)) {
return getFullyQualifiedPath(configFile);
}
Added: trunk/federate-embedded/src/main/resources/configuration.xml
===================================================================
--- trunk/federate-embedded/src/main/resources/configuration.xml (rev 0)
+++ trunk/federate-embedded/src/main/resources/configuration.xml 2008-11-24 18:10:14 UTC (rev 26)
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?><ConfigurationDocument>
+ <Header>
+ <ApplicationCreatedBy>ConfigurationAdministration</ApplicationCreatedBy>
+ <ApplicationVersionCreatedBy>4.2</ApplicationVersionCreatedBy>
+ <UserCreatedBy>Configuration</UserCreatedBy>
+ <ConfigurationVersion>4.2</ConfigurationVersion>
+ <MetaMatrixSystemVersion>4.2</MetaMatrixSystemVersion>
+ <Time>2004-06-30T12:23:53.919-06:00</Time>
+ </Header>
+
+ <Configuration Name="Next Startup" ComponentType="Configuration" LastChangedBy="ConfigurationStartup" CreatedBy="ConfigurationStartup"><Properties/></Configuration>
+
+ <Services>
+ <Service Name="QueryService" ComponentType="QueryService" QueuedService="false" LastChangedBy="ConfigurationStartup" CreatedBy="ConfigurationStartup">
+ <Properties>
+ <Property Name="metamatrix.service.essentialservice">false</Property>
+ <Property Name="ProcessPoolMaxThreads">64</Property>
+ <Property Name="ProcessPoolThreadTTL">120000</Property>
+ <Property Name="ServiceClassName">com.metamatrix.server.query.service.QueryService</Property>
+ <Property Name="ProcessorTimeslice">2000</Property>
+ <Property Name="MaxCodeTables">50</Property>
+ <Property Name="MaxCodeTableRecords">10000</Property>
+ <Property Name="MinFetchSize">100</Property>
+ <Property Name="MaxFetchSize">20000</Property>
+ <Property Name="ResultSetCacheEnabled">0</Property>
+ <Property Name="ResultSetCacheMaxSize">0</Property>
+ <Property Name="ResultSetCacheMaxAge">0</Property>
+ <Property Name="ResultSetCacheScope">vdb</Property>
+ <Property Name="MaxPlanCacheSize">100</Property>
+ </Properties>
+ </Service>
+ </Services>
+
+ <ProductTypes>
+ <ProductType Name="Connectors" ComponentTypeCode="3" Deployable="false" Deprecated="false" Monitorable="false" SuperComponentType="Product" LastChangedBy="ConfigurationStartup" CreatedBy="ConfigurationStartup">
+ </ProductType>
+ </ProductTypes>
+
+ <ComponentTypes>
+ <ComponentType Name="Service" ComponentTypeCode="1" Deployable="false" Deprecated="false" Monitorable="false" ParentComponentType="VM" LastChangedBy="ConfigurationStartup" CreatedBy="ConfigurationStartup">
+ <PropertyDefinition Name="ServiceClassName" DisplayName="Service Class Name" ShortDescription="" Multiplicity="1" PropertyType="String" ValueDelimiter="," IsConstrainedToAllowedValues="true" IsExpert="false" IsHidden="true" IsMasked="false" IsModifiable="true" IsPreferred="false"/>
+ <PropertyDefinition Name="metamatrix.service.essentialservice" DisplayName="Essential Service" ShortDescription="Indicates if the service is essential to operation of the Integration Server" DefaultValue="false" Multiplicity="1" PropertyType="Boolean" ValueDelimiter="," IsConstrainedToAllowedValues="true" IsExpert="true" IsHidden="true" IsMasked="false" IsModifiable="true" IsPreferred="false"/>
+ </ComponentType>
+
+ <ComponentType Name="QueryService" ComponentTypeCode="1" Deployable="true" Deprecated="false" Monitorable="true" SuperComponentType="Service" ParentComponentType="Integration Server" LastChangedBy="ConfigurationStartup" CreatedBy="ConfigurationStartup">
+ </ComponentType>
+
+ <ComponentType Name="Configuration" ComponentTypeCode="0" Deployable="true" Deprecated="false" Monitorable="false" LastChangedBy="ConfigurationStartup" CreatedBy="ConfigurationStartup">
+ </ComponentType>
+ </ComponentTypes>
+</ConfigurationDocument>
\ No newline at end of file
Property changes on: trunk/federate-embedded/src/main/resources/configuration.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/federate-embedded/src/main/resources/mm.properties
===================================================================
--- trunk/federate-embedded/src/main/resources/mm.properties (rev 0)
+++ trunk/federate-embedded/src/main/resources/mm.properties 2008-11-24 18:10:14 UTC (rev 26)
@@ -0,0 +1,5 @@
+#default properties file for Federate Embedded
+mm.io.tmpdir=${user.dir}/federate/temp
+dqp.extensions=${user.dir}/federate/extensions
+dqp.logFile=mmfile://${user.dir}/federate/federate-embedded.log
+dqp.logLevel=2
\ No newline at end of file
Property changes on: trunk/federate-embedded/src/main/resources/mm.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
More information about the federate-commits
mailing list