In the Advanced Distributed Systems Design (ADSD) Course, Udi talks about the ITOps-service being responsible for things like authentication, connection strings and such.
Dow this mean that you should put all configuration in the ITOps service? Looking at the example for the Composite UI application, we have a Web app called Divergent.Website. At run time the ITOps stuff will run in the Divergent.Website process. In a production Environment, should you create something in the ITOps service that is responsible for the configuration?
If one of the services in the system needs to connect to a database, should that service ask ITOps about what the connection string is, instead of having it in its own appsettings file?
And, in the Append method of each ViewModelComposition it says “// Hardcoded for simplicity. In a production app, a config object could be injected.”. That config object, should that come from ITOps or from the Web app process that the View Model Composition projects run in? I would probably put the configuration in the Divergent.Website appsettings.json file but is that wrong from an ITOps perspective?
Don’t know if I explain my questions good enough. Trying to get my head around how to use configuration and ITOps.