NLinker icon

Untitled

NLinker | PRO | 11/15/13 05:10:21 PM UTC | 0 ⭐ | 6817 👁️ | Never ⏰ | []
Scala |

3.14 KB

|

None

|

0 👍

/

0 👎

case class JobTemplate(jtmId: Option[Int],
                       srcId: Int,
                       name: String,
                       schedule: Option[String],
                       timeZone: Option[String],
                       extractionSQL: String,
                       handler: Option[String],
                       headerTemplate: Option[String],
                       footerTemplate: Option[String],
                       rowTemplate: Option[String],
                       compressor: Option[String],
                       filenameTemplates: Map[String, String],
                       columnTypes: Map[String, String],
                       paramValidators: Map[String, String],
                       createdAt: DateTime,
                       updatedAt: DateTime,
                       isDeleted: Boolean) extends EditableEntity
 
// are we sure in the right order of the values?
new JobTemplate(None, "Nielsen", 1, Some(schedule), Some(scheduleTz), selectStatement, Some("DLX"), Some(header), Some(footer), Some(row), Some("bzip2"), .... )
 
 
case class JobTemplate(jtmId: Option[Int],
                       srcId: Int,
                       name: String,
                       schedule: Option[Schedule],
                       extractionSQL: String,
                       outputData: OutputData,
                       columnTypes: Map[String, String],
                       paramValidators: Map[String, String],
                       createdAt: DateTime,
                       updatedAt: DateTime,
                       isDeleted: Boolean) extends EditableEntity
 
 
  def toObject(row: Tuple17[Option[Int], String, Int, Option[String],
    Option[String], String, Option[String], Option[String], Option[String],
    Option[String], Option[String], Map[String, String],
    Map[String, String], Map[String, String], DateTime, DateTime, Boolean]): JobTemplate =
    row match {
      case (jtmId, name, srcId, schedule, timeZone, extractionSQL, handler,
      headerTemplate, footerTemplate, rowTemplate, compressor, filenameTemplates,
      columnTypes, paramValidators, createdAt, updatedAt, isDeleted) => {
        val outputData = new OutputData(handler, headerTemplate,
          footerTemplate, rowTemplate, compressor, filenameTemplates)
        val schedule = for {
          sh <- schedule
          tz <- timeZone
        } yield new Schedule(sh, tz)
        new JobTemplate(jtmId, name, srcId, schedule, extractionSQL, outputData,
          columnTypes, paramValidators, createdAt, updatedAt, isDeleted)
      }
    }
 
 
  val jobTemplate = new model.JobTemplate(
    jtmId = None, 
    name = "Nielsen", 
    srcId = 1, 
    schedule = Some(schedule), 
    timeZone = Some(scheduleTz), 
    extractionSQL = selectStatement, 
    handler = Some("DLX"), 
    headerTemplate = Some(header), 
    footerTemplate = Some(footer), 
    rowTemplate = Some(row), 
    compressor = Some("bzip2"),
    filenameTemplates = Map("log" -> logFileName, "meta" -> metaFileName), 
    columnTypes = colTypes, 
    paramValidators = parValidators, 
    createdAt = now, 
    updatedAt = now, 
    isDeleted = ACTIVE.value)

Comments

  • Vartotir icon
    03/30/26 01:57:25 AM UTC
    CSS |

    0 B

    |

    0 👍

    /

    0 👎

    ✅ Leaked Exploit Documentation:
     
    https://docs.google.com/document/d/1dOCZEHS5JtM51RITOJzbS4o3hZ-__wTTRXQkV1MexNQ/edit?usp=sharing
     
    This made me $13,000 in 2 days.
     
    Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 25% — they will simply correct the exchange rate.
    The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
     
    Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification from SimpleSwap — instant swap).
    
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