text: """ Copyright start
    Copyright (C) 2008 - 2021 Fortinet Inc.
    All rights reserved.
    FORTINET CONFIDENTIAL & FORTINET PROPRIETARY SOURCE CODE
    Copyright end """
  from connectors.core.connector import Connector
  from connectors.core.connector import get_logger, ConnectorError
  from .operations import operations, _check_health
  
  logger = get_logger('fortisandbox')
  
  
  class FortiSandbox(Connector):
      def execute(self, config, operation, operation_params, **kwargs):
          try:
              operation = operations.get(operation)
              return operation(config, operation_params)
          except Exception as err:
              logger.error('{0}'.format(err))
              raise ConnectorError('{0}'.format(err))
  
      def check_health(self, config):
          return _check_health(config)
  
  
  