Hi All - I have run into an issue where i have implemented a custom link transformer which needs to be run on non prod environment ( qa, stage, local). I tried adding rewrite config under /apps/<project>/config.<runmode> but my LinkTransformer is not getting called. My linktransformer works fine when added under apps/<project>/config. I need suggesstion on how can i achieve this requirement of running link transformer only on specific environment.
Thanks in advance.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @praja1987
Unfortunately the rewriter definition does not support runmodes. So you need to have your rewriter configured in all environments; and then add some runmode based logic in java implementation, which disables the actual rewriting process on prod.
Hi @praja1987
Unfortunately the rewriter definition does not support runmodes. So you need to have your rewriter configured in all environments; and then add some runmode based logic in java implementation, which disables the actual rewriting process on prod.
@praja1987 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
Views
Replies
Total Likes