You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by Quinton McCombs <qm...@nequalsone.com> on 2003/06/19 19:14:15 UTC

Configurable pull tools

It has come up on the turbine-user list that perhaps ContentTool need to
have a configurable parameter in TR.props that will determine if URLs
will be processed by response.encodeURL() before returning the result
back to the template.

This poses the question of how to get that parameter into the pull tool.

I would like to propose that we add a second interface for the pull
service.  This interface would define one method -
configure(Configuration).  When the PullService is initializing tools
and the tool implements that interface, the configure method will be
called immediately before init().  The Configuration object would be a
subset of the PullService configuration.  Specifically, it would be
services.PullService.<classname of the pulltool>.

As far as the naming of the interface, I was thinking of
ConfigurableTool.  I was trying to avoid naming conflicts with exisiting
Avalon and Stratum interfaces.

--------------------------------------------
Quinton McCombs
NequalsOne - HealthCare marketing tools
mailto:qmccombs@NequalsOne.com
http://www.NequalsOne.com 


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


RE: Configurable pull tools

Posted by Quinton McCombs <qm...@nequalsone.com>.
I suppose I will plan on checking in my changes to allow for
configurable tools assuming that I don't get any objects by tomorrow
afternoon.

--------------------------------------------
Quinton McCombs
NequalsOne - HealthCare marketing tools
mailto:qmccombs@NequalsOne.com
http://www.NequalsOne.com 

