Yep, you can already do that via the `enabled` parameter.

<parameter name="enabled">
<struct>
       <key name="group:development,staging" value="false"/>
       <key name="production" value="true"/>
</struct>
</parameter>

Wondering if that should be updated to be `taskEnabled` so it matches
`loggingEnabled` and `cachingEnabled`.  Thoughts?

.peter

Derrick Jackson said the following on 04/06/2011 07:42 AM:
> For me being able to do this with the task endpoint as a whole would
> be perfect.
>
> On Wed, Apr 6, 2011 at 8:40 AM, Peter J. Farrell <[email protected]
> <mailto:[email protected]>> wrote:
>
>     Ok, just double checking -- a you want to be able to do on for
>     each task in the task endpoint?  Or the task endpoint as a whole?
>
>     Derrick Jackson said the following on 04/06/2011 07:38 AM:
>>     Morning Peter,
>>
>>     Yeah what I was looking for is the ability to specify something
>>     like this:
>>
>>     <key name="taskEnabled">
>>     <struct>
>>            <key name="group:development,staging" value="false"/>
>>            <key name="production" value="true"/>
>>     </struct>
>>     </key>
>>
>>
>>     On Tue, Apr 5, 2011 at 6:03 PM, Peter J. Farrell
>>     <[email protected] <mailto:[email protected]>> wrote:
>>
>>         Derrick Jackson said the following on 04/05/2011 03:16 PM:
>>         > Consider it done Peter.
>>         For the Goog in the future, the ticket is here:
>>
>>         http://trac.mach-ii.com/machii/ticket/767
>>
>>         Thanks Derrick.  I looked at the code base and the `enabled`
>>         parameter
>>         in the XML configuration already supports environments.  So
>>         currently
>>         you can enable/disable an entire task endpoint via this
>>         parameter.  I
>>         update the doco to indicate this.
>>
>>         Maybe you meant being able to configure individual tasks by
>>         environment
>>         in the endpoint.  That would take some thinking on how to
>>         support that
>>         in the code base.  I'm not sure if that is necessary though.
>>          Thoughts?
>>
>>         .pjf
>>
>>         --
>>         Peter J. Farrell
>>         [email protected] <mailto:[email protected]>
>>         [email protected] <mailto:[email protected]>
>>         http://blog.maestropublishing.com
>>         Identi.ca / Twitter: @maestrofjp
>>
>>         --
>>         To post to this group, send email to
>>         [email protected]
>>         <mailto:[email protected]>
>>         For more options and to unsubscribe, visit this group at
>>         http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
>>
>>         SVN: http://svn.mach-ii.com/machii/
>>         Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/
>>
>>
>>     -- 
>>     To post to this group, send email to
>>     [email protected]
>>     <mailto:[email protected]>
>>     For more options and to unsubscribe, visit this group at
>>     http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
>>      
>>     SVN: http://svn.mach-ii.com/machii/
>>     Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/
>
>
>     -- 
>     Peter J. Farrell
>     [email protected] <mailto:[email protected]>
>     [email protected] <mailto:[email protected]>
>     http://blog.maestropublishing.com Identi.ca / Twitter: @maestrofjp
>
>     -- 
>     To post to this group, send email to
>     [email protected]
>     <mailto:[email protected]>
>     For more options and to unsubscribe, visit this group at
>     http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
>      
>     SVN: http://svn.mach-ii.com/machii/
>     Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/
>
>
> -- 
> To post to this group, send email to
> [email protected]
> For more options and to unsubscribe, visit this group at
> http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
>  
> SVN: http://svn.mach-ii.com/machii/
> Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/


-- 
Peter J. Farrell
[email protected]
[email protected]
http://blog.maestropublishing.com
Identi.ca / Twitter: @maestrofjp

-- 
To post to this group, send email to [email protected]
For more options and to unsubscribe, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en

SVN: http://svn.mach-ii.com/machii/
Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/

Reply via email to