Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
Merge pull request #246 from g0es/master
Browse files Browse the repository at this point in the history
Set default mongo port on retrieval, pin pydantic version.
  • Loading branch information
adpham95 committed Dec 2, 2019
2 parents f1a6e0f + 59c2507 commit f4195d8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions api/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
APscheduler >= 3.0.0
pydantic == 0.32.2
pyyaml >= 3.0
passlib >= 1.7.0
semver
Expand Down
4 changes: 2 additions & 2 deletions api/server/db/mongo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ def __init__(self):
self.async_client = motor.motor_asyncio.AsyncIOMotorClient(username=config.DB_USERNAME,
password=config.get_from_file(config.MONGO_KEY_PATH),
host=config.MONGO_HOST,
port=config.get_int("MONGO_PORT"))
port=config.get_int("MONGO_PORT",27016))

self.reg_client = pymongo.MongoClient(username=config.DB_USERNAME,
password=config.get_from_file(config.MONGO_KEY_PATH),
host=config.MONGO_HOST,
port=config.get_int("MONGO_PORT"))
port=config.get_int("MONGO_PORT",27016))

self.init_db()

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pydantic == 0.32.2
#aiodns
aiodocker
aiohttp
Expand Down
2 changes: 1 addition & 1 deletion umpire/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pydantic == 0.32.2
docker
docker-compose
minio
Expand All @@ -10,5 +11,4 @@ six
redis
uvicorn
tenacity
pydantic
email-validator

0 comments on commit f4195d8

Please sign in to comment.