1
0
mirror of https://github.com/gusaul/grpcox.git synced 2024-12-27 03:10:42 +00:00
Commit Graph

61 Commits

Author SHA1 Message Date
Muhammad Auliya
c5b61eb2d0
Merge pull request #39 from lilac/master
Update the url of code-prettify
2022-10-18 17:34:41 +07:00
Muhammad Auliya
c46a882ba7
Merge pull request #38 from petragabriela/f_petra_reflection-headers
feat: 🎸 allow using metadata as reflection headers
2022-10-18 17:33:00 +07:00
Junjun Deng
ca8f456f00 Update the url of code-prettify 2022-09-29 12:26:15 +08:00
Petra
63fe96c73d feat: 🎸 allow using metadata as reflection headers 2022-07-30 12:22:19 +07:00
Muhammad Auliya
8534ee1dc1
Merge pull request #32 from Nitrillo/feature/TLS
Added TLS checkbox
2021-12-21 17:07:51 +07:00
Muhammad Auliya
54efdebe24
Merge pull request #35 from adzimzf/adzim/save_request
feat(request-list): Support CRUD for request list
2021-12-21 17:07:00 +07:00
Azdim Zul Fahmi
464de07064 feat(request-list): Support CRUD for request list
by using this request list, user doesn't need to memorise the endpoint & the request anymore, they can store the request and come again if they need it.
at the moment the data is store in IndexDB (browser), hence it doesn't need backend effort.
2021-12-12 15:20:17 +07:00
Cesar Guirao
e7578eaed5 Added TLS checkbox 2021-07-23 09:41:02 -07:00
Muhammad Auliya
c83858ebfc
Merge pull request #27 from davidgoitia/allow_protoset
allow protoset file
2021-02-16 17:49:53 +07:00
Muhammad Auliya
6eccacc39f
Merge pull request #29 from davidgoitia/env_bind_address
allow specifying bind address
2021-02-16 17:47:07 +07:00
Muhammad Auliya
b941d8727d
Merge pull request #20 from risoll/i_rizky_metadata
add ctx metadata
2021-02-16 17:46:34 +07:00
David Goitia
f5768c3035
allow specifying bind address 2021-02-05 20:26:15 +01:00
David Goitia
d1a4237cb2
allow protoset file 2021-02-05 17:21:41 +01:00
Muhammad Auliya
790d251031
Merge pull request #26 from gusaul/modify_invoke_piping
change invoke handler directly to bytes buffer
2020-11-03 09:39:10 +07:00
gusaul
ec4ba2090d change invoke handler directly to bytes buffer 2020-11-03 09:37:50 +07:00
Muhammad Auliya
70e5c28119
Merge pull request #25 from gusaul/modify_invoke_piping
update pipe commit output to handling huge output
2020-11-02 20:05:13 +07:00
gusaul
8aa67b6529 update pipe commit output to handling huge output 2020-11-02 20:02:07 +07:00
risoll
1080e8f0b0 add ctx metadata 2020-06-02 00:22:22 +07:00
Muhammad Auliya
30fef12ac9
Merge pull request #19 from gusaul/aul_add_connection_mutex
add mutex to append conn to map to avoid concurrent map access
2020-05-29 08:16:08 +07:00
gusaul
3908c00c11 add mutex to append conn to map to avoid concurrent map access 2020-05-29 08:14:33 +07:00
Muhammad Auliya
6148904bec
Merge pull request #17 from alvinmatias69/master
feat(descriptor): add support for local proto descriptor
2020-02-11 11:35:47 +07:00
Matias Alvin
293bb364c0 feat(descriptor): add support for local proto descriptor
Currently, grpcox depends on server reflection to get proto descriptor. It has a
significant drawback, since not every grpc server support
[server
reflection](https://github.com/grpc/grpc/blob/master/doc/server-reflection.md#known-implementations).
Using local proto files is more feasible, as every grpc server certainly have
one.

Even though using protofile should be simple enough, there's still a problem
regarding this. Some protofile use extra plugins for their proto. i.e.
gogoprotobuf is a project that does just that. The problems with plugins are
most of them require explicit import to the plugin inside of the protofile. It
will break grpcurl proto descriptor extraction. Thus, the plugin proto must be
uploaded alongside the protofile. Also, the protofile should be modified
automatically to change their import to local import.

Given that, I proposed a way for the user to upload multiple protofile to
grpcox. Then, use that to get the descriptor.

Changelog:
- Add `use local proto` checkbox in HTML client. On checked it will show upload
button and list of selected proto.
- `get-service` ajax will use POST when `use local proto` is checked. The
uploaded protofile will be the payload for the ajax request.
- Add a new route to handle POST "get-service". It will persist the uploaded
protofile to `/tmp/` directory and add protos field in the resource.
- Modify `openDescriptor` to use local proto if protos field in the resource is
available.
- Modify `openDescriptor` to return an error, as opening descriptor from local
proto may fail.
- Modify the main server so it can be shut down gracefully. This is necessary as
grpcox need to remove persisted proto right after the server is turned off.

This Pull Request will resolve #16
2020-01-31 10:27:46 +07:00
Muhammad Auliya
3633418ad0
Update README.md 2019-12-03 17:14:07 +07:00
Muhammad Auliya
6d9d03f52a
Merge pull request #12 from gusaul/separate_reflection_conn
separate reflection descriptor from established conn
2019-11-13 12:17:29 +07:00
gusaul
2676b0ccef separate reflection descriptor from established conn 2019-11-13 12:12:58 +07:00
Muhammad Auliya
933fc06731
Merge pull request #10 from eleduardo/gomodules
Moving away from dep and into go modules
2019-11-01 09:29:36 +07:00
edusolis
4fc2686973 Moving away from dep and into go modules
remove dep files and fix docker build
move docker build to latest image
fix module url
2019-10-11 16:08:39 -05:00
Muhammad Auliya
1890be43b9
Update README.md 2019-09-13 14:51:47 +07:00
Muhammad Auliya
1924ac0e46
Merge pull request #9 from gusaul/fix_running_method
Fix running method
2019-09-13 14:47:24 +07:00
gusaul
5922295d87 add running method alternatives 2019-09-13 14:46:36 +07:00
gusaul
63b3b17ac3 fix docker compose to enabling exposing port 2019-09-13 14:46:27 +07:00
Muhammad Auliya
e0ec775673
Merge pull request #7 from fdcds/patch-1
Place container in host network
2019-07-08 14:14:56 +07:00
Dennis Schridde
ac58c2bb2d
Place container in host network
This allows us to connect to gRPC services running on the `localhost` interface on the developer's machine.

cf. https://docs.docker.com/compose/compose-file/#network_mode
2019-07-03 17:26:19 +02:00
Muhammad Auliya
63bb2a0d2c
Update README.md 2019-04-05 20:07:46 +07:00
gusaul
5026c0a359 add expiry connection and automatic close 2019-04-05 18:07:19 +07:00
Muhammad Auliya
4a4ceb65c2
Update README.md 2019-04-05 10:54:18 +07:00
Muhammad Auliya
643567e5af
Update README.md 2019-04-05 10:49:42 +07:00
Muhammad Auliya
524536b006
Update README.md 2019-04-05 10:45:06 +07:00
gusaul
f023b299a4 add demo assets 2019-04-05 10:27:07 +07:00
gusaul
a609d49a38 gimmick close connection 2019-04-05 08:58:49 +07:00
gusaul
45be92dabd update tooltip close conn 2019-04-02 17:14:51 +07:00
gusaul
2244c3aac2 update interval update and tooltip fixing 2019-04-02 16:24:26 +07:00
gusaul
37d525bcb8 add timeout cancelation connection 2019-04-02 09:45:50 +07:00
gusaul
c3cb947507 Dockerize grpcox 2019-03-25 10:47:41 +07:00
gusaul
c788403396 fix relative path close conn 2019-03-21 09:43:47 +07:00
gusaul
0b2c370eca change error update connections to warn console 2019-03-14 09:11:18 +07:00
gusaul
fbc2dc74da allow force restart conn from same connected host 2019-03-14 08:58:11 +07:00
gusaul
cd19b9523b modify detail UI
fix favicon and tooltip close conn
2019-03-14 08:35:34 +07:00
Muhammad Auliya
b24fe0cfa7
Update README.md 2019-03-13 14:11:09 +07:00
Muhammad Auliya
4ff119af5c
Update README.md 2019-03-13 14:10:35 +07:00