THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
These variables can be used with the rewrite function.
$serviceUrl
- $serviceUrl[SERVICE_NAME] - looks up the <service><url> for the <service><role>SERVICE_NAME
$frontend
- $frontend[path] - Gets the Knox path i.e. /gateway/sandbox/
$import
$import - This function enhances the $frontend function by adding '@import' prefix to the $frontend path. e.g.
Code Block <rewrite template="{$import[", url]}/stylesheets/pretty.css";"/>
. It takes following parameters as options:
- $import - Adds @import as a prefix to the frontend url. e.g. @import https://localhost:8443/gateway/sandbox
- $import[", url] - Adds " as prefix along with @import, the rewritten frontend url will be '@import https://localhost:8443/gateway/sandbox
$prefix
$prefix - This function enhances the $frontend function just like $import but gives the ability to choose a prefix (unlike a constant @import in case of $import) e.g.
Code Block <rewrite template="{$prefix[',url]}/zeppelin/components/{**}?{**}"/>
- $prefix[PREFIX, url] - Adds a supplied PREFIX to the frontend url, e.g. in above case the rewritten url would be 'https://localhost:8443/
zeppelin/components/navbar/navbar.html?v=1498928142479' (mind the single tick ' )
- $prefix[PREFIX, url] - Adds a supplied PREFIX to the frontend url, e.g. in above case the rewritten url would be 'https://localhost:8443/
...