Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

I want to use the deploy tool to capture an existing configuration #8

Closed
dmcassel opened this issue Apr 11, 2012 · 11 comments
Closed

Comments

@dmcassel
Copy link
Collaborator

Something like: "ml local capture", which would use the application name, servers, and ports, look at the target server, and build deploy/ml-config.xml. It would probably make sense for this to capture particular features (db settings, range indexes) rather than the whole config, so that the substitutions could remain in place.

@adamfowleruk
Copy link

I'll +1 this enhancement. I'm mainly bothered about Range Indexes, but CPF configuration and alert config would be good.

@peterskim12
Copy link
Contributor

We should be able to leverage the out of the box packaging functionality for this, at least for the more recent MarkLogic versions.

@dmcassel
Copy link
Collaborator Author

Yeah, this feature will likely require ML6+, maybe ML7+.

@adamfowleruk
Copy link

Does this mean it won't get implemented, or will be delayed?

@dmcassel
Copy link
Collaborator Author

dmcassel commented Jul 9, 2013

I expect it will get implemented. I can't promise when.

@mmalgeri
Copy link

mmalgeri commented Oct 8, 2013

+1 on this enhancement. The capture modules capability works fine. It would great to capture the content and any indexes created in either app builder or the admin interface

@grtjn
Copy link
Contributor

grtjn commented Apr 14, 2014

+1 !!

@grtjn
Copy link
Contributor

grtjn commented Apr 14, 2014

I suggest taking a particular app-server as starting point, and pull details from anything it points to or uses. Maybe have a 'wizard' ask what to include or not..

@grtjn
Copy link
Contributor

grtjn commented May 8, 2014

I improved support for capturing ml-config. The new parameter --ml-config accepts comma-separated lists of dbs, forests, servers, and mimes using --databases= --forests= --servers= --mimes= to capture specific parts of the full ml-config. Leaving them out will default to those for the current project.

Support for users and roles takes a little more effort unfortunately..

Still an 'undocumented' feature. Not mature enough to add to Help just yet..

@grtjn
Copy link
Contributor

grtjn commented Jul 12, 2016

I think this progressed sufficiently to mark this as closed. Agree?

@dmcassel
Copy link
Collaborator Author

I concur. If there are enhancements to be done to the existing functionality, those can be added as new issues.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants