Skip to content

Commit 084bb42

Browse files
authored
BED-6418: Completeness Metrics Update (#2015)
* update completeness calculations and associated testing harness * updated harness svg
1 parent fa96a09 commit 084bb42

File tree

3 files changed

+94
-74
lines changed

3 files changed

+94
-74
lines changed

cmd/api/src/test/integration/harnesses/completenessharness.json

Lines changed: 81 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"id": "n0",
5858
"position": {
5959
"x": 476,
60-
"y": 50.000000000000085
60+
"y": 274.6497046328324
6161
},
6262
"caption": "CUserA",
6363
"labels": [
@@ -67,15 +67,16 @@
6767
"properties": {
6868
"domainsid": "DOMAIN123",
6969
"objectid": "CUserA",
70-
"lastlogontimestamp": "NOW()"
70+
"lastlogontimestamp": "NOW()",
71+
"enabled": "true"
7172
},
7273
"style": {}
7374
},
7475
{
7576
"id": "n1",
7677
"position": {
7778
"x": 476,
78-
"y": 354
79+
"y": 578.6497046328324
7980
},
8081
"caption": "CUserB",
8182
"labels": [
@@ -85,15 +86,16 @@
8586
"properties": {
8687
"domainsid": "DOMAIN123",
8788
"objectid": "CUserB",
88-
"lastlogontimestamp": "NOW()"
89+
"lastlogontimestamp": "NOW()",
90+
"enabled": "true"
8991
},
9092
"style": {}
9193
},
9294
{
9395
"id": "n2",
9496
"position": {
9597
"x": 476,
96-
"y": 566.7526281332937
98+
"y": 791.402332766126
9799
},
98100
"caption": "CUserC",
99101
"labels": [
@@ -103,15 +105,16 @@
103105
"properties": {
104106
"domainsid": "DOMAIN123",
105107
"objectid": "CUserC",
106-
"lastlogontimestamp": "NOW()"
108+
"lastlogontimestamp": "NOW()",
109+
"enabled": "true"
107110
},
108111
"style": {}
109112
},
110113
{
111114
"id": "n3",
112115
"position": {
113116
"x": 476,
114-
"y": 779.5052562665874
117+
"y": 1004.1549608994197
115118
},
116119
"caption": "CUserD",
117120
"labels": [
@@ -121,15 +124,16 @@
121124
"properties": {
122125
"domainsid": "DOMAIN123",
123126
"objectid": "CUserD",
124-
"lastlogontimestamp": "NOW()"
127+
"lastlogontimestamp": "NOW()",
128+
"enabled": "true"
125129
},
126130
"style": {}
127131
},
128132
{
129133
"id": "n4",
130134
"position": {
131135
"x": 476,
132-
"y": -174.64970463283234
136+
"y": 50
133137
},
134138
"caption": "CUserInactive",
135139
"labels": [
@@ -139,15 +143,16 @@
139143
"properties": {
140144
"domainsid": "DOMAIN123",
141145
"objectid": "CUserInactive",
142-
"lastlogontimestamp": "NOW()-10800000"
146+
"lastlogontimestamp": "NOW()-10800000",
147+
"enabled": "true"
143148
},
144149
"style": {}
145150
},
146151
{
147152
"id": "n5",
148153
"position": {
149154
"x": 75,
150-
"y": 49.99999999999983
155+
"y": 274.64970463283214
151156
},
152157
"caption": "CComputerA",
153158
"labels": [
@@ -156,15 +161,16 @@
156161
],
157162
"properties": {
158163
"domainsid": "DOMAIN123",
159-
"objectid": "CComputerA"
164+
"objectid": "CComputerA",
165+
"enabled": "true"
160166
},
161167
"style": {}
162168
},
163169
{
164170
"id": "n6",
165171
"position": {
166172
"x": 75,
167-
"y": 306.6155094954498
173+
"y": 531.2652141282822
168174
},
169175
"caption": "CComputerB",
170176
"labels": [
@@ -181,7 +187,7 @@
181187
"id": "n7",
182188
"position": {
183189
"x": 739.2717227504693,
184-
"y": 202.00000000000003
190+
"y": 426.64970463283237
185191
},
186192
"caption": "CGroup",
187193
"labels": [
@@ -198,7 +204,7 @@
198204
"id": "n8",
199205
"position": {
200206
"x": 1134.179306876173,
201-
"y": 278
207+
"y": 502.64970463283237
202208
},
203209
"caption": "CComputerC",
204210
"labels": [
@@ -208,16 +214,17 @@
208214
"properties": {
209215
"domainsid": "DOMAIN123",
210216
"objectid": "CComputerC",
211-
"pwdlastset": "NOW()",
212-
"operatingsystem": "WINDOWS"
217+
"lastlogontimestamp": "NOW()",
218+
"operatingsystem": "WINDOWS",
219+
"enabled": "true"
213220
},
214221
"style": {}
215222
},
216223
{
217224
"id": "n9",
218225
"position": {
219226
"x": 1134.179306876173,
220-
"y": 437
227+
"y": 661.6497046328324
221228
},
222229
"caption": "CComputerD",
223230
"labels": [
@@ -227,10 +234,30 @@
227234
"properties": {
228235
"domainsid": "DOMAIN123",
229236
"objectid": "CComputerD",
230-
"pwdlastset": "NOW()",
231-
"operatingsystem": "WINDOWS"
237+
"lastlogontimestamp": "NOW()",
238+
"operatingsystem": "WINDOWS",
239+
"enabled": "true"
232240
},
233241
"style": {}
242+
},
243+
{
244+
"id": "n10",
245+
"position": {
246+
"x": 787.8392071283617,
247+
"y": 27.438984008745138
248+
},
249+
"caption": "CUserDisabled",
250+
"style": {},
251+
"labels": [
252+
"Base",
253+
"User"
254+
],
255+
"properties": {
256+
"domainsid": "DOMAIN123",
257+
"objectid": "CUserDisabled",
258+
"lastlogontimestamp": "NOW()",
259+
"enabled": "false"
260+
}
234261
}
235262
],
236263
"relationships": [
@@ -260,35 +287,35 @@
260287
},
261288
{
262289
"id": "n3",
290+
"fromId": "n0",
291+
"toId": "n7",
263292
"type": "MemberOf",
264-
"style": {},
265293
"properties": {},
266-
"fromId": "n0",
267-
"toId": "n7"
294+
"style": {}
268295
},
269296
{
270297
"id": "n4",
298+
"fromId": "n1",
299+
"toId": "n7",
271300
"type": "MemberOf",
272-
"style": {},
273301
"properties": {},
274-
"fromId": "n1",
275-
"toId": "n7"
302+
"style": {}
276303
},
277304
{
278305
"id": "n5",
306+
"fromId": "n2",
307+
"toId": "n7",
279308
"type": "MemberOf",
280-
"style": {},
281309
"properties": {},
282-
"fromId": "n2",
283-
"toId": "n7"
310+
"style": {}
284311
},
285312
{
286313
"id": "n6",
314+
"fromId": "n3",
315+
"toId": "n7",
287316
"type": "MemberOf",
288-
"style": {},
289317
"properties": {},
290-
"fromId": "n3",
291-
"toId": "n7"
318+
"style": {}
292319
},
293320
{
294321
"id": "n7",
@@ -308,43 +335,51 @@
308335
},
309336
{
310337
"id": "n9",
338+
"fromId": "n4",
339+
"toId": "n7",
311340
"type": "MemberOf",
312-
"style": {},
313341
"properties": {},
314-
"fromId": "n4",
315-
"toId": "n7"
342+
"style": {}
316343
},
317344
{
318345
"id": "n10",
346+
"fromId": "n5",
347+
"toId": "n7",
319348
"type": "MemberOf",
320-
"style": {},
321349
"properties": {},
322-
"fromId": "n5",
323-
"toId": "n7"
350+
"style": {}
324351
},
325352
{
326353
"id": "n11",
354+
"fromId": "n6",
355+
"toId": "n7",
327356
"type": "MemberOf",
328-
"style": {},
329357
"properties": {},
330-
"fromId": "n6",
331-
"toId": "n7"
358+
"style": {}
332359
},
333360
{
334361
"id": "n12",
362+
"fromId": "n9",
363+
"toId": "n7",
335364
"type": "MemberOf",
336-
"style": {},
337365
"properties": {},
338-
"fromId": "n9",
339-
"toId": "n7"
366+
"style": {}
340367
},
341368
{
342369
"id": "n13",
370+
"fromId": "n8",
371+
"toId": "n7",
372+
"type": "MemberOf",
373+
"properties": {},
374+
"style": {}
375+
},
376+
{
377+
"id": "n14",
343378
"type": "MemberOf",
344379
"style": {},
345380
"properties": {},
346-
"fromId": "n8",
381+
"fromId": "n10",
347382
"toId": "n7"
348383
}
349384
]
350-
}
385+
}

0 commit comments

Comments
 (0)