AcademySoftwareFoundation / AcademySoftwareFoundation/rmtc

fix: Neo4j driver incompatible with Apache AGE connection URI

Open
#31 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
No language data
Stars
13
Forks
11
PR merge metrics
No merged PRs in 30d

Description

## Problem
The `Neo4jDatabase` class uses the Neo4j driver which expects `bolt://` or `neo4j://` URI schemes.
However, Apache AGE runs on PostgreSQL and uses `postgres://` URIs, causing a `ConfigurationError`
when running tests.

## Error
```
neo4j.exceptions.ConfigurationError: URI scheme 'postgres' is not supported.
Supported URI schemes are ['bolt', 'bolt+ssc', 'bolt+s', 'neo4j', 'neo4j+ssc', 'neo4j+s']
```
## Steps to reproduce
1. Set up Apache AGE with `postgres://localhost:5432`
2. Run `pytest tests/unit/`

## Possible solutions
- Use `apache_age_python` driver directly instead of Neo4j driver for AGE connections
- Or document the correct URI format for connecting Neo4j driver to AGE

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Neo4jDatabase class and run pytest tests/unit/ to reproduce the ConfigurationError with an Apache AGE postgres:// URI. Compare the proposed apache_age_python driver approach with documenting a compatible URI format; done means the unit tests run successfully with Apache AGE and the chosen connection behavior is documented or supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgres
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.