Haishi Yao created SCB-1590:
-------------------------------
Summary: Corrent the environment collected by
ServiceInformationCollector
Key: SCB-1590
URL: https://issues.apache.org/jira/browse/SCB-1590
Project: Apache ServiceComb
Issue Type: Bug
Components: Java-Chassis
Affects Versions: java-chassis-1.3.0
Reporter: Haishi Yao
Assignee: Haishi Yao
Now the microservice instance will print some information after it is
registered on service-center successfully. The information printed is collected
by the implementations of BootUpInformationCollector.
But the environment item collected by ServiceInformationCollector is wrong, as
a result, no matter which environment the microservice instance is in, the env
printed in the banner is always "production". The root cause is that
ServiceInformationCollector get env from MicroserviceInstance#environment,
which is abandoned.
ServiceInformationCollector should get correct env from
Microservice#environment.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)