@lansweeper/data-platform-outbound-grpc 0.4.9 → 0.4.10

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.
Files changed (71) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_grpc_pb.d.ts +17 -0
  4. package/gen-proto/outbound_grpc_pb.js +34 -0
  5. package/gen-proto/outbound_pb.d.ts +96 -0
  6. package/gen-proto/outbound_pb.js +748 -1
  7. package/generated-go/outbound.pb.go +13606 -13322
  8. package/generated-go/outbound_grpc.pb.go +50 -10
  9. package/java.json +1 -1
  10. package/model/pom.xml +1 -1
  11. package/model/src/main/proto/outbound.proto +26 -3
  12. package/model/target/classes/com/lansweeper/dp/outbound/v1/CorrelationIndexRealignmentResponse$1.class +0 -0
  13. package/model/target/classes/com/lansweeper/dp/outbound/v1/CorrelationIndexRealignmentResponse$Builder.class +0 -0
  14. package/model/target/classes/com/lansweeper/dp/outbound/v1/CorrelationIndexRealignmentResponse.class +0 -0
  15. package/model/target/classes/com/lansweeper/dp/outbound/v1/CorrelationIndexRealignmentResponseOrBuilder.class +0 -0
  16. package/model/target/classes/com/lansweeper/dp/outbound/v1/CorrelationRealignment$1.class +0 -0
  17. package/model/target/classes/com/lansweeper/dp/outbound/v1/CorrelationRealignment$Builder.class +0 -0
  18. package/model/target/classes/com/lansweeper/dp/outbound/v1/CorrelationRealignment.class +0 -0
  19. package/model/target/classes/com/lansweeper/dp/outbound/v1/CorrelationRealignmentOrBuilder.class +0 -0
  20. package/model/target/classes/com/lansweeper/dp/outbound/v1/CorrelationRealignmentRequest$1.class +0 -0
  21. package/model/target/classes/com/lansweeper/dp/outbound/v1/CorrelationRealignmentRequest$Builder.class +0 -0
  22. package/model/target/classes/com/lansweeper/dp/outbound/v1/CorrelationRealignmentRequest.class +0 -0
  23. package/model/target/classes/com/lansweeper/dp/outbound/v1/CorrelationRealignmentRequestOrBuilder.class +0 -0
  24. package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
  25. package/model/target/classes/com/lansweeper/dp/outbound/v1/Site$1.class +0 -0
  26. package/model/target/classes/com/lansweeper/dp/outbound/v1/Site$Builder$UnlinkedInstallationsConverter.class +0 -0
  27. package/model/target/classes/com/lansweeper/dp/outbound/v1/Site$Builder.class +0 -0
  28. package/model/target/classes/com/lansweeper/dp/outbound/v1/Site.class +0 -0
  29. package/model/target/classes/com/lansweeper/dp/outbound/v1/SiteOrBuilder.class +0 -0
  30. package/model/target/classes/outbound.proto +26 -3
  31. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CorrelationIndexRealignmentResponse.java +969 -0
  32. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CorrelationIndexRealignmentResponseOrBuilder.java +55 -0
  33. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CorrelationRealignment.java +587 -0
  34. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CorrelationRealignmentOrBuilder.java +32 -0
  35. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CorrelationRealignmentRequest.java +793 -0
  36. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CorrelationRealignmentRequestOrBuilder.java +49 -0
  37. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +4009 -3957
  38. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Site.java +233 -0
  39. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/SiteOrBuilder.java +27 -0
  40. package/model/target/maven-archiver/pom.properties +2 -2
  41. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +12 -0
  42. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +6 -0
  43. package/model/target/{outbound-model-0.4.8-sources.jar → outbound-model-0.4.9-sources.jar} +0 -0
  44. package/model/target/{outbound-model-0.4.8.jar → outbound-model-0.4.9.jar} +0 -0
  45. package/package.json +2 -2
  46. package/pom.xml +1 -1
  47. package/proto/outbound.proto +26 -3
  48. package/service/pom.xml +1 -1
  49. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$1.class +0 -0
  50. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$2.class +0 -0
  51. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$3.class +0 -0
  52. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceBaseDescriptorSupplier.class +0 -0
  53. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceBlockingStub.class +0 -0
  54. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceFileDescriptorSupplier.class +0 -0
  55. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceFutureStub.class +0 -0
  56. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceImplBase.class +0 -0
  57. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceMethodDescriptorSupplier.class +0 -0
  58. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceStub.class +0 -0
  59. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$MethodHandlers.class +0 -0
  60. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc.class +0 -0
  61. package/service/target/classes/com/lansweeper/dp/outbound/v1/ReactorDataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceImplBase.class +0 -0
  62. package/service/target/classes/com/lansweeper/dp/outbound/v1/ReactorDataCoreBackofficeServiceGrpc$MethodHandlers.class +0 -0
  63. package/service/target/classes/com/lansweeper/dp/outbound/v1/ReactorDataCoreBackofficeServiceGrpc$ReactorDataCoreBackofficeServiceStub.class +0 -0
  64. package/service/target/classes/com/lansweeper/dp/outbound/v1/ReactorDataCoreBackofficeServiceGrpc.class +0 -0
  65. package/service/target/generated-sources/protobuf/grpc-java/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc.java +86 -0
  66. package/service/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ReactorDataCoreBackofficeServiceGrpc.java +40 -0
  67. package/service/target/maven-archiver/pom.properties +2 -2
  68. package/service/target/outbound-service-0.4.9-sources.jar +0 -0
  69. package/service/target/outbound-service-0.4.9.jar +0 -0
  70. package/service/target/outbound-service-0.4.8-sources.jar +0 -0
  71. package/service/target/outbound-service-0.4.8.jar +0 -0
