Skip to content

dkvashninbay/graph_store

Repository files navigation

DAG store

Project for fun.

Configuration:

config/services/graph/config.yml

API endpoints:

  • POST /nodes request body:
{
    "nodes": [
        {
            "id": "3",
            "parent": "1"
        }
    ]
}
  • GET /nodes response:
[
    "3",
    "1"
]
  • GET /nodes/{node_id}/trees request /nodes/3/trees
{
    "trees": [
        [
            "1",
            "3"
        ]
    ]
}

Run service

python service.py graph

Default configuration binds to 127.0.0.1:8080

Benchmark jmx

benchmark/benchmark.jmx

Tests

rake dev:test

rake dev:lint

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published