Ejemplo n.º 1
0
    def start_manager_rest(self):

        from manager_rest.file_server import PORT as FS_PORT
        file_server_base_uri = 'http://localhost:{0}'.format(FS_PORT)
        self.manager_rest_process = ManagerRestProcess(
            MANAGER_REST_PORT,
            self.fileserver_dir,
            file_server_base_uri,
            FILE_SERVER_BLUEPRINTS_FOLDER,
            FILE_SERVER_UPLOADED_BLUEPRINTS_FOLDER,
            FILE_SERVER_RESOURCES_URI,
            self.test_working_dir)
        self.manager_rest_process.start()
Ejemplo n.º 2
0
    def start_manager_rest(self):

        from manager_rest.file_server import PORT as FS_PORT
        file_server_base_uri = 'http://localhost:{0}'.format(FS_PORT)

        self.manager_rest_process = ManagerRestProcess(
            MANAGER_REST_PORT, self.fileserver_dir, file_server_base_uri,
            FILE_SERVER_BLUEPRINTS_FOLDER,
            FILE_SERVER_UPLOADED_BLUEPRINTS_FOLDER, FILE_SERVER_RESOURCES_URI,
            self.rest_service_log_level, self.rest_service_log_path,
            self.rest_service_log_file_size_MB,
            self.rest_service_log_files_backup_count, self.securest_log_level,
            self.securest_log_file, self.securest_log_file_size_MB,
            self.securest_log_files_backup_count, self.test_working_dir,
            self.amqp_username, self.amqp_password)
        self.manager_rest_process.start()