mirror of
				https://github.com/nsnail/Ocelot.git
				synced 2025-11-04 13:50:49 +08:00 
			
		
		
		
	nuget package (#809)
* feat: Kubernetes ServiceDiscoveryProvider * 编写k8s测试例子 * feat:fix kube config * feat: remove port * feat : complete the k8s test * feat : add kubeserviceDiscovery test * feat : add kube provider unittest * feat :add kubetnetes docs how to use ocelot with kubetnetes docs * keep the configuration as simple as possible, no qos, no cache * fix: use http * add PollingKubeServiceDiscovery * feat : refactor logger * feat : add pollkube docs * feat:Remove unnecessary code * feat : code-block json * feat: publish package Ocelot.Provider.Kubernetes * feat : nuget package * fix: Namesapce Spelling wrong * fix:Namesapce Spelling Wrong
This commit is contained in:
		@@ -41,7 +41,7 @@ namespace Ocelot.UnitTests.Configuration
 | 
			
		||||
                .WithType("ServiceFabric")
 | 
			
		||||
                .WithToken("testtoken")
 | 
			
		||||
                .WithConfigurationKey("woo")
 | 
			
		||||
                .WithNamesapce("default")
 | 
			
		||||
                .WithNamespace("default")
 | 
			
		||||
                .Build();
 | 
			
		||||
 | 
			
		||||
            this.Given(x => x.GivenTheFollowingGlobalConfig(globalConfig))
 | 
			
		||||
@@ -66,7 +66,7 @@ namespace Ocelot.UnitTests.Configuration
 | 
			
		||||
            _result.Port.ShouldBe(expected.Port);
 | 
			
		||||
            _result.Token.ShouldBe(expected.Token);
 | 
			
		||||
            _result.Type.ShouldBe(expected.Type);
 | 
			
		||||
            _result.Namesapce.ShouldBe(expected.Namesapce);
 | 
			
		||||
            _result.Namespace.ShouldBe(expected.Namespace);
 | 
			
		||||
            _result.ConfigurationKey.ShouldBe(expected.ConfigurationKey);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user