def setUp(self): super(TransformPrototypeIntTest, self).setUp() self._start_container() self.container.start_rel_from_url('res/deploy/r2deploy.yml') self.rrc = ResourceRegistryServiceClient() self.dataset_management = DatasetManagementServiceClient() self.pubsub_management = PubsubManagementServiceClient() self.ssclient = SchedulerServiceClient() self.event_publisher = EventPublisher() self.user_notification = UserNotificationServiceClient() self.process_dispatcher = ProcessDispatcherServiceClient() self.exchange_names = [] self.exchange_points = []
def setUp(self): DMTestCase.setUp(self) process_definition = ProcessDefinition( name='qc_post_processor', executable={ 'module': 'ion.processes.data.transforms.qc_post_processing', 'class': 'QCPostProcessing' }) self.process_definition_id = self.process_dispatcher.create_process_definition( process_definition) self.addCleanup(self.process_dispatcher.delete_process_definition, self.process_definition_id) self.process_id = self.process_dispatcher.create_process( self.process_definition_id) self.scheduler_service = SchedulerServiceClient()