...
When importing a service into multiple domains/devices, DPOD will run a separate import action for each service, so the scripts will run multiple times, each time the current imported service parameters will be passed and a new folder structure will be created.
Deployment Policy Selector Script
...
- if the file is a ZIP file - extract it
- Make sure the "export.xml" file exists - if not, end with an error (write and error message to the file "validation-output.txt" and end with RC=1)
- Read the export.xml file as XML tree
- Make sure there is no /domains element (and if there is - end with error, domain export is not allowed)
- Make sure there is only one service's configuration in the export file
- Search the XML tree for /configuration/objectClass[@name=serviceName] - to make sure the file contains an export for the selected service - if not, end with error
- Exit with RC=0
...