marklogic-community / roxy

Deployment tool for MarkLogic applications. Also provides optional unit test and XQuery MVC structure
Other
87 stars 66 forks source link

Fixed #819: allow skipping of indexes, fragment roots, lexicons, fields, etc. Also some code cleanup. #871

Closed grtjn closed 6 years ago

grtjn commented 6 years ago

Fixes #819

It will skip all repeatable artifacts of databases if either the wrapper element (<element-range-indexes>, <fragment-roots>, etc) are omitted, or it the wrapper is decorated with a append="true".

I added testing for this to self-test, for which I had to make sure all bootstrap test are executed in declared order, so had to bundle them all in one test. It speeds up self-test by the way, as it is no longer doing an extra (unnecessary) bootstrap, ánd wipe, for each of the test cases.

I also took the opportunity to remove some legacy. I unwrapped all xdmp:value's and xdmp:eval's concerning ML6, and straightened out a few unnecessary code loops.

grtjn commented 6 years ago

I also wrapped the geo path index stuff to make it run against ML7 and ML8. I'll merge now, so that CI will stop complaining about that..