- Mark as New
- Subscribe to RSS Feed
- Permalink
‎22 Jan 2023
12:09 PM
- last edited on
‎23 Jan 2023
03:15 PM
by
Ana_Kuzmenchuk
When deploying an extension to an ActiveGate, I typically recommend following these points:
- Put the ZIP in the deployment directory
- Unzip the ZIP file there
- Restart the remotepluginmodule service
The documentation states that we only have to do #1. Are there any advantages in doing #2 and #3? I'm also concerned if the initialize function in python is executed or not in such circumstances? I've checked several documentation pages and also the SDK documentation, but still have doubts. Does anyone have more info, or experience on how this works under the hood?
Solved! Go to Solution.
- Labels:
-
activegate
-
extensions
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎22 Jan 2023 04:57 PM
Hi,
The only necessary step is #2. Placing the zip files in that directory doesn’t accomplish anything, and as long as there is a new plugin.json file detected or a new version number in a plugin.json file the plugin module restarts automatically.
Mike
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎22 Jan 2023 05:49 PM
Thanks for your reply! So, I believe from your words that it checks the plugin.json files every minute, and if it detects a new version, it restarts the remotepluginmodule service. So that implies that the initialize function is run again, but it also means it runs again for all installed extensions?
- Mark as New
- Subscribe to RSS Feed
- Permalink
‎22 Jan 2023 06:43 PM
That is correct.
