def enable_deployment(hash, &callback)
      required = %i[resource_id feed_id deployment_name]
      check_pre_conditions hash, required, &callback

      hash[:destination_file_name] = hash[:deployment_name]

      operation_payload = prepare_payload_hash([:deployment_name], hash)
      invoke_operation_helper(operation_payload, 'EnableApplication', &callback)
    end
def enable_deployment(hash, &callback)
      required = %i[resource_id feed_id deployment_name]
      check_pre_conditions hash, required, &callback

      hash[:destination_file_name] = hash[:deployment_name]

      operation_payload = prepare_payload_hash([:deployment_name], hash)
      invoke_operation_helper(operation_payload, 'EnableApplication', &callback)
    end
Enable a WildFly deployment

 @param [Hash] hash Arguments for enable deployment
 @option hash [String]  :resource_id ID of the WildFly server from which to enable the deployment
 @option hash [String]  :feed_id feed containing this resource
 @option hash [String]  :deployment_name name of deployment to enable
 @option hash [String]  :server_groups comma-separated list of server groups for the operation (default = ignored)

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