Feature #122

add union.xml config option to define preset modules for rooms

Added by colin moock 1038 days ago. Updated 744 days ago.

Status :New Start :04/02/2009
Priority :Normal Due date :
Assigned to :derek clayton % Done :

0%

Category :Configuration
Target version :Future

Description

  • always deploy module x on rooms
  • deploy module x for all rooms of a given qualifier
  • deploy module x for a room by a specific id

Current Implementation Thinking

Add a new section in the union.xml under <union> called <room-templates> where <room-template qualifier="chat.*"> can be defined with a set of modules. Example:

<room-templates>
<room-template qualifier="chat.*">
<modules>
<module>
<source type="class">modules.room.ChatModule</source>
</module>
</modules>
</room-template>
</room-templates>

In this case the module "modules.room.ChatModule" would be deployed to every room that started with the chat.* qualifier.
Issues

It's not entirely a template since the creation process (example a Reactor client requesting to create a room) still specifies modules to be deployed. It really is a starting template for the rooms with additional modules specified by the creating process.

History

04/09/2009 12:55 AM - derek clayton

  • Assigned to set to derek clayton

01/20/2010 05:24 PM - derek clayton

  • Target version set to Future

Also available in: Atom