orleans icon indicating copy to clipboard operation
orleans copied to clipboard

Give ability to configure testingHost services with lambda function

Open AdamWyzgol opened this issue 8 years ago • 6 comments

I think it will be more flexible to have ability to configure testingcluster dependencies with lambda function instead of configuration class, TestClusterOptions should have additional list of functions to configure dependencies additionally to SiloBuilderConfiguratorTypes

AdamWyzgol avatar Jun 08 '18 07:06 AdamWyzgol

this is a good idea. It would make test cluster configuration much more convenient. Currently no matter how small a config I want to apply to a test cluster, I need a implement a ISilo(Client)BuilderConfigurator to do it. And as a result my tests project have a million configurator in it.

And I suspect it is fairly easy to build this feature on top of our existing test cluster infrastructure. I will bring it to the team. I think they will like it too.

xiazen avatar Jun 08 '18 20:06 xiazen

I'm not sure if it's so easy, Actual mechanism serialize configuration to plain text before used it in cluster creation. It's easy to serialize class name, but it will be much harder to deal with lambda.

AdamWyzgol avatar Jun 08 '18 21:06 AdamWyzgol

yeah you are right. I didn't think deep to that. Have you thought about how to solve that?

xiazen avatar Jun 08 '18 22:06 xiazen

I don't have any idea how to do that now, if I found some solution I update this issue

AdamWyzgol avatar Jun 11 '18 06:06 AdamWyzgol

We are marking this issue as stale due to the lack of activity in the past six months. If there is no further activity within two weeks, this issue will be closed. You can always create a new issue based on the guidelines provided in our pinned announcement.

ghost avatar Dec 11 '21 01:12 ghost

This issue has been marked stale for the past 30 and is being closed due to lack of activity.

ghost avatar Mar 05 '22 02:03 ghost