[object Object][object Object]

Serviceparam Optimizer supports custom plugins. You can develop your own plugins to customize search parameters, service frameworks, and performance benchmark tools.

The process of developing a custom plugin is as follows:

  1. Create a Python project as a plugin.
  2. Develop the custom plugin.
[object Object][object Object]
  1. Inherit from the [object Object] class.

    [object Object] is implemented through [object Object]. You can customize the class by adding or removing attributes. Example:

    [object Object]
  2. Register the [object Object] with its initialization function.

    Add a registration function to your Python project to register your [object Object] class with its initialization method. Example:

    [object Object]
  3. Use the [object Object].

    Import [object Object] to retrieve your custom [object Object]. Example:

    [object Object]
[object Object]
  1. Inherit from [object Object], and implement the [object Object] and [object Object] properties and the [object Object] method. Example:

    [object Object]
  2. Register the service framework in the [object Object] file. Example:

    [object Object]
[object Object]
  1. Inherit from [object Object] and implement the [object Object] and [object Object] methods. Example:

    [object Object]
  2. Register the benchmark tool in the [object Object] file. Example:

    [object Object]
  3. Set the plugin entry point.

    Add your custom registration function to the entry point group 'ms_serviceparam_optimizer.plugins'. For example, to register the [object Object] function from the [object Object] module:

    [object Object]
  4. Installing the Plugin Set the entry point to [object Object]. Example:

    [object Object]

    Before using the plugin mode, install the plugin in the plugin directory (ensure that the current path contains [object Object]). For example:

    [object Object]
  5. Use the plugin.

    You can specify which plugin modules to use via the Serviceparam Optimizer's command-line arguments. For example, after registering the service framework [object Object] and the benchmark tool [object Object], check whether they appear in the supported services and benchmark tools: Example:

    [object Object]
    [object Object]

    Run optimization using the specified plugin module:

    [object Object]