allegro / envoy-control

Envoy Control is a platform-agnostic, production-ready Control Plane for Service Mesh based on Envoy Proxy.
Apache License 2.0
100 stars 33 forks source link

SimpleCache removed #421

Open kozjan opened 5 months ago

kozjan commented 5 months ago

Update to java-control-plane 1.0.45 with SimpleCache removed.

Removed SimpleCache class, which was a copy of envoyproxy's class. It had custom stuff - shouldSendMissingEndpoints, it's used here and here.

Now the same stuff happens in envoyproxy - there is a allowDefaultEdsUpdate boolean which sets allowDefaultResource to true. Then during creating a response resources are mapped using defaultResource, which does pretty much the same mapping as our custom one but with additional check if resource type is ENDPOINT (compared to this).

OutlierDetectionTest breaks when Envoy v1.28.0+ is used.