Location and Naming Conventions

For a new plug-in the following location conventions should be used:

  • Each plug-in is deployed in its own folder in the document root on the Domain SDK Runtime node. Document root path is /var/www/pa-domain-sdk/.
  • The plug-in name must be unique, containing only letters and numbers, starting with a letter.
  • Each folder has the same name as the plug-in's script name. For example, path to "MyDomainReg" should be /var/www/pa-domain-sdk/MyDomainReg/MyDomainReg.php.
  • Any other files used by the plug-in can be placed into the plug-in's folder.

Important: During update of CloudBlue Commerce, some data including the domain plug-ins that are shipped with the CloudBlue Commerce by default may be overwritten. In case you are customizing such a plug-in, you need to treat customized plug-in as a new one.