Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use mongoengine to update schema for MongoDB #31

Open
perillaroc opened this issue Sep 5, 2018 · 3 comments
Open

use mongoengine to update schema for MongoDB #31

perillaroc opened this issue Sep 5, 2018 · 3 comments
Labels
Milestone

Comments

@perillaroc
Copy link
Member

当前使用自定义的 python 类表示 mongo 数据,缺乏 ORM 常用的各项功能。

使用 mongoengine 重新设计数据模型,方便对数据进行操作。

🔨 需要更新 broker 和 web 中与状态数据相关的代码

perillaroc added a commit that referenced this issue Sep 17, 2018
✅ add test for commit.
perillaroc added a commit that referenced this issue Sep 17, 2018
✅ add test for tree and ref.
@perillaroc
Copy link
Member Author

perillaroc added a commit that referenced this issue Sep 20, 2018
✅ add test for WorkloadCache.
@perillaroc perillaroc added this to the 4.0.0 milestone Sep 27, 2018
@perillaroc perillaroc changed the title 使用 mongoengine 更新数据模型 use mongoengine to update schema for MongoDB Sep 29, 2018
@perillaroc
Copy link
Member Author

use nmp_model to save workload jobs.

@perillaroc
Copy link
Member Author

#34 remove to_dict() method.

perillaroc added a commit that referenced this issue Sep 30, 2018
@perillaroc perillaroc modified the milestones: 4.0.0, 5.0.0 Jan 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant