kakao / s2graph

This code base is retained for historical interest only, please visit Apache Incubator Repo for latest one
https://github.com/apache/incubator-s2graph
Other
250 stars 32 forks source link

script/test.sh is broken. #103

Open djfwan opened 9 years ago

djfwan commented 9 years ago

I tried run script/test.sh. I could find errors at query for vertices.

Here are error queries in test.sh.

insert vertex data

curl -XPOST localhost:9000/graphs/vertices/insert/s2graph/user_id -H 'Content-Type: Application/json' -d '
[
  {"id":1,"props":{"is_active":true}, "timestamp":1417616431},
  {"id":2,"props":{},"timestamp":1417616431}
]
'

select vertices

curl -XPOST localhost:9000/graphs/getVertices -H 'Content-Type: Application/json' -d '
[
    {"serviceName": "s2graph", "columnName": "user_id", "ids": [1, 2, 3]}
]
'
SteamShon commented 9 years ago

@djfwan can you elaborate more on errors? can you provide error log or Exception type?

daewon commented 9 years ago

@djfwan It still have trouble, fix plz