mirror of
				https://github.com/nsnail/Ocelot.git
				synced 2025-11-04 16:10:50 +08:00 
			
		
		
		
	added a new implementation that stores the ocelot config in consul kv store, had to change some major things and add cache settings as default
This commit is contained in:
		@@ -49,7 +49,7 @@ namespace Ocelot.UnitTests.Configuration
 | 
			
		||||
 | 
			
		||||
        private void WhenIGetTheConfiguration()
 | 
			
		||||
        {
 | 
			
		||||
            _getResult = _repo.Get();
 | 
			
		||||
            _getResult = _repo.Get().Result;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        private void GivenThereIsASavedConfiguration()
 | 
			
		||||
@@ -65,7 +65,7 @@ namespace Ocelot.UnitTests.Configuration
 | 
			
		||||
 | 
			
		||||
        private void WhenIAddOrReplaceTheConfig()
 | 
			
		||||
        {
 | 
			
		||||
            _result = _repo.AddOrReplace(_config);
 | 
			
		||||
            _result = _repo.AddOrReplace(_config).Result;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        private void ThenNoErrorsAreReturned()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user