aboutsummaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorMilo Casagrande <milo.casagrande@linaro.org>2015-01-09 12:14:29 +0100
committerMilo Casagrande <milo.casagrande@linaro.org>2015-01-09 12:14:29 +0100
commit43668fae60095d94e773becd9eda846af7253e3f (patch)
treefaa1d982db89b392972deb634bd369afd37fca9d /app/models
parentaa3d932a565cc35a59b129f92036fd7dfd03f3dc (diff)
Add new keys.
Change-Id: Ie0dc5fd0dead42c21b476f21e1a8fab829cbfc34
Diffstat (limited to 'app/models')
-rw-r--r--app/models/__init__.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/app/models/__init__.py b/app/models/__init__.py
index 628f08d..95895b2 100644
--- a/app/models/__init__.py
+++ b/app/models/__init__.py
@@ -108,6 +108,7 @@ SYSTEM_MAP_KEY = 'system_map'
TEXT_OFFSET_KEY = 'text_offset'
TIME_KEY = 'time'
TOKEN_KEY = 'token'
+TYPE_KEY = 'type'
UIMAGE_ADDR_KEY = 'uimage_addr'
UIMAGE_KEY = 'uimage'
UPDATED_KEY = 'updated_on'
@@ -135,10 +136,12 @@ LAB_KEY = "lab"
# Job and/or build status.
BUILD_STATUS = 'BUILD'
+ERROR_STATUS = 'ERROR'
FAIL_STATUS = 'FAIL'
+OFFLINE_STATUS = 'OFFLINE'
PASS_STATUS = 'PASS'
+SENT_STATUS = 'SENT'
UNKNOWN_STATUS = 'UNKNOWN'
-OFFLINE_STATUS = 'OFFLINE'
UNTRIED_STATUS = 'UNTRIED'
# Build file names.
@@ -166,6 +169,11 @@ SUBSCRIPTION_COLLECTION = 'subscription'
TOKEN_COLLECTION = 'api-token'
BISECT_COLLECTION = 'bisect'
LAB_COLLECTION = 'lab'
+REPORT_COLLECTION = 'report'
+
+# Report types.
+BUILD_REPORT = 'build'
+BOOT_REPORT = 'boot'
# Bisect values.
BISECT_BOOT_STATUS_KEY = 'boot_status'