@lansweeper/data-platform-outbound-grpc 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/gen-proto/image.json +1 -1
- package/generated-go/outbound.pb.go +949 -897
- package/generated-go/outbound_grpc.pb.go +19 -7
- package/package.json +2 -2
- package/pom.xml +1 -1
- package/proto/outbound.proto +1 -2
- package/src/main/java/com/lansweeper/dp/outbound/v1/Outbound.java +1 -1
|
@@ -1,8 +1,15 @@
|
|
|
1
|
+
//*
|
|
2
|
+
// Copyright Lansweeper (c)
|
|
3
|
+
//
|
|
4
|
+
// This files contains the Data Access API and the definition of outbound model
|
|
5
|
+
//
|
|
6
|
+
// N.B. This file has been documented using the specification available here: https://github.com/pseudomuto/protoc-gen-doc
|
|
7
|
+
|
|
1
8
|
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
|
2
9
|
// versions:
|
|
3
|
-
// - protoc-gen-go-grpc v1.
|
|
4
|
-
// - protoc v3.15.
|
|
5
|
-
// source: outbound.proto
|
|
10
|
+
// - protoc-gen-go-grpc v1.3.0
|
|
11
|
+
// - protoc v3.15.6
|
|
12
|
+
// source: packages/data.platform/outbound/grpc/proto/outbound.proto
|
|
6
13
|
|
|
7
14
|
package generated_go
|
|
8
15
|
|
|
@@ -18,6 +25,11 @@ import (
|
|
|
18
25
|
// Requires gRPC-Go v1.32.0 or later.
|
|
19
26
|
const _ = grpc.SupportPackageIsVersion7
|
|
20
27
|
|
|
28
|
+
const (
|
|
29
|
+
DataCoreOutboundService_GetEntity_FullMethodName = "/com.lansweeper.dp.outbound.v1.DataCoreOutboundService/GetEntity"
|
|
30
|
+
DataCoreOutboundService_ListEntities_FullMethodName = "/com.lansweeper.dp.outbound.v1.DataCoreOutboundService/ListEntities"
|
|
31
|
+
)
|
|
32
|
+
|
|
21
33
|
// DataCoreOutboundServiceClient is the client API for DataCoreOutboundService service.
|
|
22
34
|
//
|
|
23
35
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
|
|
@@ -38,7 +50,7 @@ func NewDataCoreOutboundServiceClient(cc grpc.ClientConnInterface) DataCoreOutbo
|
|
|
38
50
|
|
|
39
51
|
func (c *dataCoreOutboundServiceClient) GetEntity(ctx context.Context, in *GetEntityRequest, opts ...grpc.CallOption) (*GetEntityResponse, error) {
|
|
40
52
|
out := new(GetEntityResponse)
|
|
41
|
-
err := c.cc.Invoke(ctx,
|
|
53
|
+
err := c.cc.Invoke(ctx, DataCoreOutboundService_GetEntity_FullMethodName, in, out, opts...)
|
|
42
54
|
if err != nil {
|
|
43
55
|
return nil, err
|
|
44
56
|
}
|
|
@@ -46,7 +58,7 @@ func (c *dataCoreOutboundServiceClient) GetEntity(ctx context.Context, in *GetEn
|
|
|
46
58
|
}
|
|
47
59
|
|
|
48
60
|
func (c *dataCoreOutboundServiceClient) ListEntities(ctx context.Context, in *ListEntityRequest, opts ...grpc.CallOption) (DataCoreOutboundService_ListEntitiesClient, error) {
|
|
49
|
-
stream, err := c.cc.NewStream(ctx, &DataCoreOutboundService_ServiceDesc.Streams[0],
|
|
61
|
+
stream, err := c.cc.NewStream(ctx, &DataCoreOutboundService_ServiceDesc.Streams[0], DataCoreOutboundService_ListEntities_FullMethodName, opts...)
|
|
50
62
|
if err != nil {
|
|
51
63
|
return nil, err
|
|
52
64
|
}
|
|
@@ -122,7 +134,7 @@ func _DataCoreOutboundService_GetEntity_Handler(srv interface{}, ctx context.Con
|
|
|
122
134
|
}
|
|
123
135
|
info := &grpc.UnaryServerInfo{
|
|
124
136
|
Server: srv,
|
|
125
|
-
FullMethod:
|
|
137
|
+
FullMethod: DataCoreOutboundService_GetEntity_FullMethodName,
|
|
126
138
|
}
|
|
127
139
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
128
140
|
return srv.(DataCoreOutboundServiceServer).GetEntity(ctx, req.(*GetEntityRequest))
|
|
@@ -170,5 +182,5 @@ var DataCoreOutboundService_ServiceDesc = grpc.ServiceDesc{
|
|
|
170
182
|
ServerStreams: true,
|
|
171
183
|
},
|
|
172
184
|
},
|
|
173
|
-
Metadata: "outbound.proto",
|
|
185
|
+
Metadata: "packages/data.platform/outbound/grpc/proto/outbound.proto",
|
|
174
186
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lansweeper/data-platform-outbound-grpc",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "Data Platform Outbound gRPC",
|
|
5
5
|
"main": "gen-proto/index.js",
|
|
6
6
|
"types": "gen-proto/index.d.ts",
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
"@grpc/grpc-js": "^1.5.1",
|
|
10
10
|
"google-protobuf": "^3.17.0"
|
|
11
11
|
},
|
|
12
|
-
"gitHead": "
|
|
12
|
+
"gitHead": "672571015542643753d824c0eee48c3f3c009666"
|
|
13
13
|
}
|
package/pom.xml
CHANGED
package/proto/outbound.proto
CHANGED
|
@@ -8,12 +8,11 @@
|
|
|
8
8
|
syntax = "proto3";
|
|
9
9
|
package com.lansweeper.dp.outbound.v1;
|
|
10
10
|
|
|
11
|
-
option go_package = "
|
|
11
|
+
option go_package = "./generated-go";
|
|
12
12
|
option java_multiple_files = true;
|
|
13
13
|
|
|
14
14
|
import "google/protobuf/timestamp.proto";
|
|
15
15
|
|
|
16
|
-
|
|
17
16
|
// ----- Service Part ------
|
|
18
17
|
|
|
19
18
|
/**
|
|
@@ -373,7 +373,7 @@ public final class Outbound {
|
|
|
373
373
|
"onse\"\000\022w\n\014ListEntities\0220.com.lansweeper." +
|
|
374
374
|
"dp.outbound.v1.ListEntityRequest\0321.com.l" +
|
|
375
375
|
"answeeper.dp.outbound.v1.ListEntityRespo" +
|
|
376
|
-
"nse\"\0000\001B\
|
|
376
|
+
"nse\"\0000\001B\022P\001Z\016./generated-gob\006proto3"
|
|
377
377
|
};
|
|
378
378
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
|
379
379
|
.internalBuildGeneratedFileFrom(descriptorData,
|