@lansweeper/integrations-webhooks-notifier-grpc 0.1.1 → 0.2.1
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
CHANGED
|
@@ -3,6 +3,28 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.2.1](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/integrations-webhooks-notifier-grpc@0.2.0...@lansweeper/integrations-webhooks-notifier-grpc@0.2.1) (2020-10-14)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* force grpc publish ([15c8fda](https://github.com/Lansweeper/lansweeperapis/commit/15c8fda8893aee7040e92b74c7211b10262ed02b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [0.2.0](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/integrations-webhooks-notifier-grpc@0.1.1...@lansweeper/integrations-webhooks-notifier-grpc@0.2.0) (2020-10-13)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* add traceId to integrations protos ([e468f7b](https://github.com/Lansweeper/lansweeperapis/commit/e468f7b35680d87e2b27083fb8b664c7a6becc7f))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
6
28
|
## [0.1.1](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/integrations-webhooks-notifier-grpc@0.1.0...@lansweeper/integrations-webhooks-notifier-grpc@0.1.1) (2020-08-25)
|
|
7
29
|
|
|
8
30
|
**Note:** Version bump only for package @lansweeper/integrations-webhooks-notifier-grpc
|
package/gen-proto/image.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":[{"name":"webhooks_notifier_consumer.proto","package":"lansweeper.integrationswebhooknotifierconsumer.v1","messageType":[{"name":"RedeliverNotificationRequest","field":[{"name":"notificationId","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"notificationId"}]},{"name":"RedeliverNotificationResponse","field":[{"name":"success","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_INT64","jsonName":"success"}]}],"service":[{"name":"IntegrationsRedeliverService","method":[{"name":"RedeliverNotification","inputType":".lansweeper.integrationswebhooknotifierconsumer.v1.RedeliverNotificationRequest","outputType":".lansweeper.integrationswebhooknotifierconsumer.v1.RedeliverNotificationResponse","options":{}}]}],"sourceCodeInfo":{"location":[{"span":[0,0,
|
|
1
|
+
{"file":[{"name":"webhooks_notifier_consumer.proto","package":"lansweeper.integrationswebhooknotifierconsumer.v1","messageType":[{"name":"RedeliverNotificationRequest","field":[{"name":"notificationId","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"notificationId"},{"name":"traceId","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"traceId"}]},{"name":"RedeliverNotificationResponse","field":[{"name":"success","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_INT64","jsonName":"success"}]}],"service":[{"name":"IntegrationsRedeliverService","method":[{"name":"RedeliverNotification","inputType":".lansweeper.integrationswebhooknotifierconsumer.v1.RedeliverNotificationRequest","outputType":".lansweeper.integrationswebhooknotifierconsumer.v1.RedeliverNotificationResponse","options":{}}]}],"sourceCodeInfo":{"location":[{"span":[0,0,15,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,58]},{"path":[4,0],"span":[4,0,7,1]},{"path":[4,0,1],"span":[4,8,36]},{"path":[4,0,2,0],"span":[5,2,28]},{"path":[4,0,2,0,5],"span":[5,2,8]},{"path":[4,0,2,0,1],"span":[5,9,23]},{"path":[4,0,2,0,3],"span":[5,26,27]},{"path":[4,0,2,1],"span":[6,2,21]},{"path":[4,0,2,1,5],"span":[6,2,8]},{"path":[4,0,2,1,1],"span":[6,9,16]},{"path":[4,0,2,1,3],"span":[6,19,20]},{"path":[4,1],"span":[9,0,11,1]},{"path":[4,1,1],"span":[9,8,37]},{"path":[4,1,2,0],"span":[10,2,20]},{"path":[4,1,2,0,5],"span":[10,2,7]},{"path":[4,1,2,0,1],"span":[10,8,15]},{"path":[4,1,2,0,3],"span":[10,18,19]},{"path":[6,0],"span":[13,0,15,1]},{"path":[6,0,1],"span":[13,8,36]},{"path":[6,0,2,0],"span":[14,2,101]},{"path":[6,0,2,0,1],"span":[14,6,27]},{"path":[6,0,2,0,2],"span":[14,29,57]},{"path":[6,0,2,0,3],"span":[14,68,97]}]},"syntax":"proto3"}],"bufbuildImageExtension":{}}
|
|
@@ -10,6 +10,9 @@ export class RedeliverNotificationRequest extends jspb.Message {
|
|
|
10
10
|
getNotificationid(): string;
|
|
11
11
|
setNotificationid(value: string): RedeliverNotificationRequest;
|
|
12
12
|
|
|
13
|
+
getTraceid(): string;
|
|
14
|
+
setTraceid(value: string): RedeliverNotificationRequest;
|
|
15
|
+
|
|
13
16
|
|
|
14
17
|
serializeBinary(): Uint8Array;
|
|
15
18
|
toObject(includeInstance?: boolean): RedeliverNotificationRequest.AsObject;
|
|
@@ -24,6 +27,7 @@ export class RedeliverNotificationRequest extends jspb.Message {
|
|
|
24
27
|
export namespace RedeliverNotificationRequest {
|
|
25
28
|
export type AsObject = {
|
|
26
29
|
notificationid: string,
|
|
30
|
+
traceid: string,
|
|
27
31
|
}
|
|
28
32
|
}
|
|
29
33
|
|
|
@@ -88,7 +88,8 @@ proto.lansweeper.integrationswebhooknotifierconsumer.v1.RedeliverNotificationReq
|
|
|
88
88
|
*/
|
|
89
89
|
proto.lansweeper.integrationswebhooknotifierconsumer.v1.RedeliverNotificationRequest.toObject = function(includeInstance, msg) {
|
|
90
90
|
var f, obj = {
|
|
91
|
-
notificationid: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
91
|
+
notificationid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
92
|
+
traceid: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
92
93
|
};
|
|
93
94
|
|
|
94
95
|
if (includeInstance) {
|
|
@@ -129,6 +130,10 @@ proto.lansweeper.integrationswebhooknotifierconsumer.v1.RedeliverNotificationReq
|
|
|
129
130
|
var value = /** @type {string} */ (reader.readString());
|
|
130
131
|
msg.setNotificationid(value);
|
|
131
132
|
break;
|
|
133
|
+
case 2:
|
|
134
|
+
var value = /** @type {string} */ (reader.readString());
|
|
135
|
+
msg.setTraceid(value);
|
|
136
|
+
break;
|
|
132
137
|
default:
|
|
133
138
|
reader.skipField();
|
|
134
139
|
break;
|
|
@@ -165,6 +170,13 @@ proto.lansweeper.integrationswebhooknotifierconsumer.v1.RedeliverNotificationReq
|
|
|
165
170
|
f
|
|
166
171
|
);
|
|
167
172
|
}
|
|
173
|
+
f = message.getTraceid();
|
|
174
|
+
if (f.length > 0) {
|
|
175
|
+
writer.writeString(
|
|
176
|
+
2,
|
|
177
|
+
f
|
|
178
|
+
);
|
|
179
|
+
}
|
|
168
180
|
};
|
|
169
181
|
|
|
170
182
|
|
|
@@ -186,6 +198,24 @@ proto.lansweeper.integrationswebhooknotifierconsumer.v1.RedeliverNotificationReq
|
|
|
186
198
|
};
|
|
187
199
|
|
|
188
200
|
|
|
201
|
+
/**
|
|
202
|
+
* optional string traceId = 2;
|
|
203
|
+
* @return {string}
|
|
204
|
+
*/
|
|
205
|
+
proto.lansweeper.integrationswebhooknotifierconsumer.v1.RedeliverNotificationRequest.prototype.getTraceid = function() {
|
|
206
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
207
|
+
};
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* @param {string} value
|
|
212
|
+
* @return {!proto.lansweeper.integrationswebhooknotifierconsumer.v1.RedeliverNotificationRequest} returns this
|
|
213
|
+
*/
|
|
214
|
+
proto.lansweeper.integrationswebhooknotifierconsumer.v1.RedeliverNotificationRequest.prototype.setTraceid = function(value) {
|
|
215
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
|
|
189
219
|
|
|
190
220
|
|
|
191
221
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lansweeper/integrations-webhooks-notifier-grpc",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"main": "gen-proto/index.js",
|
|
5
5
|
"types": "gen-proto/index.d.ts",
|
|
6
6
|
"license": "MIT",
|
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
"google-protobuf": "^3.12.4",
|
|
9
9
|
"grpc": "^1.24.3"
|
|
10
10
|
},
|
|
11
|
-
"gitHead": "
|
|
11
|
+
"gitHead": "195ec9bf593073f44084d884959c4f4e82710685"
|
|
12
12
|
}
|
|
@@ -4,6 +4,7 @@ package lansweeper.integrationswebhooknotifierconsumer.v1;
|
|
|
4
4
|
|
|
5
5
|
message RedeliverNotificationRequest {
|
|
6
6
|
string notificationId = 1;
|
|
7
|
+
string traceId = 2;
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
message RedeliverNotificationResponse {
|
|
@@ -12,4 +13,4 @@ message RedeliverNotificationResponse {
|
|
|
12
13
|
|
|
13
14
|
service IntegrationsRedeliverService {
|
|
14
15
|
rpc RedeliverNotification (RedeliverNotificationRequest) returns (RedeliverNotificationResponse) {}
|
|
15
|
-
}
|
|
16
|
+
}
|