Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for mlConfigPaths and mlModulePaths properties like ml-gradle has #1464

Closed
peetkes opened this issue Oct 26, 2018 · 4 comments
Closed

Comments

@peetkes
Copy link
Contributor

peetkes commented Oct 26, 2018

We are working on a dhf implementation where we have two different sets of configs, modules and plugins that we want to deploy on ML.
In teh current situation dhf does not honour these properties.
It will show them on the console but id does not act upon them.

We also have some specific indexes for the different databases (like temporal config), where would you typically put them so as the dhf will merge the entity-config, the hub-internal-config and the user specific configs? Now the final database config is in the src/main/ml-config/databases folder where I would expect it to be in the hub-internal-config folder.

@grechaw
Copy link

grechaw commented Oct 26, 2018

I don't know particular answers, but in general src/main/hub-internal-config all configures the staging db, and src/main/ml-config all configures the final db. There are exceptions due to how the DHF is bootstrapped.

DHF is very much tied to a single project/deployment. You could experiment with having two separate projects deploy to the same database, but I have no idea what might happen in this circumstance.

I do think it makes sense to support more than one project -- please talk to @sbayatpur-ml about your needs in this regard.

@peetkes
Copy link
Contributor Author

peetkes commented Oct 26, 2018

Problem with two different projects pointing to the same db is that all the mlRe.. tasks start with clearing databases rendering these tasks useless for multiple projects. I also think that there is a large gap between what ml-graldle offers and what dhf offers with respect to configuration. It would be a nice thing if this gap can be closed as soon as possible.

@popzip popzip added the gradle4 label Nov 6, 2018
@peetkes
Copy link
Contributor Author

peetkes commented Nov 23, 2018

And it is not so much as two different projects but two different upstream systems with their own config and modules ending up in the same database in MarkLogic.
Btw I noticed that 4.0.3 honors the mlModulePaths property of ml-gradle so I would suggest to do the same with mlConfigPaths. It would make life so much easier

@kkanthet
Copy link
Contributor

Fixed as part of Release 4.1.0

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

No branches or pull requests

5 participants