question

Marius O. avatar image
Marius O. asked ·

Migration of plugin properties

Hello,

currently I'm extending a Dynatrace plugin and have to handle a change in the plugin's properties. I know that a Migrator class (com.dynatrace.diagnostics.pdk.Migrator) exists which I can use in order to migrate the properties. But I don't find any documentation about this.

How is this class been used? Is it invoked(the class' migrate(..) method) every time the plugin is executed or is it called just once after the version changes?

In addition, when specifing the "migrator" in the plugin.xml, a "maxSourceVersion" and "minSourceVersion" attribute can be specified. What's they all about?

Thanks for any help.

Greets,
Marius

appmon6.5plugins
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

0 Answers