Re: How to create a namespace mapping from a remote test?
I can see two options. However, both require deploying a custom bundle.
1. The JCR Content Loader has support for installing *.cnd files.
I.e. a (very slim) bundle could be installed to register a namespace
declared in a cnd file.
2. Deploy a custom bundle with a servlet that allows registering a
namespace. The servlet could even implement the majority of your test
case. I'm not sure how far the Teleporter junit rule would get you,
but it may be worth looking into.
On Thu, Feb 7, 2019 at 10:53 AM Christian Schneider
<[hidden email]> wrote:
> I would like to reproduce a problem with replication when a namespace is
> not present on publish.
> So I would like to:
> - create a new namespace mapping on author
> - Create a node with an attribute that uses the new namespace
> - publish the node to author and check if it is correct
> I can do all the steps but the namespace mapping creation.
> Does anyone know how to do this? I have not found any means on the sling
> testing client to do it.
> Christian Schneider
> http://www.liquid-reality.de >
> Computer Scientist