Giter VIP home page Giter VIP logo

nebula-http-gateway's People

Contributors

1uvu avatar aiee avatar dutor avatar harrischu avatar hetao92 avatar kqzh avatar megabyte875 avatar mizy avatar nianiajr avatar nicolacage avatar reid00 avatar shinji-ikarig avatar uniding avatar veezhang avatar xigongdaericyang avatar xjlgod avatar yixinglu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nebula-http-gateway's Issues

Refactor && Compatiable

  1. The gateway server existed in our each projects:studio/explorer/dashboard, it's better to make it as a lib refered by these project server. In that way, the server can be removed.
  2. It should be compatiable with limited different nebula versions

client blocking when connecting

Please check the FAQ documentation before raising an issue

Describe the bug (required)

Your Environments (required)

  • OS: uname -a
  • Commit id (e.g. a3ffc7d8)

How To Reproduce(required)

Steps to reproduce the behavior:

  1. Step 1
  2. Step 2
  3. Step 3

Expected behavior

Additional context

error for ccore

it's a little confused to use nerrors.CodeError
if the error code is ErrorCode_E_PARTIAL_RESULT, and the data is lost because the error code is not ErrorCode_SUCCEEDED.

image

http-gateway crash

dashboard: nebula-dashboard-1.1.0.x86_64
nebula version:
image

nodejs version : v10.24.0

golang version: go version go1.16.12 linux/amd64

  1. nebula-http-gateway

image

2. nebula-dashboard

image

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)

How can I get the total connection?

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.

configBody JSON schema

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.

dashboard nebula-httpd show null

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.