Re: [basex-talk] Installation of RESTXQ scripts over HTTP API?

2015-08-24 Thread Andreas Jung
In our current setup we are using Docker for BaseX and Exist-DB. So I might be reasonable for me putting some bootstrap RESTXQ script into the container providing all the functionality need for further installation steps from my deployment code... Thanks Andreas On 24 Aug 2015, at 8:31, Dirk Ki

Re: [basex-talk] Installation of RESTXQ scripts over HTTP API?

2015-08-23 Thread Dirk Kirsten
Hello Andreas, you can write a RESTXQ-function which does exactly that, i.e. a function accepting files and putting them into the right location in the file system. So once the system is up, deployment can be done via HTTP. You should secure this with a password or token for obvious reasons. Anot

Re: [basex-talk] Installation of RESTXQ scripts over HTTP API?

2015-08-23 Thread Andreas Jung
Background: http://xml-director.info/ is my project which aims to support both ExistDB and BaseX. In ExistDB I can manage my content, assets and code (RESTXQ) scripts solely over the WebDAV layer of ExistDB which makes deployments really easy. Deploying code to BaseX requires access to the file

Re: [basex-talk] Installation of RESTXQ scripts over HTTP API?

2015-08-23 Thread Dirk Kirsten
Hello Andreas, I do not quite understand - What use is a web service if you do not have access over HTTP? You might have to tunnel, but this might be just the right action. RESTXQ files don't have to be installed, they are just read in from the file system. Hence, every file transfer mechanism yo

[basex-talk] Installation of RESTXQ scripts over HTTP API?

2015-08-23 Thread Andreas Jung
Hi there, I know that .xqm script are installed directly on the filesystem (compared to Exist where the scripts are stored directly within the database). Is there some way to install RESTXQ through some (HTTP) API on the filesystem? Background of my question: I want to deploy RESTXQ script to