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

Break ml-config.xml into small parts (by default) #808

Open
grtjn opened this issue Jun 12, 2017 · 5 comments
Open

Break ml-config.xml into small parts (by default) #808

grtjn opened this issue Jun 12, 2017 · 5 comments

Comments

@grtjn
Copy link
Contributor

grtjn commented Jun 12, 2017

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 config files dynamically..

@grtjn grtjn added this to the July 2017 milestone Jun 12, 2017
@grtjn
Copy link
Contributor Author

grtjn commented Jun 12, 2017

Idea:

  • allow pointing to a dir with ml.config.file (potential default deploy/ml-config/?)
  • roxy grabs all files, regardless of dir/path, reads all, passes through as sequence to setup.xqy (already possible?)
  • setup.xqy rewrite-config should be changed to expect pieces without wrappers

Bonus:

  • investigate using Management REST api XML format..

@grtjn
Copy link
Contributor Author

grtjn commented Jun 13, 2017

Mostly there, including splitting ml-config.xml into parts, but there are some questions:

  • Migrate to using parts at new or init, or hold off on that for now?
  • How handle upgrade from project using ml-config.xml?
  • I think we need a different way of handling xml placeholders (such as: @ml.test-modules-db-xml)

@grtjn
Copy link
Contributor Author

grtjn commented Jun 13, 2017

I think it is also worth taking a look at #692 and #704..

@grtjn
Copy link
Contributor Author

grtjn commented Jun 13, 2017

Also look at #474..

@grtjn
Copy link
Contributor Author

grtjn commented Jun 14, 2017

I think it would be nice if a user could just split/export the config in the new format with a command. Maybe ./ml local export config --format=ml-config-parts --target=deploy/ml-config/?

grtjn added a commit to grtjn/roxy that referenced this issue Jun 15, 2017
grtjn added a commit to grtjn/roxy that referenced this issue Jun 15, 2017
grtjn added a commit to grtjn/roxy that referenced this issue Jun 15, 2017
grtjn added a commit to grtjn/roxy that referenced this issue Jun 15, 2017
grtjn added a commit to grtjn/roxy that referenced this issue Jun 15, 2017
grtjn added a commit to grtjn/roxy that referenced this issue Jun 15, 2017
grtjn added a commit to grtjn/roxy that referenced this issue Jun 16, 2017
…able to expose decision logic within ml-config
@RobertSzkutak RobertSzkutak modified the milestones: July 2017, October 2017 Aug 4, 2017
grtjn added a commit to grtjn/roxy that referenced this issue Jan 11, 2018
grtjn added a commit to grtjn/roxy that referenced this issue Jan 11, 2018
grtjn added a commit to grtjn/roxy that referenced this issue Jan 11, 2018
…able to expose decision logic within ml-config
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

2 participants