Add configuration phase before http/rpc/ws servers launched
See original GitHub issueThere is a case when microservice should get/request some configuration (or load initial data from db to memory storage) from separate config service before his servers( http/rpc/ws) will be launched.
Would be cool to have an opportunity to delay nest
servers launch providing some function that returns Observable. This function should has access to app services and http/rpc requests to get/load initial data.
Also there is related issue - what if nest servers config (e.x. launch ports) should be requested from separate config service (http/rpc request). Currently it requires non-framework code that would wrap nest
launch before configs loaded.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:18 (10 by maintainers)
Top Results From Across the Web
Administering application servers - IBM
An application server configuration provides settings that control how an application server provides services for running applications and their components.
Read more >Build Lifecycle - Gradle User Manual
Gradle determines the subset of the tasks, created and configured during the configuration phase, to be executed. The subset is determined by the...
Read more >3 Common Installation Planning Tasks - Oracle Help Center
6/8. 3 Common Installation Planning Tasks. This chapter describes some common tasks that should be performed prior to beginning any Oracle Fusion Middleware ......
Read more >Configuration - Capistrano
Configuration. Location. Configuration variables can be either global or specific to your stage. global. config/deploy.rb. stage specific.
Read more >Create run/debug configuration for Gradle tasks - JetBrains
Before launch . In this area, you can specify tasks to be performed before starting the selected run/debug configuration ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey guys, In the nearest release it’d be possible to create an async components (factories & values). All components, which depends on async components, would be also async, so you can use them as a some kind of configuration phase.
Those async components are just promises, which have to be resolved before http/rpc/ws servers launch and may be injected into another components.
Hi @artaommahe, A little bit more about async components is available here