Help Center/ ServiceStage/ User Guide/ Configuration Management/ Importing a Configuration File
Updated on 2024-12-16 GMT+08:00

Importing a Configuration File

This section describes how to import a local configuration file to deploy and upgrade multiple components of different applications in different environments.

Restrictions

  • The configuration file to be imported must be compressed into a .zip package, and the package size cannot exceed 500 KB.

    The folder name in the compressed package is the configuration group name, and the file name in the folder is the configuration file name. The file can be in the YAML or properties format.

  • The package to be imported can contain up to 500 configuration files.

Importing a Configuration File

  1. Log in to ServiceStage.
  2. Choose Configuration Management > Import. The Import Configuration dialog box is displayed.
  3. Use either of the following methods to upload the configuration file:

    • Click click Upload and select the target configuration file.
    • Drag the configuration file to the area in the Import Configuration dialog box.

    You can click Download Template and prepare the configuration file based on the format of the downloaded template for import.

  4. Set Policy for Processing Same Configuration. This parameter is used to determine the policy for processing configuration files with the same name in the imported package and existing configuration files with the same name in the group.

    • Skip: Skip the import.
    • Overwrite: Replace the existing configuration file with the imported configuration file.

  5. Click Import.

    • If the import is successful, you can view all the imported configuration files in the Configuration Management list.
    • If the import failed, modify the configuration file as prompted and import it again.