@@ -517,6 +517,44 @@ com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata defaultValue) {
517
517
  return correlationIndexEnabled_;
518
518
  }
519
519
 
520
+ public static final int LAST_CORRELATION_REALIGNMENT_FIELD_NUMBER = 17;
521
+ private com.google.protobuf.Timestamp lastCorrelationRealignment_;
522
+ /**
523
+ * <pre>
524
+ * Last time the correlation index was realigned using the Job from backoffice
525
+ * </pre>
526
+ *
527
+ * <code>optional .google.protobuf.Timestamp last_correlation_realignment = 17;</code>
528
+ * @return Whether the lastCorrelationRealignment field is set.
529
+ */
530
+ @java.lang.Override
531
+ public boolean hasLastCorrelationRealignment() {
532
+ return ((bitField0_ & 0x00004000) != 0);
533
+ }
534
+ /**
535
+ * <pre>
536
+ * Last time the correlation index was realigned using the Job from backoffice
537
+ * </pre>
538
+ *
539
+ * <code>optional .google.protobuf.Timestamp last_correlation_realignment = 17;</code>
540
+ * @return The lastCorrelationRealignment.
541
+ */
542
+ @java.lang.Override
543
+ public com.google.protobuf.Timestamp getLastCorrelationRealignment() {
544
+ return lastCorrelationRealignment_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastCorrelationRealignment_;
545
+ }
546
+ /**
547
+ * <pre>
548
+ * Last time the correlation index was realigned using the Job from backoffice
549
+ * </pre>
550
+ *
551
+ * <code>optional .google.protobuf.Timestamp last_correlation_realignment = 17;</code>
552
+ */
553
+ @java.lang.Override
554
+ public com.google.protobuf.TimestampOrBuilder getLastCorrelationRealignmentOrBuilder() {
555
+ return lastCorrelationRealignment_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastCorrelationRealignment_;
556
+ }
557
+
520
558
  private byte memoizedIsInitialized = -1;
521
559
  @java.lang.Override
522
560
  public final boolean isInitialized() {
@@ -582,6 +620,9 @@ com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata defaultValue) {
582
620
  if (((bitField0_ & 0x00002000) != 0)) {
583
621
  output.writeBool(16, correlationIndexEnabled_);
584
622
  }
623
+ if (((bitField0_ & 0x00004000) != 0)) {
624
+ output.writeMessage(17, getLastCorrelationRealignment());
625
+ }
585
626
  getUnknownFields().writeTo(output);
586
627
  }
587
628
 
@@ -661,6 +702,10 @@ com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata defaultValue) {
661
702
  size += com.google.protobuf.CodedOutputStream
662
703
  .computeBoolSize(16, correlationIndexEnabled_);
663
704
  }
705
+ if (((bitField0_ & 0x00004000) != 0)) {
706
+ size += com.google.protobuf.CodedOutputStream
707
+ .computeMessageSize(17, getLastCorrelationRealignment());
708
+ }
664
709
  size += getUnknownFields().getSerializedSize();
665
710
  memoizedSize = size;
666
711
  return size;
@@ -751,6 +796,11 @@ com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata defaultValue) {
751
796
  if (getCorrelationIndexEnabled()
752
797
  != other.getCorrelationIndexEnabled()) return false;
753
798
  }
799
+ if (hasLastCorrelationRealignment() != other.hasLastCorrelationRealignment()) return false;
800
+ if (hasLastCorrelationRealignment()) {
801
+ if (!getLastCorrelationRealignment()
802
+ .equals(other.getLastCorrelationRealignment())) return false;
803
+ }
754
804
  if (!getUnknownFields().equals(other.getUnknownFields())) return false;
755
805
  return true;
756
806
  }
@@ -831,6 +881,10 @@ com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata defaultValue) {
831
881
  hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
832
882
  getCorrelationIndexEnabled());
833
883
  }
