19 Jan 2021 02:51 PM - last edited on 18 May 2023 02:03 PM by Michal_Gebacki
Hello,
I'm missing some essential plugin API documentation. I need to get some plugin meta-information like the endpoint an execution run is using.
I found that a RemotePlugin provides get_activation_context() to get the activationcontext which sounds like what I need. However there is no documentation for activation context in the official docs:
https://dynatrace.github.io/plugin-sdk/_apidoc/ruxit_remote.api.html#ruxit-api-base-plugin-module
Can someone be so kind and maybe provide more information. On what/how an Activation Context can be used (package, fields, getters....)...and maybe update the documentation?
Thanks,
Reinhard
Solved! Go to Solution.
19 Jan 2021 03:05 PM
Hi Reinhard,
I will forward the documentation request to the plugin team. To answer the specific question regarding endpoint: go with self.activation.endpoint_name
Mike
19 Jan 2021 03:41 PM
Thanks Mike, problem solved.