taylor      2004/07/14 12:04:34

  Modified:    webapp/WEB-INF/conf JetspeedResources.properties
  Added:       webapp/WEB-INF/conf RegistryImport.properties
  Log:
  added RegistryImport.properties to be used specifically during registry import
  
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.125     +14 -11    
jakarta-jetspeed/webapp/WEB-INF/conf/JetspeedResources.properties
  
  Index: JetspeedResources.properties
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed/webapp/WEB-INF/conf/JetspeedResources.properties,v
  retrieving revision 1.124
  retrieving revision 1.125
  diff -u -r1.124 -r1.125
  --- JetspeedResources.properties      13 Jul 2004 22:55:21 -0000      1.124
  +++ JetspeedResources.properties      14 Jul 2004 19:04:34 -0000      1.125
  @@ -347,19 +347,22 @@
   services.Registry.extension=.xreg
   # Refresh rate, in seconds.  0 = no refresh.  Min value = 60
   services.Registry.refreshRate=300
  -# Database
  -# services.Registry.database.default.Security=DATABASE
  +services.Registry.hybrid = true
   
  +##############################################################
  +#
  +# Database-Managed Registries
  +# list all database-managed registries below
  +# the value, i.e. 'DATABASE' is ignored, but some value must be listed
  +#
  +# Supported Database Registries:
  +# - Security
  +# - Portlet
  +#
  +# services.Registry.database.default.Security=DATABASE
  +# services.Registry.database.default.Portlet=DATABASE
   
  -#########################################
  -# DATABASE Registry Service             #
  -#########################################
  
-#services.DatabaseRegistry.classname=org.apache.jetspeed.services.registry.DatabaseRegistryService
  -#services.DatabaseRegistry.default.Portlet=true
  -#services.DatabaseRegistry.default.Skin=true
   
  -# Refresh rate, in seconds.  0 = no refresh.  Min value = 60
  -#services.DatabaseRegistry.refreshRate=300
   
   
   #########################################
  
  
  
  1.1                  jakarta-jetspeed/webapp/WEB-INF/conf/RegistryImport.properties
  
  Index: RegistryImport.properties
  ===================================================================
  # Copyright 2004 The Apache Software Foundation
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  # 
  # http://www.apache.org/licenses/LICENSE-2.0
  # 
  # Unless required by applicable law or agreed to in writing, software
  # distributed under the License is distributed on an "AS IS" BASIS,
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  # See the License for the specific language governing permissions and
  # limitations under the License.
  
  # -------------------------------------------------------------------
  # $Id: RegistryImport.properties,v 1.1 2004/07/14 19:04:34 taylor Exp $
  #
  # This is the configuration file for Registry Importing.
  #
  # Note that strings containing "," (comma) characters must backslash
  # escape the comma (i.e. '\,')
  #
  # -------------------------------------------------------------------
  
  services.ComponentService.name = torque
  services.ComponentService.torque.classname = org.apache.torque.Torque
  services.ComponentService.torque.config = /WEB-INF/conf/Torque.properties
  services.ComponentService.torque.property.webappRoot = ${webappRoot}
  
  services.ComponentService.name = fulcrum
  services.ComponentService.fulcrum.classname = org.apache.fulcrum.Fulcrum
  services.ComponentService.fulcrum.config = /WEB-INF/conf/Fulcrum.properties
  
  # -------------------------------------------------------------------
  #
  #  L O G S
  #
  # -------------------------------------------------------------------
  # This is the configuration for the logging system. In most cases
  # you don't need to modify anything. However, if you wish to add more
  # facilities or modify the existing settings, then you can do so.
  #
  # destination.file: A path relative to the web app root
  # -------------------------------------------------------------------
  services.LoggingService.facilities=jetspeed
  services.LoggingService.default=jetspeed
  
services.LoggingService.loggingConfig=org.apache.turbine.services.logging.PropertiesLoggingConfig
  
  # A facility for system logging.
  services.LoggingService.jetspeed.destination.file=/WEB-INF/log/registry-import.log
  
services.LoggingService.jetspeed.className=org.apache.turbine.services.logging.FileLogger
  services.LoggingService.jetspeed.level=DEBUG
  
  
  
  # -------------------------------------------------------------------
  #
  #  S E R V I C E S
  #
  # -------------------------------------------------------------------
  # Classes for Turbine Services should be defined here.
  # Format: services.[name].classname=[implementing class]
  #
  # To specify properties of a service use the following syntax:
  # service.[name].[property]=[value]
  #
  # The order that these services is listed is important! The
  # order that is stated here is the order in which the services
  # will be initialized. Keep this is mind if you have services
  # that depend on other services during initialization.
  # -------------------------------------------------------------------
  
services.ResourceService.classname=org.apache.jetspeed.services.resources.JetspeedResourceService
  
services.JetspeedLogFactoryService.classname=org.apache.jetspeed.services.logging.JetspeedLogFactoryService
  services.LoggingService.classname = 
org.apache.jetspeed.services.logging.JetspeedLoggingService
  
services.FactoryService.classname=org.apache.turbine.services.factory.TurbineFactoryService
  
services.LocalizationService.classname=org.apache.jetspeed.services.customlocalization.JetspeedLocalizationService
  
  
services.ComponentService.classname=org.apache.turbine.services.component.TurbineComponentService
  
services.RunDataService.classname=org.apache.jetspeed.services.rundata.JetspeedRunDataService
  
services.ServletService.classname=org.apache.turbine.services.servlet.TurbineServletService
  
  # -------------------------------------------------------------------
  #
  #  R U N   D A T A   S E R V I C E
  #
  # -------------------------------------------------------------------
  # Default implementations of base interfaces for request processing.
  # Additional configurations can be defined by using other keys
  # in the place of the <default> key.
  # -------------------------------------------------------------------
  
  
services.RunDataService.default.run.data=org.apache.jetspeed.services.rundata.DefaultJetspeedRunData
  
services.RunDataService.default.parameter.parser=org.apache.jetspeed.util.parser.DefaultJetspeedParameterParser
  # 
services.RunDataService.default.parameter.parser=org.apache.jetspeed.util.parser.ValidationParameterParser
  # 
services.RunDataService.default.parameter.parser=org.apache.turbine.util.parser.DefaultParameterParser
  
services.RunDataService.default.cookie.parser=org.apache.turbine.util.parser.DefaultCookieParser
  
  
  #########################################
  # Registry Exporter Service             #
  # Export OUT OF registries              #
  #########################################
  
services.RegistryExporter.classname=org.apache.jetspeed.services.registry.CastorRegistryService
  services.RegistryExporter.directory=/WEB-INF/conf/
  services.RegistryExporter.mapping=/WEB-INF/conf/registry.xml
  services.RegistryExporter.default.Portlet=local-portlets
  services.RegistryExporter.default.PortletControl=local-managers
  services.RegistryExporter.default.PortletController=local-managers
  services.RegistryExporter.default.MediaType=local-medias
  services.RegistryExporter.default.Skin=local-skins
  services.RegistryExporter.default.Security=local-security
  services.RegistryExporter.default.Client=local-clients
  services.RegistryExporter.extension=.xreg
  services.RegistryExporter.refreshRate=300
  
  
  #########################################
  # Registry Importer Service             #
  #   -- Import INTO this Registry        #
  #########################################
  
services.RegistryImporter.classname=org.apache.jetspeed.services.registry.DatabaseRegistryService
  services.RegistryImporter.hybrid = false
  # List all registries
  services.RegistryImporter.database.default.Security=DATABASE
  # services.RegistryImporter.database.default.Portlet=DATABASE
  
  
  
  
  

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

Reply via email to