dmsolr opened a new pull request, #7042:
URL: https://github.com/apache/shenyu/pull/7042

   Fixes #6859
   
   Summary: GrpcParser and DubboIngressParser threw NPE when the referenced 
Kubernetes Service had no Endpoints.
   
   Fix: Added null checks after 
endpointsLister.namespace(namespace).get(serviceName), returning an empty 
upstream list and logging a message, matching the existing behavior in 
DivideIngressParser and WebSocketParser.
   
   Tests:
   - Added testReconcileWithMissingEndpointsDoesNotThrow to DubboReconcilerTest
   - Added new GrpcReconcilerTest with 
testReconcileWithMissingEndpointsDoesNotThrow
   
   Verification: Ran DubboReconcilerTest and GrpcReconcilerTest, result 
passed=5 failed=0


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to