Пример #1
0
 def __init__(self, task_id):
     """
     :param task_id: identifies the task being performed
     :type  task_id: str
     """
     StatusMixin.__init__(self, task_id, ContentSourcesConduitException)
     PublishReportMixin.__init__(self)
Пример #2
0
 def __init__(self, task_id):
     """
     :param task_id: identifies the task being performed
     :type  task_id: str
     """
     StatusMixin.__init__(self, task_id, ContentSourcesConduitException)
     PublishReportMixin.__init__(self)
Пример #3
0
    def __init__(self, group_id, distributor_id):
        RepoGroupDistributorScratchPadMixin.__init__(self, group_id, distributor_id)
        StatusMixin.__init__(self, distributor_id, DistributorConduitException)
        MultipleRepoUnitsMixin.__init__(self, DistributorConduitException)
        PublishReportMixin.__init__(self)

        self.group_id = group_id
        self.distributor_id = distributor_id
Пример #4
0
    def __init__(self, group_id, distributor_id):
        RepoGroupDistributorScratchPadMixin.__init__(self, group_id, distributor_id)
        StatusMixin.__init__(self, distributor_id, DistributorConduitException)
        MultipleRepoUnitsMixin.__init__(self, DistributorConduitException)
        PublishReportMixin.__init__(self)
        RepoScratchpadReadMixin.__init__(self, DistributorConduitException)

        self.group_id = group_id
        self.distributor_id = distributor_id
Пример #5
0
    def __init__(self, group_id, distributor):
        distributor_id = distributor.get("id")
        RepoGroupDistributorScratchPadMixin.__init__(self, group_id, distributor_id)
        StatusMixin.__init__(self, distributor.get("distributor_type_id"), DistributorConduitException)
        MultipleRepoUnitsMixin.__init__(self, DistributorConduitException)
        PublishReportMixin.__init__(self)
        RepoScratchpadReadMixin.__init__(self, DistributorConduitException)

        self.group_id = group_id
        self.distributor_id = distributor_id
Пример #6
0
    def __init__(self, repo_id, distributor_id):
        """
        @param repo_id: identifies the repo being published
        @type  repo_id: str

        @param distributor_id: identifies the distributor being published
        @type  distributor_id: str
        """
        RepoScratchPadMixin.__init__(self, repo_id, DistributorConduitException)
        DistributorScratchPadMixin.__init__(self, repo_id, distributor_id)
        StatusMixin.__init__(self, distributor_id, DistributorConduitException)
        SingleRepoUnitsMixin.__init__(self, repo_id, DistributorConduitException)
        PublishReportMixin.__init__(self)

        self.repo_id = repo_id
        self.distributor_id = distributor_id
Пример #7
0
    def __init__(self, repo_id, distributor_id):
        """
        @param repo_id: identifies the repo being published
        @type  repo_id: str

        @param distributor_id: identifies the distributor being published
        @type  distributor_id: str
        """
        RepoScratchPadMixin.__init__(self, repo_id, DistributorConduitException)
        DistributorScratchPadMixin.__init__(self, repo_id, distributor_id)
        StatusMixin.__init__(self, distributor_id, DistributorConduitException)
        SingleRepoUnitsMixin.__init__(self, repo_id, DistributorConduitException)
        PublishReportMixin.__init__(self)

        self.repo_id = repo_id
        self.distributor_id = distributor_id