Interface MetadataParamsFilter

All Known Implementing Classes:
DefaultMetadataParamsFilter

@SPI public interface MetadataParamsFilter
This filter applies an either 'include' or 'exclude' policy with 'include' having higher priority. That means if 'include' is specified then params specified in 'exclude' will be ignored If multiple Filter extensions are provided, then, 1. All params specified as should be included within different Filter extension instances will determine the params that will finally be used. 2. If none of the Filter extensions specified any params as should be included, then the final effective params would be those left after removed all the params specified as should be excluded. It is recommended for most users to use 'exclude' policy for service params and 'include' policy for instance params. Please use 'params-filter=-default, -filterName1, filterName2' to activate or deactivate filter extensions.
  • Method Details

    • serviceParamsIncluded

      default String[] serviceParamsIncluded()
      params that need to be sent to metadata center
      Returns:
      arrays of keys
    • serviceParamsExcluded

      default String[] serviceParamsExcluded()
      params that need to be excluded before sending to metadata center
      Returns:
      arrays of keys
    • instanceParamsIncluded

      default String[] instanceParamsIncluded()
      params that need to be sent to registry center
      Returns:
      arrays of keys
    • instanceParamsExcluded

      default String[] instanceParamsExcluded()
      params that need to be excluded before sending to registry center
      Returns:
      arrays of keys