@lansweeper/ot-asset-model 0.0.31 → 0.0.33
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/Lansweeper.Model.OTAsset.csproj +4 -4
- package/bin/Debug/net6.0/Lansweeper.Model.OTAsset.deps.json +2 -2
- package/bin/Debug/net6.0/Lansweeper.Model.OTAsset.dll +0 -0
- package/bin/Debug/net6.0/Lansweeper.Model.OTAsset.pdb +0 -0
- package/bin/Debug/netstandard2.0/Lansweeper.Model.OTAsset.deps.json +2 -2
- package/bin/Debug/netstandard2.0/Lansweeper.Model.OTAsset.dll +0 -0
- package/bin/Debug/netstandard2.0/Lansweeper.Model.OTAsset.pdb +0 -0
- package/dist/ot-model.json +11 -33
- package/obj/Debug/net6.0/Lansweeper.Model.OTAsset.AssemblyInfo.cs +3 -3
- package/obj/Debug/net6.0/Lansweeper.Model.OTAsset.AssemblyInfoInputs.cache +1 -1
- package/obj/Debug/net6.0/Lansweeper.Model.OTAsset.dll +0 -0
- package/obj/Debug/net6.0/Lansweeper.Model.OTAsset.pdb +0 -0
- package/obj/Debug/net6.0/ref/Lansweeper.Model.OTAsset.dll +0 -0
- package/obj/Debug/net6.0/refint/Lansweeper.Model.OTAsset.dll +0 -0
- package/obj/Debug/netstandard2.0/Lansweeper.Model.OTAsset.AssemblyInfo.cs +3 -3
- package/obj/Debug/netstandard2.0/Lansweeper.Model.OTAsset.AssemblyInfoInputs.cache +1 -1
- package/obj/Debug/netstandard2.0/Lansweeper.Model.OTAsset.dll +0 -0
- package/obj/Debug/netstandard2.0/Lansweeper.Model.OTAsset.pdb +0 -0
- package/obj/Lansweeper.Model.OTAsset.csproj.nuget.dgspec.json +1 -1
- package/obj/project.assets.json +1 -1
- package/obj/project.nuget.cache +1 -1
- package/package.json +2 -2
- package/src/ot-model-query.json +246 -0
- package/src/ot-model.json +11 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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.0.33](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/ot-asset-model@0.0.32...@lansweeper/ot-asset-model@0.0.33) (2022-08-18)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @lansweeper/ot-asset-model
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.0.32](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/ot-asset-model@0.0.31...@lansweeper/ot-asset-model@0.0.32) (2022-08-18)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @lansweeper/ot-asset-model
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [0.0.31](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/ot-asset-model@0.0.30...@lansweeper/ot-asset-model@0.0.31) (2022-08-17)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @lansweeper/ot-asset-model
|
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
<Company>Lansweeper</Company>
|
|
8
8
|
<Product>Lansweeper Syncer</Product>
|
|
9
9
|
<Copyright>Lansweeper</Copyright>
|
|
10
|
-
<PackageVersion>0.0.
|
|
11
|
-
<Version>0.0.
|
|
12
|
-
<FileVersion>0.0.
|
|
10
|
+
<PackageVersion>0.0.32</PackageVersion>
|
|
11
|
+
<Version>0.0.32</Version>
|
|
12
|
+
<FileVersion>0.0.32</FileVersion>
|
|
13
13
|
<RepositoryUrl>https://github.com/Lansweeper/lansweeperapis</RepositoryUrl>
|
|
14
14
|
</PropertyGroup>
|
|
15
15
|
<ItemGroup>
|
|
16
|
-
<EmbeddedResource Include="src/ot-model.json">
|
|
16
|
+
<EmbeddedResource Include="src/ot-model-query.json">
|
|
17
17
|
<LogicalName>Lansweeper.Model.OTAsset.Content.json</LogicalName>
|
|
18
18
|
</EmbeddedResource>
|
|
19
19
|
</ItemGroup>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"compilationOptions": {},
|
|
7
7
|
"targets": {
|
|
8
8
|
".NETCoreApp,Version=v6.0": {
|
|
9
|
-
"Lansweeper.Model.OTAsset/0.0.
|
|
9
|
+
"Lansweeper.Model.OTAsset/0.0.32": {
|
|
10
10
|
"runtime": {
|
|
11
11
|
"Lansweeper.Model.OTAsset.dll": {}
|
|
12
12
|
}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
"libraries": {
|
|
17
|
-
"Lansweeper.Model.OTAsset/0.0.
|
|
17
|
+
"Lansweeper.Model.OTAsset/0.0.32": {
|
|
18
18
|
"type": "project",
|
|
19
19
|
"serviceable": false,
|
|
20
20
|
"sha512": ""
|
|
Binary file
|
|
Binary file
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"targets": {
|
|
8
8
|
".NETStandard,Version=v2.0": {},
|
|
9
9
|
".NETStandard,Version=v2.0/": {
|
|
10
|
-
"Lansweeper.Model.OTAsset/0.0.
|
|
10
|
+
"Lansweeper.Model.OTAsset/0.0.32": {
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"NETStandard.Library": "2.0.3"
|
|
13
13
|
},
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"libraries": {
|
|
27
|
-
"Lansweeper.Model.OTAsset/0.0.
|
|
27
|
+
"Lansweeper.Model.OTAsset/0.0.32": {
|
|
28
28
|
"type": "project",
|
|
29
29
|
"serviceable": false,
|
|
30
30
|
"sha512": ""
|
|
Binary file
|
|
Binary file
|
package/dist/ot-model.json
CHANGED
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
"cloudKey": "assetKey",
|
|
10
10
|
"children": [
|
|
11
11
|
{
|
|
12
|
+
"cloudEntity": "AssetCustom",
|
|
13
|
+
"cloudId": "assetCustomId",
|
|
12
14
|
"isArray": false,
|
|
13
15
|
"propertyName": "assetCustom",
|
|
14
16
|
"properties": {
|
|
@@ -33,6 +35,7 @@
|
|
|
33
35
|
}
|
|
34
36
|
},
|
|
35
37
|
{
|
|
38
|
+
"cloudEntity": "OtData",
|
|
36
39
|
"isArray": false,
|
|
37
40
|
"propertyName": "otData",
|
|
38
41
|
"properties": {
|
|
@@ -172,23 +175,6 @@
|
|
|
172
175
|
"propertyName": "otLastScans",
|
|
173
176
|
"limit": 1000,
|
|
174
177
|
"isArray": true,
|
|
175
|
-
"unions": [
|
|
176
|
-
{
|
|
177
|
-
"rootFk": "ProtocolId",
|
|
178
|
-
"unionPk": "Id",
|
|
179
|
-
"onpremTable": "Protocol",
|
|
180
|
-
"properties": {
|
|
181
|
-
"name": {
|
|
182
|
-
"onprem": "Name",
|
|
183
|
-
"type": "string"
|
|
184
|
-
},
|
|
185
|
-
"isManufacturerSpecific": {
|
|
186
|
-
"onprem": "IsManufacturerSpecific",
|
|
187
|
-
"type": "boolean"
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
],
|
|
192
178
|
"properties": {
|
|
193
179
|
"lastScanId": {
|
|
194
180
|
"onprem": "Id",
|
|
@@ -209,6 +195,14 @@
|
|
|
209
195
|
"lastScan": {
|
|
210
196
|
"onprem": "LastScan",
|
|
211
197
|
"type": "date-time"
|
|
198
|
+
},
|
|
199
|
+
"name": {
|
|
200
|
+
"onprem": "Name",
|
|
201
|
+
"type": "string"
|
|
202
|
+
},
|
|
203
|
+
"isManufacturerSpecific": {
|
|
204
|
+
"onprem": "IsManufacturerSpecific",
|
|
205
|
+
"type": "boolean"
|
|
212
206
|
}
|
|
213
207
|
}
|
|
214
208
|
}
|
|
@@ -245,22 +239,6 @@
|
|
|
245
239
|
"onprem": "Description",
|
|
246
240
|
"type": "string"
|
|
247
241
|
},
|
|
248
|
-
"manufacturer": {
|
|
249
|
-
"onprem": "Manufacturer",
|
|
250
|
-
"type": "string"
|
|
251
|
-
},
|
|
252
|
-
"model": {
|
|
253
|
-
"onprem": "Model",
|
|
254
|
-
"type": "string"
|
|
255
|
-
},
|
|
256
|
-
"serialNumber": {
|
|
257
|
-
"onprem": "SerialNumber",
|
|
258
|
-
"type": "string"
|
|
259
|
-
},
|
|
260
|
-
"rackSize": {
|
|
261
|
-
"onprem": "RackSize",
|
|
262
|
-
"type": "float"
|
|
263
|
-
},
|
|
264
242
|
"firstSeen": {
|
|
265
243
|
"onprem": "FirstSeen",
|
|
266
244
|
"type": "date-time"
|
|
@@ -14,11 +14,11 @@ using System.Reflection;
|
|
|
14
14
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
|
15
15
|
[assembly: System.Reflection.AssemblyCopyrightAttribute("Lansweeper")]
|
|
16
16
|
[assembly: System.Reflection.AssemblyDescriptionAttribute("More Info : http://www.lansweeper.com")]
|
|
17
|
-
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.0.
|
|
18
|
-
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.
|
|
17
|
+
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.0.32")]
|
|
18
|
+
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.32")]
|
|
19
19
|
[assembly: System.Reflection.AssemblyProductAttribute("Lansweeper Syncer")]
|
|
20
20
|
[assembly: System.Reflection.AssemblyTitleAttribute("Lansweeper.Model.OTAsset")]
|
|
21
|
-
[assembly: System.Reflection.AssemblyVersionAttribute("0.0.
|
|
21
|
+
[assembly: System.Reflection.AssemblyVersionAttribute("0.0.32.0")]
|
|
22
22
|
[assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://github.com/Lansweeper/lansweeperapis")]
|
|
23
23
|
|
|
24
24
|
// Generated by the MSBuild WriteCodeFragment class.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
b72855d06d8f29c6a9bdb67e22c925f440e6ac9e
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -14,11 +14,11 @@ using System.Reflection;
|
|
|
14
14
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
|
15
15
|
[assembly: System.Reflection.AssemblyCopyrightAttribute("Lansweeper")]
|
|
16
16
|
[assembly: System.Reflection.AssemblyDescriptionAttribute("More Info : http://www.lansweeper.com")]
|
|
17
|
-
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.0.
|
|
18
|
-
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.
|
|
17
|
+
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.0.32")]
|
|
18
|
+
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.32")]
|
|
19
19
|
[assembly: System.Reflection.AssemblyProductAttribute("Lansweeper Syncer")]
|
|
20
20
|
[assembly: System.Reflection.AssemblyTitleAttribute("Lansweeper.Model.OTAsset")]
|
|
21
|
-
[assembly: System.Reflection.AssemblyVersionAttribute("0.0.
|
|
21
|
+
[assembly: System.Reflection.AssemblyVersionAttribute("0.0.32.0")]
|
|
22
22
|
[assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://github.com/Lansweeper/lansweeperapis")]
|
|
23
23
|
|
|
24
24
|
// Generated by the MSBuild WriteCodeFragment class.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
b72855d06d8f29c6a9bdb67e22c925f440e6ac9e
|
|
Binary file
|
|
Binary file
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
},
|
|
6
6
|
"projects": {
|
|
7
7
|
"/home/circleci/project/packages/model/otAsset/Lansweeper.Model.OTAsset.csproj": {
|
|
8
|
-
"version": "0.0.
|
|
8
|
+
"version": "0.0.32",
|
|
9
9
|
"restore": {
|
|
10
10
|
"projectUniqueName": "/home/circleci/project/packages/model/otAsset/Lansweeper.Model.OTAsset.csproj",
|
|
11
11
|
"projectName": "Lansweeper.Model.OTAsset",
|
package/obj/project.assets.json
CHANGED
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
"/home/circleci/.nuget/packages/": {}
|
|
186
186
|
},
|
|
187
187
|
"project": {
|
|
188
|
-
"version": "0.0.
|
|
188
|
+
"version": "0.0.32",
|
|
189
189
|
"restore": {
|
|
190
190
|
"projectUniqueName": "/home/circleci/project/packages/model/otAsset/Lansweeper.Model.OTAsset.csproj",
|
|
191
191
|
"projectName": "Lansweeper.Model.OTAsset",
|
package/obj/project.nuget.cache
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 2,
|
|
3
|
-
"dgSpecHash": "
|
|
3
|
+
"dgSpecHash": "JA37Rg4QKUfzX5FvwUp43wrJkuBGFVA2PEbcbDXUbe126UAWm9E5LqwfEWWBfJv/iykbClXIrR1i8a6Z6tUJfg==",
|
|
4
4
|
"success": true,
|
|
5
5
|
"projectFilePath": "/home/circleci/project/packages/model/otAsset/Lansweeper.Model.OTAsset.csproj",
|
|
6
6
|
"expectedPackageFiles": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lansweeper/ot-asset-model",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.33",
|
|
4
4
|
"description": "OT Asset model",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "",
|
|
@@ -16,5 +16,5 @@
|
|
|
16
16
|
"scripts": {
|
|
17
17
|
"build": "tsc"
|
|
18
18
|
},
|
|
19
|
-
"gitHead": "
|
|
19
|
+
"gitHead": "a1956f380cc2ed22e5387e86d990b53351238b7e"
|
|
20
20
|
}
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"context": "Asset",
|
|
4
|
+
"cloudEntity": "Asset",
|
|
5
|
+
"onpremTable": "Asset",
|
|
6
|
+
"onpremId": "Id",
|
|
7
|
+
"rootId": "Id",
|
|
8
|
+
"cloudId": "assetId",
|
|
9
|
+
"cloudKey": "assetKey",
|
|
10
|
+
"children": [
|
|
11
|
+
{
|
|
12
|
+
"cloudEntity": "Module",
|
|
13
|
+
"onpremTable": "Module",
|
|
14
|
+
"onpremId": "Id",
|
|
15
|
+
"cloudId": "moduleId",
|
|
16
|
+
"rootId": "AssetId",
|
|
17
|
+
"parentFk": "AssetId",
|
|
18
|
+
"propertyName": "modules",
|
|
19
|
+
"limit": 1000,
|
|
20
|
+
"isArray": true,
|
|
21
|
+
"children": [
|
|
22
|
+
{
|
|
23
|
+
"cloudEntity": "ExtraField",
|
|
24
|
+
"onpremTable": "ModuleExtendedInformation",
|
|
25
|
+
"onpremId": "Id",
|
|
26
|
+
"cloudId": "extraFieldId",
|
|
27
|
+
"parentFk": "ModuleId",
|
|
28
|
+
"rootId": "RootId",
|
|
29
|
+
"propertyName": "extraFields",
|
|
30
|
+
"limit": 1000,
|
|
31
|
+
"isArray": true,
|
|
32
|
+
"properties": {
|
|
33
|
+
"extraFieldId": {
|
|
34
|
+
"onprem": "Id",
|
|
35
|
+
"type": "string"
|
|
36
|
+
},
|
|
37
|
+
"name": {
|
|
38
|
+
"onprem": "Name",
|
|
39
|
+
"type": "string"
|
|
40
|
+
},
|
|
41
|
+
"value": {
|
|
42
|
+
"onprem": "Value",
|
|
43
|
+
"type": "string"
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"cloudEntity": "FirmwareHistory",
|
|
49
|
+
"onpremTable": "ModuleFirmwareHistory",
|
|
50
|
+
"onpremId": "Id",
|
|
51
|
+
"cloudId": "firmwareHistoryId",
|
|
52
|
+
"rootId": "RootId",
|
|
53
|
+
"parentFk": "ModuleId",
|
|
54
|
+
"propertyName": "firmwareHistory",
|
|
55
|
+
"limit": 1000,
|
|
56
|
+
"isArray": true,
|
|
57
|
+
"properties": {
|
|
58
|
+
"firmwareHistoryId": {
|
|
59
|
+
"onprem": "Id",
|
|
60
|
+
"type": "string"
|
|
61
|
+
},
|
|
62
|
+
"firmware": {
|
|
63
|
+
"onprem": "Firmware",
|
|
64
|
+
"type": "string"
|
|
65
|
+
},
|
|
66
|
+
"from": {
|
|
67
|
+
"onprem": "From",
|
|
68
|
+
"type": "date-time"
|
|
69
|
+
},
|
|
70
|
+
"to": {
|
|
71
|
+
"onprem": "Until",
|
|
72
|
+
"type": "date-time"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"properties": {
|
|
78
|
+
"moduleId": {
|
|
79
|
+
"onprem": "Id",
|
|
80
|
+
"type": "string"
|
|
81
|
+
},
|
|
82
|
+
"componentType": {
|
|
83
|
+
"onprem": "ComponentType",
|
|
84
|
+
"type": "string"
|
|
85
|
+
},
|
|
86
|
+
"name": {
|
|
87
|
+
"onprem": "Name",
|
|
88
|
+
"type": "string"
|
|
89
|
+
},
|
|
90
|
+
"manufacturer": {
|
|
91
|
+
"onprem": "Manufacturer",
|
|
92
|
+
"type": "string"
|
|
93
|
+
},
|
|
94
|
+
"type": {
|
|
95
|
+
"onprem": "Type",
|
|
96
|
+
"type": "string"
|
|
97
|
+
},
|
|
98
|
+
"serialNumber": {
|
|
99
|
+
"onprem": "SerialNumber",
|
|
100
|
+
"type": "string"
|
|
101
|
+
},
|
|
102
|
+
"isMainModule": {
|
|
103
|
+
"onprem": "IsMainModule",
|
|
104
|
+
"type": "boolean"
|
|
105
|
+
},
|
|
106
|
+
"model": {
|
|
107
|
+
"onprem": "Model",
|
|
108
|
+
"type": "string"
|
|
109
|
+
},
|
|
110
|
+
"firmware": {
|
|
111
|
+
"onprem": "Firmware",
|
|
112
|
+
"type": "string"
|
|
113
|
+
},
|
|
114
|
+
"rack": {
|
|
115
|
+
"onprem": "Rack",
|
|
116
|
+
"type": "float"
|
|
117
|
+
},
|
|
118
|
+
"rackName": {
|
|
119
|
+
"onprem": "RackName",
|
|
120
|
+
"type": "string"
|
|
121
|
+
},
|
|
122
|
+
"slot": {
|
|
123
|
+
"onprem": "Slot",
|
|
124
|
+
"type": "float"
|
|
125
|
+
},
|
|
126
|
+
"slotSize": {
|
|
127
|
+
"onprem": "SlotSize",
|
|
128
|
+
"type": "float"
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"cloudEntity": "OTLastScan",
|
|
134
|
+
"onpremTable": "AssetProtocol",
|
|
135
|
+
"onpremId": "Id",
|
|
136
|
+
"cloudId": "lastScanId",
|
|
137
|
+
"parentFk": "AssetId",
|
|
138
|
+
"rootId": "AssetId",
|
|
139
|
+
"propertyName": "otLastScans",
|
|
140
|
+
"limit": 1000,
|
|
141
|
+
"isArray": true,
|
|
142
|
+
"unions": [
|
|
143
|
+
{
|
|
144
|
+
"rootFk": "ProtocolId",
|
|
145
|
+
"unionPk": "Id",
|
|
146
|
+
"onpremTable": "Protocol",
|
|
147
|
+
"properties": {
|
|
148
|
+
"name": {
|
|
149
|
+
"onprem": "Name",
|
|
150
|
+
"type": "string"
|
|
151
|
+
},
|
|
152
|
+
"isManufacturerSpecific": {
|
|
153
|
+
"onprem": "IsManufacturerSpecific",
|
|
154
|
+
"type": "boolean"
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
],
|
|
159
|
+
"properties": {
|
|
160
|
+
"lastScanId": {
|
|
161
|
+
"onprem": "Id",
|
|
162
|
+
"type": "string"
|
|
163
|
+
},
|
|
164
|
+
"ipAddress": {
|
|
165
|
+
"onprem": "IPAddress",
|
|
166
|
+
"type": "string"
|
|
167
|
+
},
|
|
168
|
+
"port": {
|
|
169
|
+
"onprem": "Port",
|
|
170
|
+
"type": "float"
|
|
171
|
+
},
|
|
172
|
+
"lastTried": {
|
|
173
|
+
"onprem": "LastTried",
|
|
174
|
+
"type": "date-time"
|
|
175
|
+
},
|
|
176
|
+
"lastScan": {
|
|
177
|
+
"onprem": "LastScan",
|
|
178
|
+
"type": "date-time"
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
],
|
|
183
|
+
"properties": {
|
|
184
|
+
"assetId": {
|
|
185
|
+
"onprem": "Id",
|
|
186
|
+
"type": "string"
|
|
187
|
+
},
|
|
188
|
+
"ipAddress": {
|
|
189
|
+
"onprem": "IPAddress",
|
|
190
|
+
"type": "string"
|
|
191
|
+
},
|
|
192
|
+
"ipNumeric": {
|
|
193
|
+
"onprem": "IPNumeric",
|
|
194
|
+
"type": "float"
|
|
195
|
+
},
|
|
196
|
+
"mac": {
|
|
197
|
+
"onprem": "Mac",
|
|
198
|
+
"type": "string"
|
|
199
|
+
},
|
|
200
|
+
"assetTypeId": {
|
|
201
|
+
"onprem": "AssetTypeId",
|
|
202
|
+
"type": "string"
|
|
203
|
+
},
|
|
204
|
+
"assetName": {
|
|
205
|
+
"onprem": "Name",
|
|
206
|
+
"type": "string"
|
|
207
|
+
},
|
|
208
|
+
"description": {
|
|
209
|
+
"onprem": "Description",
|
|
210
|
+
"type": "string"
|
|
211
|
+
},
|
|
212
|
+
"manufacturer": {
|
|
213
|
+
"onprem": "Manufacturer",
|
|
214
|
+
"type": "string"
|
|
215
|
+
},
|
|
216
|
+
"model": {
|
|
217
|
+
"onprem": "Model",
|
|
218
|
+
"type": "string"
|
|
219
|
+
},
|
|
220
|
+
"serialNumber": {
|
|
221
|
+
"onprem": "SerialNumber",
|
|
222
|
+
"type": "string"
|
|
223
|
+
},
|
|
224
|
+
"rackSize": {
|
|
225
|
+
"onprem": "RackSize",
|
|
226
|
+
"type": "float"
|
|
227
|
+
},
|
|
228
|
+
"firstSeen": {
|
|
229
|
+
"onprem": "FirstSeen",
|
|
230
|
+
"type": "date-time"
|
|
231
|
+
},
|
|
232
|
+
"lastSeen": {
|
|
233
|
+
"onprem": "LastSeen",
|
|
234
|
+
"type": "date-time"
|
|
235
|
+
},
|
|
236
|
+
"lastTried": {
|
|
237
|
+
"onprem": "LastTried",
|
|
238
|
+
"type": "date-time"
|
|
239
|
+
},
|
|
240
|
+
"lastChanged": {
|
|
241
|
+
"onprem": "LastChanged",
|
|
242
|
+
"type": "date-time"
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
]
|
package/src/ot-model.json
CHANGED
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
"cloudKey": "assetKey",
|
|
10
10
|
"children": [
|
|
11
11
|
{
|
|
12
|
+
"cloudEntity": "AssetCustom",
|
|
13
|
+
"cloudId": "assetCustomId",
|
|
12
14
|
"isArray": false,
|
|
13
15
|
"propertyName": "assetCustom",
|
|
14
16
|
"properties": {
|
|
@@ -33,6 +35,7 @@
|
|
|
33
35
|
}
|
|
34
36
|
},
|
|
35
37
|
{
|
|
38
|
+
"cloudEntity": "OtData",
|
|
36
39
|
"isArray": false,
|
|
37
40
|
"propertyName": "otData",
|
|
38
41
|
"properties": {
|
|
@@ -172,23 +175,6 @@
|
|
|
172
175
|
"propertyName": "otLastScans",
|
|
173
176
|
"limit": 1000,
|
|
174
177
|
"isArray": true,
|
|
175
|
-
"unions": [
|
|
176
|
-
{
|
|
177
|
-
"rootFk": "ProtocolId",
|
|
178
|
-
"unionPk": "Id",
|
|
179
|
-
"onpremTable": "Protocol",
|
|
180
|
-
"properties": {
|
|
181
|
-
"name": {
|
|
182
|
-
"onprem": "Name",
|
|
183
|
-
"type": "string"
|
|
184
|
-
},
|
|
185
|
-
"isManufacturerSpecific": {
|
|
186
|
-
"onprem": "IsManufacturerSpecific",
|
|
187
|
-
"type": "boolean"
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
],
|
|
192
178
|
"properties": {
|
|
193
179
|
"lastScanId": {
|
|
194
180
|
"onprem": "Id",
|
|
@@ -209,6 +195,14 @@
|
|
|
209
195
|
"lastScan": {
|
|
210
196
|
"onprem": "LastScan",
|
|
211
197
|
"type": "date-time"
|
|
198
|
+
},
|
|
199
|
+
"name": {
|
|
200
|
+
"onprem": "Name",
|
|
201
|
+
"type": "string"
|
|
202
|
+
},
|
|
203
|
+
"isManufacturerSpecific": {
|
|
204
|
+
"onprem": "IsManufacturerSpecific",
|
|
205
|
+
"type": "boolean"
|
|
212
206
|
}
|
|
213
207
|
}
|
|
214
208
|
}
|
|
@@ -245,22 +239,6 @@
|
|
|
245
239
|
"onprem": "Description",
|
|
246
240
|
"type": "string"
|
|
247
241
|
},
|
|
248
|
-
"manufacturer": {
|
|
249
|
-
"onprem": "Manufacturer",
|
|
250
|
-
"type": "string"
|
|
251
|
-
},
|
|
252
|
-
"model": {
|
|
253
|
-
"onprem": "Model",
|
|
254
|
-
"type": "string"
|
|
255
|
-
},
|
|
256
|
-
"serialNumber": {
|
|
257
|
-
"onprem": "SerialNumber",
|
|
258
|
-
"type": "string"
|
|
259
|
-
},
|
|
260
|
-
"rackSize": {
|
|
261
|
-
"onprem": "RackSize",
|
|
262
|
-
"type": "float"
|
|
263
|
-
},
|
|
264
242
|
"firstSeen": {
|
|
265
243
|
"onprem": "FirstSeen",
|
|
266
244
|
"type": "date-time"
|