Added support for mail notifications and WIP JIRA export.

This commit is contained in:
Šesták Vít
2016-02-12 19:50:40 +01:00
parent f4fa0ee948
commit 2fb2c3fd72
32 changed files with 728 additions and 51 deletions
@@ -0,0 +1,15 @@
package models
import models.profile.MappedJdbcType
import models.profile.api._
import slick.lifted.ProvenShape
case class ExportedVulnerabilityProject(exportedVulnerabilityId: Int, projectFullId: String)
abstract class ExportedVulnerabilityProjects(tag: Tag, tableNamePart: String) extends Table[ExportedVulnerabilityProject](tag, s"exported_${tableNamePart}_vulnerability_projects"){
def exportedVulnerabilityId = column[Int]("exported_vulnerability_id")
def fullProjectId = column[String]("full_project_id")
def idx_all = index(s"idx_${tableName}_all", shape, unique = true)
private def shape = (exportedVulnerabilityId, fullProjectId)
override def * = shape <> (ExportedVulnerabilityProject.tupled, ExportedVulnerabilityProject.unapply)
}