Interface DataHubExtensionUploadService

    • Method Detail

      • uploadExtension

        void uploadExtension​(com.hybris.datahub.client.extension.ExtensionSource extSrc)
                      throws java.io.IOException
        Uploads a DataHub extension to the DataHub server.
        Parameters:
        extSrc - a source of the extension definition.
        Throws:
        java.io.IOException - when failed to read extension definition from the source
        com.hybris.datahub.client.DataHubBlockedException - if extension cannot be uploaded now due to DataHub performing some uninterruptable operation. If this exception received, the extension deployment should be attempted later.
        com.hybris.datahub.client.extension.InvalidDataHubExtensionException - if the extension defined in the source is invalid or it's not in XML format or the XML is malformed.