Hi,
I have an ActiveGate extension, with valid plugin.json and a properties.json to set configuration parameters.
When I upload a new version of my extension, with new configuration, I see that the configuration parameters have not changed. [the version is incraised on the plugin.json and the upload is successful]
I see several issues :
- The parameters on the config UI have not been updated (Setting/Monitoring/Monitored technologies/MyPlugin/Endpoint configuration)
--> Is it a bug or do I miss nothing on the build/upload process ? - The extension is not restarted, so it continues to loop the query() function. But I read my configuration parameters on the initialize() function, so the new parameters are not loaded.
--> How to restart the extension after a new build ?
I see on the log that the new code has been deployed successfully.
I am quite new on my Dynatrace company, so maybe I miss something basic :sweat_smile:
plugin.json :
{
"name": "custom.remote.python.myplugin",
"version": "0.945",
"type": "python",
"entity": "CUSTOM_DEVICE",
"metricGroup": "myplugin",
"technologies": ["MYPLUGIN"],
"source": {
"package": "activegate_plugin_myplugin",
"className": "MyPlugin",
"activation": "Remote"
},
"properties": [
{
"key": "debug",
"type": "Dropdown",
"dropdownValues" : ["WARNING", "INFO", "DEBUG"],
"defaultValue" : "INFO"
},
{
"key": "url",
"type": "String"
},
{
"key": "url2",
"type": "String"
}
],
"configUI": {
"displayName": "MyPlugin",
"properties" : [
{"key" : "url", "displayName": "First URL", "displayOrder": 1},
{"key" : "url2", "displayName": "Second URL", "displayOrder": 2},
{"key" : "debug", "type":"String", "displayName": "Enable debug logging", "displayOrder": 3}
]
}
}
properties.json :
{
"debug": "DEBUG",
"url": "https://google.fr",
"url2": "https://google.com"
}