@lansweeper/data-platform-outbound-grpc 0.0.2 → 0.1.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 +16 -0
- package/DOC.md +591 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_grpc_pb.d.ts +3 -3
- package/gen-proto/outbound_grpc_pb.js +29 -25
- package/gen-proto/outbound_pb.d.ts +1 -1
- package/gen-proto/outbound_pb.js +1811 -1811
- package/package.json +2 -2
- package/pom.xml +29 -0
- package/proto/outbound.proto +9 -4
- package/src/main/java/com/lansweeper/dp/outbound/v1/Outbound.java +43170 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lansweeper/data-platform-outbound-grpc",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.1",
|
|
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": "546c644ec60bbe3b4789256fa38f01058883af48"
|
|
13
13
|
}
|
package/pom.xml
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
2
|
+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
3
|
+
<modelVersion>4.0.0</modelVersion>
|
|
4
|
+
<groupId>com.lansweeper.dp</groupId>
|
|
5
|
+
<artifactId>outbound.v1</artifactId>
|
|
6
|
+
<packaging>jar</packaging>
|
|
7
|
+
<version>0.1.0</version>
|
|
8
|
+
<name>Data Platform Outbound gRPC</name>
|
|
9
|
+
<url>http://maven.apache.org</url>
|
|
10
|
+
<properties>
|
|
11
|
+
<java.version>17</java.version>
|
|
12
|
+
<maven.compiler.source>${java.version}</maven.compiler.source>
|
|
13
|
+
<maven.compiler.target>${java.version}</maven.compiler.target>
|
|
14
|
+
</properties>
|
|
15
|
+
<dependencies>
|
|
16
|
+
<dependency>
|
|
17
|
+
<groupId>com.google.protobuf</groupId>
|
|
18
|
+
<artifactId>protobuf-java</artifactId>
|
|
19
|
+
<version>3.21.2</version>
|
|
20
|
+
</dependency>
|
|
21
|
+
</dependencies>
|
|
22
|
+
<distributionManagement>
|
|
23
|
+
<repository>
|
|
24
|
+
<id>github</id>
|
|
25
|
+
<url>https://maven.pkg.github.com/Lansweeper/MavenRegistry</url>
|
|
26
|
+
<name>GitHub Lansweeper Apache Maven Packages</name>
|
|
27
|
+
</repository>
|
|
28
|
+
</distributionManagement>
|
|
29
|
+
</project>
|
package/proto/outbound.proto
CHANGED
|
@@ -1,17 +1,22 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright
|
|
2
|
+
* Copyright Lansweeper (c)
|
|
3
3
|
*
|
|
4
|
-
* This files contains
|
|
4
|
+
* This files contains the Data Access API and the definition of outbound model
|
|
5
5
|
*
|
|
6
|
-
* https://github.com/pseudomuto/protoc-gen-doc
|
|
6
|
+
* N.B. This file has been documented using the specification available here: https://github.com/pseudomuto/protoc-gen-doc
|
|
7
7
|
*/
|
|
8
8
|
syntax = "proto3";
|
|
9
|
-
package com.lansweeper.dp.
|
|
9
|
+
package com.lansweeper.dp.outbound.v1;
|
|
10
10
|
|
|
11
11
|
import "google/protobuf/timestamp.proto";
|
|
12
12
|
|
|
13
13
|
// ----- Service Part ------
|
|
14
14
|
|
|
15
|
+
/**
|
|
16
|
+
* GRPC Service. Currently supported operation:
|
|
17
|
+
* - Get Entity
|
|
18
|
+
* - Stream Entities
|
|
19
|
+
*/
|
|
15
20
|
service DataCoreOutboundService {
|
|
16
21
|
|
|
17
22
|
// Retrieve a single entity by site/inst-id/type/id
|