wujimin created SCB-1083:
----------------------------

             Summary: support test before provide service
                 Key: SCB-1083
                 URL: https://issues.apache.org/jira/browse/SCB-1083
             Project: Apache ServiceComb
          Issue Type: Task
          Components: Java-Chassis
            Reporter: wujimin
             Fix For: java-chassis-1.2.0


1.when deploy or upgrade, microservice instance will start with status: 
TESTING, all consumers will not invoke this instance

2.test tool will invoke the instance with special ip, after test finished 
successfully, test tool will change the instance status to UP, all consumers 
can invoke this instance now.

3.this instance will publish a event with old instance and new instance, to let 
business logic know: my instance changed.

 

tasks:
 * SC add a status: TESTING   (already finished)
 * SC add batch pull instances api, and supoort pull special instance  in this 
api (already finished)
 * SDK allow control status from configuration
 * SDK change loop pull all target microservice instance to batch pull, and 
pull self instance, when self instance changed, publish a new event



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to