You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicecomb.apache.org by "shri-arunraj (via GitHub)" <gi...@apache.org> on 2023/03/02 07:22:43 UTC

[GitHub] [servicecomb-mesher] shri-arunraj opened a new issue, #158: How to register schema in mesher to make intercalls from other microservices.

shri-arunraj opened a new issue, #158:
URL: https://github.com/apache/servicecomb-mesher/issues/158

   I have java chassis SDK based `serviceA` talks to mesher acting as sidecar proxy for the python based `serviceB`.
   When I call serviceB operations via mesher with restclient like this
   
   ```
   		 RestTemplate restTemplate = RestTemplateBuilder.create();
   	    String result =
   	            restTemplate.getForObject("cse://testApp:shippingservice/shippingservice/bmi?height={height}&weight={weight}"
   	            		, null, String.class,request.getHeight(),request.getWeight());
   
   ```
   
   I am always ended up in `Message Not Found` Error.
   
   
   Then I realised that mesher would not know about the schema/operations supported by the sidecar main microservice which it proxies.
   
   So the question is how to register the schema in mesher with the operations supported in the microservice in `serviceB`
   I have tried creating schema `yaml` file and put it under `mesher/conf` folder. But it does not work. The schemas are not getting uploaded or registered in the service center.
   
   Please suggest how to make intercommunication from serviceA to serviceB through mesher?


-- 
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: dev-unsubscribe@servicecomb.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [servicecomb-mesher] shri-arunraj commented on issue #158: How to register schema in mesher to make intercalls from other microservices.

Posted by "shri-arunraj (via GitHub)" <gi...@apache.org>.
shri-arunraj commented on issue #158:
URL: https://github.com/apache/servicecomb-mesher/issues/158#issuecomment-1451923856

   @tianxiaoliang Can you help on this issue? 


-- 
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: dev-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org