884
+ if (hasLastCorrelationRealignment()) {
885
+ hash = (37 * hash) + LAST_CORRELATION_REALIGNMENT_FIELD_NUMBER;
886
+ hash = (53 * hash) + getLastCorrelationRealignment().hashCode();
887
+ }
834
888
  hash = (29 * hash) + getUnknownFields().hashCode();
835
889
  memoizedHashCode = hash;
836
890
  return hash;
@@ -990,6 +1044,7 @@ com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata defaultValue) {
990
1044
  getDeletionRequestFieldBuilder();
991
1045
  getDeletionTimeFieldBuilder();
992
1046
  getReconcileRevalidationTimeFieldBuilder();
1047
+ getLastCorrelationRealignmentFieldBuilder();
993
1048
  }
994
1049
  }
995
1050
  @java.lang.Override
@@ -1042,6 +1097,11 @@ com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata defaultValue) {
1042
1097
  reconcileRevalidationTimeBuilder_ = null;
1043
1098
  }
1044
1099
  correlationIndexEnabled_ = false;
1100
+ lastCorrelationRealignment_ = null;
1101
+ if (lastCorrelationRealignmentBuilder_ != null) {
1102
+ lastCorrelationRealignmentBuilder_.dispose();
1103
+ lastCorrelationRealignmentBuilder_ = null;
1104
+ }
1045
1105
  return this;
1046
1106
  }
1047
1107
 
@@ -1160,6 +1220,12 @@ com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata defaultValue) {
1160
1220
  result.correlationIndexEnabled_ = correlationIndexEnabled_;
1161
1221
  to_bitField0_ |= 0x00002000;
1162
1222
  }
1223
+ if (((from_bitField0_ & 0x00010000) != 0)) {
1224
+ result.lastCorrelationRealignment_ = lastCorrelationRealignmentBuilder_ == null
1225
+ ? lastCorrelationRealignment_
1226
+ : lastCorrelationRealignmentBuilder_.build();
1227
+ to_bitField0_ |= 0x00004000;
1228
+ }
1163
1229
  result.bitField0_ |= to_bitField0_;
1164
1230
  }
1165
1231
 
@@ -1278,6 +1344,9 @@ com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata defaultValue) {
1278
1344
  if (other.hasCorrelationIndexEnabled()) {
1279
1345
  setCorrelationIndexEnabled(other.getCorrelationIndexEnabled());
1280
1346
  }
1347
+ if (other.hasLastCorrelationRealignment()) {
1348
+ mergeLastCorrelationRealignment(other.getLastCorrelationRealignment());
1349
+ }
1281
1350
  this.mergeUnknownFields(other.getUnknownFields());
1282
1351
  onChanged();
1283
1352
  return this;
@@ -1408,6 +1477,13 @@ com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata defaultValue) {
1408
1477
  bitField0_ |= 0x00008000;
1409
1478
  break;
1410
1479
  } // case 128
1480
+ case 138: {
1481
+ input.readMessage(
1482
+ getLastCorrelationRealignmentFieldBuilder().getBuilder(),
1483
+ extensionRegistry);
1484
+ bitField0_ |= 0x00010000;
1485
+ break;
1486
+ } // case 138
1411
1487
  default: {
1412
1488
  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
1413
1489
  done = true; // was an endgroup tag
@@ -2949,6 +3025,163 @@ com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata defaultValue) {
2949
3025
  onChanged();
2950
3026
  return this;
2951
3027
  }
3028
+
3029
+ private com.google.protobuf.Timestamp lastCorrelationRealignment_;
3030
+ private com.google.protobuf.SingleFieldBuilderV3<
3031
+ com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastCorrelationRealignmentBuilder_;
3032
+ /**
3033
+ * <pre>
3034
+ * Last time the correlation index was realigned using the Job from backoffice
3035
+ * </pre>
3036
+ *
3037
+ * <code>optional .google.protobuf.Timestamp last_correlation_realignment = 17;</code>
3038
+ * @return Whether the lastCorrelationRealignment field is set.
3039
+ */
3040
+ public boolean hasLastCorrelationRealignment() {
3041
+ return ((bitField0_ & 0x00010000) != 0);
3042
+ }
3043
+ /**
3044
+ * <pre>
3045
+ * Last time the correlation index was realigned using the Job from backoffice
3046
+ * </pre>
3047
+ *
3048
+ * <code>optional .google.protobuf.Timestamp last_correlation_realignment = 17;</code>
3049
+ * @return The lastCorrelationRealignment.
3050
+ */
3051
+ public com.google.protobuf.Timestamp getLastCorrelationRealignment() {
3052
+ if (lastCorrelationRealignmentBuilder_ == null) {
3053
+ return lastCorrelationRealignment_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastCorrelationRealignment_;
3054
+ } else {
3055
+ return lastCorrelationRealignmentBuilder_.getMessage();
3056
+ }
3057
+ }
3058
+ /**
3059
+ * <pre>
3060
+ * Last time the correlation index was realigned using the Job from backoffice
3061
+ * </pre>
3062
+ *
3063
+ * <code>optional .google.protobuf.Timestamp last_correlation_realignment = 17;</code>
3064
+ */
3065
+ public Builder setLastCorrelationRealignment(com.google.protobuf.Timestamp value) {
3066
+ if (lastCorrelationRealignmentBuilder_ == null) {
3067
+ if (value == null) {
3068
+ throw new NullPointerException();
3069
+ }
3070
+ lastCorrelationRealignment_ = value;
3071
+ } else {
3072
+ lastCorrelationRealignmentBuilder_.setMessage(value);
3073
+ }
3074
+ bitField0_ |= 0x00010000;
3075
+ onChanged();
3076
+ return this;
3077
+ }
3078
+ /**
3079
+ * <pre>
3080
+ * Last time the correlation index was realigned using the Job from backoffice
3081
+ * </pre>
3082
+ *
3083
+ * <code>optional .google.protobuf.Timestamp last_correlation_realignment = 17;</code>
3084
+ */
3085
+ public Builder setLastCorrelationRealignment(
3086
+ com.google.protobuf.Timestamp.Builder builderForValue) {
3087
+ if (lastCorrelationRealignmentBuilder_ == null) {
3088
+ lastCorrelationRealignment_ = builderForValue.build();
3089
+ } else {
3090
+ lastCorrelationRealignmentBuilder_.setMessage(builderForValue.build());
3091
+ }
3092
+ bitField0_ |= 0x00010000;
3093
+ onChanged();
3094
+ return this;
3095
+ }
3096
+ /**
3097
+ * <pre>
3098
+ * Last time the correlation index was realigned using the Job from backoffice
3099
+ * </pre>
3100
+ *
3101
+ * <code>optional .google.protobuf.Timestamp last_correlation_realignment = 17;</code>
3102
+ */
3103
+ public Builder mergeLastCorrelationRealignment(com.google.protobuf.Timestamp value) {
3104
+ if (lastCorrelationRealignmentBuilder_ == null) {
3105
+ if (((bitField0_ & 0x00010000) != 0) &&
3106
+ lastCorrelationRealignment_ != null &&
3107
+ lastCorrelationRealignment_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
3108
+ getLastCorrelationRealignmentBuilder().mergeFrom(value);
3109
+ } else {
3110
+ lastCorrelationRealignment_ = value;
3111
+ }
3112
+ } else {
3113
+ lastCorrelationRealignmentBuilder_.mergeFrom(value);
3114
+ }
3115
+ if (lastCorrelationRealignment_ != null) {
3116
+ bitField0_ |= 0x00010000;
3117
+ onChanged();
3118
+ }
3119
+ return this;
3120
+ }
3121
+ /**
3122
+ * <pre>
3123
+ * Last time the correlation index was realigned using the Job from backoffice
3124
+ * </pre>
3125
+ *
3126
+ * <code>optional .google.protobuf.Timestamp last_correlation_realignment = 17;</code>
3127
+ */
3128
+ public Builder clearLastCorrelationRealignment() {
3129
+ bitField0_ = (bitField0_ & ~0x00010000);
3130
+ lastCorrelationRealignment_ = null;
3131
+ if (lastCorrelationRealignmentBuilder_ != null) {
3132
+ lastCorrelationRealignmentBuilder_.dispose();
3133
+ lastCorrelationRealignmentBuilder_ = null;
3134
+ }
3135
+ onChanged();
3136
+ return this;
3137
+ }
3138
+ /**
3139
+ * <pre>
3140
+ * Last time the correlation index was realigned using the Job from backoffice
3141
+ * </pre>
3142
+ *
3143
+ * <code>optional .google.protobuf.Timestamp last_correlation_realignment = 17;</code>
3144
+ */
3145
+ public com.google.protobuf.Timestamp.Builder getLastCorrelationRealignmentBuilder() {
3146
+ bitField0_ |= 0x00010000;
3147
+ onChanged();
3148
+ return getLastCorrelationRealignmentFieldBuilder().getBuilder();
3149
+ }
3150
+ /**
3151
+ * <pre>
3152
+ * Last time the correlation index was realigned using the Job from backoffice
3153
+ * </pre>
3154
+ *
3155
+ * <code>optional .google.protobuf.Timestamp last_correlation_realignment = 17;</code>
3156
+ */
3157
+ public com.google.protobuf.TimestampOrBuilder getLastCorrelationRealignmentOrBuilder() {
3158
+ if (lastCorrelationRealignmentBuilder_ != null) {
3159
+ return lastCorrelationRealignmentBuilder_.getMessageOrBuilder();
3160
+ } else {
3161
+ return lastCorrelationRealignment_ == null ?
3162
+ com.google.protobuf.Timestamp.getDefaultInstance() : lastCorrelationRealignment_;
3163
+ }
3164
+ }
3165
+ /**
3166
+ * <pre>
3167
+ * Last time the correlation index was realigned using the Job from backoffice
3168
+ * </pre>
3169
+ *
3170
+ * <code>optional .google.protobuf.Timestamp last_correlation_realignment = 17;</code>
3171
+ */
3172
+ private com.google.protobuf.SingleFieldBuilderV3<
3173
+ com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
3174
+ getLastCorrelationRealignmentFieldBuilder() {
3175
+ if (lastCorrelationRealignmentBuilder_ == null) {
3176
+ lastCorrelationRealignmentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
3177
+ com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
3178
+ getLastCorrelationRealignment(),
3179
+ getParentForChildren(),
3180
+ isClean());
3181
+ lastCorrelationRealignment_ = null;
3182
+ }
3183
+ return lastCorrelationRealignmentBuilder_;
3184
+ }
2952
3185
  @java.lang.Override
2953
3186
  public final Builder setUnknownFields(
2954
3187
  final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -283,4 +283,31 @@ com.lansweeper.dp.outbound.v1.UnlinkedInstallationMetadata defaultValue);
283
283
  * @return The correlationIndexEnabled.
284
284
  */
285
285
  boolean getCorrelationIndexEnabled();
286
+
287
+ /**
288
+ * <pre>
289
+ * Last time the correlation index was realigned using the Job from backoffice
290
+ * </pre>
291
+ *
292
+ * <code>optional .google.protobuf.Timestamp last_correlation_realignment = 17;</code>
293
+ * @return Whether the lastCorrelationRealignment field is set.
294
+ */
295
+ boolean hasLastCorrelationRealignment();
296
+ /**
297
+ * <pre>
298
+ * Last time the correlation index was realigned using the Job from backoffice
299
+ * </pre>
300
+ *
301
+ * <code>optional .google.protobuf.Timestamp last_correlation_realignment = 17;</code>
302
+ * @return The lastCorrelationRealignment.
303
+ */
304
+ com.google.protobuf.Timestamp getLastCorrelationRealignment();
305
+ /**
306
+ * <pre>
307
+ * Last time the correlation index was realigned using the Job from backoffice
308
+ * </pre>
309
+ *
310
+ * <code>optional .google.protobuf.Timestamp last_correlation_realignment = 17;</code>
311
+ */
312
+ com.google.protobuf.TimestampOrBuilder getLastCorrelationRealignmentOrBuilder();
286
313
  }
@@ -1,5 +1,5 @@
1
1
  #Generated by Maven
2
- #Fri Mar 21 08:32:35 UTC 2025
2
+ #Tue Mar 25 09:48:27 UTC 2025
3
3
  groupId=com.lansweeper.dp.outbound.v1
4
4
  artifactId=outbound-model
5
- version=0.4.8
5
+ version=0.4.9
@@ -1,3 +1,4 @@
1
+ com/lansweeper/dp/outbound/v1/CorrelationIndexRealignmentResponse.class
1
2
  com/lansweeper/dp/outbound/v1/ListEntityResponse.class
2
3
  com/lansweeper/dp/outbound/v1/CatalogMonitor$Builder.class
3
4
  com/lansweeper/dp/outbound/v1/SetIpLocationConfigResponse$Builder.class
@@ -200,6 +201,7 @@ com/lansweeper/dp/outbound/v1/Asset$1.class
200
201
  com/lansweeper/dp/outbound/v1/LastUserOrBuilder.class
201
202
  com/lansweeper/dp/outbound/v1/OperatingSystem$Builder.class
202
203
  com/lansweeper/dp/outbound/v1/HardwareInfo$Builder.class
204
+ com/lansweeper/dp/outbound/v1/CorrelationRealignmentRequestOrBuilder.class
203
205
  com/lansweeper/dp/outbound/v1/Monitor$SpecCase.class
204
206
  com/lansweeper/dp/outbound/v1/ComputerConnectedTapeDriveOrBuilder.class
205
207
  com/lansweeper/dp/outbound/v1/NetIpAddress.class
@@ -265,6 +267,7 @@ com/lansweeper/dp/outbound/v1/ComputerWindowsDisplayController$1.class
265
267
  com/lansweeper/dp/outbound/v1/UserInGroup$Builder.class
266
268
  com/lansweeper/dp/outbound/v1/RelationOrBuilder.class
267
269
  com/lansweeper/dp/outbound/v1/ComputerInfrared.class
270
+ com/lansweeper/dp/outbound/v1/CorrelationRealignment$Builder.class
268
271
  com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor$EsxiHypervisorDatastoresDefaultEntryHolder.class
269
272
  com/lansweeper/dp/outbound/v1/ComputerLinuxPcieCard$Builder.class
270
273
  com/lansweeper/dp/outbound/v1/SharedResourceOrBuilder.class
@@ -347,6 +350,7 @@ com/lansweeper/dp/outbound/v1/ComputerConnectedModem$1.class
347
350
  com/lansweeper/dp/outbound/v1/SetIpLocationConfigResponse$1.class
348
351
  com/lansweeper/dp/outbound/v1/SiteKey.class
349
352
  com/lansweeper/dp/outbound/v1/SqlServerService$ServiceStartupType$1.class
353
+ com/lansweeper/dp/outbound/v1/CorrelationRealignmentRequest$1.class
350
354
  com/lansweeper/dp/outbound/v1/ComputerBattery$SpecCase.class
351
355
  com/lansweeper/dp/outbound/v1/DatastoreClusterDrsVmOverrideOrBuilder.class
352
356
  com/lansweeper/dp/outbound/v1/NetworkProtocolsOrBuilder.class
@@ -377,6 +381,7 @@ com/lansweeper/dp/outbound/v1/UserGroup$1.class
377
381
  com/lansweeper/dp/outbound/v1/Office365Mailbox$Builder.class
378
382
  com/lansweeper/dp/outbound/v1/BluetoothDeviceOrBuilder.class
379
383
  com/lansweeper/dp/outbound/v1/WindowsOsRecovery$Builder.class
384
+ com/lansweeper/dp/outbound/v1/CorrelationRealignmentRequest.class
380
385
  com/lansweeper/dp/outbound/v1/ComputerMacOsFramework$1.class
381
386
  com/lansweeper/dp/outbound/v1/Office365License.class
382
387
  com/lansweeper/dp/outbound/v1/ComputerWindowsPageFileOrBuilder.class
@@ -385,6 +390,7 @@ com/lansweeper/dp/outbound/v1/EntityFilter$1.class
385
390
  com/lansweeper/dp/outbound/v1/ComputerLinuxVolumeGroupOrBuilder.class
386
391
  com/lansweeper/dp/outbound/v1/PointingDevice.class
387
392
  com/lansweeper/dp/outbound/v1/VmwareSnapshot.class
393
+ com/lansweeper/dp/outbound/v1/CorrelationRealignmentOrBuilder.class
388
394
  com/lansweeper/dp/outbound/v1/Office365AssignedLicenseOrBuilder.class
389
395
  com/lansweeper/dp/outbound/v1/ComputerWindowsSerial$Builder.class
390
396
  com/lansweeper/dp/outbound/v1/OperatingSystemChangeEvent$EventType$1.class
@@ -441,6 +447,7 @@ com/lansweeper/dp/outbound/v1/ComputerLinuxPhysicalVolumeOrBuilder.class
441
447
  com/lansweeper/dp/outbound/v1/UserInGroup$1.class
442
448
  com/lansweeper/dp/outbound/v1/SetIpLocationConfigRequest$1.class
443
449
  com/lansweeper/dp/outbound/v1/SqlServerDatabase$1.class
450
+ com/lansweeper/dp/outbound/v1/CorrelationRealignment$1.class
444
451
  com/lansweeper/dp/outbound/v1/MacMonitorInfoOrBuilder.class
445
452
  com/lansweeper/dp/outbound/v1/UserAccountOrBuilder.class
446
453
  com/lansweeper/dp/outbound/v1/IpInfoOrBuilder.class
@@ -569,6 +576,7 @@ com/lansweeper/dp/outbound/v1/ComputerWindowsDisplay$Builder.class
569
576
  com/lansweeper/dp/outbound/v1/DriveVolume.class
570
577
  com/lansweeper/dp/outbound/v1/CorrField$Builder.class
571
578
  com/lansweeper/dp/outbound/v1/HttpCertificateOrBuilder.class
579
+ com/lansweeper/dp/outbound/v1/CorrelationIndexRealignmentResponse$1.class
572
580
  com/lansweeper/dp/outbound/v1/NetworkInterfacesOrBuilder.class
573
581
  com/lansweeper/dp/outbound/v1/MacOsKernelExtension.class
574
582
  com/lansweeper/dp/outbound/v1/GraphicsCard$Builder.class
@@ -637,6 +645,7 @@ com/lansweeper/dp/outbound/v1/ComputerLinuxMemoryControllerOrBuilder.class
637
645
  com/lansweeper/dp/outbound/v1/ComputerConnectedPrinter.class
638
646
  com/lansweeper/dp/outbound/v1/CitrixGuestExtraInfo$1.class
639
647
  com/lansweeper/dp/outbound/v1/ActiveDirectoryObjectOrBuilder.class
648
+ com/lansweeper/dp/outbound/v1/CorrelationIndexRealignmentResponse$Builder.class
640
649
  com/lansweeper/dp/outbound/v1/CitrixHostPhysicalCpu$Builder.class
641
650
  com/lansweeper/dp/outbound/v1/NetIpAddress$Builder.class
642
651
  com/lansweeper/dp/outbound/v1/MappedValue$1.class
@@ -929,6 +938,7 @@ com/lansweeper/dp/outbound/v1/Motherboard.class
929
938
  com/lansweeper/dp/outbound/v1/CatalogLookupResponse.class
930
939
  com/lansweeper/dp/outbound/v1/Driver.class
931
940
  com/lansweeper/dp/outbound/v1/ComputerLinuxPcieCard.class
941
+ com/lansweeper/dp/outbound/v1/CorrelationRealignmentRequest$Builder.class
932
942
  com/lansweeper/dp/outbound/v1/WindowsPortableBattery.class
933
943
  com/lansweeper/dp/outbound/v1/SqlServerCluster.class
934
944
  com/lansweeper/dp/outbound/v1/Office365AssignedLicense$1.class
@@ -950,6 +960,7 @@ com/lansweeper/dp/outbound/v1/VmwareEsxiHypervisor$EsxiGuestVmKeyDefaultEntryHol
950
960
  com/lansweeper/dp/outbound/v1/CatalogOs$Builder.class
951
961
  com/lansweeper/dp/outbound/v1/Computer$1.class
952
962
  com/lansweeper/dp/outbound/v1/ComputerMacNVMExpressOrBuilder.class
963
+ com/lansweeper/dp/outbound/v1/CorrelationIndexRealignmentResponseOrBuilder.class
953
964
  com/lansweeper/dp/outbound/v1/Keyboard.class
954
965
  com/lansweeper/dp/outbound/v1/CatalogLookupRequest$Builder.class
955
966
  com/lansweeper/dp/outbound/v1/DeconcileRequest$Builder.class
@@ -1055,6 +1066,7 @@ com/lansweeper/dp/outbound/v1/LastUser$1.class
1055
1066
  com/lansweeper/dp/outbound/v1/ComputerConnectedUsbController$Builder.class
1056
1067
  com/lansweeper/dp/outbound/v1/ComputerMacSATAControllerOrBuilder.class
1057
1068
  com/lansweeper/dp/outbound/v1/SharedResource$1.class
1069
+ com/lansweeper/dp/outbound/v1/CorrelationRealignment.class
1058
1070
  com/lansweeper/dp/outbound/v1/Bios$SpecCase.class
1059
1071
  com/lansweeper/dp/outbound/v1/DatastoreClusterDrsPodConfigRule$Builder.class
1060
1072
  com/lansweeper/dp/outbound/v1/ComputerWindowsIdeController$1.class
@@ -3,6 +3,7 @@
3
3
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerWindowsEnvironment.java
4
4
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CitrixPhysicalInterface.java
5
5
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/IpInfoOrBuilder.java
6
+ /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CorrelationRealignment.java
6
7
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/DatastoreClusterDrsVmOverrideOrBuilder.java
7
8
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/SharedPermissionOrBuilder.java
8
9
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerMacDiagnosticsOrBuilder.java
@@ -37,6 +38,7 @@
37
38
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/UserLogon.java
38
39
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/SnmpInfoOrBuilder.java
39
40
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerInfraredOrBuilder.java
41
+ /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CorrelationIndexRealignmentResponse.java
40
42
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CitrixVirtualBlockDevice.java
41
43
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/PointingDeviceOrBuilder.java
42
44
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/MacUSBController.java
@@ -78,6 +80,7 @@
78
80
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/UserAccount.java
79
81
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerWindowsPageFile.java
80
82
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerMacInstallHistory.java
83
+ /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CorrelationIndexRealignmentResponseOrBuilder.java
81
84
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/MacPrinterSoftwareItemOrBuilder.java
82
85
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/GetEntityResponse.java
83
86
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerWindowsPageFileOrBuilder.java
@@ -99,6 +102,7 @@
99
102
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/PcmciaControllerOrBuilder.java
100
103
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/GetEntityResponseOrBuilder.java
101
104
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/GroupCoreFields.java
105
+ /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CorrelationRealignmentRequestOrBuilder.java
102
106
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CitrixHostPhysicalCpu.java
103
107
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerMacSecureElementsOrBuilder.java
104
108
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ProcessorOrBuilder.java
@@ -159,6 +163,7 @@
159
163
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CitrixHostPatchOrBuilder.java
160
164
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ComputerLinuxPcieCard.java
161
165
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/IpLocationConfig.java
166
+ /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CorrelationRealignmentOrBuilder.java
162
167
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/SoftwareOrBuilder.java
163
168
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/VmwareOrBuilder.java
164
169
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365License.java
@@ -313,6 +318,7 @@
313
318
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365DomainOrBuilder.java
314
319
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/WindowsHyperVChangeEvent.java
315
320
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ActiveDirectoryObject.java
321
+ /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/CorrelationRealignmentRequest.java
316
322
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/SiteKey.java
317
323
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Office365LicenseOrBuilder.java
318
324
  /home/circleci/project/packages/data.platform/outbound/grpc/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/SerialPort.java
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lansweeper/data-platform-outbound-grpc",
3
- "version": "0.4.9",
3
+ "version": "0.4.10",
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": "e094e9d0e7918f8777dc6a8dd163f03b36bac15e"
12
+ "gitHead": "e6b8517ac538657ade8395df20f5bba5fd3643fc"
13
13
  }
