Geert
Geert
Work in progress, don't merge yet! First stab at fixing #808. Feedback appreciated!
See also #821
It was suggested to use app_specific over import scripts, for instance like: ``` def deploy_customers log_header "Deploying Customers" ARGV.push('import') ARGV.push('-input_file_path') ARGV.push('data/customers') ARGV.push('-output_uri_replace') ARGV.push(%Q{"#{ServerConfig.expand_path("#{@@path}/../data")},''"}) ARGV.push('-output_collections') ARGV.push('customers') ARGV.push('-output_permissions') role_name = @properties['ml.app-name'] +...
Involves creating query rolesets, and protected paths
Wipe sometimes fails to wipe databases, because there are still dependencies. You'll get messages like: ``` Wiping MarkLogic setup for your project from ml9-ml1... ERROR: ADMIN-DATABASEINUSE: (err:FOER0000) The following databases...
Apply indentation, and attempt to preserve comments..
The code to merge multiple configs (setup:rewrite-configs) chokes if multiple configs contain a default-group attribute, even if they have the same value.
Config files are inserted in xqy such that it breaks if they contain comments above root element. Should be possible to fix.
Roxy already supports multiple config files, and rewrite-config in setup.xqy takes care of glueing together (if needed). Next step: break ml-config in small pieces, and in a dir structure. Read...
On behalf of @ArunPrakashThangavelu (https://github.com/grtjn/roxy/commit/5ac49a46584024e9f19de199d9decc06c6d39fba): I have upgraded our system to ML 8.0-6.6 and got CSRF Token validity error while trying Roxy deployment. To resolve this, i have copied the...