-
Notifications
You must be signed in to change notification settings - Fork 261
/
Copy pathEgeria-admin-services-server-configuration.http
1056 lines (932 loc) · 51.8 KB
/
Egeria-admin-services-server-configuration.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
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# Egeria-admin-services-server-configuration
###
# group: Working with a server's complete configuration document
# @name Get server configuration document
# Retrieve the configuration document for the named server.
GET {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/configuration
###
# group: Working with a server's complete configuration document
# @name Get server type classification
# Retrieve the classification that describes, based on the configuration values in the configuration document, what type of OMAG Server this is.
GET {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/server-type-classification
###
# group: Working with a server's complete configuration document
# @name Set server configuration document
# Set the configuration document passed in the request body for the named server.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/configuration
Content-Type: application/json
{
"class": "OMAGServerConfigResponse",
"relatedHTTPCode": 200,
"omagserverConfig": {
"class": "OMAGServerConfig",
"versionId": "V2.0",
"localServerId": "1083dba3-bbf8-44f0-a16f-ff842a9a03f0",
"localServerName": "{{server}}",
"localServerType": "Open Metadata and Governance Server",
"localServerURL": "https://localhost:9443",
"localServerUserId": "OMAGServer",
"maxPageSize": 1000
}
}
###
# group: Working with a server's complete configuration document
# @name Delete server configuration document
# Removes the configuration document for the named server.
DELETE {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/configuration
###
# group: Working with a server's complete configuration document
# @name Deploy server configuration document
# Send the configuration document for the named server to the named OMAG Server Platform. This is used to push the server configuraiton to the platform where it will run.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/configuration/deploy
Content-Type: application/json
{
"class": "URLRequestBody",
"urlRoot": "{{baseURL}}"
}
###
# group: Configuring OMAG Servers / Basic configuration for all types of OMAG Servers
# @name Set local server type name
# Set up a descriptive type name for your server. This is used in messages and events - you can choose any value you like.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/server-type?
typeName=OMAG Server
###
# group: Configuring OMAG Servers / Basic configuration for all types of OMAG Servers
# @name Set organization name
# Set up the name of the organization that owns this server.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/organization-name?
name={{organization_name}}
###
# group: Configuring OMAG Servers / Basic configuration for all types of OMAG Servers
# @name Set local server user Id
# Set up the user Id that this server should use on open metadata requests when it is processing events (and consequently there is no end user id to use).
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/server-user-id?
id={{server-user}}
###
# group: Configuring OMAG Servers / Basic configuration for all types of OMAG Servers
# @name Set local server user password
# Set up the password that this server should use on open metadata requests when it is processing events (and consequently there is no end user id to use).
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/server-user-password?
password={{server-password}}
###
# group: Configuring OMAG Servers / Basic configuration for all types of OMAG Servers
# @name Set max page size
# Set up the maximum number of results that can be returned on an open metadata request.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/max-page-size?
limit={{max_page_size}}
###
# group: Configuring OMAG Servers / Basic configuration for all types of OMAG Servers
# @name Get Server Security Connection
# Retrieve the Connection object used to create the connector that verifies the authorization of users calling the platform and admin services.
GET {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/security/connection
###
# group: Configuring OMAG Servers / Basic configuration for all types of OMAG Servers
# @name Set Server Security Connection
# Set up the connection for the server security connector. This connector verifies the authorization of any user calling the server's services. This call is preconfigured to set up the sample server security connector. This allows only the Coco Pharmaceuticals employees to issue calls to the server.
# Once you have set up this security connector in your OMAG Server, the default user `me` in the `Egeria` environment will no longer be authorized to issue REST calls to the server (try some of the requests that were "working" earlier to verify this). To switch the user to one that the OMAG Server will accept, click on the eye symbol (top right), then click on `edit` and change the current value of `user` to `erinoverview`.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/security/connection
Content-Type: application/json
{
"class": "Connection",
"connectorType": {
"class": "ConnectorType",
"connectorProviderClassName": "org.odpi.openmetadata.metadatasecurity.accessconnector.OpenMetadataAccessSecurityProvider"
}
}
###
# group: Configuring OMAG Servers / Basic configuration for all types of OMAG Servers
# @name Delete Server Security Connection
# Remove the currently configured Server Security Connection. This means that no security checks will be performed by the OMAG Server when it is processing inbound REST API calls.
DELETE {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/security/connection
###
# group: Configuring OMAG Servers / Basic configuration for all types of OMAG Servers
# @name Get configured audit log destinations
# Retrieve the list of audit log destinations configured for a server.
GET {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/audit-log-destinations
###
# group: Configuring OMAG Servers / Basic configuration for all types of OMAG Servers
# @name Set default audit log destination
# Set up the server so that it is using the default audit log setting which is to output to the console only.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/audit-log-destinations/default
###
# group: Configuring OMAG Servers / Basic configuration for all types of OMAG Servers
# @name Add file audit log destination
# Add the file audit log destination to the server's configuration document. The list of severities that are sent to this destination are passed on the request body. An empty list means all severities.
# The server may have multiple audit log destinations configured. Typically each destination has a different subset of the severities configured.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/audit-log-destinations/files
Content-Type: application/json
[]
###
# group: Configuring OMAG Servers / Basic configuration for all types of OMAG Servers
# @name Add file audit log destination (for Error and Exception)
# Add the file audit log destination to the server's configuration document. The list of severities that are sent to this destination are passed on the request body. An empty list means all severities.
# The server may have multiple audit log destinations configured. Typically each destination has a different subset of the severities configured.
POST {{baseURL}}/open-metadata/admin-services/users/{{user}}/servers/atlas-exchange/audit-log-destinations/files
Content-Type: application/json
["Error", "Exception"]
###
# group: Configuring OMAG Servers / Basic configuration for all types of OMAG Servers
# @name Add topic audit log destination
# Add the event topic audit log destination to the server's configuration document. The list of severities that are sent to this destination are passed on the request body. An empty list means all severities.
# The server may have multiple audit log destinations configured. Typically each destination has a different subset of the severities configured.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/audit-log-destinations/event-topic
Content-Type: application/json
[]
###
# group: Configuring OMAG Servers / Basic configuration for all types of OMAG Servers
# @name Add PostgreSQL audit log destination
# Add the database audit log destination to the server's configuration document. The list of severities that are sent to this destination are passed on the request body. An empty list means all severities.
# The server may have multiple audit log destinations configured. Typically each destination has a different subset of the severities configured.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/audit-log-destinations/postgres
Content-Type: application/json
{
"supportedSeverities" : ["Error", "Exception", "Activity", "Action", "Decision"],
"databaseURL": "~{postgreSQLDatabaseURL}~?currentSchema=audit_logs",
"databaseSchema": "audit_logs",
"secretsStore": "~{secretsStore}~",
"secretsCollectionName": "~{postgreSQLServerCollectionName}~"
}
###
# group: Configuring OMAG Servers / Basic configuration for all types of OMAG Servers
# @name Add SLF4J audit log destination
# Add the event topic audit log destination to the server's configuration document. The list of severities that are sent to this destination are passed on the request body. An empty list means all severities.
# The server may have multiple audit log destinations configured. Typically each destination has a different subset of the severities configured.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/audit-log-destinations/event-topic
Content-Type: application/json
[]
###
# group: Configuring OMAG Servers / Basic configuration for all types of OMAG Servers
# @name Add console audit log destination
# Add the console audit log destination to the server's configuration document. The list of severities that are sent to this destination are passed on the request body. An empty list means all severities.
# The server may have multiple audit log destinations configured. Typically each destination has a different subset of the severities configured.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/audit-log-destinations/console
Content-Type: application/json
[]
###
# group: Configuring OMAG Servers / Basic configuration for all types of OMAG Servers
# @name Add audit log destination connection
# Add a connection for an audit log destination to the server's configuration document. This connection typically creates an audit log destination connector written by a thrid party.
# The server may have multiple audit log destinations configured. Typically each destination has a different subset of the severities configured.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/audit-log-destinations/connection
###
# group: Configuring OMAG Servers / Basic configuration for all types of OMAG Servers
# @name Delete configured audit log destinations
# Delete the list of audit log destinations configured for a server.
DELETE {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/audit-log-destinations
###
# group: Configuring OMAG Servers / Basic configuration for all types of OMAG Servers
# @name Set up event bus to send/receive events to other technologies Copy
# Set up the common properties needed to call your event bus. The eventBusParams variable support the setting of the topic root and connector provider class name (if not using Kafka). Additional properties are passed in the request body.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/event-bus
Content-Type: application/json
{
"producer":
{
"bootstrap.servers":"{{kafkaep}}"
},
"consumer":
{
"bootstrap.servers":"{{kafkaep}}"
}
}
###
# group: Configuring OMAG Servers / Configuring defaults for the Event Bus
# @name Get event bus defaults
# Retrieve the common properties needed to call your event bus.
# These defaults will be incorporated into any future configuration that includes an event bus topic.
GET {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/event-bus
Content-Type: application/json
{
"producer": {
"bootstrap.servers": "{{kafkaep}}"
},
"consumer":{
"bootstrap.servers": "{{kafkaep}}"
}
}
###
# group: Configuring OMAG Servers / Configuring defaults for the Event Bus
# @name Set up event bus defaults
# Set up the common properties needed to call your event bus. These properties are passed in the request body.
# This request just sets up the defaults that will be incorporated into any future configuration that includes an event bus topic.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/event-bus
Content-Type: application/json
{
"producer": {
"bootstrap.servers": "{{kafkaep}}"
},
"consumer":{
"bootstrap.servers": "{{kafkaep}}"
}
}
###
# group: Configuring OMAG Servers / Configuring defaults for the Event Bus
# @name Delete event bus defaults
# Remove the event bus details from the server's configuration document.
DELETE {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/event-bus
Content-Type: application/json
{
"producer": {
"bootstrap.servers": "{{kafkaep}}"
},
"consumer":{
"bootstrap.servers": "{{kafkaep}}"
}
}
###
# group: Configuring OMAG Servers / Configuration for Cohort Members / Configuring defaults for the Cohort Members
# @name Set local server URL root
# Update the URL root that other servers that are also members any open metadata repository cohort that the server belongs to should use to make calls to this local server. This value is sent when the server registers with the cohort. If the server is not going to join a cohort then this value is not needed.
# This value should be set to the URL of the OMAG Server Platform where the server will run. If the server is deployed to many servers in an HA cluster configuration, it should be set to a DNS name that will disperse requests across the server cluster.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/server-url-root-for-caller
Content-Type: application/json
{
"class": "URLRequestBody",
"urlRoot": "{{baseURL}}"
}
###
# group: Configuring OMAG Servers / Configuration for Cohort Members / Configuration for Metadata Access Points / Configuration for Metadata Servers
# @name Enable the in-memory repository
# Set up the local repository to use the in-memory implementation.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/local-repository/mode/in-memory-repository
###
# group: Configuring OMAG Servers / Configuration for Cohort Members / Configuration for Metadata Access Points / Configuration for Metadata Servers
# @name Enable the read-only repository
# Set up the local repository to use the in-memory implementation.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/local-repository/mode/read-only-repository
###
# group: Configuring OMAG Servers / Configuration for Cohort Members / Configuration for Metadata Access Points / Configuration for Metadata Servers
# @name Enable the PostgreSQL Repository
# Set up the local repository to use the PostgreSQL Repository implementation.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/local-repository/mode/postgres-repository
Content-Type: application/json
{
"databaseURL": "~{postgreSQLDatabaseURL}~",
"databaseSchema": "repository_{{server}}",
"secretsStore": "~{secretsStore}~",
"secretsCollectionName": "~{postgreSQLServerCollectionName}~"
}
###
# group: Configuring OMAG Servers / Configuration for Cohort Members / Configuration for Metadata Access Points / Configuration for Metadata Servers
# @name Enable the XTDB In-Memory Repository
# Set up the local repository to use the XTDB in-memory implementation.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/local-repository/mode/xtdb-in-memory-repository
###
# group: Configuring OMAG Servers / Configuration for Cohort Members / Configuration for Metadata Access Points / Configuration for Metadata Servers
# @name Enable the XTDB KV Repository
# Set up the local repository to use the XTDB KV implementation.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/local-repository/mode/xtdb-local-kv-repository
###
# group: Configuring OMAG Servers / Configuration for Cohort Members / Configuration for Metadata Access Points / Configuration for Metadata Servers
# @name Enable the graph repository
# Set the local repository to use the JanusGraph implementation. It will store your repository in a file under the home of your OMAG Server Platform.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/local-repository/mode/local-graph-repository
###
# group: Configuring OMAG Servers / Configuration for Cohort Members / Configuration for Metadata Access Points / Configuration for Metadata Servers
# @name Enable the graph repository with hbase and elastic search
# Set the local repository to use the JanusGraph implementation. It will store your repository in a file under the home of your OMAG Server Platform.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/local-repository/mode/local-graph-repository
Content-Type: application/json
{
"storage.backend" : "hbase",
"storage.hostname" : "wolfsonnet.me",
"storage.port" : "2181",
"storage.hbase.table" : "DMPSERVER1",
"index.search.backend" : "elasticsearch",
"index.search.hostname" : "wolfsonnet.me",
"index.search.elasticsearch.client-only" : "true",
"cache.db-cache" : "true",
"cache.db-cache-clean-wait" : "20",
"cache.db-cache-time" : "180000",
"cache.db-cache-size" : "0.5"
}
###
# group: Configuring OMAG Servers / Configuration for Cohort Members / Configuration for Metadata Access Points / Configuration for Metadata Servers
# @name Get local metadata collection id
# Return the unique identifer for the collection of metadata that originates from this metadata server. This identifier is automatically generated when the metadata server is first configured. Its value should not change over the lifetime of the server event if the configuration is rebuilt.
GET {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/local-repository/metadata-collection-id
###
# group: Configuring OMAG Servers / Configuration for Cohort Members / Configuration for Metadata Access Points / Configuration for Metadata Servers
# @name Set local metadata collection name
# Set up a human friendly name for the collection of metadata that originates from this metadata server. This name is used in events and messages to help people diagnose problems in the cohort.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/local-repository/metadata-collection-name/{{mc_name}}
###
# group: Configuring OMAG Servers / Configuration for Cohort Members / Configuration for Metadata Access Points / Configuration for Metadata Servers
# @name Set local metadata collection id
# Set up a human friendly name for the collection of metadata that originates from this metadata server. This name is used in events and messages to help people diagnose problems in the cohort.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/local-repository/metadata-collection-id
Content-Type: text/plain
New metadata collection id
###
# group: Configuring OMAG Servers / Configuration for Cohort Members / Configuration for Metadata Access Points / Configuration for Metadata Servers
# @name Remove local repository
# Remove all configuration for the local repository.
DELETE {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/local-repository
###
# group: Configuring OMAG Servers / Configuration for Cohort Members / Configuration for Metadata Access Points / Configuration for Metadata Servers
# @name Reset Remote Cohort URL
# This request is used to change the URL broadcast to other members of the cohort. This URL is used by these other members to call this server as part of a federated query.
# This call is used when:
# - moving the server to a different platform
#
# - correcting the URL when it has been incorrectly configured.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/local-repository/configuration/remote-repository-connector-url
Content-Type: application/json
{
"class": "URLRequestBody",
"urlRoot": "{{baseURL}}/servers/{{server}}"
}
###
# group: Configuring OMAG Servers / Configuration for Cohort Members / Configuration for Metadata Access Points / Configuration for Metadata Servers
# @name Add open metadata archive to server start
# Add the file name for an open Metadata Archive that should be loaded each time the server starts.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/open-metadata-archives/file
Content-Type: text/plain
content-packs/CoreContentPack.omarchive
###
# group: Configuring OMAG Servers / Configuration for Cohort Members / Configuration for Metadata Access Points / Configuration for Metadata Servers
# @name Remove open metadata archive start up list
# Add the file name for an open Metadata Archive that should be loaded each time the server starts.
DELETE {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/open-metadata-archives
###
# group: Configuring OMAG Servers / Configuration for Cohort Members / Configuration for Metadata Access Points
# @name Get names of configured access services
# This call is used return the list of Open Metadata Access Services that are configured for this server.
GET {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/access-services
###
# group: Configuring OMAG Servers / Configuration for Cohort Members / Configuration for Metadata Access Points
# @name Get the configuration for all of the access services
# Retrieve the configuration information for all of the Open Metadata Access Services (OMASs) configured for this server.
GET {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/access-services/configuration
###
@accessService=community-profile
###
# group: Configuring OMAG Servers / Configuration for Cohort Members / Configuration for Metadata Access Points
# @name Get the configuration for a specific access service
# Retrieve the configuration information for a specific Open Metadata Access Services (OMASs) configured for this server.
GET {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/access-services/{{accessService}}
###
# group: Configuring OMAG Servers / Configuration for Cohort Members / Configuration for Metadata Access Points
# @name Enable all of the access services
# Turn on all of the registered, undeprecated Open Metadata Access Services (OMASs)
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/access-services
###
# group: Configuring OMAG Servers / Configuration for Cohort Members / Configuration for Metadata Access Points
# @name Enable all of the access services with no topics
# Turn on all of the registered, undeprecated Open Metadata Access Services (OMASs)
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/access-services/no-topics
###
# group: Configuring OMAG Servers / Configuration for Cohort Members / Configuration for Metadata Access Points
# @name Set up the access services using the supplied configuration
# Turn on all of the registered Open Metadata Access Services (OMAS)
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/access-services/configuration
###
# group: Configuring OMAG Servers / Configuration for Cohort Members / Configuration for Metadata Access Points
# @name Set access service In Topic name
# Set up the name of the topic that the requested access service should use for listening to inbound events.
# The topic name is specified in the request body. Click on the request body tab to change it.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/access-services/{{accessService}}/topic-names/in-topic
Content-Type: text/plain
cp.stewardshipaction.intopic
###
# group: Configuring OMAG Servers / Configuration for Cohort Members / Configuration for Metadata Access Points
# @name Set access service Out Topic name
# Set up the name of the topic that the requested access service should use for sending outbound events.
# The topic name is specified in the request body. Click on the request body tab to change it.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/access-services/{{accessService}}/topic-names/out-topic
Content-Type: text/plain
cp.stewardshipaction.outtopic
###
# group: Configuring OMAG Servers / Configuration for Cohort Members / Configuration for Metadata Access Points
# @name Get all configured access services topics
# Return the list of configured access services for this server and for each entry, list the names of the topics configured for the specific access service (if any).
GET {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/access-services/topic-names
###
# group: Configuring OMAG Servers / Configuration for Cohort Members / Configuration for Metadata Access Points
# @name Get configured topics for a specific access service
# Return the list of topics configured for an access service. If there are no topics configured then no list is returned.
GET {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/access-services/{{accessService}}/topic-names
###
# group: Configuring OMAG Servers / Configuration for Cohort Members / Configuration for Metadata Access Points
# @name Remove all of the access services
# Remove all of the Open Metadata Access Services from this server's configuration.
DELETE {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/access-services
###
# group: Configuring OMAG Servers / Configuration for Cohort Members / Configuration for Metadata Access Points
# @name Remove a specific access service
# Remove the requested Open Metadata Access Service from this server's configuration.
DELETE {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/access-services/{{accessService}}
###
# group: Configuring OMAG Servers / Configuration for Cohort Members / Configuration for Repository Proxies
# @name Set repository proxy's local repository connection
# Query Current Configuration
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/local-repository/mode/repository-proxy/details?
connectorProvider=org.odpi.openmetadata.adapters.igc.repositoryconnector.IGCOMRSRepositoryConnectorProvider
###
# group: Configuring OMAG Servers / Configuration for Cohort Members / Configuration for Repository Proxies
# @name Set repository event mapper
# Set the event mapper for the local repository. This translates proprietary events onto OMRS calls.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/local-repository/event-mapper-details?
connectorProvider=org.odpi.openmetadata.adapters.igc.eventmapper.IGCEventMapperProvider&
eventSource=infosphereEvent
###
# group: Configuring OMAG Servers / Configuration for Cohort Members / Configuration for Repository Proxies
# @name Remove repository proxy's repository configuration
# Remove all configuration for the proxy repository.
DELETE {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/local-repository
###
# group: Configuring OMAG Servers / Configuration for Cohort Members
# @name Add cohort configuration
# Request registration to an Open Metadata Repository Cohort. Make sure you have set up the event bus configuration defaults before making this request.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/cohorts/{{cohort}}
###
# group: Configuring OMAG Servers / Configuration for Cohort Members
# @name Add cohort configuration with topic structure
# Request registration to an Open Metadata Repository Cohort. Make sure you have set up the event bus configuration defaults before making this request.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/cohorts/{{cohort}}/topic-structure/DEDICATED_TOPICS
###
# group: Configuring OMAG Servers / Configuration for Cohort Members
# @name Get cohort configuration
# Retrieve the configuration used to connect to an Open Metadata Repository Cohort.
GET {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/cohorts/{{cohort}}
###
# group: Configuring OMAG Servers / Configuration for Cohort Members
# @name Override single cohort topic name
# Set up the name of the topic that the server sould use to connect to the name Open Metadata Repository Cohort. Obviously this value needs to be the same in all members of the cohort in order for them to be able to communicate.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/cohorts/{{cohort}}/topic-name-override
Content-Type: text/plain
cp.cohort.cocoCohort
###
# group: Configuring OMAG Servers / Configuration for Cohort Members
# @name Override registration cohort topic name
# Set up the name of the topic that the server sould use to connect to the name Open Metadata Repository Cohort. Obviously this value needs to be the same in all members of the cohort in order for them to be able to communicate.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/cohorts/{{cohort}}/topic-name-override/registration
Content-Type: text/plain
cp.cohort.{{cohort}}.registration
###
# group: Configuring OMAG Servers / Configuration for Cohort Members
# @name Override types cohort topic name
# Set up the name of the topic that the server sould use to connect to the name Open Metadata Repository Cohort. Obviously this value needs to be the same in all members of the cohort in order for them to be able to communicate.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/cohorts/{{cohort}}/topic-name-override/types
Content-Type: text/plain
cp.cohort.{{cohort}}.types
###
# group: Configuring OMAG Servers / Configuration for Cohort Members
# @name Override instances cohort topic name
# Set up the name of the topic that the server sould use to connect to the name Open Metadata Repository Cohort. Obviously this value needs to be the same in all members of the cohort in order for them to be able to communicate.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/cohorts/{{cohort}}/topic-name-override/instances
Content-Type: text/plain
cp.cohort.{{cohort}}.instances
###
# group: Configuring OMAG Servers / Configuration for Cohort Members
# @name Get single cohort topic name
# Return the name of the topic used by the requested cohort.
GET {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/cohorts/{{cohort}}/topic-name
###
# group: Configuring OMAG Servers / Configuration for Cohort Members
# @name Get dedicated cohort topic names
# Return the name of the topic used by the requested cohort.
GET {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/cohorts/{{cohort}}/dedicated-topic-names
###
# group: Configuring OMAG Servers / Configuration for Cohort Members
# @name Disable access to a cohort
# Unregister server from an Open Metadata Repository Cohort.
DELETE {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/cohorts/{{cohort}}
###
# group: Configuring OMAG Servers / Configuration for Engine Host Servers
# @name Get names of configured engine services
# This call is used return the list of Open Metadata Engine Services that are configured for this server.
GET {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/engine-services
###
# group: Configuring OMAG Servers / Configuration for Engine Host Servers
# @name Get configuration of configured engine services
# This call is used return the configuration values of the Open Metadata Engine Services configured for the server.
GET {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/engine-services
###
# group: Configuring OMAG Servers / Configuration for Engine Host Servers
# @name Get configuration of specific configured engine service
# This call is used return the configuration values of the specific Open Metadata Engine Service configured for the server.
GET {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/engine-services/asset-analysis/configuration
###
# group: Configuring OMAG Servers / Configuration for Engine Host Servers
# @name Configure engine host server with engine service
# Add details of the metadata server to call and the engines to run.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/engine-services/asset-analysis
Content-Type: application/json
{
"class": "EngineServiceRequestBody",
"omagserverPlatformRootURL": "{{baseURL}}",
"omagserverName" : "myMetadataServer",
"engines" : [ { "engineName " : "engine1", "engineUserId" : "engine1UserId"},
{ "engineName " : "engine2", "engineUserId" : "engine2UserId"}]
}
###
# group: Configuring OMAG Servers / Configuration for Integration Daemons
# @name Get names of configured integration services
# This call is used return the list of Open Metadata Integration Services that are configured for this server.
GET {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/integration-services
###
# group: Configuring OMAG Servers / Configuration for Integration Daemons
# @name Get configuration of configured integration services
# This call is used return the configuration values of the Open Metadata Integration Services configured for the server.
GET {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/integration-services
###
# group: Configuring OMAG Servers / Configuration for Integration Daemons
# @name Get configuration of specific configured integration service
# This call is used return the configuration values of the specific Open Metadata Integration Service configured for the server.
GET {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/engine-services/asset-analysis/configuration
###
# group: Configuring OMAG Servers / Configuration for Integration Daemons
# @name Configure the Topic integration service
# Add details of the metadata server to call and the connectors to run.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/integration-services/topic-integrator
Content-Type: application/json
{
"class": "IntegrationServiceRequestBody",
"omagserverPlatformRootURL": "{{baseURL}}",
"omagserverName" : "{{mdrServerName}}",
"integrationConnectorConfigs" : [
{
"class": "IntegrationConnectorConfig",
"connectorName" : "TopicMonitor",
"connectorUserId" : "monitorDL01npa",
"connection" :
{
"class" : "Connection",
"qualifiedName" : "TopicMonitorConnection",
"connectorType" :
{
"class" : "ConnectorType",
"connectorProviderClassName" : "org.odpi.openmetadata.adapters.connectors.integration.kafka.KafkaMonitorIntegrationProvider"
},
"endpoint" :
{
"class" : "Endpoint",
"address" : "{{kafkaep}}"
}
},
"metadataSourceQualifiedName" : "cocoKafkaBroker",
"refreshTimeInterval" : "60",
"usesBlockingCalls" : "false",
"permittedSynchronization" : "FROM_THIRD_PARTY"
} ]
}
###
# group: Configuring OMAG Servers / Configuration for Integration Daemons
# @name Configure the API integration service
# Add details of the metadata server to call and the connectors to run.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/integration-services/api-integrator
Content-Type: application/json
{
"class": "IntegrationServiceRequestBody",
"omagserverPlatformRootURL": "{{baseURL}}",
"omagserverName" : "cocoMDSx",
"integrationConnectorConfigs" : [
{
"class": "IntegrationConnectorConfig",
"connectorName" : "APIMonitor",
"connectorUserId" : "monitorDL01npa",
"connection" :
{
"class" : "Connection",
"qualifiedName" : "APIMonitorConnection",
"connectorType" :
{
"class" : "ConnectorType",
"connectorProviderClassName" : "org.odpi.openmetadata.adapters.connectors.integration.openapis.OpenAPIMonitorIntegrationProvider"
},
"endpoint" :
{
"class" : "Endpoint",
"address" : "{{baseURL}}"
}
},
"metadataSourceQualifiedName" : "cocoOMAGServerPlatform",
"refreshTimeInterval" : "60",
"usesBlockingCalls" : "false",
"permittedSynchronization" : "FROM_THIRD_PARTY"
} ]
}
###
# group: Configuring OMAG Servers / Configuration for Integration Daemons
# @name Configure the Files integration service
# Add details of the metadata server to call and the connectors to run.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/integration-services/files-integrator
Content-Type: application/json
{
"class": "IntegrationServiceRequestBody",
"omagserverPlatformRootURL": "{{baseURL}}",
"omagserverName" : "cocoMDSx",
"integrationConnectorConfigs" : [
{
"class": "IntegrationConnectorConfig",
"connectorName" : "FilesMonitor",
"connectorUserId" : "erinoverview",
"connection" :
{
"class" : "Connection",
"qualifiedName" : "FilesMonitorConnection",
"connectorType" :
{
"class" : "ConnectorType",
"connectorProviderClassName" : "org.odpi.openmetadata.adapters.connectors.integration.basicfiles.DataFilesMonitorIntegrationProvider"
},
"endpoint" :
{
"class" : "Endpoint",
"address" : "sample-data"
}
},
"metadataSourceQualifiedName" : "cocoDataLake",
"refreshTimeInterval" : "60",
"usesBlockingCalls" : "false",
"permittedSynchronization" : "FROM_THIRD_PARTY"
} ]
}
###
# group: Configuring OMAG Servers / Configuration for Integration Daemons
# @name Configure the Database integration service
# Add details of the metadata server to call and the connectors to run.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/integration-services/database-integrator
Content-Type: application/json
{
"class": "IntegrationServiceRequestBody",
"omagserverPlatformRootURL": "{{baseURL}}",
"omagserverName" : "myMetadataServer",
"integrationConnectorConfigs" : [
{
"class": "IntegrationConnectorConfig",
"connectorName" : "dbIntegrator",
"connectorUserId" : "dbIntegratornpa",
"connection" :
{
"class" : "Connection",
"connectorType" :
{
"class" : "ConnectorType",
"connectorProviderClassName" : "connector provider class name"
}
},
"metadataSourceQualifiedName" : "myDBServer",
"refreshTimeInterval" : "60",
"usesBlockingCalls" : "false",
"permittedSynchronization" : "FROM_THIRD_PARTY"
} ]
}
###
# group: Configuring OMAG Servers / Configuration for Integration Daemons
# @name Configure the Catalog integration service
# Add details of the metadata server to call and the connectors to run.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/integration-services/catalog-integrator
Content-Type: application/json
{
"class": "IntegrationServiceRequestBody",
"omagserverPlatformRootURL": "{{baseURL}}",
"omagserverName" : "{{mdrServerName}}",
"integrationConnectorConfigs" : [
{
"class": "IntegrationConnectorConfig",
"connectorName" : "AtlasIntegrator",
"connectorUserId" : "atlasIntegratornpa",
"connection" :
{
"class" : "Connection",
"connectorType" :
{
"class" : "ConnectorType",
"connectorProviderClassName" : "org.odpi.openmetadata.adapters.connectors.integration.apacheatlas.ApacheAtlasIntegrationProvider"
},
"endpoint" :
{
"class" : "Endpoint",
"address" : "{{atlas_host}}:{{atlas_port}}"
}
},
"metadataSourceQualifiedName" : "ApacheAtlasDL01",
"refreshTimeInterval" : "5",
"usesBlockingCalls" : "false",
"permittedSynchronization" : "BOTH_DIRECTIONS"
} ]
}
###
# group: Configuring OMAG Servers / Configuring View Servers
# @name Configure the REX View Services
# Requests information about the author of the server platform.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/simpleview/view-services/rex
Content-Type: application/json
{
"class":"IntegrationViewServiceConfig",
"viewServiceAdminClass":"org.odpi.openmetadata.viewservices.rex.admin.RexViewAdmin",
"viewServiceFullName":"RepositoryExplorer",
"viewServiceOperationalStatus":"ENABLED",
"resourceEndpoints" : [
{
"class" : "ResourceEndpointConfig",
"resourceCategory" : "Platform",
"platformName" : "Platform9443",
"platformRootURL" : "https://localhost:9443",
"description" : "Platform for event, data and API catalogs"
},
{
"class" : "ResourceEndpointConfig",
"resourceCategory" : "Platform",
"platformName" : "Platform9444",
"platformRootURL" : "https://localhost:9444",
"description" : "Platform for governance catalog and view server"
},
{
"class" : "ResourceEndpointConfig",
"resourceCategory" : "Server",
"serverInstanceName" : "eventcatalog",
"serverName" : "eventcatalog",
"platformName" : "Platform9443",
"description" : "Simple Event Catalog"
},
{
"class" : "ResourceEndpointConfig",
"resourceCategory" : "Server",
"serverInstanceName" : "apicatalog",
"serverName" : "apicatalog",
"platformName" : "Platform9443",
"description" : "Simple API Catalog"
},
{
"class" : "ResourceEndpointConfig",
"resourceCategory" : "Server",
"serverInstanceName" : "datacatalog",
"serverName" : "datacatalog",
"platformName" : "Platform9443",
"description" : "Simple Data Catalog"
},
{
"class" : "ResourceEndpointConfig",
"resourceCategory" : "Server",
"serverInstanceName" : "governancecatalog",
"serverName" : "governancecatalog",
"platformName" : "Platform9444",
"description" : "Simple Governance Catalog"
}
]
}
###
# group: Configuring OMAG Servers / Configuring View Servers
# @name Configure the TEX View Services
# Requests information about the author of the server platform.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/simpleview/view-services/tex
Content-Type: application/json
{
"class":"IntegrationViewServiceConfig",
"viewServiceAdminClass":"org.odpi.openmetadata.viewservices.rex.admin.TexViewAdmin",
"viewServiceFullName":"TypeExplorer",
"viewServiceOperationalStatus":"ENABLED",
"resourceEndpoints" : [
{
"class" : "ResourceEndpointConfig",
"resourceCategory" : "Platform",
"platformName" : "Platform9443",
"platformRootURL" : "https://localhost:9443",
"description" : "Platform for event, data and API catalogs"
},
{
"class" : "ResourceEndpointConfig",
"resourceCategory" : "Platform",
"platformName" : "Platform9444",
"platformRootURL" : "https://localhost:9444",
"description" : "Platform for governance catalog and view server"
},
{
"class" : "ResourceEndpointConfig",
"resourceCategory" : "Server",
"serverInstanceName" : "eventcatalog",
"serverName" : "eventcatalog",
"platformName" : "Platform9443",
"description" : "Simple Event Catalog"
},
{
"class" : "ResourceEndpointConfig",
"resourceCategory" : "Server",
"serverInstanceName" : "apicatalog",
"serverName" : "apicatalog",
"platformName" : "Platform9443",
"description" : "Simple API Catalog"
},
{
"class" : "ResourceEndpointConfig",
"resourceCategory" : "Server",
"serverInstanceName" : "datacatalog",
"serverName" : "datacatalog",
"platformName" : "Platform9443",
"description" : "Simple Data Catalog"
},
{
"class" : "ResourceEndpointConfig",
"resourceCategory" : "Server",
"serverInstanceName" : "governancecatalog",
"serverName" : "governancecatalog",
"platformName" : "Platform9444",
"description" : "Simple Governance Catalog"
}
]
}
###
# group: Configuring OMAG Servers / Configuring View Servers
# @name Configure the Dino View Services
# Requests information about the author of the server platform.
POST {{baseURL}}/open-metadata/admin-services/users/{{adminUserId}}/servers/{{server}}/view-services/dino
Content-Type: application/json
{
"class":"IntegrationViewServiceConfig",
"viewServiceAdminClass":"org.odpi.openmetadata.viewservices.dino.admin.DinoViewAdmin",
"viewServiceFullName":"Dino",
"viewServiceOperationalStatus":"ENABLED",
"resourceEndpoints" : [
{
"class" : "ResourceEndpointConfig",
"resourceCategory" : "Platform",
"platformName" : "myOMAGPlatform1",
"platformRootURL" : "myPlatformRootURL1",
"description" : "myOMAGPlatform1 description"
},
{
"class" : "ResourceEndpointConfig",
"resourceCategory" : "Platform",
"platformName" : "myOMAGPlatform2",
"platformRootURL" : "myPlatformRootURL2",
"description" : "myOMAGPlatform2 description"
},
{
"class" : "ResourceEndpointConfig",
"resourceCategory" : "Server",
"serverInstanceName" : "myServerInstanceName1",
"serverName" : "myServerName1",
"platformName" : "myOMAGPlatform1",
"description" : "myServerName1 description "
},
{
"class" : "ResourceEndpointConfig",
"resourceCategory" : "Server",
"serverInstanceName" : "myServerInstanceName2",
"serverName" : "myServerName2",
"platformName" : "myOMAGPlatform1",
"description" : "myServerName2 description "
},
{
"class" : "ResourceEndpointConfig",
"resourceCategory" : "Server",
"serverInstanceName" : "myServerInstanceName3",
"serverName" : "myServerName3",
"platformName" : "myOMAGPlatform2",
"description" : "myServerName3 description "
}
]
}