@lansweeper/data-platform-outbound-grpc 0.4.10 → 0.6.0
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 +24 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_grpc_pb.d.ts +17 -0
- package/gen-proto/outbound_grpc_pb.js +12 -0
- package/gen-proto/outbound_pb.d.ts +254 -0
- package/gen-proto/outbound_pb.js +2056 -1
- package/generated-go/outbound.pb.go +4048 -3501
- package/generated-go/outbound_grpc.pb.go +40 -0
- package/java.json +1 -1
- package/model/pom.xml +1 -1
- package/model/src/main/proto/outbound.proto +47 -1
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryPrinter$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryPrinter$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryPrinter.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryPrinterOrBuilder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Printer$1.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Printer$Builder.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/Printer.class +0 -0
- package/model/target/classes/com/lansweeper/dp/outbound/v1/PrinterOrBuilder.class +0 -0
- package/model/target/classes/outbound.proto +47 -1
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ActiveDirectoryPrinter.java +5697 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ActiveDirectoryPrinterOrBuilder.java +649 -0
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +1071 -1007
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Printer.java +243 -4
- package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/PrinterOrBuilder.java +27 -0
- package/model/target/maven-archiver/pom.properties +2 -2
- package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +4 -0
- package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +3 -1
- package/model/target/{outbound-model-0.4.9-sources.jar → outbound-model-0.5.0-sources.jar} +0 -0
- package/model/target/{outbound-model-0.4.9.jar → outbound-model-0.5.0.jar} +0 -0
- package/package.json +2 -2
- package/pom.xml +1 -1
- package/proto/outbound.proto +47 -1
- package/service/pom.xml +1 -1
- package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$1.class +0 -0
- package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$2.class +0 -0
- package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$3.class +0 -0
- package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceBaseDescriptorSupplier.class +0 -0
- package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceBlockingStub.class +0 -0
- package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceFileDescriptorSupplier.class +0 -0
- package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceFutureStub.class +0 -0
- package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceImplBase.class +0 -0
- package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceMethodDescriptorSupplier.class +0 -0
- package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceStub.class +0 -0
- package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$MethodHandlers.class +0 -0
- package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc.class +0 -0
- package/service/target/classes/com/lansweeper/dp/outbound/v1/ReactorDataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceImplBase.class +0 -0
- package/service/target/classes/com/lansweeper/dp/outbound/v1/ReactorDataCoreBackofficeServiceGrpc$MethodHandlers.class +0 -0
- package/service/target/classes/com/lansweeper/dp/outbound/v1/ReactorDataCoreBackofficeServiceGrpc$ReactorDataCoreBackofficeServiceStub.class +0 -0
- package/service/target/classes/com/lansweeper/dp/outbound/v1/ReactorDataCoreBackofficeServiceGrpc.class +0 -0
- package/service/target/generated-sources/protobuf/grpc-java/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc.java +86 -0
- package/service/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ReactorDataCoreBackofficeServiceGrpc.java +40 -0
- package/service/target/maven-archiver/pom.properties +2 -2
- package/service/target/outbound-service-0.5.0-sources.jar +0 -0
- package/service/target/outbound-service-0.5.0.jar +0 -0
- package/service/target/outbound-service-0.4.9-sources.jar +0 -0
- package/service/target/outbound-service-0.4.9.jar +0 -0
|
@@ -331,6 +331,7 @@ const (
|
|
|
331
331
|
DataCoreBackofficeService_DeleteSite_FullMethodName = "/com.lansweeper.dp.outbound.v1.DataCoreBackofficeService/DeleteSite"
|
|
332
332
|
DataCoreBackofficeService_EntityDeconcile_FullMethodName = "/com.lansweeper.dp.outbound.v1.DataCoreBackofficeService/EntityDeconcile"
|
|
333
333
|
DataCoreBackofficeService_CorrelationIndexRealignment_FullMethodName = "/com.lansweeper.dp.outbound.v1.DataCoreBackofficeService/CorrelationIndexRealignment"
|
|
334
|
+
DataCoreBackofficeService_RefreshEntityCount_FullMethodName = "/com.lansweeper.dp.outbound.v1.DataCoreBackofficeService/RefreshEntityCount"
|
|
334
335
|
)
|
|
335
336
|
|
|
336
337
|
// DataCoreBackofficeServiceClient is the client API for DataCoreBackofficeService service.
|
|
@@ -356,6 +357,8 @@ type DataCoreBackofficeServiceClient interface {
|
|
|
356
357
|
EntityDeconcile(ctx context.Context, in *DeconcileRequest, opts ...grpc.CallOption) (*DeconcileResponse, error)
|
|
357
358
|
// Sync RPC to realign the correlation index from the entity metadata of that site.
|
|
358
359
|
CorrelationIndexRealignment(ctx context.Context, in *CorrelationRealignmentRequest, opts ...grpc.CallOption) (*CorrelationIndexRealignmentResponse, error)
|
|
360
|
+
// Sync Number of saved entities in site storage
|
|
361
|
+
RefreshEntityCount(ctx context.Context, in *SiteKey, opts ...grpc.CallOption) (*Site, error)
|
|
359
362
|
}
|
|
360
363
|
|
|
361
364
|
type dataCoreBackofficeServiceClient struct {
|
|
@@ -499,6 +502,16 @@ func (c *dataCoreBackofficeServiceClient) CorrelationIndexRealignment(ctx contex
|
|
|
499
502
|
return out, nil
|
|
500
503
|
}
|
|
501
504
|
|
|
505
|
+
func (c *dataCoreBackofficeServiceClient) RefreshEntityCount(ctx context.Context, in *SiteKey, opts ...grpc.CallOption) (*Site, error) {
|
|
506
|
+
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
507
|
+
out := new(Site)
|
|
508
|
+
err := c.cc.Invoke(ctx, DataCoreBackofficeService_RefreshEntityCount_FullMethodName, in, out, cOpts...)
|
|
509
|
+
if err != nil {
|
|
510
|
+
return nil, err
|
|
511
|
+
}
|
|
512
|
+
return out, nil
|
|
513
|
+
}
|
|
514
|
+
|
|
502
515
|
// DataCoreBackofficeServiceServer is the server API for DataCoreBackofficeService service.
|
|
503
516
|
// All implementations must embed UnimplementedDataCoreBackofficeServiceServer
|
|
504
517
|
// for forward compatibility
|
|
@@ -522,6 +535,8 @@ type DataCoreBackofficeServiceServer interface {
|
|
|
522
535
|
EntityDeconcile(context.Context, *DeconcileRequest) (*DeconcileResponse, error)
|
|
523
536
|
// Sync RPC to realign the correlation index from the entity metadata of that site.
|
|
524
537
|
CorrelationIndexRealignment(context.Context, *CorrelationRealignmentRequest) (*CorrelationIndexRealignmentResponse, error)
|
|
538
|
+
// Sync Number of saved entities in site storage
|
|
539
|
+
RefreshEntityCount(context.Context, *SiteKey) (*Site, error)
|
|
525
540
|
mustEmbedUnimplementedDataCoreBackofficeServiceServer()
|
|
526
541
|
}
|
|
527
542
|
|
|
@@ -562,6 +577,9 @@ func (UnimplementedDataCoreBackofficeServiceServer) EntityDeconcile(context.Cont
|
|
|
562
577
|
func (UnimplementedDataCoreBackofficeServiceServer) CorrelationIndexRealignment(context.Context, *CorrelationRealignmentRequest) (*CorrelationIndexRealignmentResponse, error) {
|
|
563
578
|
return nil, status.Errorf(codes.Unimplemented, "method CorrelationIndexRealignment not implemented")
|
|
564
579
|
}
|
|
580
|
+
func (UnimplementedDataCoreBackofficeServiceServer) RefreshEntityCount(context.Context, *SiteKey) (*Site, error) {
|
|
581
|
+
return nil, status.Errorf(codes.Unimplemented, "method RefreshEntityCount not implemented")
|
|
582
|
+
}
|
|
565
583
|
func (UnimplementedDataCoreBackofficeServiceServer) mustEmbedUnimplementedDataCoreBackofficeServiceServer() {
|
|
566
584
|
}
|
|
567
585
|
|
|
@@ -777,6 +795,24 @@ func _DataCoreBackofficeService_CorrelationIndexRealignment_Handler(srv interfac
|
|
|
777
795
|
return interceptor(ctx, in, info, handler)
|
|
778
796
|
}
|
|
779
797
|
|
|
798
|
+
func _DataCoreBackofficeService_RefreshEntityCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
799
|
+
in := new(SiteKey)
|
|
800
|
+
if err := dec(in); err != nil {
|
|
801
|
+
return nil, err
|
|
802
|
+
}
|
|
803
|
+
if interceptor == nil {
|
|
804
|
+
return srv.(DataCoreBackofficeServiceServer).RefreshEntityCount(ctx, in)
|
|
805
|
+
}
|
|
806
|
+
info := &grpc.UnaryServerInfo{
|
|
807
|
+
Server: srv,
|
|
808
|
+
FullMethod: DataCoreBackofficeService_RefreshEntityCount_FullMethodName,
|
|
809
|
+
}
|
|
810
|
+
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
811
|
+
return srv.(DataCoreBackofficeServiceServer).RefreshEntityCount(ctx, req.(*SiteKey))
|
|
812
|
+
}
|
|
813
|
+
return interceptor(ctx, in, info, handler)
|
|
814
|
+
}
|
|
815
|
+
|
|
780
816
|
// DataCoreBackofficeService_ServiceDesc is the grpc.ServiceDesc for DataCoreBackofficeService service.
|
|
781
817
|
// It's only intended for direct use with grpc.RegisterService,
|
|
782
818
|
// and not to be introspected or modified (even as a copy)
|
|
@@ -824,6 +860,10 @@ var DataCoreBackofficeService_ServiceDesc = grpc.ServiceDesc{
|
|
|
824
860
|
MethodName: "CorrelationIndexRealignment",
|
|
825
861
|
Handler: _DataCoreBackofficeService_CorrelationIndexRealignment_Handler,
|
|
826
862
|
},
|
|
863
|
+
{
|
|
864
|
+
MethodName: "RefreshEntityCount",
|
|
865
|
+
Handler: _DataCoreBackofficeService_RefreshEntityCount_Handler,
|
|
866
|
+
},
|
|
827
867
|
},
|
|
828
868
|
Streams: []grpc.StreamDesc{
|
|
829
869
|
{
|
package/java.json
CHANGED
package/model/pom.xml
CHANGED
|
@@ -76,6 +76,9 @@ service DataCoreBackofficeService {
|
|
|
76
76
|
|
|
77
77
|
// Sync RPC to realign the correlation index from the entity metadata of that site.
|
|
78
78
|
rpc CorrelationIndexRealignment (CorrelationRealignmentRequest) returns (CorrelationIndexRealignmentResponse);
|
|
79
|
+
|
|
80
|
+
// Sync Number of saved entities in site storage
|
|
81
|
+
rpc RefreshEntityCount(SiteKey) returns (Site);
|
|
79
82
|
}
|
|
80
83
|
|
|
81
84
|
message Site {
|
|
@@ -3704,7 +3707,7 @@ message CatalogMonitor {
|
|
|
3704
3707
|
|
|
3705
3708
|
/**
|
|
3706
3709
|
* Printer details.
|
|
3707
|
-
* Currently filled only from source SNMP.
|
|
3710
|
+
* Currently filled only from source SNMP and ActiveDirectory.
|
|
3708
3711
|
*/
|
|
3709
3712
|
message Printer {
|
|
3710
3713
|
optional string printer_name = 1;
|
|
@@ -3714,6 +3717,7 @@ message Printer {
|
|
|
3714
3717
|
optional string printer_status = 5;
|
|
3715
3718
|
optional string serial_number = 6;
|
|
3716
3719
|
repeated PrinterTonerInfo toner = 7;
|
|
3720
|
+
optional ActiveDirectoryPrinter ad_printer = 8; // Active Directory specific information
|
|
3717
3721
|
}
|
|
3718
3722
|
|
|
3719
3723
|
/**
|
|
@@ -3884,6 +3888,48 @@ message ActiveDirectoryComputer {
|
|
|
3884
3888
|
optional string managed_by_group_oid = 15; // translated into relation
|
|
3885
3889
|
}
|
|
3886
3890
|
|
|
3891
|
+
message ActiveDirectoryPrinter {
|
|
3892
|
+
optional string description = 1;
|
|
3893
|
+
optional string cn = 2;
|
|
3894
|
+
optional uint32 driver_version = 3;
|
|
3895
|
+
optional string server_name = 4;
|
|
3896
|
+
optional string d_score_propagation_data = 5;
|
|
3897
|
+
optional string nt_security_descriptor = 6;
|
|
3898
|
+
optional uint32 print_start_time = 7;
|
|
3899
|
+
repeated string print_bin_names = 8; // from a ; separated list of bin names
|
|
3900
|
+
optional bool print_color = 9;
|
|
3901
|
+
optional bool print_keep_printed_jobs = 10;
|
|
3902
|
+
optional string print_spooling = 11;
|
|
3903
|
+
optional bool print_duplex_supported = 12;
|
|
3904
|
+
optional uint32 print_min_y_extent = 13;
|
|
3905
|
+
optional uint32 print_max_y_extent = 14;
|
|
3906
|
+
optional uint32 print_min_x_extent = 15;
|
|
3907
|
+
optional uint32 print_max_x_extent = 16;
|
|
3908
|
+
optional uint32 print_max_resolution_supported = 17;
|
|
3909
|
+
optional uint32 print_pages_per_minute = 18;
|
|
3910
|
+
optional bool print_stapling_supported = 19;
|
|
3911
|
+
optional uint32 instance_type = 20;
|
|
3912
|
+
optional bool print_collate = 21;
|
|
3913
|
+
optional uint32 print_rate = 38;
|
|
3914
|
+
optional string print_rate_unit = 22;
|
|
3915
|
+
optional uint32 print_end_time = 23;
|
|
3916
|
+
optional string port_name = 24;
|
|
3917
|
+
optional string priority = 25;
|
|
3918
|
+
optional string version_number = 26;
|
|
3919
|
+
optional string printer_name = 27;
|
|
3920
|
+
optional string short_server_name = 28;
|
|
3921
|
+
optional string print_media_ready = 29;
|
|
3922
|
+
repeated string print_media_supported = 30; // from a ; separated list of supported media types
|
|
3923
|
+
optional string unc_name = 31;
|
|
3924
|
+
optional string usn_changed = 32;
|
|
3925
|
+
optional string usn_created = 33;
|
|
3926
|
+
optional string category = 34;
|
|
3927
|
+
optional string driver_name = 35;
|
|
3928
|
+
repeated string print_orientations_supported = 36; // from a ; separated list of supported orientations
|
|
3929
|
+
optional string print_share_name = 37;
|
|
3930
|
+
optional string ip_address = 39;
|
|
3931
|
+
}
|
|
3932
|
+
|
|
3887
3933
|
message ActiveDirectoryDomain {
|
|
3888
3934
|
ActiveDirectoryObject ad_object = 1;
|
|
3889
3935
|
|
|
Binary file
|
package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryPrinter$Builder.class
ADDED
|
Binary file
|
|
Binary file
|
package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryPrinterOrBuilder.class
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -76,6 +76,9 @@ service DataCoreBackofficeService {
|
|
|
76
76
|
|
|
77
77
|
// Sync RPC to realign the correlation index from the entity metadata of that site.
|
|
78
78
|
rpc CorrelationIndexRealignment (CorrelationRealignmentRequest) returns (CorrelationIndexRealignmentResponse);
|
|
79
|
+
|
|
80
|
+
// Sync Number of saved entities in site storage
|
|
81
|
+
rpc RefreshEntityCount(SiteKey) returns (Site);
|
|
79
82
|
}
|
|
80
83
|
|
|
81
84
|
message Site {
|
|
@@ -3704,7 +3707,7 @@ message CatalogMonitor {
|
|
|
3704
3707
|
|
|
3705
3708
|
/**
|
|
3706
3709
|
* Printer details.
|
|
3707
|
-
* Currently filled only from source SNMP.
|
|
3710
|
+
* Currently filled only from source SNMP and ActiveDirectory.
|
|
3708
3711
|
*/
|
|
3709
3712
|
message Printer {
|
|
3710
3713
|
optional string printer_name = 1;
|
|
@@ -3714,6 +3717,7 @@ message Printer {
|
|
|
3714
3717
|
optional string printer_status = 5;
|
|
3715
3718
|
optional string serial_number = 6;
|
|
3716
3719
|
repeated PrinterTonerInfo toner = 7;
|
|
3720
|
+
optional ActiveDirectoryPrinter ad_printer = 8; // Active Directory specific information
|
|
3717
3721
|
}
|
|
3718
3722
|
|
|
3719
3723
|
/**
|
|
@@ -3884,6 +3888,48 @@ message ActiveDirectoryComputer {
|
|
|
3884
3888
|
optional string managed_by_group_oid = 15; // translated into relation
|
|
3885
3889
|
}
|
|
3886
3890
|
|
|
3891
|
+
message ActiveDirectoryPrinter {
|
|
3892
|
+
optional string description = 1;
|
|
3893
|
+
optional string cn = 2;
|
|
3894
|
+
optional uint32 driver_version = 3;
|
|
3895
|
+
optional string server_name = 4;
|
|
3896
|
+
optional string d_score_propagation_data = 5;
|
|
3897
|
+
optional string nt_security_descriptor = 6;
|
|
3898
|
+
optional uint32 print_start_time = 7;
|
|
3899
|
+
repeated string print_bin_names = 8; // from a ; separated list of bin names
|
|
3900
|
+
optional bool print_color = 9;
|
|
3901
|
+
optional bool print_keep_printed_jobs = 10;
|
|
3902
|
+
optional string print_spooling = 11;
|
|
3903
|
+
optional bool print_duplex_supported = 12;
|
|
3904
|
+
optional uint32 print_min_y_extent = 13;
|
|
3905
|
+
optional uint32 print_max_y_extent = 14;
|
|
3906
|
+
optional uint32 print_min_x_extent = 15;
|
|
3907
|
+
optional uint32 print_max_x_extent = 16;
|
|
3908
|
+
optional uint32 print_max_resolution_supported = 17;
|
|
3909
|
+
optional uint32 print_pages_per_minute = 18;
|
|
3910
|
+
optional bool print_stapling_supported = 19;
|
|
3911
|
+
optional uint32 instance_type = 20;
|
|
3912
|
+
optional bool print_collate = 21;
|
|
3913
|
+
optional uint32 print_rate = 38;
|
|
3914
|
+
optional string print_rate_unit = 22;
|
|
3915
|
+
optional uint32 print_end_time = 23;
|
|
3916
|
+
optional string port_name = 24;
|
|
3917
|
+
optional string priority = 25;
|
|
3918
|
+
optional string version_number = 26;
|
|
3919
|
+
optional string printer_name = 27;
|
|
3920
|
+
optional string short_server_name = 28;
|
|
3921
|
+
optional string print_media_ready = 29;
|
|
3922
|
+
repeated string print_media_supported = 30; // from a ; separated list of supported media types
|
|
3923
|
+
optional string unc_name = 31;
|
|
3924
|
+
optional string usn_changed = 32;
|
|
3925
|
+
optional string usn_created = 33;
|
|
3926
|
+
optional string category = 34;
|
|
3927
|
+
optional string driver_name = 35;
|
|
3928
|
+
repeated string print_orientations_supported = 36; // from a ; separated list of supported orientations
|
|
3929
|
+
optional string print_share_name = 37;
|
|
3930
|
+
optional string ip_address = 39;
|
|
3931
|
+
}
|
|
3932
|
+
|
|
3887
3933
|
message ActiveDirectoryDomain {
|
|
3888
3934
|
ActiveDirectoryObject ad_object = 1;
|
|
3889
3935
|
|