@x12i/memorix-metadata 3.0.3 → 3.2.0
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/README.md +4 -0
- package/dist/abstracts.d.ts +9 -3
- package/dist/abstracts.d.ts.map +1 -1
- package/dist/abstracts.js +70 -66
- package/dist/abstracts.js.map +1 -1
- package/dist/fold-bindings.d.ts +19 -0
- package/dist/fold-bindings.d.ts.map +1 -0
- package/dist/fold-bindings.js +103 -0
- package/dist/fold-bindings.js.map +1 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/kind-fields.d.ts.map +1 -1
- package/dist/kind-fields.js +0 -1
- package/dist/kind-fields.js.map +1 -1
- package/dist/kinds.d.ts +2 -2
- package/dist/kinds.d.ts.map +1 -1
- package/dist/kinds.js +9 -11
- package/dist/kinds.js.map +1 -1
- package/dist/normalize.d.ts +1 -0
- package/dist/normalize.d.ts.map +1 -1
- package/dist/normalize.js +5 -1
- package/dist/normalize.js.map +1 -1
- package/dist/resolve.d.ts.map +1 -1
- package/dist/resolve.js +14 -3
- package/dist/resolve.js.map +1 -1
- package/dist/topology.d.ts +52 -0
- package/dist/topology.d.ts.map +1 -0
- package/dist/topology.js +376 -0
- package/dist/topology.js.map +1 -0
- package/dist/types.d.ts +146 -16
- package/dist/types.d.ts.map +1 -1
- package/dist/validate.d.ts.map +1 -1
- package/dist/validate.js +179 -64
- package/dist/validate.js.map +1 -1
- package/examples/invalid/agent-classification.json +31 -31
- package/examples/invalid/broken-binding.json +27 -27
- package/examples/invalid/completion-mapping-with-exec-policy.json +31 -31
- package/examples/invalid/missing-parent.json +31 -31
- package/examples/invalid/operational-kind-root.json +31 -31
- package/examples/invalid/pipeline-unknown-service.json +31 -31
- package/examples/invalid/relationship-missing-rules.json +24 -24
- package/examples/invalid/relationship-with-storage.json +24 -24
- package/examples/invalid/service-with-secrets.json +27 -27
- package/examples/knowx/normalized/pack.json +1133 -173
- package/examples/opx/normalized/pack.json +309 -291
- package/examples/opx/raw/abstract-types.json +223 -7
- package/examples/opx/raw/object-types.json +26 -95
- package/examples/opx/raw/pipelines-and-sources.json +66 -18
- package/examples/opx/raw/relationship-definitions.json +17 -47
- package/examples/opx/raw/view-definitions.json +6 -20
- package/examples/opx/raw/write-and-source-mappings.json +135 -20
- package/examples/project-opx/normalized/pack.json +355 -263
- package/package.json +1 -1
- package/examples/opx/raw/abstract-bindings.json +0 -38
|
@@ -143,11 +143,11 @@
|
|
|
143
143
|
}
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
|
-
"id": "
|
|
147
|
-
"name": "
|
|
146
|
+
"id": "playbooks",
|
|
147
|
+
"name": "Playbooks",
|
|
148
148
|
"dataCategory": "knowledge",
|
|
149
149
|
"abstractTypes": [
|
|
150
|
-
"
|
|
150
|
+
"Playbooks"
|
|
151
151
|
],
|
|
152
152
|
"contentTypes": [
|
|
153
153
|
{
|
|
@@ -198,8 +198,8 @@
|
|
|
198
198
|
"category": "entity"
|
|
199
199
|
},
|
|
200
200
|
{
|
|
201
|
-
"id": "
|
|
202
|
-
"name": "
|
|
201
|
+
"id": "Playbooks",
|
|
202
|
+
"name": "Playbooks",
|
|
203
203
|
"meaning": "Reusable operational knowledge / playbooks",
|
|
204
204
|
"category": "knowledge"
|
|
205
205
|
},
|
|
@@ -219,7 +219,7 @@
|
|
|
219
219
|
"contractors"
|
|
220
220
|
],
|
|
221
221
|
"union": true,
|
|
222
|
-
"notes": "People = Employees
|
|
222
|
+
"notes": "People = Employees \u222a Contractors. No abstract records exist."
|
|
223
223
|
},
|
|
224
224
|
{
|
|
225
225
|
"id": "work-items-concrete",
|
|
@@ -230,10 +230,10 @@
|
|
|
230
230
|
"union": false
|
|
231
231
|
},
|
|
232
232
|
{
|
|
233
|
-
"id": "
|
|
234
|
-
"abstractType": "
|
|
233
|
+
"id": "playbooks-concrete",
|
|
234
|
+
"abstractType": "Playbooks",
|
|
235
235
|
"concreteObjectTypes": [
|
|
236
|
-
"
|
|
236
|
+
"playbooks"
|
|
237
237
|
],
|
|
238
238
|
"union": false
|
|
239
239
|
},
|
|
@@ -340,18 +340,17 @@
|
|
|
340
340
|
{
|
|
341
341
|
"id": "opx-work-items-list",
|
|
342
342
|
"kind": "list",
|
|
343
|
-
"objectType": "work-items",
|
|
344
343
|
"title": "Work items",
|
|
345
344
|
"columns": [
|
|
346
345
|
"concept.title",
|
|
347
346
|
"data.status",
|
|
348
347
|
"data.priority"
|
|
349
|
-
]
|
|
348
|
+
],
|
|
349
|
+
"abstractType": "WorkItems"
|
|
350
350
|
},
|
|
351
351
|
{
|
|
352
352
|
"id": "opx-work-items-item",
|
|
353
353
|
"kind": "item",
|
|
354
|
-
"objectType": "work-items",
|
|
355
354
|
"title": "Work item",
|
|
356
355
|
"sections": [
|
|
357
356
|
"concept",
|
|
@@ -359,7 +358,8 @@
|
|
|
359
358
|
"workflow",
|
|
360
359
|
"analysis",
|
|
361
360
|
"decisions"
|
|
362
|
-
]
|
|
361
|
+
],
|
|
362
|
+
"abstractType": "WorkItems"
|
|
363
363
|
},
|
|
364
364
|
{
|
|
365
365
|
"id": "opx-people-list",
|
|
@@ -375,9 +375,9 @@
|
|
|
375
375
|
{
|
|
376
376
|
"id": "opx-work-item-expand-people",
|
|
377
377
|
"kind": "relationship-expansion",
|
|
378
|
-
"objectType": "work-items",
|
|
379
378
|
"relationshipDefinitionId": "people-assigned-to-work-items",
|
|
380
|
-
"direction": "to-from"
|
|
379
|
+
"direction": "to-from",
|
|
380
|
+
"abstractType": "WorkItems"
|
|
381
381
|
}
|
|
382
382
|
],
|
|
383
383
|
"writes": [
|
|
@@ -409,11 +409,11 @@
|
|
|
409
409
|
}
|
|
410
410
|
},
|
|
411
411
|
{
|
|
412
|
-
"id": "opx-
|
|
413
|
-
"objectType": "
|
|
412
|
+
"id": "opx-playbooks-snapshots",
|
|
413
|
+
"objectType": "playbooks",
|
|
414
414
|
"contentType": "snapshots",
|
|
415
415
|
"identity": {
|
|
416
|
-
"primaryKind": "
|
|
416
|
+
"primaryKind": "playbookId",
|
|
417
417
|
"issuer": "opx-source"
|
|
418
418
|
}
|
|
419
419
|
},
|
|
@@ -431,7 +431,7 @@
|
|
|
431
431
|
{
|
|
432
432
|
"id": "opx-source",
|
|
433
433
|
"name": "Opx-service",
|
|
434
|
-
"kind": "rest
|
|
434
|
+
"kind": "rest",
|
|
435
435
|
"baseUrlEnv": "OPX_SOURCE_URL",
|
|
436
436
|
"defaultBaseUrl": "http://127.0.0.1:5102",
|
|
437
437
|
"credentialRef": "opx-source-local",
|
|
@@ -440,7 +440,7 @@
|
|
|
440
440
|
"/contractors",
|
|
441
441
|
"/work-items",
|
|
442
442
|
"/activity-events",
|
|
443
|
-
"/
|
|
443
|
+
"/playbooks",
|
|
444
444
|
"/work-items/:id/context"
|
|
445
445
|
]
|
|
446
446
|
}
|
|
@@ -456,13 +456,13 @@
|
|
|
456
456
|
"inputs": [
|
|
457
457
|
{
|
|
458
458
|
"id": "raw-records",
|
|
459
|
-
"
|
|
459
|
+
"abstractType": "People"
|
|
460
460
|
}
|
|
461
461
|
],
|
|
462
462
|
"outputs": [
|
|
463
463
|
{
|
|
464
464
|
"id": "normalized-records",
|
|
465
|
-
"
|
|
465
|
+
"abstractType": "People"
|
|
466
466
|
}
|
|
467
467
|
],
|
|
468
468
|
"invocation": {
|
|
@@ -479,13 +479,13 @@
|
|
|
479
479
|
"inputs": [
|
|
480
480
|
{
|
|
481
481
|
"id": "snapshot",
|
|
482
|
-
"
|
|
482
|
+
"abstractType": "People"
|
|
483
483
|
}
|
|
484
484
|
],
|
|
485
485
|
"outputs": [
|
|
486
486
|
{
|
|
487
487
|
"id": "completed",
|
|
488
|
-
"
|
|
488
|
+
"abstractType": "People"
|
|
489
489
|
}
|
|
490
490
|
],
|
|
491
491
|
"invocation": {
|
|
@@ -143,11 +143,11 @@
|
|
|
143
143
|
}
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
|
-
"id": "
|
|
147
|
-
"name": "
|
|
146
|
+
"id": "playbooks",
|
|
147
|
+
"name": "Playbooks",
|
|
148
148
|
"dataCategory": "knowledge",
|
|
149
149
|
"abstractTypes": [
|
|
150
|
-
"
|
|
150
|
+
"Playbooks"
|
|
151
151
|
],
|
|
152
152
|
"contentTypes": [
|
|
153
153
|
{
|
|
@@ -198,8 +198,8 @@
|
|
|
198
198
|
"category": "entity"
|
|
199
199
|
},
|
|
200
200
|
{
|
|
201
|
-
"id": "
|
|
202
|
-
"name": "
|
|
201
|
+
"id": "Playbooks",
|
|
202
|
+
"name": "Playbooks",
|
|
203
203
|
"meaning": "Reusable operational knowledge / playbooks",
|
|
204
204
|
"category": "knowledge"
|
|
205
205
|
},
|
|
@@ -219,7 +219,7 @@
|
|
|
219
219
|
"contractors"
|
|
220
220
|
],
|
|
221
221
|
"union": true,
|
|
222
|
-
"notes": "People = Employees
|
|
222
|
+
"notes": "People = Employees \u222a Contractors. No abstract records exist."
|
|
223
223
|
},
|
|
224
224
|
{
|
|
225
225
|
"id": "work-items-concrete",
|
|
@@ -230,10 +230,10 @@
|
|
|
230
230
|
"union": false
|
|
231
231
|
},
|
|
232
232
|
{
|
|
233
|
-
"id": "
|
|
234
|
-
"abstractType": "
|
|
233
|
+
"id": "playbooks-concrete",
|
|
234
|
+
"abstractType": "Playbooks",
|
|
235
235
|
"concreteObjectTypes": [
|
|
236
|
-
"
|
|
236
|
+
"playbooks"
|
|
237
237
|
],
|
|
238
238
|
"union": false
|
|
239
239
|
},
|
|
@@ -347,18 +347,17 @@
|
|
|
347
347
|
{
|
|
348
348
|
"id": "opx-work-items-list",
|
|
349
349
|
"kind": "list",
|
|
350
|
-
"objectType": "work-items",
|
|
351
350
|
"title": "Work items",
|
|
352
351
|
"columns": [
|
|
353
352
|
"concept.title",
|
|
354
353
|
"data.status",
|
|
355
354
|
"data.priority"
|
|
356
|
-
]
|
|
355
|
+
],
|
|
356
|
+
"abstractType": "WorkItems"
|
|
357
357
|
},
|
|
358
358
|
{
|
|
359
359
|
"id": "opx-work-items-item",
|
|
360
360
|
"kind": "item",
|
|
361
|
-
"objectType": "work-items",
|
|
362
361
|
"title": "Work item",
|
|
363
362
|
"sections": [
|
|
364
363
|
"concept",
|
|
@@ -366,7 +365,8 @@
|
|
|
366
365
|
"workflow",
|
|
367
366
|
"analysis",
|
|
368
367
|
"decisions"
|
|
369
|
-
]
|
|
368
|
+
],
|
|
369
|
+
"abstractType": "WorkItems"
|
|
370
370
|
},
|
|
371
371
|
{
|
|
372
372
|
"id": "opx-people-list",
|
|
@@ -382,9 +382,9 @@
|
|
|
382
382
|
{
|
|
383
383
|
"id": "opx-work-item-expand-people",
|
|
384
384
|
"kind": "relationship-expansion",
|
|
385
|
-
"objectType": "work-items",
|
|
386
385
|
"relationshipDefinitionId": "people-assigned-to-work-items",
|
|
387
|
-
"direction": "to-from"
|
|
386
|
+
"direction": "to-from",
|
|
387
|
+
"abstractType": "WorkItems"
|
|
388
388
|
}
|
|
389
389
|
],
|
|
390
390
|
"writes": [
|
|
@@ -416,11 +416,11 @@
|
|
|
416
416
|
}
|
|
417
417
|
},
|
|
418
418
|
{
|
|
419
|
-
"id": "opx-
|
|
420
|
-
"objectType": "
|
|
419
|
+
"id": "opx-playbooks-snapshots",
|
|
420
|
+
"objectType": "playbooks",
|
|
421
421
|
"contentType": "snapshots",
|
|
422
422
|
"identity": {
|
|
423
|
-
"primaryKind": "
|
|
423
|
+
"primaryKind": "playbookId",
|
|
424
424
|
"issuer": "opx-source"
|
|
425
425
|
}
|
|
426
426
|
},
|
|
@@ -438,7 +438,7 @@
|
|
|
438
438
|
{
|
|
439
439
|
"id": "opx-source",
|
|
440
440
|
"name": "Opx-service",
|
|
441
|
-
"kind": "rest
|
|
441
|
+
"kind": "rest",
|
|
442
442
|
"baseUrlEnv": "OPX_SOURCE_URL",
|
|
443
443
|
"defaultBaseUrl": "http://127.0.0.1:5102",
|
|
444
444
|
"credentialRef": "opx-source-local",
|
|
@@ -447,7 +447,7 @@
|
|
|
447
447
|
"/contractors",
|
|
448
448
|
"/work-items",
|
|
449
449
|
"/activity-events",
|
|
450
|
-
"/
|
|
450
|
+
"/playbooks",
|
|
451
451
|
"/work-items/:id/context"
|
|
452
452
|
]
|
|
453
453
|
}
|
|
@@ -463,13 +463,13 @@
|
|
|
463
463
|
"inputs": [
|
|
464
464
|
{
|
|
465
465
|
"id": "raw-records",
|
|
466
|
-
"
|
|
466
|
+
"abstractType": "People"
|
|
467
467
|
}
|
|
468
468
|
],
|
|
469
469
|
"outputs": [
|
|
470
470
|
{
|
|
471
471
|
"id": "normalized-records",
|
|
472
|
-
"
|
|
472
|
+
"abstractType": "People"
|
|
473
473
|
}
|
|
474
474
|
],
|
|
475
475
|
"invocation": {
|
|
@@ -486,13 +486,13 @@
|
|
|
486
486
|
"inputs": [
|
|
487
487
|
{
|
|
488
488
|
"id": "snapshot",
|
|
489
|
-
"
|
|
489
|
+
"abstractType": "People"
|
|
490
490
|
}
|
|
491
491
|
],
|
|
492
492
|
"outputs": [
|
|
493
493
|
{
|
|
494
494
|
"id": "completed",
|
|
495
|
-
"
|
|
495
|
+
"abstractType": "People"
|
|
496
496
|
}
|
|
497
497
|
],
|
|
498
498
|
"invocation": {
|
|
@@ -143,11 +143,11 @@
|
|
|
143
143
|
}
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
|
-
"id": "
|
|
147
|
-
"name": "
|
|
146
|
+
"id": "playbooks",
|
|
147
|
+
"name": "Playbooks",
|
|
148
148
|
"dataCategory": "knowledge",
|
|
149
149
|
"abstractTypes": [
|
|
150
|
-
"
|
|
150
|
+
"Playbooks"
|
|
151
151
|
],
|
|
152
152
|
"contentTypes": [
|
|
153
153
|
{
|
|
@@ -198,8 +198,8 @@
|
|
|
198
198
|
"category": "entity"
|
|
199
199
|
},
|
|
200
200
|
{
|
|
201
|
-
"id": "
|
|
202
|
-
"name": "
|
|
201
|
+
"id": "Playbooks",
|
|
202
|
+
"name": "Playbooks",
|
|
203
203
|
"meaning": "Reusable operational knowledge / playbooks",
|
|
204
204
|
"category": "knowledge"
|
|
205
205
|
},
|
|
@@ -219,7 +219,7 @@
|
|
|
219
219
|
"contractors"
|
|
220
220
|
],
|
|
221
221
|
"union": true,
|
|
222
|
-
"notes": "People = Employees
|
|
222
|
+
"notes": "People = Employees \u222a Contractors. No abstract records exist."
|
|
223
223
|
},
|
|
224
224
|
{
|
|
225
225
|
"id": "work-items-concrete",
|
|
@@ -230,10 +230,10 @@
|
|
|
230
230
|
"union": false
|
|
231
231
|
},
|
|
232
232
|
{
|
|
233
|
-
"id": "
|
|
234
|
-
"abstractType": "
|
|
233
|
+
"id": "playbooks-concrete",
|
|
234
|
+
"abstractType": "Playbooks",
|
|
235
235
|
"concreteObjectTypes": [
|
|
236
|
-
"
|
|
236
|
+
"playbooks"
|
|
237
237
|
],
|
|
238
238
|
"union": false
|
|
239
239
|
},
|
|
@@ -270,23 +270,23 @@
|
|
|
270
270
|
]
|
|
271
271
|
},
|
|
272
272
|
{
|
|
273
|
-
"id": "work-items-use-
|
|
274
|
-
"name": "Work items use
|
|
275
|
-
"meaning": "A work item follows one or more reusable
|
|
273
|
+
"id": "work-items-use-playbooks",
|
|
274
|
+
"name": "Work items use playbooks",
|
|
275
|
+
"meaning": "A work item follows one or more reusable playbooks",
|
|
276
276
|
"directionality": "directed",
|
|
277
277
|
"from": {
|
|
278
278
|
"abstractType": "WorkItems",
|
|
279
|
-
"path": "
|
|
279
|
+
"path": "usedPlaybooks"
|
|
280
280
|
},
|
|
281
281
|
"to": {
|
|
282
|
-
"abstractType": "
|
|
282
|
+
"abstractType": "Playbooks",
|
|
283
283
|
"path": "usedByWorkItems"
|
|
284
284
|
},
|
|
285
285
|
"discoveryRules": [
|
|
286
286
|
{
|
|
287
|
-
"id": "from-source-
|
|
287
|
+
"id": "from-source-playbook-ids",
|
|
288
288
|
"kind": "source-field",
|
|
289
|
-
"sourcePath": "
|
|
289
|
+
"sourcePath": "playbookIds"
|
|
290
290
|
}
|
|
291
291
|
]
|
|
292
292
|
},
|
|
@@ -431,18 +431,17 @@
|
|
|
431
431
|
{
|
|
432
432
|
"id": "opx-work-items-list",
|
|
433
433
|
"kind": "list",
|
|
434
|
-
"objectType": "work-items",
|
|
435
434
|
"title": "Work items",
|
|
436
435
|
"columns": [
|
|
437
436
|
"concept.title",
|
|
438
437
|
"data.status",
|
|
439
438
|
"data.priority"
|
|
440
|
-
]
|
|
439
|
+
],
|
|
440
|
+
"abstractType": "WorkItems"
|
|
441
441
|
},
|
|
442
442
|
{
|
|
443
443
|
"id": "opx-work-items-item",
|
|
444
444
|
"kind": "item",
|
|
445
|
-
"objectType": "work-items",
|
|
446
445
|
"title": "Work item",
|
|
447
446
|
"sections": [
|
|
448
447
|
"concept",
|
|
@@ -450,7 +449,8 @@
|
|
|
450
449
|
"workflow",
|
|
451
450
|
"analysis",
|
|
452
451
|
"decisions"
|
|
453
|
-
]
|
|
452
|
+
],
|
|
453
|
+
"abstractType": "WorkItems"
|
|
454
454
|
},
|
|
455
455
|
{
|
|
456
456
|
"id": "opx-people-list",
|
|
@@ -466,9 +466,9 @@
|
|
|
466
466
|
{
|
|
467
467
|
"id": "opx-work-item-expand-people",
|
|
468
468
|
"kind": "relationship-expansion",
|
|
469
|
-
"objectType": "work-items",
|
|
470
469
|
"relationshipDefinitionId": "people-assigned-to-work-items",
|
|
471
|
-
"direction": "to-from"
|
|
470
|
+
"direction": "to-from",
|
|
471
|
+
"abstractType": "WorkItems"
|
|
472
472
|
}
|
|
473
473
|
],
|
|
474
474
|
"writes": [
|
|
@@ -500,11 +500,11 @@
|
|
|
500
500
|
}
|
|
501
501
|
},
|
|
502
502
|
{
|
|
503
|
-
"id": "opx-
|
|
504
|
-
"objectType": "
|
|
503
|
+
"id": "opx-playbooks-snapshots",
|
|
504
|
+
"objectType": "playbooks",
|
|
505
505
|
"contentType": "snapshots",
|
|
506
506
|
"identity": {
|
|
507
|
-
"primaryKind": "
|
|
507
|
+
"primaryKind": "playbookId",
|
|
508
508
|
"issuer": "opx-source"
|
|
509
509
|
}
|
|
510
510
|
},
|
|
@@ -522,7 +522,7 @@
|
|
|
522
522
|
{
|
|
523
523
|
"id": "opx-source",
|
|
524
524
|
"name": "Opx-service",
|
|
525
|
-
"kind": "rest
|
|
525
|
+
"kind": "rest",
|
|
526
526
|
"baseUrlEnv": "OPX_SOURCE_URL",
|
|
527
527
|
"defaultBaseUrl": "http://127.0.0.1:5102",
|
|
528
528
|
"credentialRef": "opx-source-local",
|
|
@@ -531,7 +531,7 @@
|
|
|
531
531
|
"/contractors",
|
|
532
532
|
"/work-items",
|
|
533
533
|
"/activity-events",
|
|
534
|
-
"/
|
|
534
|
+
"/playbooks",
|
|
535
535
|
"/work-items/:id/context"
|
|
536
536
|
]
|
|
537
537
|
}
|