> -----Original Message-----
> From: Henning P. Schmiedehausen [mailto:hps@intermeta.de] 
> Sent: Thursday, June 19, 2003 2:35 PM
> To: turbine-dev@jakarta.apache.org
> Subject: Re: Configurable pull tools
> 
> 
> "Quinton McCombs" <qm...@nequalsone.com> writes:
> 
> >Good.  When are you planning to push out rc1?  I would like 
> to commit 
> >the changes to allow the configuration before then.
> 
> Hm, I still have some things to check (especially the 
> configuration problems that some people reported with windows 
> and I'm still not totally convinced that the pull service 
> works right under all circumstances but I'd say that it'll be 
> tuesday or wednesday next week.
> 
> 	Regards
> 		Henning
> 
> 
> 
> >> -----Original Message-----
> >> From: Henning P. Schmiedehausen [mailto:hps@intermeta.de]
> >> Sent: Thursday, June 19, 2003 1:13 PM
> >> To: turbine-dev@jakarta.apache.org
> >> Subject: Re: Configurable pull tools
> >> 
> >> 
> >> "Quinton McCombs" <qm...@nequalsone.com> writes:
> >> 
> >> Yes, I should've done with the RunDataApplicationTool, too.
> >> 
> >> Maybe I will correct this mistake as long as we don't have
> >> stamped that into a release yet.
> >> 
> >> I'm all +1 on this.
> >> 
> >> 	Regards
> >> 		Henning
> >> 
> >> 
> >> >It has come up on the turbine-user list that perhaps
> >> ContentTool need
> >> >to have a configurable parameter in TR.props that will 
> determine if
> >> >URLs will be processed by response.encodeURL() before 
> returning the 
> >> >result back to the template.
> >> 
> >> >This poses the question of how to get that parameter into the pull
> >> >tool.
> >> 
> >> >I would like to propose that we add a second interface 
> for the pull
> >> >service.  This interface would define one method - 
> >> >configure(Configuration).  When the PullService is 
> >> initializing tools
> >> >and the tool implements that interface, the configure 
> method will be
> >> >called immediately before init().  The Configuration object 
> >> would be a
> >> >subset of the PullService configuration.  Specifically, 
> it would be
> >> >services.PullService.<classname of the pulltool>.
> >> 
> >> >As far as the naming of the interface, I was thinking of
> >> >ConfigurableTool.  I was trying to avoid naming conflicts with 
> >> >exisiting Avalon and Stratum interfaces.
> >> 
> >> >--------------------------------------------
> >> >Quinton McCombs
> >> >NequalsOne - HealthCare marketing tools
> >> mailto:qmccombs@NequalsOne.com
> >> >http://www.NequalsOne.com
> >> 
> >> 
> >> 
> >> 
> >> 
> >--------------------------------------------------------------------
> >> >-
> >> >To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> >> >For additional commands, e-mail: 
> turbine-dev-help@jakarta.apache.org
> >> 
> >> -- 
> >> Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          
> INTERMETA GmbH
> >> hps@intermeta.de        +49 9131 50 654 0   
> http://www.intermeta.de/
> >> 
> >> Java, perl, Solaris, Linux, 
> xSP Consulting, Web Services
> >> freelance consultant -- Jakarta Turbine Development  -- 
> hero for hire
> >> 
> >> 
> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: 
> turbine-dev-help@jakarta.apache.org
> >> 
> >> 
> >> 
> 
> 
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
> 
> -- 
> Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
> hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/
> 
> Java, perl, Solaris, Linux, xSP Consulting, Web Services 
> freelance consultant -- Jakarta Turbine Development  -- hero for hire
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


Re: Configurable pull tools

Posted by "Henning P. Schmiedehausen" <hp...@intermeta.de>.
"Quinton McCombs" <qm...@nequalsone.com> writes:

>Good.  When are you planning to push out rc1?  I would like to commit
>the changes to allow the configuration before then.

Hm, I still have some things to check (especially the configuration
problems that some people reported with windows and I'm still not
totally convinced that the pull service works right under all
circumstances but I'd say that it'll be tuesday or wednesday next
week.

	Regards
		Henning



>> -----Original Message-----
>> From: Henning P. Schmiedehausen [mailto:hps@intermeta.de] 
>> Sent: Thursday, June 19, 2003 1:13 PM
>> To: turbine-dev@jakarta.apache.org
>> Subject: Re: Configurable pull tools
>> 
>> 
>> "Quinton McCombs" <qm...@nequalsone.com> writes:
>> 
>> Yes, I should've done with the RunDataApplicationTool, too.
>> 
>> Maybe I will correct this mistake as long as we don't have 
>> stamped that into a release yet.
>> 
>> I'm all +1 on this.
>> 
>> 	Regards
>> 		Henning
>> 
>> 
>> >It has come up on the turbine-user list that perhaps 
>> ContentTool need 
>> >to have a configurable parameter in TR.props that will determine if 
>> >URLs will be processed by response.encodeURL() before returning the 
>> >result back to the template.
>> 
>> >This poses the question of how to get that parameter into the pull 
>> >tool.
>> 
>> >I would like to propose that we add a second interface for the pull 
>> >service.  This interface would define one method - 
>> >configure(Configuration).  When the PullService is 
>> initializing tools 
>> >and the tool implements that interface, the configure method will be 
>> >called immediately before init().  The Configuration object 
>> would be a 
>> >subset of the PullService configuration.  Specifically, it would be 
>> >services.PullService.<classname of the pulltool>.
>> 
>> >As far as the naming of the interface, I was thinking of 
>> >ConfigurableTool.  I was trying to avoid naming conflicts with 
>> >exisiting Avalon and Stratum interfaces.
>> 
>> >--------------------------------------------
>> >Quinton McCombs
>> >NequalsOne - HealthCare marketing tools 
>> mailto:qmccombs@NequalsOne.com
>> >http://www.NequalsOne.com 
>> 
>> 
>> 
>> 
>> >---------------------------------------------------------------------
>> >To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
>> >For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
>> 
>> -- 
>> Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
>> hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/
>> 
>> Java, perl, Solaris, Linux, xSP Consulting, Web Services 
>> freelance consultant -- Jakarta Turbine Development  -- hero for hire
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
>> 
>> 
>> 


>---------------------------------------------------------------------
>To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: turbine-dev-help@jakarta.apache.org

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/

Java, perl, Solaris, Linux, xSP Consulting, Web Services 
freelance consultant -- Jakarta Turbine Development  -- hero for hire

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


RE: Configurable pull tools

Posted by Quinton McCombs <qm...@nequalsone.com>.
Good.  When are you planning to push out rc1?  I would like to commit
the changes to allow the configuration before then.

> -----Original Message-----
> From: Henning P. Schmiedehausen [mailto:hps@intermeta.de] 
> Sent: Thursday, June 19, 2003 1:13 PM
> To: turbine-dev@jakarta.apache.org
> Subject: Re: Configurable pull tools
> 
> 
> "Quinton McCombs" <qm...@nequalsone.com> writes:
> 
> Yes, I should've done with the RunDataApplicationTool, too.
> 
> Maybe I will correct this mistake as long as we don't have 
> stamped that into a release yet.
> 
> I'm all +1 on this.
> 
> 	Regards
> 		Henning
> 
> 
> >It has come up on the turbine-user list that perhaps 
> ContentTool need 
> >to have a configurable parameter in TR.props that will determine if 
> >URLs will be processed by response.encodeURL() before returning the 
> >result back to the template.
> 
> >This poses the question of how to get that parameter into the pull 
> >tool.
> 
> >I would like to propose that we add a second interface for the pull 
> >service.  This interface would define one method - 
> >configure(Configuration).  When the PullService is 
> initializing tools 
> >and the tool implements that interface, the configure method will be 
> >called immediately before init().  The Configuration object 
> would be a 
> >subset of the PullService configuration.  Specifically, it would be 
> >services.PullService.<classname of the pulltool>.
> 
> >As far as the naming of the interface, I was thinking of 
> >ConfigurableTool.  I was trying to avoid naming conflicts with 
> >exisiting Avalon and Stratum interfaces.
> 
> >--------------------------------------------
> >Quinton McCombs
> >NequalsOne - HealthCare marketing tools 
> mailto:qmccombs@NequalsOne.com
> >http://www.NequalsOne.com 
> 
> 
> 
> 
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
> 
> -- 
> Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
> hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/
> 
> Java, perl, Solaris, Linux, xSP Consulting, Web Services 
> freelance consultant -- Jakarta Turbine Development  -- hero for hire
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


Re: Configurable pull tools

Posted by "Henning P. Schmiedehausen" <hp...@intermeta.de>.
"Quinton McCombs" <qm...@nequalsone.com> writes:

Yes, I should've done with the RunDataApplicationTool, too.

Maybe I will correct this mistake as long as we don't have stamped
that into a release yet.

I'm all +1 on this.

	Regards
		Henning


>It has come up on the turbine-user list that perhaps ContentTool need to
>have a configurable parameter in TR.props that will determine if URLs
>will be processed by response.encodeURL() before returning the result
>back to the template.

>This poses the question of how to get that parameter into the pull tool.

>I would like to propose that we add a second interface for the pull
>service.  This interface would define one method -
>configure(Configuration).  When the PullService is initializing tools
>and the tool implements that interface, the configure method will be
>called immediately before init().  The Configuration object would be a
>subset of the PullService configuration.  Specifically, it would be
>services.PullService.<classname of the pulltool>.

>As far as the naming of the interface, I was thinking of
>ConfigurableTool.  I was trying to avoid naming conflicts with exisiting
>Avalon and Stratum interfaces.

>--------------------------------------------
>Quinton McCombs
>NequalsOne - HealthCare marketing tools
>mailto:qmccombs@NequalsOne.com
>http://www.NequalsOne.com 


>---------------------------------------------------------------------
>To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: turbine-dev-help@jakarta.apache.org

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/

Java, perl, Solaris, Linux, xSP Consulting, Web Services 
freelance consultant -- Jakarta Turbine Development  -- hero for hire

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org