I added a Jira ticket [1] to track this usability issue, and explore an 
alternative for managing configurable services and factories.  The "MetaTypes" 
referred to in the ticket are part of the OSGI MetaType service, which is used 
by the web console to build dynamic user interfaces, as described at [2] .  I 
think this approach can be used elsewhere in Matterhorn (e.g. inboxes, encoding 
profiles, etc.) to improve the configuration experience throughout the product.

[1] http://opencast.jira.com/browse/MH-790
[2] 
http://bryanhunt.wordpress.com/2010/07/07/configuring-osgi-services-with-apache-web-console-and-metatype/

Josh

On Jun 16, 2011, at 6:49 PM, Josh Holtzman wrote:

> This is how pax confman deals with service factories. Ugly to be sure. The 
> configuration keys must end with a '.n' to indicate which service instance 
> the value belongs to, and each key must be listed in 'keys'. I'd like to get 
> rid of this and replace it with something  more reasonable for 1.3.
> 
> Typed on a tiny keyboard... Apologies for the typos. 
> 
> On Jun 16, 2011, at 16:31, Christopher Brooks <[email protected]> wrote:
> 
>> Josh,
>> 
>> Can you explain what this means?  We're trying to get our patch going
>> where we add in ssl, but it doesn't seem to connect and this was one of
>> the new things we don't understand:
>> 
>> #
>> # The property keys that can be used when setting up LDAP connections.
>> Be careful not to include spaces. #
>> keys=org.opencastproject.userdirectory.ldap.url,org.opencastproject.userdirectory.ldap.searchbase,\
>> org.opencastproject.userdirectory.ldap.searchfilter,org.opencastproject.userdirectory.ldap.cache.size,\
>> org.opencastproject.userdirectory.ldap.cache.expiration,org.opencastproject.userdirectory.ldap.roleattributes,\
>> org.opencastproject.userdirectory.ldap.org
>> 
>> 
>> Chris
>> 
>> -- 
>> Christopher Brooks, BSc, MSc
>> ARIES Laboratory, University of Saskatchewan
>> 
>> Web: http://www.cs.usask.ca/~cab938
>> Phone: 1.306.966.1442
>> Mail: Advanced Research in Intelligent Educational Systems Laboratory
>>    Department of Computer Science
>>    University of Saskatchewan
>>    176 Thorvaldson Building
>>    110 Science Place
>>    Saskatoon, SK
>>    S7N 5C9
>> _______________________________________________
>> Matterhorn mailing list
>> [email protected]
>> http://lists.opencastproject.org/mailman/listinfo/matterhorn
>> 
>> 
>> To unsubscribe please email
>> [email protected]
>> _______________________________________________

_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to