vesoft-inc / nebula-http-gateway Goto Github PK
View Code? Open in Web Editor NEWGateway to provide HTTP endpoints for the Nebula Graph service.
Gateway to provide HTTP endpoints for the Nebula Graph service.
This will be handy to enable application in the browser to call HTTP gateway
1
Consider uplift importer to v4
Please check the FAQ documentation before raising an issue
Describe the bug (required)
Your Environments (required)
uname -a
a3ffc7d8
)How To Reproduce(required)
Steps to reproduce the behavior:
Expected behavior
Additional context
as title
dashboard: nebula-dashboard-1.1.0.x86_64
nebula version:
nodejs version : v10.24.0
golang version: go version go1.16.12 linux/amd64
Handler crashed with error runtime error: invalid memory address or nil pointer dereference
2022/05/18 16:28:26.850 [C] [config.go:194] /__t/go/1.17.6/x64/src/runtime/panic.go:1038
2022/05/18 16:28:26.850 [C] [config.go:194] /__t/go/1.17.6/x64/src/runtime/panic.go:221
2022/05/18 16:28:26.850 [C] [config.go:194] /__t/go/1.17.6/x64/src/runtime/signal_unix.go:735
2022/05/18 16:28:26.850 [C] [config.go:194] /__w/nebula-dashboard/nebula-dashboard/source/nebula-http-gateway/controllers/db.go:52
2022/05/18 16:28:26.850 [C] [config.go:194] /__t/go/1.17.6/x64/src/reflect/value.go:556
2022/05/18 16:28:26.850 [C] [config.go:194] /__t/go/1.17.6/x64/src/reflect/value.go:339
2022/05/18 16:28:26.850 [C] [config.go:194] /github/home/go/pkg/mod/github.com/astaxie/[email protected]/router.go:897
2022/05/18 16:28:26.850 [C] [config.go:194] /__t/go/1.17.6/x64/src/net/http/server.go:2879
2022/05/18 16:28:26.850 [C] [config.go:194] /__t/go/1.17.6/x64/src/net/http/server.go:1930
2022/05/18 16:28:26.850 [C] [config.go:194] /__t/go/1.17.6/x64/src/runtime/asm_amd64.s:1581
2022/05/18 16:28:26.850 [log.go:191] [HTTP] http: superfluous response.WriteHeader call from github.com/astaxie/beego/context.(*Response).WriteHeader (context.go:230)
General Question
Thanks for your work.
I wanna ask how can I get the total connection of nebula-http-gateway.
I can use the command below to get the connection:
curl -i -X POST \
-d '{"username":"user","password":"password","address":"192.168.8.26","port":9669}' \
http://127.0.0.1:8080/api/db/connect
But if I rerun this command, it will give me another connection with new common-nsid.
I wanna know how can I get the current total connection via curl or another source?
Thanks for your reply.
This is due to we are referring to master/unreleased version of nebula-http-gateway 's README (that is mismatching in README and the package)to set common-nsid rather than nsid in cookie:
can it support the api list docs? easy for developer debug. like swagger...
Can someone please document configBody JSON body schema or provide sample JSON files?
We wanted to call /api-nebula/task/import to bulk ingest Vertices and Edges.
Since dashboard nebula-httpd port 8090 show null is confused, i want to submit pull request change the response with below:
{
"code": 0,
"data": "Run Successfully!",
"message": "Welcome Nebula-Http-GateWay!"
}
Is this ok?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.