Skip to content

Commit a795939

Browse files
ciarandAalyria Technologies, Inc.
and
Aalyria Technologies, Inc.
authored
Project import generated by Copybara. (#82)
GitOrigin-RevId: 25c10533437e870a3efa496e5b2e43401dfc8cd0 Co-authored-by: Aalyria Technologies, Inc. <[email protected]>
1 parent 734d49a commit a795939

File tree

5 files changed

+22
-3
lines changed

5 files changed

+22
-3
lines changed

Diff for: .github/workflows/main.yml

+9
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
target:
4242
- //cdpi_agent/cmd/agent
4343
- //tools/nbictl/cmd/nbictl
44+
- //tools/generate_jwt
4445
os: [linux, windows, darwin]
4546
arch: [amd64, arm64]
4647

@@ -71,6 +72,14 @@ jobs:
7172
path: |
7273
bazel-bin/cdpi_agent/cmd/agent/agent_/agent
7374
bazel-bin/cdpi_agent/cmd/agent/agent_/agent.exe
75+
- name: Upload generate_jwt binary
76+
uses: actions/upload-artifact@v3
77+
if: matrix.target == '//tools/generate_jwt'
78+
with:
79+
name: cdpi_agent-${{ matrix.os }}-${{ matrix.arch }}
80+
path: |
81+
bazel-bin/tools/generate_jwt/generate_jwt_/generate_jwt
82+
bazel-bin/tools/generate_jwt/generate_jwt_/generate_jwt.exe
7483
7584
build-and-upload-docs:
7685
needs: [build-and-test]

Diff for: api/nbi/v1alpha/resources/network_link.proto

+1
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ message LinkEnd {
109109
message BeamTarget {
110110
oneof type {
111111
aalyria.spacetime.api.common.TransceiverModelId transceiver_id = 1;
112+
string platform_id = 3;
112113
aalyria.spacetime.api.common.Motion coordinates = 2;
113114
}
114115
}

Diff for: api/scheduling/v1alpha/scheduling.proto

+5
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,12 @@ message DeleteModemConfiguration {
198198
message Beam {
199199
BeamTarget target = 1;
200200

201+
// Parameters specifying the configuration of the beam in the receive
202+
// direction. Absent if the beam is to be used for transmit only.
201203
BeamConfiguration rx = 2;
204+
205+
// Parameters specifying the configuration of the beam in the receive
206+
// direction. Absent if the beam is to be used for receiving only.
202207
BeamConfiguration tx = 3;
203208

204209
// The collection of endpoints served by the beam.

Diff for: tools/nbictl/BUILD

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ go_library(
4343
"@org_golang_google_grpc//:go_default_library",
4444
"@org_golang_google_grpc//credentials",
4545
"@org_golang_google_grpc//credentials/insecure",
46+
"@org_golang_google_grpc//encoding/gzip",
4647
"@org_golang_google_protobuf//encoding/prototext",
4748
"@org_golang_google_protobuf//proto",
4849
"@org_golang_google_protobuf//reflect/protoreflect",

Diff for: tools/nbictl/connection.go

+6-3
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,16 @@ import (
2323
"os"
2424
"path/filepath"
2525

26-
"aalyria.com/spacetime/auth"
27-
"aalyria.com/spacetime/github/tools/nbictl/nbictlpb"
2826
"github.com/jonboulle/clockwork"
2927
"github.com/urfave/cli/v2"
3028
"google.golang.org/grpc"
3129
"google.golang.org/grpc/credentials"
3230
"google.golang.org/grpc/credentials/insecure"
31+
"google.golang.org/grpc/encoding/gzip"
32+
_ "google.golang.org/grpc/encoding/gzip" // Install the gzip compressor
33+
34+
"aalyria.com/spacetime/auth"
35+
"aalyria.com/spacetime/github/tools/nbictl/nbictlpb"
3336
)
3437

3538
func openConnection(appCtx *cli.Context) (*grpc.ClientConn, error) {
@@ -60,7 +63,7 @@ func dial(ctx context.Context, setting *nbictlpb.Config) (*grpc.ClientConn, erro
6063

6164
func getDialOpts(ctx context.Context, setting *nbictlpb.Config) ([]grpc.DialOption, error) {
6265
dialOpts := []grpc.DialOption{
63-
grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(1024 * 1024 * 256)),
66+
grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(1024*1024*256), grpc.UseCompressor(gzip.Name)),
6467
}
6568

6669
switch t := setting.GetTransportSecurity().GetType().(type) {

0 commit comments

Comments
 (0)