def add_jdbc_driver(hash, &callback)
      required = %i[resource_id feed_id driver_jar_name driver_name module_name
                    driver_class binary_content]
      check_pre_conditions hash, required, &callback

      operation_payload = prepare_payload_hash([:binary_content], hash)
      invoke_operation_helper(operation_payload, 'AddJdbcDriver', hash[:binary_content], &callback)
    end
def add_jdbc_driver(hash, &callback)
      required = %i[resource_id feed_id driver_jar_name driver_name module_name
                    driver_class binary_content]
      check_pre_conditions hash, required, &callback

      operation_payload = prepare_payload_hash([:binary_content], hash)
      invoke_operation_helper(operation_payload, 'AddJdbcDriver', hash[:binary_content], &callback)
    end
Adds a new datasource

 @param [Hash] hash Arguments for the datasource
 @option hash [String]  :resource_id ID of the WildFly server into which we add driver
 @option hash [String]  :feed_id ID of the feed containing the WildFly server
 @option hash [String]  :driver_jar_name name of the jar file
 @option hash [String]  :driver_name name of the jdbc driver (when adding datasource, this is the driverName)
 @option hash [String]  :module_name name of the JBoss module into which the driver will be installed - 'foo.bar'
 @option hash [String]  :driver_class fully specified java class of the driver - e.q. 'com.mysql.jdbc.Driver'
 @option hash [String]  :binary_content driver jar file bits

 @param callback [Block] callback that is run after the operation is done