resource property is specified on a service we will register the service in the Api Gateway under the specified value, in this case
users (as explained before the Api Gateway would then proxy calls to
http://user-api-service.my-namespace/users). If the
resource property is omitted, the service will be ignored by service discovery and it will just remain internal only. The
secured flag is to indicate whether a service requires authentication or not. I’ll get to this in my next post.