Skip to content

Commit 1b302a0

Browse files
committed
added dev3 for kong
1 parent e8a39f1 commit 1b302a0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/plugins/minos-discovery-kong/minos/plugins/kong/client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,11 @@ def _from_config(cls, config: Config, **kwargs) -> KongClient:
4242
discovery_config = config.get_discovery()
4343

4444
token_expiration_sec = discovery_config.get("token-exp")
45+
protocol = discovery_config.get("protocol")
4546
host = discovery_config.get("host")
4647
port = discovery_config.get("port")
4748

48-
return cls(host=host, port=port, token_expiration_sec=token_expiration_sec, **kwargs)
49+
return cls(protocol=protocol, host=host, port=port, token_expiration_sec=token_expiration_sec, **kwargs)
4950

5051
@staticmethod
5152
async def register_service(

packages/plugins/minos-discovery-kong/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "minos-discovery-kong"
3-
version = "0.7.0.dev2"
3+
version = "0.7.0.dev3"
44
description = "The minos-kong plugin offer an interface that permit integrate Minos Microservice with Kong API Gateway"
55
readme = "README.md"
66
repository = "https://github.com/minos-framework/minos-python"

0 commit comments

Comments
 (0)