Skip to content
This repository has been archived by the owner on Jan 24, 2021. It is now read-only.

Migrate existing configuration endpoints to the unified configuration API #2000

Closed
5 of 11 tasks
thecodejunkie opened this issue Aug 10, 2015 · 7 comments
Closed
5 of 11 tasks

Comments

@thecodejunkie
Copy link
Member

As mentioned in #1999 once the new unified configuration API is implemented, we need to migrate the various configurations that we currently have implemented. This issue is intended to track the progress of that work. If you identify a place that needs updating, please let us know. Each of these should be handled as separate pull-requests so we can perform the migrations in a controlled fashion and split between multiple authors

Things that should be migrated

Probably will be in 2.x, but not in 2.0

Class naming

  • [Word]Configuration - for the configuration class
  • [Word]ConfigurationExtensions - for the INancyEnvironment extension
  • Default[Word]ConfigurationProvider - for the INancyDefaultConfigurationProvider / NancyDefaultConfigurationProvider<T> implementation

Branch naming convention: I suggest we use a naming convention for the branches for each of these migrations. My suggested convention is configuration-migration-xxxxxxx where xxxxxxx is the name of the feature that is being migrated.

@jchannon
Copy link
Member

👍

@thecodejunkie
Copy link
Member Author

Ping @NancyFx/most-valued-minions @NancyFx/owners these are all up-for-grabs, don't be shy 😋

@khellang
Copy link
Member

We should call the xxConfig naming convention. All existing xxSettings and xxConfiguration (and others if there are any) should be renamed to follow the convention.

In terms of naming, my 👍 goes to

  • [Word]Configuration
  • [Word]ConfigurationExtensions
  • Default[Word]ConfigurationProvider

@jchannon jchannon mentioned this issue Dec 10, 2015
4 tasks
@thecodejunkie
Copy link
Member Author

@NancyFx/most-valued-minions Feel free to pick stuff from the above list

@phillip-haydon
Copy link
Member

It's long winded but I prefer Default[Word]ConfigurationProvider or Default[Word]ConfigProvider simply because Default implies to the user that it can be overridden.

@thecodejunkie
Copy link
Member Author

Updated description to reflect what will be going into 2.0 and what will end up in subsequent 2.x releases

@thecodejunkie
Copy link
Member Author

We've done what we want to get done for 2.0. Closing this. We can come back if/when we decide to migrate more

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants