Uploaded image for project: 'Apache ServiceComb'
  1. Apache ServiceComb
  2. SCB-1590

Corrent the environment collected by ServiceInformationCollector

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • java-chassis-1.3.0
    • None
    • Java-Chassis
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              yaohaishi Haishi Yao
              yaohaishi Haishi Yao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: