You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Paul Lindner <pl...@hi5.com> on 2008/08/01 03:24:59 UTC

Re: [jira] Created: (SHINDIG-481) Use unique shindig namespace for values in gadgets.properties

What do people think about this proposal?

It would involve modifying the names used in gadget.properties and  
@Named annotations.


On Jul 30, 2008, at 3:37 AM, Paul Lindner (JIRA) wrote:

> Use unique shindig namespace for values in gadgets.properties
> -------------------------------------------------------------
>
>                 Key: SHINDIG-481
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-481
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Common Components (Java)
>            Reporter: Paul Lindner
>            Assignee: Paul Lindner
>
>
> By overriding DefaultGuiceModule I was able to replace the  
> properties source with our common properties source.
>
> If this becomes common practice it would be preferable to namespace  
> the names in gadgets.properties by adding a 'shindig.' prefix.
>
> For example
>
>  http.cache.negativeCacheTtl
>
> becomes
>
>  shindig.http.cache.negativeCacheTtl=30000
>
>
>
> -- 
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>

Paul Lindner
plindner@hi5.com




Re: [jira] Created: (SHINDIG-481) Use unique shindig namespace for values in gadgets.properties

Posted by Cassie <do...@google.com>.
+1 from me.

On Thu, Jul 31, 2008 at 6:40 PM, Paul Lindner <pl...@hi5.com> wrote:

> On Jul 31, 2008, at 6:29 PM, Kevin Brown wrote:
>
>  It makes sense to me, though since they're strings it'll mean a bit of
>> find
>> and replace work. If you want to take care of it, though, I don't see any
>> big issues with it.
>>
>>
> Thanks, this will help with our integration at hi5 quite a bit.
>
>
>  On Thu, Jul 31, 2008 at 6:24 PM, Paul Lindner <pl...@hi5.com> wrote:
>>
>>  What do people think about this proposal?
>>>
>>> It would involve modifying the names used in gadget.properties and @Named
>>> annotations.
>>>
>>>
>>>
>>> On Jul 30, 2008, at 3:37 AM, Paul Lindner (JIRA) wrote:
>>>
>>> Use unique shindig namespace for values in gadgets.properties
>>>
>>>> -------------------------------------------------------------
>>>>
>>>>              Key: SHINDIG-481
>>>>              URL: https://issues.apache.org/jira/browse/SHINDIG-481
>>>>          Project: Shindig
>>>>       Issue Type: Improvement
>>>>       Components: Common Components (Java)
>>>>         Reporter: Paul Lindner
>>>>         Assignee: Paul Lindner
>>>>
>>>>
>>>> By overriding DefaultGuiceModule I was able to replace the properties
>>>> source with our common properties source.
>>>>
>>>> If this becomes common practice it would be preferable to namespace the
>>>> names in gadgets.properties by adding a 'shindig.' prefix.
>>>>
>>>> For example
>>>>
>>>> http.cache.negativeCacheTtl
>>>>
>>>> becomes
>>>>
>>>> shindig.http.cache.negativeCacheTtl=30000
>>>>
>>>>
>>>>
>>>> --
>>>> This message is automatically generated by JIRA.
>>>> -
>>>> You can reply to this email to add a comment to the issue online.
>>>>
>>>>
>>>>  Paul Lindner
>>> plindner@hi5.com
>>>
>>>
>>>
>>>
>>>
> Paul Lindner
> plindner@hi5.com
>
>
>
>

Re: [jira] Created: (SHINDIG-481) Use unique shindig namespace for values in gadgets.properties

Posted by Paul Lindner <pl...@hi5.com>.
On Jul 31, 2008, at 6:29 PM, Kevin Brown wrote:

> It makes sense to me, though since they're strings it'll mean a bit  
> of find
> and replace work. If you want to take care of it, though, I don't  
> see any
> big issues with it.
>

Thanks, this will help with our integration at hi5 quite a bit.

> On Thu, Jul 31, 2008 at 6:24 PM, Paul Lindner <pl...@hi5.com>  
> wrote:
>
>> What do people think about this proposal?
>>
>> It would involve modifying the names used in gadget.properties and  
>> @Named
>> annotations.
>>
>>
>>
>> On Jul 30, 2008, at 3:37 AM, Paul Lindner (JIRA) wrote:
>>
>> Use unique shindig namespace for values in gadgets.properties
>>> -------------------------------------------------------------
>>>
>>>               Key: SHINDIG-481
>>>               URL: https://issues.apache.org/jira/browse/SHINDIG-481
>>>           Project: Shindig
>>>        Issue Type: Improvement
>>>        Components: Common Components (Java)
>>>          Reporter: Paul Lindner
>>>          Assignee: Paul Lindner
>>>
>>>
>>> By overriding DefaultGuiceModule I was able to replace the  
>>> properties
>>> source with our common properties source.
>>>
>>> If this becomes common practice it would be preferable to  
>>> namespace the
>>> names in gadgets.properties by adding a 'shindig.' prefix.
>>>
>>> For example
>>>
>>> http.cache.negativeCacheTtl
>>>
>>> becomes
>>>
>>> shindig.http.cache.negativeCacheTtl=30000
>>>
>>>
>>>
>>> --
>>> This message is automatically generated by JIRA.
>>> -
>>> You can reply to this email to add a comment to the issue online.
>>>
>>>
>> Paul Lindner
>> plindner@hi5.com
>>
>>
>>
>>

Paul Lindner
plindner@hi5.com




Re: [jira] Created: (SHINDIG-481) Use unique shindig namespace for values in gadgets.properties

Posted by Kevin Brown <et...@google.com>.
It makes sense to me, though since they're strings it'll mean a bit of find
and replace work. If you want to take care of it, though, I don't see any
big issues with it.

On Thu, Jul 31, 2008 at 6:24 PM, Paul Lindner <pl...@hi5.com> wrote:

> What do people think about this proposal?
>
> It would involve modifying the names used in gadget.properties and @Named
> annotations.
>
>
>
> On Jul 30, 2008, at 3:37 AM, Paul Lindner (JIRA) wrote:
>
>  Use unique shindig namespace for values in gadgets.properties
>> -------------------------------------------------------------
>>
>>                Key: SHINDIG-481
>>                URL: https://issues.apache.org/jira/browse/SHINDIG-481
>>            Project: Shindig
>>         Issue Type: Improvement
>>         Components: Common Components (Java)
>>           Reporter: Paul Lindner
>>           Assignee: Paul Lindner
>>
>>
>> By overriding DefaultGuiceModule I was able to replace the properties
>> source with our common properties source.
>>
>> If this becomes common practice it would be preferable to namespace the
>> names in gadgets.properties by adding a 'shindig.' prefix.
>>
>> For example
>>
>>  http.cache.negativeCacheTtl
>>
>> becomes
>>
>>  shindig.http.cache.negativeCacheTtl=30000
>>
>>
>>
>> --
>> This message is automatically generated by JIRA.
>> -
>> You can reply to this email to add a comment to the issue online.
>>
>>
> Paul Lindner
> plindner@hi5.com
>
>
>
>