slime-io / slime

An intelligent ServiceMesh manager based on Istio
https://slime-io.github.io/
Other
420 stars 79 forks source link

meshreg: deprecate eurekasource NsfEureka and GatewayModel and refactor to decouple with them #486

Closed YonkaFang closed 5 months ago

YonkaFang commented 5 months ago

变更内容:

  1. 去掉GatewayModel/NsfEureka 等强业务含义的配置,改为更基础能力相关的配置项

    本PR只完成eureka部分,其他source待后续PR。

    为平滑升级,这两个字段暂时deprecate,在代码中做了转换。 待使用者都迁移完毕后可以彻底删除这两个配置

  2. 对(eureka) conversion 部分代码进行重构,将convert逻辑收敛,以支撑1