You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by Kevin Minder <ke...@hortonworks.com> on 2013/09/13 22:41:05 UTC

Simplified way to specify rules in a deployment contributor

Hey Everyone,
My recent work on the Oozie deployment contributor led me to a much 
simpler way to create rewrite rules.  Take a look at how I do this in 
the OozieDeploymentContributor
gateway-service-oozie/src/main/java/org/apache/hadoop/gateway/oozie/OozieDeploymentContributor.java
I started out with the intention to use Velocity as a template processor 
for this but this turned out to be unnecessary due to the service 
registry rewrite functions.
Kevin.

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Re: Simplified way to specify rules in a deployment contributor

Posted by Kevin Minder <ke...@hortonworks.com>.
I should say that contributing the rules is easier.  The rules 
themselves in this example are actually more complex.

On 9/13/13 4:41 PM, Kevin Minder wrote:
> Hey Everyone,
> My recent work on the Oozie deployment contributor led me to a much 
> simpler way to create rewrite rules.  Take a look at how I do this in 
> the OozieDeploymentContributor
> gateway-service-oozie/src/main/java/org/apache/hadoop/gateway/oozie/OozieDeploymentContributor.java 
>
> I started out with the intention to use Velocity as a template 
> processor for this but this turned out to be unnecessary due to the 
> service registry rewrite functions.
> Kevin.


-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.