diff options
author | grkoffi <koffirodrigue@gmail.com> | 2015-08-31 14:45:53 +0200 |
---|---|---|
committer | grkoffi <koffirodrigue@gmail.com> | 2015-09-02 15:12:27 +0200 |
commit | 8d3001573dd51a3cbdc7c46b5b35f5f6812761ab (patch) | |
tree | 5b14de357b0379a66007388afe37a66579582256 /result_collection_api/common/constants.py | |
parent | 737ff5abfe2711cb8c1e36729e41be723a03305b (diff) |
Fix minor bugs for result_collection_api
JIRA : RELENG-7
Change-Id: Id3cda0a0a73fcf1d05de751a7f48bbae2145fbf4
Signed-off-by: Guy Rodrigue Koffi <koffirodrigue@gmail.com>
Diffstat (limited to 'result_collection_api/common/constants.py')
-rw-r--r-- | result_collection_api/common/constants.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/result_collection_api/common/constants.py b/result_collection_api/common/constants.py index 485dbf3..2176956 100644 --- a/result_collection_api/common/constants.py +++ b/result_collection_api/common/constants.py @@ -8,11 +8,11 @@ ############################################################################## -API_LISTENING_PORT = 8000 +API_LISTENING_PORT = 80 -MONGO_URL = "mongodb://192.168.56.102:27017/" +MONGO_URL = "mongodb://127.0.0.1:27017/" -APPLICATION_JSON = "application/json" +DEFAULT_REPRESENTATION = "application/json" HTTP_BAD_REQUEST = 400 HTTP_FORBIDDEN = 403 HTTP_NOT_FOUND = 404 |