Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenRPC Support #5843

Merged
merged 61 commits into from
Mar 19, 2021
Merged
Changes from 1 commit
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
4980369
main: init implement rpc.Discover RPC method
meowsbits Oct 27, 2020
9d84fd4
main,go.mod,go.sum: init example with go-openrpc-reflect lib
meowsbits Jul 6, 2020
64ff7ef
main: make variable name human-friendly
meowsbits Jul 6, 2020
0f278a3
main,go.mod,go.sum: init impl of go-openrp-reflect printing document
meowsbits Jul 6, 2020
5af03c5
go.mod,go.sum: use go-openrpc-reflect and open-rpc/meta-schema hackforks
meowsbits Oct 27, 2020
9805c16
main,openrpc,main: refactor openrpc supporting code to own package
meowsbits Oct 27, 2020
116898e
main: add rpc.Discover to openrpc document
meowsbits Oct 27, 2020
bf78ff6
openrpc: fix rpc.discover method name casing
meowsbits Oct 27, 2020
de2569b
Revert "main: add rpc.Discover to openrpc document"
meowsbits Oct 27, 2020
1100dad
main: fix document creation method name
meowsbits Oct 27, 2020
f90ee85
main,docgen,openrpc: refactor to share api parsing, etc as docgen exp…
meowsbits Oct 28, 2020
0fcceff
openrpc: add schema.examples to app reflector
meowsbits Oct 28, 2020
d11db31
openrpc: init method pairing examples
meowsbits Oct 29, 2020
3ccacf2
go.mod,go.sum: bump go.mod to use latest meta-schema and openrpc-refl…
meowsbits Oct 30, 2020
377f000
openrpc: init SchemaType mapper function
meowsbits Oct 30, 2020
b381ca1
Merge remote-tracking branch 'origin/master' into feat/openrpc
meowsbits Nov 3, 2020
413d02f
go.mod,go.sum: tame dependencies by bumping etclabscore/go-openrpc-re…
meowsbits Nov 21, 2020
b2d623e
main: add 'miner' arg to openrpc gen cmd
meowsbits Nov 21, 2020
89536c5
docgen: add missing examples for Miner API
meowsbits Nov 21, 2020
fc5a4e6
build/openrpc/full.json,build/openrpc/miner.json: add build/openrpc/[…
meowsbits Nov 21, 2020
4cbee1a
build: init go-rice openrpc static assets
meowsbits Nov 21, 2020
a63eeef
main: remove rpc.discover implementation from runtime plugin
meowsbits Nov 21, 2020
630fa60
api,apistruct,common: add Discover(ctx) method to CommonAPI interface…
meowsbits Nov 21, 2020
d20a497
main: use rpc server method aliasing for rpc.discover
meowsbits Nov 21, 2020
e391954
api,apistruct,build,common: rpc.discover: return json object instead …
meowsbits Nov 21, 2020
d81b8ef
Merge branch 'master' into feat/openrpc
meowsbits Nov 22, 2020
5968b36
Makefile: merge resolve: docsgen command path
meowsbits Nov 22, 2020
b4a45a2
apistruct,main,docgen,openrpc: merge resolve: fix func exporteds, sig…
meowsbits Nov 22, 2020
598cefb
go.mod,go.sum: 'get get' auto-bumps version
meowsbits Nov 22, 2020
2879538
Makefile,docgen,main,build/openrpc: refactor openrpc documentation ge…
meowsbits Nov 22, 2020
88fbef9
main,docgen_openrpc: rename api/openrpc -> api/docgen-openrpc
meowsbits Nov 22, 2020
bd710a0
api,apistruct,docgen,build,build/openrpc: use typed Discover response
meowsbits Nov 22, 2020
584e4a0
apistruct,build,main,impl: implement Discover method for Worker and S…
meowsbits Nov 22, 2020
9904a8b
docgen_openrpc,build/openrpc: remove timestamping from openrpc doc info
meowsbits Nov 22, 2020
85ae23b
main,docgen_openrpc,main,build: fix lint issues
meowsbits Nov 22, 2020
0836ac7
docgenopenrpc: fix: don't use an underscore in package name (golint)
meowsbits Nov 22, 2020
1f8a9f8
go.sum: fix: mod-tidy-check (run 'go mod tidy')
meowsbits Nov 22, 2020
76e6fd2
go.mod,go.sum: bump filecoin-project/go-jsonrpc dep to latest
meowsbits Nov 23, 2020
145e8bb
Makefile,main,build,build/openrpc: init gzipped openrpc static docs
meowsbits Nov 24, 2020
503e079
build: refactor gzip reading
meowsbits Nov 24, 2020
bb410a4
build: add basic test for openrpc doc from static assets
meowsbits Nov 24, 2020
bbe144e
build: handle reader Close error
meowsbits Nov 24, 2020
b1ebe83
go.sum: run 'go mod tidy'
meowsbits Nov 24, 2020
6ed76d6
Merge branch 'master' into feat/openrpc
meowsbits Nov 24, 2020
a67efba
go.mod,go.sum: go mod tidy
meowsbits Nov 24, 2020
0d6041f
go.mod,go.sum: bump filecoin-project/go-jsonrpc to latest
meowsbits Nov 24, 2020
8764a77
docgenopenrpc,build/openrpc: remove method example pairings, improve …
meowsbits Nov 27, 2020
c48a894
docgenopenrpc: use generic number jsonschema for number types
meowsbits Dec 15, 2020
dcdd0f0
Merge branch 'master' into feat/openrpc
meowsbits Jan 19, 2021
f4a953b
cmd/lotus,go.mod,go.sum: maybe fix straggling merge resolution conflicts
meowsbits Jan 19, 2021
8ec6f16
build/openrpc/full.json.gz,build/openrpc/miner.json.gz,build/openrpc/…
meowsbits Jan 19, 2021
fa889ad
api/apistruct,node/impl: (lint) gofmt
meowsbits Jan 19, 2021
7686435
api/docgen: maybe fix parse error: open ./api: no such file or direc…
meowsbits Jan 19, 2021
7b7cd4f
api/docgen,build/openrpc: maybe fix no such file error and run 'make …
meowsbits Jan 19, 2021
549125d
api/docgen: return if AST comment/groupdoc parsing encounters any error
meowsbits Jan 19, 2021
b9ea12f
Merge branch 'feat/openrpc' of github.com:etclabscore/lotus into etcl…
magik6k Mar 19, 2021
c8669ab
api: Don't depend on build/
magik6k Mar 19, 2021
d56b2eb
make: support parallel docsgen
magik6k Mar 19, 2021
5630003
openrpc gen: Use simple build version
magik6k Mar 19, 2021
ad50f2b
methodgen
magik6k Mar 19, 2021
a569954
goimports
magik6k Mar 19, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
go.mod,go.sum: bump go.mod to use latest meta-schema and openrpc-refl…
…ect versions

Signed-off-by: meows <b5c6@protonmail.com>
meowsbits committed Oct 30, 2020
commit 3ccacf2e2858645f0534080e0ee77f0d9191ffa2
9 changes: 2 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
@@ -22,8 +22,7 @@ require (
github.com/drand/kyber v1.1.4
github.com/dustin/go-humanize v1.0.0
github.com/elastic/go-sysinfo v1.3.0
github.com/etclabscore/go-openrpc-reflect v0.0.31
github.com/ethereum/go-ethereum v1.9.12
github.com/etclabscore/go-openrpc-reflect v0.0.34
github.com/fatih/color v1.9.0
github.com/filecoin-project/filecoin-ffi v0.30.4-0.20200910194244-f640612a1a1f
github.com/filecoin-project/go-address v0.0.4
@@ -117,7 +116,7 @@ require (
github.com/multiformats/go-multiaddr-dns v0.2.0
github.com/multiformats/go-multibase v0.0.3
github.com/multiformats/go-multihash v0.0.14
github.com/open-rpc/meta-schema v0.0.43
github.com/open-rpc/meta-schema v0.0.0-20201029221707-1b72ef2ea333
github.com/opentracing/opentracing-go v1.2.0
github.com/polydawn/refmt v0.0.0-20190809202753-05966cbd336a
github.com/prometheus/client_golang v1.6.0
@@ -160,7 +159,3 @@ replace github.com/filecoin-project/test-vectors => ./extern/test-vectors
replace github.com/supranational/blst => ./extern/fil-blst/blst

replace github.com/filecoin-project/fil-blst => ./extern/fil-blst

replace github.com/etclabscore/go-openrpc-reflect => /home/ia/go/src/github.com/etclabscore/go-openrpc-reflect

replace github.com/open-rpc/meta-schema => /home/ia/dev/open-rpc/meta-schema
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -269,6 +269,8 @@ github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1m
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
github.com/etclabscore/go-jsonschema-walk v0.0.6 h1:DrNzoKWKd8f8XB5nFGBY00IcjakRE22OTI12k+2LkyY=
github.com/etclabscore/go-jsonschema-walk v0.0.6/go.mod h1:VdfDY72AFAiUhy0ZXEaWSpveGjMT5JcDIm903NGqFwQ=
github.com/etclabscore/go-openrpc-reflect v0.0.34 h1:++IsfuK+3J4s+DTWqiyj7HscojPxy3KFV4ZU8vhiQBQ=
github.com/etclabscore/go-openrpc-reflect v0.0.34/go.mod h1:XgVhDkb6BeOtc4qf04k4K6lNI5gpcEYrAPgB8GGnIJc=
github.com/ethereum/go-ethereum v1.9.12 h1:EPtimwsp/KGDSiXcNunzsI4kefdsMHZGJntKx3fvbaI=
github.com/ethereum/go-ethereum v1.9.12/go.mod h1:PvsVkQmhZFx92Y+h2ylythYlheEDt/uBgFbl61Js/jo=
github.com/facebookgo/atomicfile v0.0.0-20151019160806-2de1f203e7d5 h1:BBso6MBKW8ncyZLv37o+KNyy0HrrHgfnOaGQC2qvN+A=
@@ -1318,6 +1320,8 @@ github.com/onsi/gomega v1.9.0/go.mod h1:Ho0h+IUsWyvy1OpqCwxlQ/21gkhVunqlU8fDGcoT
github.com/onsi/gomega v1.10.1 h1:o0+MgICZLuZ7xjH7Vx6zS/zcu93/BEp1VwkIW1mEXCE=
github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo=
github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk=
github.com/open-rpc/meta-schema v0.0.0-20201029221707-1b72ef2ea333 h1:CznVS40zms0Dj5he4ERo+fRPtO0qxUk8lA8Xu3ddet0=
github.com/open-rpc/meta-schema v0.0.0-20201029221707-1b72ef2ea333/go.mod h1:Ag6rSXkHIckQmjFBCweJEEt1mrTPBv8b9W4aU/NQWfI=
github.com/opentracing-contrib/go-grpc v0.0.0-20180928155321-4b5a12d3ff02/go.mod h1:JNdpVEzCpXBgIiv4ds+TzhN1hrtxq6ClLrTlT9OQRSc=
github.com/opentracing-contrib/go-grpc v0.0.0-20191001143057-db30781987df h1:vdYtBU6zvL7v+Tr+0xFM/qhahw/EvY8DMMunZHKH6eE=
github.com/opentracing-contrib/go-grpc v0.0.0-20191001143057-db30781987df/go.mod h1:DYR5Eij8rJl8h7gblRrOZ8g0kW1umSpKqYIBTgeDtLo=