Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Managed Assets outside of the generator - server project #3

Open
cmoulliard opened this issue Aug 30, 2018 · 2 comments
Open

Managed Assets outside of the generator - server project #3

cmoulliard opened this issue Aug 30, 2018 · 2 comments
Labels
question Further information is requested

Comments

@cmoulliard
Copy link
Member

cmoulliard commented Aug 30, 2018

The generator project contains 2 types of assets which are needed/used to populate the zip file

  1. config.yaml

When the pom.xml file is created from the pom.xml template, a for loop will add GAVs dependencies according to the list of -d passed as parameters to the URL request

  1. template

The pkg/template/tmpl folder contains the different templates that we propose when a project is scaffolded: simple, rest, crud, ... if you pass as parameter - -t

Such assets are packaged within this project but we could imagine to move them under a separate github project where they will be maintained separately and will be accessed by the server at runtime ? In this case, we could release the server - generator independently of the assets.

WDYT @lincolnthree @metacosm @iocanel @geoand ?

@cmoulliard cmoulliard added the question Further information is requested label Aug 30, 2018
@geoand
Copy link
Member

geoand commented Aug 30, 2018

I think it's a good idea - decouples deployment of the server from the templates which can then change without having to change anything in the server.

We would probably need to add some kind of syncing/caching process that would pull the templates periodically

@cmoulliard
Copy link
Member Author

config is now managed as a ConfigMap mounted within the directory /etc/conf of the pod

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants