Skip to content
Masha Samsikova edited this page Sep 18, 2020 · 1 revision

This is the list of all the POJOs used in the application

BuildBotData

Contains the compile information from a single builder, for a single revision. It is produced by the BuildBotFetchers and consumed by DataRepository. It is a member of BuildInfo.

Fields:

  • commit hash (Transient field, not stored in the database): commit hash of the revision, used for mapping the information to the correct BuildInfo entry.
  • timestamp: time when the compilation ended
  • name: the name of the builder
  • logs: a list of logs for each compilation step
  • status: a BuilderStatus, representing any of the 3 possible results of the compilation(PASSED, FAILED, LOST)

BuilderIndex

Contains the fields and methods needed for updating and retrieving the individual revision indices of each builder in the Buildbot API. This class models the "index" kind entries, being directly stored in the datastore.

Fields:

  • name (primary key of the entity): represents the name of the builder
  • index: the last known revision index which has been compiled by the builder

BuildInfo

Contains all the information gathered by the fetchers about a specific revision. Models the "revision" kind entries, being directly stored in the datastore. Constructed using GitHubData instances.

Fields:

  • commit hash (primary key of the entity): the commit hash of the revision
  • timestamp: the time when the commit was pushed
  • branch: the branch where the commit was pushed
  • builders: the list of BuildBotData instances gathered by the BuildBotFetchers, with the compile information regarding the revision.

GitHubData

Contains the metadata of a revision, taken from GitHub. Used to construct BuildInfo instances.

Fields:

  • commit hash: the commit hash of the revision
  • branch: the time when the commit was pushed
  • timestamp: the branch where the commit was pushed
  • repository link: the link of the repository

Log

Contains the information regarding a single step of the compilation process, from a specific builder.

Fields:

  • type: the compilation step type
  • link: a link to the full log