Don't allow direct calls to Microservices. Only allow through API Gateway
Maybe this is a strange question (I'm new with Microservices). But I'm looking for some info on how proceed with this. Does not need to be Spring specific, but that's the framework I'm using at the moment. Example: Lets say we have two Microservices a) http://myurlfortesting.com:8085/api/rest/serviceone b) http://myurlfortesting.com:8090/api/rest/servicetwo and we have setup Spring Zuul (acting as the API Gateway) with the following rules that forward the incoming calls: /rest/one -> http://myurlfortesting.com:8085/api/rest/serviceone /rest/two -> http://myurlfortesting.com:8090/api/rest