Skip to content

Schema Handling Enhancements #1

@FlatBallFlyer

Description

@FlatBallFlyer

Schema Rendering: Functions that render ddSchema as json-schema or mongo-schema are needed. This should be implemented with reuse in mind as it is likely to support a new schema management tool.

Implement new schema management tool that leverages the load specifications features, and the render ddSchema as mongo_schema function to process mongo configurations. Revisit versioning logic and config file structure. Enforce migrations on major only, drop/add indexes, drop/add schema validation per version, upsert Versions, upsert Enumerators. LOAD=True will load test data. Safety breaker will only load test data into empty collections.

Add a RELOAD=True to the schema management tool that causes all data to be deleted and test data to be loaded. Implement safety breaker that prevents reload processing if a key collection has more than a specific number of documents.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions