Help Center/ ServiceStage/ User Guide (ME-Abu Dhabi Region)/ FAQs/ What Should I Do If an Error Occurs When I Change the Name of a Project ?
Updated on 2022-12-05 GMT+08:00

What Should I Do If an Error Occurs When I Change the Name of a Project ?

For the professional edition of microservice engines, projects are used for resource isolation. When their names are changed, the changes need to be updated globally.

It means that you need to update all microservices that use the professional service center for registration and discovery in the project. Otherwise, the "Project id or name is not existed" error may occur.

You can perform the following operations to resolve this issue:

  • If a microservice is deployed through ServiceStage, update the microservice components by referring to Upgrading an Application Component (you do not need to modify any parameter).
  • If a microservice is not deployed through ServiceStage, change the name of the project in the microservice configuration to the actual value and update the microservice.
    Table 1 Configuration items of project

    Microservice Framework

    Configuration Item

    Configuration File

    Java Chassis

    servicecomb.credentials.project

    microservice.yml

    Spring Cloud Huawei

    spring.cloud.servicecomb.credentials.project

    application.yml

    Dubbo ServiceComb

    dubbo.servicecomb.credentials.project

    dubbo.properties

    Go Chassis

    servicecomb.credentials.project

    chassis.yaml or auth.yaml