/nwpc-workflow-log-model

A log model for workflow systems using in NWPC

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

nwpc-workflow-log-model

A data model for workflow log in NWPC.

Introduction

Model classes for MongoDB and relational database.

Log Record

Record object and parser for ecFlow and SMS.

Analytics

Record object and algorithm for analytics.

MongoDB

Use MongoDB to store analytics results including node tree and node status.

  • blob: Base class for all MongoDB documents.
  • NodeTreeBlob: blob for node tree.
  • NodeStatusBlob: blob for node status.

Relational database

  • owner: Owner table
  • repo: Repo table
  • SmsRepo: Repo for SMS
  • EcflowRepo: Repo for ecFlow
  • RepoVersion: Repo versions
  • RecordBase: base class for Records
  • SmsRecord: SMS records
  • EcflowRecord: ecFlow records

Tool

use creat_tables.py to create all tables for NWPC Operation Systems in MySQL.

LICENSE

Copyright © 2018-2020, perillaroc at nwpc-oper.

nwpc-workflow-log-model is licensed under GPL v3.0