summaryrefslogtreecommitdiffstats
path: root/utils/test/result_collection_api/common/constants.py
blob: 21769564cd4cb989e98b7c78457860f34028d709 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
##############################################################################
# Copyright (c) 2015 Orange
# guyrodrigue.koffi@orange.com / koffirodrigue@gmail.com
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################


API_LISTENING_PORT = 80

MONGO_URL = "mongodb://127.0.0.1:27017/"

DEFAULT_REPRESENTATION = "application/json"
HTTP_BAD_REQUEST = 400
HTTP_FORBIDDEN = 403
HTTP_NOT_FOUND = 404