You can read the license with xdmp:host-status. But I don't think there is an API to update it.
Of course you could do something unsupported: simulating a post to Admin/license.xqy for example, or writing directly to the underlying filesystem. For license keys either approach should be fairly easy. Be sure to restart as needed. A similar gap in the admin API is cluster setup. I've done this by simulating browser requests, but it isn't pretty. Writing the config files directly to the host filesystems is a bit cleaner, but somewhat tricky to get right. -- Mike On 20 May 2013, at 08:44 , Bob O <[email protected]> wrote: > > Hi, Everyone! > > I have a question: Is there a way to programatically update the MarkLogic > License ? I'm taking on a ML project with the government and I need some > guidance on a few things. > > I apreciate any assistance anyone can give me. > > Thanks, > > Bob O. > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
