This repository was archived by the owner on Nov 9, 2022. It is now read-only.

Description
Since setup.xqy uses the XML snippets from ml-config.xml directly, without validating their contents, it's possible to end up with a schema-invalid databases.xml configuration. Once that happens the REST Management API throws errors for database updates.
Specifically, I had a database with a range-field-index element containing a namespace-uri element (from the dmlc-healthcare project). This bootstraps (and works) without issue via Roxy. When I try to configure a database using the REST Management API (using ml-gradle and OBI), the PUT to /manage/v2/databases/obi-ui-content/properties fails with a 400 error.
This may properly be a bug of the Admin API not validating it's parameters. I'm not sure what an appropriate resolution would be, but wanted to capture the problem here.