Fix minor bugs for result_collection_api
[releng.git] / utils / test / result_collection_api / common / constants.py
1 ##############################################################################
2 # Copyright (c) 2015 Orange
3 # guyrodrigue.koffi@orange.com / koffirodrigue@gmail.com
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9
10
11 API_LISTENING_PORT = 80
12
13 MONGO_URL = "mongodb://127.0.0.1:27017/"
14
15 DEFAULT_REPRESENTATION = "application/json"
16 HTTP_BAD_REQUEST = 400
17 HTTP_FORBIDDEN = 403
18 HTTP_NOT_FOUND = 404