Skip to content

multi: add a Status server #541

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

Merged
merged 20 commits into from
Sep 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
b0931f4
multi: let subserver manager handle disabled sub-server
ellemouton Jul 19, 2023
fb7f313
multi: add "disable" mode for all subservers
ellemouton May 21, 2023
20a835c
itest: test the suite when sub-servers are disabled
ellemouton May 21, 2023
8db75cf
terminal: return errQueue error
ellemouton May 21, 2023
dc51e88
terminal: register Proxy server with Lit's grpc server
ellemouton May 21, 2023
5f481ba
itest: remove uneccessary log subscriptions
ellemouton May 21, 2023
4006622
litrpc: add Status server protos
ellemouton May 3, 2023
21525a5
status: add status server implementation
ellemouton May 3, 2023
6310eed
multi: init status manager
ellemouton May 3, 2023
143876d
litcli: prepare for a client connection without a macaroon
ellemouton May 21, 2023
4e2ec08
cmd/litcli: commands for status server
ellemouton May 2, 2023
3769467
subservers+terminal: integrate status server
ellemouton May 3, 2023
21456a5
subservers: add Handles method
ellemouton May 3, 2023
75cfa0b
rpc_proxy: only allow requests if sub-server is ready
ellemouton May 3, 2023
0f53f43
rpc_proxy+terminal: add LND and LiT to status server
ellemouton Aug 7, 2023
a673dec
itest: use status server to determine when Lit is ready
ellemouton May 3, 2023
96779c9
terminal: only shutdown sub-servers on shutdown
ellemouton May 21, 2023
cb80489
rpc_proxy: always allow Proxy calls
ellemouton May 4, 2023
014140d
itest: add test for Status server endpoint
ellemouton May 21, 2023
861d64c
app+proto: add status server to build-protos.js
ellemouton Jun 16, 2023
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
3 changes: 2 additions & 1 deletion app/scripts/build-protos.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ const filePatches = {
'lit-autopilot': 'litrpc: {}',
'firewall': 'litrpc: {}',
'proxy': 'litrpc: {}',
'lit-status': 'litrpc: {}',
};

/**
Expand All @@ -87,7 +88,7 @@ const download = async () => {
}
// copy the lit proto files from litrpc to the proto dir so that the original
// files are not modified by `sanitize`
const litProtoFiles = ['lit-sessions', 'lit-accounts', 'lit-autopilot', 'proxy', 'firewall'];
const litProtoFiles = ['lit-sessions', 'lit-accounts', 'lit-autopilot', 'proxy', 'firewall', 'lit-status'];
for (name of litProtoFiles) {
const src = join(appPath, '..', 'litrpc', `${name}.proto`);
const dest = join(appPath, '..', 'proto', `${name}.proto`);
Expand Down
68 changes: 68 additions & 0 deletions app/src/types/generated/lit-status_pb.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading