-
Notifications
You must be signed in to change notification settings - Fork 261
/
Copy pathEgeria-asset-manager-omas.http
859 lines (781 loc) · 33.7 KB
/
Egeria-asset-manager-omas.http
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
# Egeria-asset-manager-omas
###
# group: Asset Managers
# @name Create an element to describe the Asset Manager
# Create a SoftwareServerCapability entity to represent the Asset Manager.
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/asset-managers
Content-Type: application/json
{
"class" : "AssetManagerProperties",
"qualifiedName" : "{{externalSourceName}}"
}
###
# group: Asset Managers
# @name Retrieve the GUID for the Asset Manager based on its name
# This call retrieves the asset manager's GUID.
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/asset-managers/by-name/{{externalSourceName}}
###
# group: External Identifiers
# @name Add an external identifier to an element
# Create an association between an existing open metadata element and an external identifier that comes from a specific asset manager
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/asset-managers/elements/{{typeName}}/{{guid}}/external-identifiers/add
Content-Type: application/json
{
"class" : "MetadataCorrelationProperties",
"assetManagerGUID" : "{{externalSourceGUID}}",
"assetManagerName" : "{{externalSourceName}}",
"permittedSynchronization" : "BOTH_DIRECTIONS",
"synchronizationDescription" : "Description of ",
"externalIdentifier" : "Unique key for element from external asset manager",
"externalIdentifierName" : "Name used to describe the unique key in external asset manager",
"externalIdentifierUsage" : "How should the external identifier be used?",
"externalIdentifierSource" : "{{externalSourceName}}",
"keyPattern" : "LOCAL_KEY",
"mappingProperties" : {
"mappingPropertyName1" : "propertyValue1",
"mappingPropertyName2" : "propertyValue2"
}
}
###
# group: External Identifiers
# @name Update an external identifier attached to an element
# Update the properties for an external identifier that comes from a specific asset manager.
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/asset-managers/elements/{{typeName}}/{{guid}}/external-identifiers/update
Content-Type: application/json
{
"class" : "MetadataCorrelationProperties",
"assetManagerGUID" : "{{externalSourceGUID}}",
"assetManagerName" : "{{externalSourceName}}",
"permittedSynchronization" : "BOTH_DIRECTIONS",
"synchronizationDescription" : "Description of ",
"externalIdentifier" : "Unique key for element from external asset manager",
"externalIdentifierName" : "Name used to describe the unique key in external asset manager",
"externalIdentifierUsage" : "How should the external identifier be used?",
"externalIdentifierSource" : "{{externalSourceName}}",
"keyPattern" : "LOCAL_KEY",
"mappingProperties" : {
"mappingPropertyName1" : "propertyValue1",
"mappingPropertyName2" : "propertyValue2"
}
}
###
# group: External Identifiers
# @name Remove an external identifier attached to an element
# Remove an external identifier that comes from a specific asset manager.
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/asset-managers/elements/{{typeName}}/{{guid}}/external-identifiers/remove
Content-Type: application/json
{
"class" : "MetadataCorrelationProperties",
"assetManagerGUID" : "{{externalSourceGUID}}",
"assetManagerName" : "{{externalSourceName}}",
"permittedSynchronization" : "BOTH_DIRECTIONS",
"synchronizationDescription" : "Description of ",
"externalIdentifier" : "Unique key for element from external asset manager",
"externalIdentifierName" : "Name used to describe the unique key in external asset manager",
"externalIdentifierUsage" : "How should the external identifier be used?",
"externalIdentifierSource" : "{{externalSourceName}}",
"keyPattern" : "LOCAL_KEY",
"mappingProperties" : {
"mappingPropertyName1" : "propertyValue1",
"mappingPropertyName2" : "propertyValue2"
}
}
###
# group: External Identifiers
# @name Get metadata elements linked to an external identifier
# Retrieve all of the metadata elements associated with an external identifier that comes from a specific asset manager.
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/asset-managers/external-identifiers/open-metadata-elements?
startFrom=0&
pageSize=100
Content-Type: application/json
{
"class" : "MetadataCorrelationProperties",
"assetManagerGUID" : "{{externalSourceGUID}}",
"assetManagerName" : "{{externalSourceName}}",
"externalIdentifier" : "Unique key for element from external asset manager"
}
###
# group: Data Assets
# @name Create a Data Set
# Create a data asset. This could be a data set (such as a database schema or information view) or an API.
# Save the guid returned into the dataAssetGUID variable.
# Link to asset types: [https://egeria-project.org/concepts/asset/#open-metadata-types](https://egeria-project.org/concepts/asset/#open-metadata-types)
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/data-assets?
assetManagerIsHome=false
Content-Type: application/json
{
"class" : "DataAssetRequestBody",
"elementProperties" :
{
"class" : "DataAssetProperties",
"typeName" : "DataSet",
"qualifiedName" : "unique name of the asset from an open metadata perspective - required field",
"technicalName" : "name used by technology",
"technicalDescription" : "description extracted from technology",
"displayName" : "display name for business users",
"summary" : "short description for business users",
"description" : "full description for business users",
"abbreviation" : "abbreviation used by the business",
"usage" : "use of this asset by the org",
"isReferenceAsset" : false,
"additionalProperties" : {
"propertyName1" : "propertyValue1",
"propertyName2" : "propertyValue2"
}
}
}
###
# group: Data Assets
# @name Create an External Data Asset
# Create a data asset. This could be a data set (such as a database schema or information view) or an API. There is an additional variation for data stores that allows a number of additional properties.
# If assetManagerIsHome is true, the assetManagerGUID must be set in the request body.
# Link to asset types: [https://egeria-project.org/concepts/asset/#open-metadata-types](https://egeria-project.org/concepts/asset/#open-metadata-types)
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/data-assets?
assetManagerIsHome={{useExternalSourceProvenance}}
Content-Type: application/json
{
"class" : "DataAssetRequestBody",
"metadataCorrelationProperties" : {
"class" : "MetadataCorrelationProperties",
"assetManagerGUID" : "{{externalSourceGUID}}",
"assetManagerName" : "{{externalSourceName}}",
"permittedSynchronization" : "BOTH_DIRECTIONS",
"synchronizationDescription" : "Description of ",
"externalIdentifier" : "Unique key for element from external asset manager",
"externalIdentifierName" : "Name used to describe the unique key in external asset manager",
"externalIdentifierUsage" : "How should the external identifier be used?",
"externalIdentifierSource" : "{{externalSourceName}}",
"keyPattern" : "LOCAL_KEY",
"mappingProperties" : {
"mappingPropertyName1" : "propertyValue1",
"mappingPropertyName2" : "propertyValue2"
}
},
"elementProperties" :
{
"class" : "DataAssetProperties",
"typeName" : "asset type name goes here - (default is Asset)",
"qualifiedName" : "unique name of the asset from an open metadata perspective - required field",
"technicalName" : "name used by technology",
"technicalDescription" : "description extracted from technology",
"displayName" : "display name for business users",
"summary" : "short description for business users",
"description" : "full description for business users",
"abbreviation" : "abbreviation used by the business",
"usage" : "use of this asset by the org",
"isReferenceAsset" : false,
"additionalProperties" : {
"propertyName1" : "propertyValue1",
"propertyName2" : "propertyValue2"
}
}
}
###
# group: Data Assets
# @name Create an external Data Store
# Create a data store asset. This is a specialization of the data asset and includes some additional properties about the physical storage it uses.
# If assetManagerIsHome is true, the assetManagerGUID must be set in the request body.
# Link to asset types: https://egeria-project.org/concepts/asset/#open-metadata-types
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/data-assets?
assetManagerIsHome={{useExternalSourceProvenance}}
Content-Type: application/json
{
"class" : "DataAssetRequestBody",
"metadataCorrelationProperties" : {
"class" : "MetadataCorrelationProperties",
"assetManagerGUID" : "{{externalSourceGUID}}",
"assetManagerName" : "{{externalSourceName}}",
"permittedSynchronization" : "BOTH_DIRECTIONS",
"synchronizationDescription" : "Description of ",
"externalIdentifier" : "Unique key for element from external asset manager",
"externalIdentifierName" : "Name used to describe the unique key in external asset manager",
"externalIdentifierUsage" : "How should the external identifier be used?",
"externalIdentifierSource" : "{{externalSourceName}}",
"keyPattern" : "LOCAL_KEY",
"mappingProperties" : {
"mappingPropertyName1" : "propertyValue1",
"mappingPropertyName2" : "propertyValue2"
}
},
"elementProperties" :
{
"class" : "DataStoreProperties",
"typeName" : "asset type name goes here - (default is Asset)",
"qualifiedName" : "unique name of the asset from an open metadata perspective - required field",
"technicalName" : "name used by technology",
"technicalDescription" : "description extracted from technology",
"displayName" : "display name for business users",
"summary" : "short description for business users",
"description" : "full description for business users",
"abbreviation" : "abbreviation used by the business",
"usage" : "use of this asset by the org",
"isReferenceAsset" : false,
"pathName" : "path to store",
"createTime" : "date/time",
"modifiedTime" : "date/time",
"encodingType" : "Details of encoding used in store",
"encodingLanguage" : "Natural language used for text strings",
"encodingDescription" : "Description of anything a user needs to know about the encoding",
"encodingProperties" : {
"encodingProperty1" : "propertyValue1",
"encodingProperty2" : "propertyValue2"
},
"additionalProperties" : {
"propertyName1" : "propertyValue1",
"propertyName2" : "propertyValue2"
}
}
}
###
# group: Schema
# @name Create a Schema Type
# Create a schema type. This is typically the root of the schema that is attached to an Data Asset, Port or Process.
# The typeName for this root schema type should be compatible to the type of asset it belongs to.
# If assetManagerIsHome is true, the assetManagerGUID must be set in the request body.
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/schema-types?
assetManagerIsHome={{useExternalSourceProvenance}}
Content-Type: application/json
{
"class" : "SchemaTypeRequestBody",
"metadataCorrelationProperties" : {
"class" : "MetadataCorrelationProperties",
"assetManagerGUID" : "{{externalSourceGUID}}",
"assetManagerName" : "{{externalSourceName}}",
"permittedSynchronization" : "BOTH_DIRECTIONS",
"synchronizationDescription" : "Description of ",
"externalIdentifier" : "Unique key for element from external asset manager",
"externalIdentifierName" : "Name used to describe the unique key in external asset manager",
"externalIdentifierUsage" : "How should the external identifier be used?",
"externalIdentifierSource" : "{{externalSourceName}}",
"keyPattern" : "LOCAL_KEY",
"mappingProperties" : {
"mappingPropertyName1" : "propertyValue1",
"mappingPropertyName2" : "propertyValue2"
}
},
"elementProperties" :
{
"class" : "SchemaTypeProperties",
"typeName" : "schema type name goes here - (default is SchemaType)",
"qualifiedName" : "unique name of the schema type from an open metadata perspective - required field",
"technicalName" : "name used by technology",
"technicalDescription" : "description extracted from technology",
"displayName" : "display name for business users",
"summary" : "short description for business users",
"description" : "full description for business users",
"abbreviation" : "abbreviation used by the business",
"usage" : "use of this asset by the org",
"isDeprecated" : false,
"versionNumber" : "name of the version eg 3.1",
"author" : "name",
"encodingStandard" : "special encoding used for the data structured by this schema element",
"namespace" : "namespace name",
"formula" : "formula if derived",
"queries" : [{
"class" : "QueryTargetProperties",
"queryId" : "identifier used in the formula",
"query" : "query to retrieve values from source",
"queryTargetGUID" : "unique identifier of the asset called by for the query"
}],
"additionalProperties" : {
"propertyName1" : "propertyValue1",
"propertyName2" : "propertyValue2"
}
}
}
###
# group: Schema
# @name Link Schema Type to Data Asset, Port or Process
# Link a schema type to an Data Asset, Port or Process.
# The typeName for this root schema type should be compatible to the type of asset it belongs to.
# If assetManagerIsHome is true, the assetManagerGUID must be set in the request body.
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/parents/{{parentElementGUID}}/{{parentElementTypeName}}/schema-types/{{guid}}?
assetManagerIsHome={{useExternalSourceProvenance}}
Content-Type: application/json
{
"class" : "AssetManagerIdentifiersRequestBody",
"assetManagerGUID" : "{{externalSourceGUID}}",
"assetManagerName" : "{{externalSourceName}}"
}
###
# group: Schema
# @name Remove Schema Type from Data Asset, Port or Process
# Link a schema type to an Data Asset, Port or Process.
# The typeName for this root schema type should be compatible to the type of asset it belongs to.
# If assetManagerIsHome is true, the assetManagerGUID must be set in the request body.
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/parents/{{parentElementGUID}}/{{parentElementTypeName}}/schema-types/{{guid}}/remove?
assetManagerIsHome={{useExternalSourceProvenance}}
Content-Type: application/json
{
"class" : "AssetManagerIdentifiersRequestBody",
"assetManagerGUID" : "{{externalSourceGUID}}",
"assetManagerName" : "{{externalSourceName}}"
}
###
# group: Schema
# @name Create a Schema Attribute
# Create a schema attribute and link it to a parent schema element. This is typically the root of the schema that is attached to a Data Asset, Port or Process or a parent schema attribute.
# If assetManagerIsHome is true, the assetManagerGUID must be set in the request body.
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/schema-elements/{{parentSchemaElementGUID}}/schema-attributes?
assetManagerIsHome={{useExternalSourceProvenance}}
Content-Type: application/json
{
"class" : "SchemaAttributeRequestBody",
"metadataCorrelationProperties" : {
"class" : "MetadataCorrelationProperties",
"assetManagerGUID" : "{{externalSourceGUID}}",
"assetManagerName" : "{{externalSourceName}}",
"permittedSynchronization" : "BOTH_DIRECTIONS",
"synchronizationDescription" : "Description of ",
"externalIdentifier" : "Unique key for element from external asset manager",
"externalIdentifierName" : "Name used to describe the unique key in external asset manager",
"externalIdentifierUsage" : "How should the external identifier be used?",
"externalIdentifierSource" : "{{externalSourceName}}",
"keyPattern" : "LOCAL_KEY",
"mappingProperties" : {
"mappingPropertyName1" : "propertyValue1",
"mappingPropertyName2" : "propertyValue2"
}
},
"elementProperties" :
{
"class" : "SchemaAttributeProperties",
"typeName" : "schema attribute name goes here - (default is SchemaType)",
"qualifiedName" : "unique name of the schema attribute from an open metadata perspective - required field",
"technicalName" : "name used by technology",
"technicalDescription" : "description extracted from technology",
"displayName" : "display name for business users",
"summary" : "short description for business users",
"description" : "full description for business users",
"abbreviation" : "abbreviation used by the business",
"usage" : "use of this asset by the org",
"isDeprecated" : false,
"elementPosition" : 0,
"minCardinality" : 0,
"maxCardinality" : 0,
"allowsDuplicateValues" : false,
"orderedValues" : false,
"defaultValueOverride" : "",
"sortOrder" : "UNSORTED",
"minimumLength" : 0,
"length" : 0,
"precision" : 0,
"isNullable" : false,
"nativeJavaClass" : "classname",
"aliases" : [ "alias1" , "alias2"],
"schemaType" : {
"class" : "SchemaTypeProperties",
"typeName" : "schema type name goes here - (default is SchemaType)",
"qualifiedName" : "unique name of the schema type from an open metadata perspective - required field",
"technicalName" : "name used by technology",
"technicalDescription" : "description extracted from technology",
"displayName" : "display name for business users",
"summary" : "short description for business users",
"description" : "full description for business users",
"abbreviation" : "abbreviation used by the business",
"usage" : "use of this asset by the org",
"isDeprecated" : false,
"versionNumber" : "name of the version eg 3.1",
"author" : "name",
"encodingStandard" : "special encoding used for the data structured by this schema element",
"namespace" : "namespace name",
"dataType" : "data type used in the data source",
"defaultValue" : "default value of the data",
"formula" : "formula if derived",
"queries" : [{
"class" : "QueryTargetProperties",
"queryId" : "identifier used in the formula",
"query" : "query to retrieve values from source",
"queryTargetGUID" : "unique identifier of the asset called by for the query"
}],
"additionalProperties" : {
"propertyName1" : "propertyValue1",
"propertyName2" : "propertyValue2"
}},
"additionalProperties" : {
"propertyName1" : "propertyValue1",
"propertyName2" : "propertyValue2"
}
}
}
###
# group: Linking Data Assets to Glossary Terms
# @name Link a data asset to a glossary term
# This links the term to the data asset.
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/elements/{{assetGUID}}/semantic-assignment/terms/{{glossaryTermGUID}}
Content-Type: application/json
{
"class" : "RelationshipRequestBody",
"properties" : {
"class" : "SemanticAssignmentProperties",
"status" : "VALIDATED"
}
}
###
# group: Linking Data Assets to Glossary Terms
# @name Retrieve the data assets associated with a glossary term
# This retrieves all of the data assets linked to the glossary term.
GET {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-consumer/users/{{user}}/assets/by-meaning/{{glossaryTermGUID}}?
startFrom=0&
pageSize=0
###
# group: Glossaries
# @name Create a glossary
# Create a SoftwareServerCapability entity to represent the Asset Manager.
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/glossaries
Content-Type: application/json
{
"class" : "ReferenceableRequestBody",
"elementProperties" :
{
"class" : "GlossaryProperties",
"qualifiedName" : "MyGlossary",
"displayName" : "My Glossary",
"description" : "This is an example glossary"
}
}
###
# group: Glossaries
# @name Retrieve a glossary by GUID
# This call retrieves the asset manager's GUID.
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/glossaries/{{glossaryGUID}}/retrieve
Content-Type: application/json
{
"class" : "AssetManagerIdentifiersRequestBody",
"assetManagerGUID" : "{{externalSourceGUID}}",
"assetManagerName" : "{{externalSourceName}}"
}
###
# group: Glossaries
# @name Retrieve a glossary By Name
# This call retrieves the details of the Abu Dhabi glossary and checks the adGlossaryGUID is set up properly.
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/glossaries/by-name
Content-Type: application/json
{
"class" : "NameRequestBody",
"name" : "Glossary: Abu Dhabi Glossary"
}
###
# group: Glossaries
# @name Find all glossaries
# This call retrieves the details of the Abu Dhabi glossary and checks the adGlossaryGUID is set up properly.
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/glossaries/by-search-string?
startFrom=0&
pageSize=0
Content-Type: application/json
{
"class" : "SearchStringRequestBody",
"searchString" : ".*"
}
###
# group: Glossaries
# @name Delete a glossary
# Remove a glossary from the repository.
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/glossaries/{{glossaryGUID}}/remove
Content-Type: application/json
{
"class" : "MetadataCorrelationProperties",
"assetManagerGUID" : "{{assetManagerGUID}}",
"assetManagerName" : "{{assetManagerName}}",
"externalIdentifier" : "extGlossary",
"keyPattern" : "LOCAL_KEY"
}
###
# group: Glossaries
# @name Create a category
# Save the returned guid in the domain1GUID variable.
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/glossaries/{{glossaryGUID}}/categories
Content-Type: application/json
{
"class" : "ReferenceableRequestBody",
"elementProperties" :
{
"class" : "GlossaryCategoryProperties",
"qualifiedName" : "GlossaryCategory: myCategory1",
"displayName" : "MyCategory 1",
"description" : "This is category 1 for my glossary."
}
}
###
# group: Glossaries
# @name Retrieve ALL the categories for my glossary
# This call retrieves the details of the Abu Dhabi glossary and checks the adGlossaryGUID is set up properly.
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/glossaries/{{glossaryGUID}}/categories/retrieve?
startFrom=0&
pageSize=0
Content-Type: application/json
###
# group: Glossaries
# @name Create a controlled glossary term in a glossary
# Add the returned guid as orgGlossaryTerm1GUID variable.
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/glossaries/{{glossaryGUID}}/terms/new-controlled
Content-Type: application/json
{
"class" : "ReferenceableRequestBody",
"elementProperties" :
{
"class" : "GlossaryTermProperties",
"qualifiedName" : "GlossaryTerm: term name : {{$isoTimestamp}}",
"displayName" : "term name",
"summary" : "This is the short description.",
"description" : "This is the long description of the term.",
"abbreviation" : "GT",
"examples" : "Add examples and descriptions here.",
"usage" : "This is how the concept described by the glossary term is used.",
"publishVersionIdentifier" : "V1.0",
"additionalProperties" :
{
"propertyName1" : "xxxx",
"propertyName2" : "xxxx"
}
},
"initialStatus" : "DRAFT"
}
###
# group: Glossaries
# @name Create a copy of a glossary term
# Add the returned guid as adGlossaryTerm1GUID variable.
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/glossaries/{{glossaryGUID}}/terms/from-template/{{glossaryTermGUID}}
Content-Type: application/json
{
"class" : "GlossaryTemplateRequestBody",
"elementProperties" :
{
"class" : "TemplateProperties",
"qualifiedName" : "GlossaryTerm: term name : {{$isoTimestamp}}",
"displayName" : "term name",
"versionIdentifier" : "V1.0"
},
"glossaryTermStatus" : "PROPOSED"
}
###
# group: Glossaries
# @name Add the data field values classification to the glossary term
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/glossaries/terms/{{glossaryTermGUID}}/is-data-field
Content-Type: application/json
{
"class" : "ClassificationRequestBody",
"properties" :
{
"class" : "DataFieldValuesProperties",
"defaultValue" : "Add default value here",
"sampleValues" : [ "Sample Value 1", "Sample Value 2"],
"dataPattern" : ["add data pattern here"],
"namePattern" : ["add column pattern here"]
}
}
###
# group: Glossaries
# @name Add the confidentiality classification to the glossary term
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/elements/{{glossaryTermGUID}}/confidentiality
Content-Type: application/json
{
"class" : "ClassificationRequestBody",
"properties" :
{
"class" : "GovernanceClassificationProperties",
"levelIdentifier" : 1
}
}
###
# group: Glossaries
# @name Add the subject area classification to the glossary term
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/elements/{{glossaryTermGUID}}/subject-area-member
Content-Type: application/json
{
"class" : "ClassificationRequestBody",
"properties" :
{
"class" : "SubjectAreaMemberProperties",
"subjectAreaName" : "Healthcare"
}
}
###
# group: Glossaries
# @name Update a glossary term in a glossary
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/glossaries/terms/{{glossaryTermGUID}}/update?
isMergeUpdate=true
Content-Type: application/json
{
"class" : "ReferenceableRequestBody",
"elementProperties" :
{
"class" : "GlossaryTermProperties",
"description" : "This is the long description of the term. And this is some more text."
},
"updateDescription" : "Final updates based on in-house review comments."
}
###
# group: Glossaries
# @name Update a glossary term's version identfier
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/glossaries/terms/{{glossaryTermGUID}}/update?
isMergeUpdate=true
Content-Type: application/json
{
"class" : "ReferenceableRequestBody",
"elementProperties" :
{
"class" : "GlossaryTermProperties",
"publishVersionIdentifier" : "V1.1"
}
}
###
# group: Glossaries
# @name Add a glossary term to a cateogry
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/glossaries/categories/{{glossaryCategoryGUID}}/terms/{{glossaryTermGUID}}
Content-Type: application/json
{
"class" : "RelationshipRequestBody",
"properties" : {
"class" : "GlossaryTermCategorization"
}
}
###
# group: Glossaries
# @name Remove a glossary term from a category
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/glossaries/categories/{{glossaryCategoryGUID}}/terms/{{glossaryTermGUID}}/remove
Content-Type: application/json
###
# group: Glossaries
# @name Change the status of a glossary term in a glossary
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/glossaries/terms/{{glossaryTermGUID}}/status
Content-Type: application/json
{
"class" : "GlossaryTermStatusRequestBody",
"glossaryTermStatus" : "ACTIVE"
}
###
# group: Glossaries
# @name Undo an update to the glossary term
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/glossaries/terms/{{glossaryTermGUID}}/undo
Content-Type: application/json
###
# group: Glossaries
# @name Retrieve ALL the glossary terms in a glossary
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/glossaries/{{glossaryGUID}}/terms/retrieve?
startFrom=0&
pageSize=0
Content-Type: application/json
###
# group: Glossaries
# @name Retrieve ALL the glossary terms in a category
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/glossaries/categories/{{glossaryCategoryGUID}}/terms/retrieve?
startFrom=0&
pageSize=0
Content-Type: application/json
###
# group: Glossaries
# @name Retrieve a glossary term 's relationships
# This call retrieves details of the glossary terms linked to this glossary term. Notice the original org 1 glossary term is linked via the "SourcedFrom" relationship..
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/glossaries/terms/{{glossaryTermGUID}}/related-terms?
startFrom=0&
pageSize=0
Content-Type: application/json
###
# group: Glossaries
# @name Retrieve the DRAFT glossary terms from a glossary
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/glossaries/terms/by-search-string?
startFrom=0&
pageSize=0
Content-Type: application/json
{
"class" : "GlossarySearchStringRequestBody",
"searchString" : ".*",
"glossaryGUID" : "{{glossaryGUID}}",
"limitResultsByStatus" : ["DRAFT"]
}
###
# group: Glossaries
# @name Retrieve the ACTIVE and PREPARED glossary terms from a glossary
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/glossaries/terms/by-search-string?
startFrom=0&
pageSize=0
Content-Type: application/json
{
"class" : "GlossarySearchStringRequestBody",
"searchString" : ".*",
"glossaryGUID" : "{{glossaryGUID}}",
"limitResultsByStatus" : ["ACTIVE", "PREPARED"]
}
###
# group: Glossaries
# @name Retrieve a glossary term by GUID
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/glossaries/terms/{{glossaryTermGUID}}/retrieve
Content-Type: application/json
###
# group: Glossaries
# @name Retrieve the versions of the glossary term
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/glossaries/terms/{{glossaryTermGUID}}/history?
startFrom=0&
pageSize=0
Content-Type: application/json
###
# group: Glossaries
# @name Retrieve the revision log for a glossary term
# Add the returned guid as orgGlossaryTerm1_RevisionLogGUID variable.
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/elements/{{glossaryTermGUID}}/note-logs/retrieve?
startFrom=0&
pageSize=0
Content-Type: application/json
###
# group: Glossaries
# @name Retrieve the revision history for a glossary term
# This revision history is created automatically. The text is supplied on the update request. If no text is supplied, the value "None" is show.
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/note-logs/{{glossaryTermRevisionLogGUID}}/notes/retrieve?
startFrom=0&
pageSize=0
Content-Type: application/json
###
# group: Glossaries
# @name Search for term by version identifier
POST {{baseURL}}/servers/{{server}}/open-metadata/framework-services/asset-manager/open-metadata-store/users/{{user}}/metadata-elements/by-search-conditions?
startFrom=0&
pageSize=0&
forLineage=false&
forDuplicateProcessing=false&
effectiveTime=0
Content-Type: application/json
{
"class" : "FindRequestBody",
"metadataElementTypeName" : "GlossaryTerm",
"searchProperties" : {
"class" : "SearchProperties",
"conditions" : [{
"class" : "PropertyCondition",
"property" : "publishVersionIdentifier",
"operator" : "EQ",
"value" : {
"class" : "PrimitiveTypePropertyValue",
"primitiveTypeCategory" : "OM_PRIMITIVE_TYPE_STRING",
"primitiveValue" : "V1.0",
"typeName" : "string"
}
}],
"matchCriteria" : "ALL"
}
}
###
# group: Glossaries
# @name Delete a. glossary term
# This call retrieves the details of the Abu Dhabi glossary and checks the adGlossaryGUID is set up properly.
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/glossaries/terms/{{glossaryTermGUID}}/remove
Content-Type: application/json
###
# group: Processes
# @name Create Process
POST {{baseURL}}/servers/{{server}}/open-metadata/access-services/asset-manager/users/{{user}}/processes?
assetManagerIsHome={{useExternalSourceProvenance}}&
initialStatus=ACTIVE
Content-Type: application/json
{
"class" : "ProcessRequestBody",
"elementProperties" :
{
"class" : "ProcessProperties",
"qualifiedName" : "fred"
}
}
###
# group: Connector Types
# @name Update a connector type
GET