mirror of
https://github.com/veops/cmdb.git
synced 2025-08-07 22:17:37 +08:00
search by elasticsearch [doing]
This commit is contained in:
@@ -9,6 +9,7 @@ from flask_login import LoginManager
|
||||
from flask_migrate import Migrate
|
||||
from flask_sqlalchemy import SQLAlchemy
|
||||
|
||||
from api.lib.utils import ESHandler
|
||||
from api.lib.utils import RedisHandler
|
||||
|
||||
bcrypt = Bcrypt()
|
||||
@@ -19,3 +20,4 @@ cache = Cache()
|
||||
celery = Celery()
|
||||
cors = CORS(supports_credentials=True)
|
||||
rd = RedisHandler(prefix="CMDB_CI") # TODO
|
||||
es = ESHandler()
|
||||
|
Reference in New Issue
Block a user