[GitHub] weichao666 commented on issue #591: [SCB-396] java-sdk needs to distinguish the instance belongs to the devops stage(environment)
weichao666 commented on issue #591: [SCB-396] java-sdk needs to distinguish the instance belongs to the devops stage(environment) URL: https://github.com/apache/incubator-servicecomb-java-chassis/pull/591#issuecomment-372562823 ![image](https://user-images.githubusercontent.com/30716999/37326352-c0334d28-26cc-11e8-9c34-69c523567da9.png) This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] weichao666 commented on issue #591: [SCB-396] java-sdk needs to distinguish the instance belongs to the devops stage(environment)
weichao666 commented on issue #591: [SCB-396] java-sdk needs to distinguish the instance belongs to the devops stage(environment) URL: https://github.com/apache/incubator-servicecomb-java-chassis/pull/591#issuecomment-372561817 sdk support registers service environment according to environment variables. servcie center registers the service interface, requesting the field with the identification phase in the body,{"service":{"serviceId":"xxx", "environment":"production"}}. the name of the environment variable should be aligned with GOSDK and be unified. the default value of this field is blank. This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services