Hi,

I have a server with a plugin-configuration defined in the plugin descriptor. 

<plugin-configuration>
            <c:simple-property name="key" type = "string" required = "true"/>
</plugin-configuration>

In the server's discovery component, I want to access the plug-in configuration that was changed through the UI and not the default plugin-configuration in the plugin descriptor. 

This is what I tried in the discoverResources method:

List<Configuration> configs = context.getPluginConfigurations();
            
            for (Configuration config : configs ) {
                Uniquekey = config .getSimpleValue("key", null);
                if (Uniquekey == null)
                    throw new InvalidPluginConfigurationException("No Key provided");                   
            }

What I get is that UniqueKey is not null. But it is blank. getPluginConfigurations is deprecated, could it be the reason why my code does not work? .  

Thanks,
Mike