Application Management

Introduction

Use to maintain the configuration of the application, the application configuration contains two types of configuration, public and private.

  • Public configuration

    This type of configuration can be used by other applications. A typical example is that application B needs to call the interface of application A, then application B must know the IP or domain name of application A, then you can add a public type of configuration on application A for application B to use. Why not put this configuration in application B? Because if there are also applications C / D / E / F that need to call A? It is troublesome and difficult to maintain to configure it in C / D / E / F.

  • Private configuration

    This type of configuration is only used for this application and will not be obtained by other applications.

Tips

  • Public and private types of configuration will be applied to themselves, and the difference between them is that when other applications depend on this application, public configuration will be provided to the dependent application while private configuration will not be provided.
  • The configuration center is used to solve the differences in configuration between different environments. If the value of some configurations in each environment is the same, you can directly hard code them in the code instead of putting them in the configuration center for maintenance.