When the number of microservice application instances increases, the number of configuration files increases. You can manage the configuration files in the Microservices Engine (MSE) console. Configurations take effect immediately after the configurations are published. You can manage configurations in a dynamic manner without restarting applications.
Query configurations
MSE allows you to view configurations by using data IDs, group IDs, applications, or tags.
Log on to the MSE console, and select a region in the top navigation bar.
On the Instances page, click the name of the instance.
In the left-side navigation pane, choose Configuration Management > Configurations.
In the upper part of the Configurations page, specify Namespace, Group, Data ID, Application, or Tags, and click Query to search for the configurations that you want to query.
After the configurations that you want to query appear, you can perform the following operations on the configurations:
Click the data ID of a configuration in the Data ID column to view the details about the configuration.
Click Edit in the Actions column to modify a configuration.
Choose More > Delete in the Actions column to delete a configuration.
Click History Queries in the Actions column to view the details about the earlier versions of the configuration.
Click Listening Query in the Actions column to view the listening information of the configuration.
Select a configuration and click Export in the lower part of the page to export the configuration.
Select a configuration and click Clone in the lower part of the page to clone the configuration to another microservice namespace in the same region.
Select multiple configurations and click Batch Delete in the lower part of the page to delete the configurations at the same time.
View the details about a configuration
View the details about a configuration. For more information, see Query configurations in this topic.
On the Configurations page, find the configuration you want to view and click the data ID of the configuration in the Data ID column.
On the page that appears, view details of the configuration, including the basic information and data in the following tabs: Configuration Content, Sample Code, Versions, Listening Query, and Push track.
Edit a configuration
On the Configurations page, find the desired configuration and click Actions in the Edit column.
In the Edit Configuration panel, modify the configuration and click Release.
For more information about the configuration items, see Create a configuration. The Edit Configuration panel provides all features that are available in the Add Configuration panel and other additional features, such as Beta Release and Comparison of Configuration Content.
Feature
Description
Usage notes
Beta Release
Critical configuration errors may cause great loss to your business. We recommend that you verify a new configuration on some instances before you release the configuration to all instances. If no issues are found, you can release the configuration to all instances. This reduces the negative impacts of configuration errors.
After you turn on the Beta Release switch, you must enter the IP addresses of the instances on which you want to verify a configuration. If you want to verify the configuration on your on-premises machine, enter the public IP address of your on-premises machine.
Comparison of Configuration Content
Compares the updated configuration that you want to release with the original configuration after you submit configuration changes. This reduces accidental errors.
After you click Release to submit configuration changes, the Comparison of Configuration Content message appears.
Import a configuration
On the Configurations page, click Import Configuration.
In the Import Configuration dialog box, select Stop Import, Skip, or Overwrite for Same Configurations, click Upload File to import a configuration, and then click OK.
Export a configuration
On the Configurations page, select the configuration that you want to export and click Export.
In the Export Configuration dialog box, click Start Export.
Clone a configuration
On the Configurations page, select the configuration that you want to clone and click Clone in the lower part of the page.
In the Clone Configuration dialog box, select a namespace from the Destination Namespace drop-down list and click Start Clone.
Delete a configuration
On the Configurations page, find the configuration that you want to delete and choose More > Delete in the Actions column.
In the Delete Configuration message, confirm the information about the configuration and click OK.
Delete multiple configurations at a time
On the Configurations page, select the configurations that you want to delete and click Batch Delete.
In the Batch Delete dialog box, confirm the configurations and click OK.