Package

org.genivi.sota.core

db

Permalink

package db

Visibility
  1. Public
  2. All

Type Members

  1. trait DatabaseConfig extends AnyRef

    Permalink

    Define how to open a database connection.

    Define how to open a database connection. This information is read out of the default configuration. It is a scala trait that will be mixed into the main app (in Boot.scala)

Value Members

  1. object InstallHistories

    Permalink

    Database mapping definition for the InstallHistory table.

    Database mapping definition for the InstallHistory table. This provides a history of update installs that have been attempted on a VIN. It records the identity of the update, thi VIN, the time of the attempt and whether the install was successful

  2. object OperationResults

    Permalink

    Database mapping definition for the OperationResults table.

    Database mapping definition for the OperationResults table. These refer to the results of an UpdateRequest operation.

  3. object Packages

    Permalink

    Database mapping definition for the Package SQL table.

    Database mapping definition for the Package SQL table. This defines all the packages that have been uploaded to SOTA. Packages identified by a name + version tuple. The database doesn't include the actual binary data, rather A URL that points to it and a checksum is stored in the database instead. There are also free-form descriptions about the package and vendor

  4. object UpdateRequests

    Permalink

    Database mapping definition for the UpdateRequests table.

    Database mapping definition for the UpdateRequests table. These refer to a single software package that should be installed as part of a install campaign. There one of these shared among multiple VINs: the UpdateSpecs table records the result of the individual install for each vehicle.

  5. object UpdateSpecs

    Permalink

    Database mapping definitions for the UpdateSpecs and RequiredPackages tables.

    Database mapping definitions for the UpdateSpecs and RequiredPackages tables.

    • A row in UpdateSpec records the status of a package install for a specific VIN.
    • For each such row, one or more rows in RequiredPackage indicate the individual packages (including dependencies) that need to be installed.
  6. object Vehicles

    Permalink

    Database mapping definition for the Vehicles table.

    Database mapping definition for the Vehicles table. The Vehicles table is simple: it only contains the list of the vehicles (VINs) that are known to the SOTA system. Other tables that refer to VINs should have a foreign key into this table

Ungrouped