Closed raman-m closed 2 months ago
Kube
public
protected
public virtual
protected virtual
IKubeServiceBuilder
IKubeServiceCreator
AddKubernetes
Ocelot.AcceptanceTests.ServiceDiscovery
KubernetesServiceDiscoveryTests
@ggnaegi Could you review please? 🙏
KubeServiceBuilderTests
KubeServiceCreatorTests
kubernetes.rst
Closes #1967
1967
I suggest decoupling the
Kube
logic and introducing virtualpublic
andprotected
signatures in concrete classes, thuspublic virtual
methods due to interface definitions.protected virtual
methods to enable developers to customize atomic feature/operations by inheriting from existing concrete classes.Proposed Changes
Kube
provider → https://github.com/ThreeMammals/Ocelot/pull/2052/commits/5b0485a28ba850cb0e09409273fdd83cfb3a34e1, https://github.com/ThreeMammals/Ocelot/pull/2052/commits/51de5d7c2b2b7f81d29ffc1f491feb067e9cf284IKubeServiceBuilder
andIKubeServiceCreator
to decoupleKube
logic, adding both to theAddKubernetes
extension → https://github.com/ThreeMammals/Ocelot/pull/2052/commits/745c0c99d95779e6f7f2b94c8d9157d529f5a721, https://github.com/ThreeMammals/Ocelot/pull/2052/commits/5ec40934dabee8c93ead83d171d78daf4fb7eb86Ocelot.AcceptanceTests.ServiceDiscovery
→ https://github.com/ThreeMammals/Ocelot/pull/2052/commits/14668f7d4061ac4ce49256cd5313aa0dc7bebedfKubernetesServiceDiscoveryTests
class for K8s acceptance tests → https://github.com/ThreeMammals/Ocelot/pull/2052/commits/e51e42666d52cffcfb8a0cfc11f1b7fbd7f5ecffKey Changes