-
Notifications
You must be signed in to change notification settings - Fork 93
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
[cds-plugin-ui5] Option to only include / exclude apps during server start up #1028
Comments
@jbibal-pdc Sorry for my late reply - the idea is great - I'm just thinking how to do it - would be a |
Hi @petermuessig, thanks for replying and considering my suggestion. Yes, maybe a Personally, I was also trying to think of a good way to handle it as part of this feature request but couldn't think of a cleaner implementation. While awaiting a response though, I did play around with it on my local and added support for a custom config in Like if this setting is Something like:
I mean it's not the best idea. Haha. I just thought of trying something to reduce local testing run times. Hoping other developers could chime in. |
@jbibal-pdc thanks for your suggestion, and sorry for not providing a fix yet - still thinking about the best option, but maybe we could change the plugin to startup the middlewares on demand (means in case of the first request happens to the application), this would then only start the middlewares which are really necessary for the execution. For a development scenario, this should be fully sufficient. And for sure, we can also add an immediate start-up option to the config... WDYT? |
Is your feature request related to a problem? Please describe.
When using the plugin with a big project, with multiple Fiori / UI5 apps, running the CAP / CDS server becomes very slow as it needs to spawn a server for each of the apps, when there are times that we only want to test and work on a particular app.
Describe the solution you'd like
Probably a config wherein we can specify which apps to include or maybe exclude when starting the server.
Describe alternatives you've considered
Break down the apps into different projects, which is a hassle since the apps share the same domain models.
Additional context
The text was updated successfully, but these errors were encountered: