当试图清除的Neo4j与(1.8.2) cleandb扩展名(Neo4j的1.8),它失败:
[path] ? curl -v -X DELETE 'http://localhost:7475/db/cleandb/12sE$lkj3%'
* About to connect() to localhost port 7475 (#0)
* Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 7475 (#0)
> DELETE /db/cleandb/12sE$lkj3% HTTP/1.1
> User-Agent: curl/7.29.0
> Host: localhost:7475
> Accept: */*
>
< HTTP/1.1 500 Internal Server Error
< Content-Length: 0
< Server: Jetty(6.1.25)
<
* Connection #0 to host localhost left intact
很显然,我并不只得到一个500错误代码,也该数据库不清除。 当然,访问URL和插件的“秘密钥匙”被设置为在使用curl
的请求:
org.neo4j.server.thirdparty_jaxrs_classes=org.neo4j.server.extension.test.delete=/db/cleandb
org.neo4j.server.thirdparty.delete.key=12sE$lkj3%
我想方便地添加cleandb标签,但我缺少1500的声誉。
有任何想法吗? 提前致谢!
编辑 (我用cleandb是建立在单元测试的neo4django原因)。 /编辑