sreeraksha commented on issue #4006:
URL: https://github.com/apache/shenyu/issues/4006#issuecomment-1260475760

   @yu199195 I tried configuring selector in Shenyu admin to access a client 
service called customer-service (which does not have @ShenyuSpringCloudClient 
or any shenyu dependencies) but doesn't seem to route the request. Kindly guide 
me. Thanks
   
   I followed steps mentioned at 
https://shenyu.apache.org/docs/plugin-center/proxy/spring-cloud-plugin#252-selector-and-gray-config
 as below
   
   Service is registered with Eureka 
   <img width="752" alt="image" 
src="https://user-images.githubusercontent.com/30264507/192709517-ac450ba4-9e40-47cd-b534-f1c633fd2b71.png";>
   Configured selector as below
   <img width="751" alt="image" 
src="https://user-images.githubusercontent.com/30264507/192709735-d8cc571f-3365-40a7-a033-8cbfef272a45.png";>
   when i try accessing it via eureka it works fine 
   <img width="512" alt="image" 
src="https://user-images.githubusercontent.com/30264507/192710177-ec5a130b-6e08-4912-b1b0-db8ccc7acb7e.png";>
   But with shenyu endpoint it fails with code -106
   <img width="512" alt="image" 
src="https://user-images.githubusercontent.com/30264507/192710399-3c676db1-fdfa-4b41-8267-8f35b09c88c1.png";>
   
   
   
   
   
   


-- 
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