package/pom.xml CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  <groupId>com.lansweeper.dp.outbound.v1</groupId>
8
8
  <artifactId>parent</artifactId>
9
- <version>0.4.8</version>
9
+ <version>0.4.9</version>
10
10
  <packaging>pom</packaging>
11
11
  <modules>
12
12
  <module>model</module>
@@ -73,6 +73,9 @@ service DataCoreBackofficeService {
73
73
 
74
74
  // Deconcile an entity from the aliases (reverse reconciliation)
75
75
  rpc EntityDeconcile(DeconcileRequest) returns (DeconcileResponse) {}
76
+
77
+ // Sync RPC to realign the correlation index from the entity metadata of that site.
78
+ rpc CorrelationIndexRealignment (CorrelationRealignmentRequest) returns (CorrelationIndexRealignmentResponse);
76
79
  }
77
80
 
78
81
  message Site {
@@ -92,6 +95,7 @@ message Site {
92
95
  map<string, UnlinkedInstallationMetadata> unlinked_installations = 14; // Unlinked installations, where the key is the installation id and the value is the metadata
93
96
  optional google.protobuf.Timestamp reconcile_revalidation_time = 15;
94
97
  optional bool correlation_index_enabled = 16; // Whether the correlation index is enabled for this site
98
+ optional google.protobuf.Timestamp last_correlation_realignment = 17; // Last time the correlation index was realigned using the Job from backoffice
95
99
  }
96
100
 
97
101
  /**
@@ -155,6 +159,25 @@ message DeconcileRequest {
155
159
  repeated EntityPath aliases = 2;
156
160
  }
157
161
 
162
+ /**
163
+ * We send this request to realign the correlation index from the entity metadata of that site.
164
+ */
165
+ message CorrelationRealignmentRequest {
166
+ string site_id = 1;
167
+ google.protobuf.Timestamp until_time = 2; // The timestamp we will use to filter the assets to realign. If the asset has been updated after this time, it will NOT be realigned.
168
+ }
169
+
170
+ message CorrelationIndexRealignmentResponse {
171
+ optional CorrelationRealignment assets = 1;
172
+ optional CorrelationRealignment users = 2;
173
+ optional CorrelationRealignment groups = 3;
174
+ }
175
+
176
+ message CorrelationRealignment {
177
+ optional uint64 realigned = 1;
178
+ optional uint64 deleted = 2;
179
+ }
180
+
158
181
  message CatalogLookupRequest {
159
182
  repeated int64 brand_id = 1;
160
183
  repeated int64 model_id = 2;
@@ -809,7 +832,7 @@ message SourceInfo {
809
832
  string source_id = 1; // source id, like installation id of IT
810
833
  string source_type = 2; // source type like e.g. IT
811
834
  optional string sensor_id = 10; // sensor id of the source
812
- optional string source_action_id = 11;
835
+ optional string source_action_id = 11;
813
836
  optional string source_agent = 3; // source agent name and version
814
837
  optional string source_name = 4; // source name
815
838
  optional string source_tag = 8; // source tag
@@ -4583,10 +4606,10 @@ message Office365Organization {
4583
4606
  // Users and groups are standalone entities, so they are not included here
4584
4607
  repeated Office365Domain domains = 12;
4585
4608
  repeated Office365License licenses = 15;
4586
- map<string, Office365AssignedPlan> assigned_plans = 16 [deprecated=true];
4609
+ map<string, Office365AssignedPlan> assigned_plans = 16 [deprecated = true];
4587
4610
  repeated Office365Contact contacts = 17;
4588
4611
  repeated Office365Mailbox mailboxes = 18;
4589
- repeated Office365AssignedLicense assigned_licenses = 19 [deprecated=true];
4612
+ repeated Office365AssignedLicense assigned_licenses = 19 [deprecated = true];
4590
4613
  }
4591
4614
 
4592
4615
  message Office365Mailbox {
package/service/pom.xml CHANGED
@@ -6,7 +6,7 @@
6
6
  <parent>
7
7
  <groupId>com.lansweeper.dp.outbound.v1</groupId>
8
8
  <artifactId>parent</artifactId>
9
- <version>0.4.8</version>
9
+ <version>0.4.9</version>
10
10
  </parent>
11
11
 
12
12
  <artifactId>outbound-service</artifactId>