You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2018/03/16 06:41:00 UTC
[jira] [Resolved] (SCB-396) java-sdk needs to distinguish the
instance belongs to the devops stage(environment)
[ https://issues.apache.org/jira/browse/SCB-396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang resolved SCB-396.
------------------------------
Resolution: Fixed
Merged the patch into master branch.
> java-sdk needs to distinguish the instance belongs to the devops stage(environment)
> -----------------------------------------------------------------------------------
>
> Key: SCB-396
> URL: https://issues.apache.org/jira/browse/SCB-396
> Project: Apache ServiceComb
> Issue Type: Task
> Components: Java-Chassis
> Reporter: WeiChao
> Assignee: WeiChao
> Priority: Major
> Fix For: java-chassis-1.0.0-m1
>
>
> 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 message was sent by Atlassian JIRA
(v7.6.3#76005)