pyegeria 0.5.6.1__py3-none-any.whl → 0.5.6.2__py3-none-any.whl

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.
Files changed (24) hide show
  1. examples/widgets/operational/{view_eng_action_status.py → monitor_eng_action_status.py} +40 -13
  2. pyegeria/__init__.py +54 -55
  3. pyegeria/asset_catalog_omvs.py +2 -2
  4. pyegeria/automated_curation_omvs.py +3 -3
  5. pyegeria/create_tech_guid_lists.py +8 -4
  6. {pyegeria-0.5.6.1.dist-info → pyegeria-0.5.6.2.dist-info}/METADATA +1 -1
  7. {pyegeria-0.5.6.1.dist-info → pyegeria-0.5.6.2.dist-info}/RECORD +23 -23
  8. pyegeria-0.5.6.2.dist-info/entry_points.txt +31 -0
  9. pyegeria-0.5.6.1.dist-info/entry_points.txt +0 -30
  10. /examples/widgets/catalog_user/{view_asset_graph.py → get_asset_graph.py} +0 -0
  11. /examples/widgets/catalog_user/{view_collection.py → get_collection.py} +0 -0
  12. /examples/widgets/catalog_user/{view_glossary.py → list_glossary.py} +0 -0
  13. /examples/widgets/operational/{view_asset_events.py → monitor_asset_events.py} +0 -0
  14. /examples/widgets/operational/{view_coco_status.py → monitor_coco_status.py} +0 -0
  15. /examples/widgets/operational/{view_gov_eng_status.py → monitor_gov_eng_status.py} +0 -0
  16. /examples/widgets/operational/{view_integ_daemon_status.py → monitor_integ_daemon_status.py} +0 -0
  17. /examples/widgets/operational/{view_platform_status.py → monitor_platform_status.py} +0 -0
  18. /examples/widgets/operational/{view_server_list.py → monitor_server_list.py} +0 -0
  19. /examples/widgets/operational/{view_server_status.py → monitor_server_status.py} +0 -0
  20. /examples/widgets/personal_organizer/{get_my_profile.py → list_my_profile.py} +0 -0
  21. /examples/widgets/personal_organizer/{view_my_todos.py → monitor_my_todos.py} +0 -0
  22. /examples/widgets/personal_organizer/{view_open_todos.py → monitor_open_todos.py} +0 -0
  23. {pyegeria-0.5.6.1.dist-info → pyegeria-0.5.6.2.dist-info}/LICENSE +0 -0
  24. {pyegeria-0.5.6.1.dist-info → pyegeria-0.5.6.2.dist-info}/WHEEL +0 -0
@@ -14,10 +14,11 @@ import json
14
14
  import os
15
15
  import sys
16
16
  import time
17
-
18
17
  from rich import box
18
+ # from rich.box import Box
19
19
  from rich.live import Live
20
20
  from rich.table import Table
21
+ from rich.console import Console
21
22
 
22
23
  from pyegeria import AutomatedCuration
23
24
  from pyegeria import (
@@ -42,7 +43,7 @@ EGERIA_USER_PASSWORD = os.environ.get('EGERIA_USER_PASSWORD', 'secret')
42
43
  disable_ssl_warnings = True
43
44
 
44
45
 
45
- def display_status_engine_actions(server: str, url: str, user: str, user_pass:str):
46
+ def display_status_engine_actions(server: str, url: str, user: str, user_pass:str, paging: bool):
46
47
  g_client = AutomatedCuration(server, url, user, user_pwd=user_pass)
47
48
 
48
49
  def generate_table() -> Table:
@@ -118,13 +119,15 @@ def display_status_engine_actions(server: str, url: str, user: str, user_pass:st
118
119
  return table
119
120
 
120
121
  try:
121
- # console = Console()
122
- # with console.pager():
123
- # console.print(generate_table())
124
- with Live(generate_table(), refresh_per_second=1, screen=True, vertical_overflow="visible") as live:
125
- while True:
126
- time.sleep(2)
127
- live.update(generate_table())
122
+ if paging is True:
123
+ console = Console()
124
+ with console.pager():
125
+ console.print(generate_table())
126
+ else:
127
+ with Live(generate_table(), refresh_per_second=1, screen=True, vertical_overflow="visible") as live:
128
+ while True:
129
+ time.sleep(2)
130
+ live.update(generate_table())
128
131
 
129
132
  except (InvalidParameterException, PropertyServerException, UserNotAuthorizedException) as e:
130
133
  print_exception_response(e)
@@ -133,20 +136,44 @@ def display_status_engine_actions(server: str, url: str, user: str, user_pass:st
133
136
  g_client.close_session()
134
137
 
135
138
 
136
- def main():
139
+ def main_live():
140
+ parser = argparse.ArgumentParser()
141
+ parser.add_argument("--server", help="Name of the server to display status for")
142
+ parser.add_argument("--url", help="URL Platform to connect to")
143
+ parser.add_argument("--userid", help="User Id")
144
+ parser.add_argument("--password", help="User Password")
145
+ parser.add_argument("--paging", help="Paging (True) or Monitoring (False)")
146
+ args = parser.parse_args()
147
+
148
+ server = args.server if args.server is not None else EGERIA_VIEW_SERVER
149
+ url = args.url if args.url is not None else EGERIA_PLATFORM_URL
150
+ userid = args.userid if args.userid is not None else EGERIA_USER
151
+ user_pass = args.password if args.password is not None else EGERIA_USER_PASSWORD
152
+ paging = args.paging if args.paging is not None else False
153
+ # print(f"Starting display_status_engine_actions with {server}, {url}, {userid}")
154
+ # print(f"Paging is {paging}")
155
+ display_status_engine_actions(server=server, url=url, user=userid, user_pass=user_pass, paging=False)
156
+
157
+ def main_paging():
137
158
  parser = argparse.ArgumentParser()
138
159
  parser.add_argument("--server", help="Name of the server to display status for")
139
160
  parser.add_argument("--url", help="URL Platform to connect to")
140
161
  parser.add_argument("--userid", help="User Id")
141
162
  parser.add_argument("--password", help="User Password")
163
+ parser.add_argument("--paging", help="Paging (True) or Monitoring (False)")
142
164
  args = parser.parse_args()
143
165
 
144
166
  server = args.server if args.server is not None else EGERIA_VIEW_SERVER
145
167
  url = args.url if args.url is not None else EGERIA_PLATFORM_URL
146
168
  userid = args.userid if args.userid is not None else EGERIA_USER
147
169
  user_pass = args.password if args.password is not None else EGERIA_USER_PASSWORD
170
+ paging = args.paging if args.paging is not None else False
148
171
  # print(f"Starting display_status_engine_actions with {server}, {url}, {userid}")
149
- display_status_engine_actions(server=server, url=url, user=userid, user_pass=user_pass)
172
+ # print(f"Paging is {paging}")
173
+ display_status_engine_actions(server=server, url=url, user=userid, user_pass=user_pass, paging=True)
174
+
175
+ if __name__ == "__main_live__":
176
+ main_live()
150
177
 
151
- if __name__ == "__main__":
152
- main()
178
+ if __name__ == "__main_paging__":
179
+ main_paging()
pyegeria/__init__.py CHANGED
@@ -62,58 +62,57 @@ from .create_tech_guid_lists import build_global_guid_lists
62
62
  #
63
63
  global TEMPLATE_GUIDS, INTEGRATION_GUIDS
64
64
 
65
- TEMPLATE_GUIDS['CSV Data File template'] = '13770f93-13c8-42be-9bb8-e0b1b1e52b1f'
66
- TEMPLATE_GUIDS['Keystore File template'] = 'fbcfcc0c-1652-421f-b49b-c3e1c108768f'
67
- TEMPLATE_GUIDS['Unity Catalog Server template'] = 'dcca9788-b30f-4007-b1ac-ec634aff6879'
68
- INTEGRATION_GUIDS['Unity Catalog Server'] = '74dde22f-2249-4ea3-af2b-b39e73f79b81'
69
- INTEGRATION_GUIDS['Unity Catalog Server'] = '06d068d9-9e08-4e67-8c59-073bbf1013af'
70
- INTEGRATION_GUIDS['JDBC Relational Database'] = '70dcd0b7-9f06-48ad-ad44-ae4d7a7762aa'
71
- TEMPLATE_GUIDS['Data File template'] = '66d8dda9-00cf-4e59-938c-4b0583596b1e'
72
- TEMPLATE_GUIDS['View Server template'] = 'fd61ca01-390d-4aa2-a55d-426826aa4e1b'
73
- TEMPLATE_GUIDS['Archive File template'] = '7578e504-d00f-406d-a194-3fc0a351cdf9'
74
- TEMPLATE_GUIDS['Unity Catalog Catalog template'] = '5ee006aa-a6d6-411b-9b8d-5f720c079cae'
75
- TEMPLATE_GUIDS['PostgreSQL Relational Database template'] = '3d398b3f-7ae6-4713-952a-409f3dea8520'
76
- INTEGRATION_GUIDS['PostgreSQL Relational Database'] = '70dcd0b7-9f06-48ad-ad44-ae4d7a7762aa'
77
- TEMPLATE_GUIDS['Program File template'] = '32d27e9c-1fdf-455a-ad2a-42b4d7d99108'
78
- TEMPLATE_GUIDS['FileFolder template'] = 'fbdd8efd-1b69-474c-bb6d-0a304b394146'
79
- INTEGRATION_GUIDS['FileFolder'] = '1b98cdac-dd0a-4621-93db-99ef5a1098bc'
80
- INTEGRATION_GUIDS['FileFolder'] = 'cd6479e1-2fe7-4426-b358-8a0cf70be117'
81
- TEMPLATE_GUIDS['PostgreSQL Server template'] = '542134e6-b9ce-4dce-8aef-22e8daf34fdb'
82
- INTEGRATION_GUIDS['PostgreSQL Server'] = '36f69fd0-54ba-4f59-8a44-11ccf2687a34'
83
- TEMPLATE_GUIDS['Audio Data File template'] = '39b4b670-7f15-4744-a5ba-62e8edafbcee'
84
- TEMPLATE_GUIDS['Document File template'] = 'eb6f728d-fa54-4350-9807-1199cbf96851'
85
- TEMPLATE_GUIDS['Integration Daemon template'] = '6b3516f0-dd13-4786-9601-07215f995197'
86
- TEMPLATE_GUIDS['XML Data File template'] = 'ea67ae71-c674-473e-b38b-689879d2a7d9'
87
- TEMPLATE_GUIDS['Unity Catalog Schema template'] = '5bf92b0f-3970-41ea-b0a3-aacfbf6fd92e'
88
- TEMPLATE_GUIDS['Parquet Data File template'] = '7f6cd744-79c3-4d25-a056-eeb1a91574c3'
89
- TEMPLATE_GUIDS['3D Image Data File template'] = '0059ea2b-6292-4cac-aa6f-a80a605f1114'
90
- TEMPLATE_GUIDS['YAML File template'] = '2221855b-2b64-4b45-a2ee-c40adc5e2a64'
91
- TEMPLATE_GUIDS['Metadata Access Server template'] = 'bd8de890-fa79-4c24-aab8-20b41b5893dd'
92
- TEMPLATE_GUIDS['Properties File template'] = '3b281111-a0ef-4fc4-99e7-9a0ef84a7636'
93
- TEMPLATE_GUIDS['Vector Data File template'] = 'db1bec7f-55a9-40d3-91c0-a57b76d422e2'
94
- TEMPLATE_GUIDS['Apache Kafka Server template'] = '5e1ff810-5418-43f7-b7c4-e6e062f9aff7'
95
- INTEGRATION_GUIDS['Apache Kafka Server'] = 'fa1f711c-0b34-4b57-8e6e-16162b132b0c'
96
- TEMPLATE_GUIDS['Executable File template'] = '3d99a163-7a13-4576-a212-784010a8302a'
97
- TEMPLATE_GUIDS['Unity Catalog Table template'] = '6cc1e5f5-4c1e-4290-a80e-e06643ffb13d'
98
- TEMPLATE_GUIDS['JSON Data File template'] = 'c4836635-7e9e-446a-83b5-15e206b1aff3'
99
- TEMPLATE_GUIDS['File System template'] = '522f228c-097c-4f90-9efc-26c1f2696f87'
100
- TEMPLATE_GUIDS['Source Code File template'] = '9c7013ef-f29b-4b01-a8ea-5ea14f64c67a'
101
- TEMPLATE_GUIDS['Apple MacBook Pro template'] = '32a9fd56-85c9-47fe-a211-9da3871bf4da'
102
- TEMPLATE_GUIDS['Build Instruction File template'] = 'fbb2fa2e-8bcb-402e-9be7-5c6db9f2c504'
103
- TEMPLATE_GUIDS['Spreadsheet Data File template'] = 'e4fabff5-2ba9-4050-9076-6ed917970b4c'
104
- TEMPLATE_GUIDS['UNIX File System template'] = '27117270-8667-41d0-a99a-9118f9b60199'
105
- TEMPLATE_GUIDS['Video Data File template'] = '93b2b722-ec0f-4da4-960a-b8d4922f8bf5'
106
- TEMPLATE_GUIDS['Unity Catalog Function template'] = 'a490ba65-6104-4213-9be9-524e16fed8aa'
107
- TEMPLATE_GUIDS['PostgreSQL Relational Database Schema template'] = '82a5417c-d882-4271-8444-4c6a996a8bfc'
108
- TEMPLATE_GUIDS['Engine Host template'] = '1764a891-4234-45f1-8cc3-536af40c790d'
109
- TEMPLATE_GUIDS['Avro Data File template'] = '9f5be428-058e-41dd-b506-3a222283b579'
110
- TEMPLATE_GUIDS['Unity Catalog Volume template'] = '92d2d2dc-0798-41f0-9512-b10548d312b7'
111
- TEMPLATE_GUIDS['File template'] = 'ae3067c7-cc72-4a18-88e1-746803c2c86f'
112
- TEMPLATE_GUIDS['Apache Kafka Topic template'] = 'ea8f81c9-c59c-47de-9525-7cc59d1251e5'
113
- TEMPLATE_GUIDS['Script File template'] = 'dbd5e6bb-1ff8-46f4-a007-fb0485f68c92'
114
- TEMPLATE_GUIDS['Apache Atlas Server template'] = 'fe6dce45-a978-4417-ab55-17f05b8bcea7'
115
- TEMPLATE_GUIDS['Raster Data File template'] = '47211156-f03f-4881-8526-015e695a3dac'
116
- TEMPLATE_GUIDS['Data Folder template'] = '372a0379-7060-4c9d-8d84-bc709b31794c'
117
- TEMPLATE_GUIDS['OMAG Server Platform template'] = '9b06c4dc-ddc8-47ae-b56b-28775d3a96f0'
118
- INTEGRATION_GUIDS['OMAG Server Platform'] = 'b89d9a5a-2ea6-49bc-a4fc-e7df9f3ca93e'
119
-
65
+ TEMPLATE_GUIDS['CSV Data File'] = '13770f93-13c8-42be-9bb8-e0b1b1e52b1f'
66
+ TEMPLATE_GUIDS['Keystore File'] = 'fbcfcc0c-1652-421f-b49b-c3e1c108768f'
67
+ TEMPLATE_GUIDS['Unity Catalog Server'] = 'dcca9788-b30f-4007-b1ac-ec634aff6879'
68
+ INTEGRATION_GUIDS['UnityCatalogInsideCatalog'] = '74dde22f-2249-4ea3-af2b-b39e73f79b81'
69
+ INTEGRATION_GUIDS['UnityCatalogServer'] = '06d068d9-9e08-4e67-8c59-073bbf1013af'
70
+ INTEGRATION_GUIDS['JDBC'] = '70dcd0b7-9f06-48ad-ad44-ae4d7a7762aa'
71
+ TEMPLATE_GUIDS['Data File'] = '66d8dda9-00cf-4e59-938c-4b0583596b1e'
72
+ TEMPLATE_GUIDS['View Server'] = 'fd61ca01-390d-4aa2-a55d-426826aa4e1b'
73
+ TEMPLATE_GUIDS['Archive File'] = '7578e504-d00f-406d-a194-3fc0a351cdf9'
74
+ TEMPLATE_GUIDS['Unity Catalog Catalog'] = '5ee006aa-a6d6-411b-9b8d-5f720c079cae'
75
+ TEMPLATE_GUIDS['PostgreSQL Relational Database'] = '3d398b3f-7ae6-4713-952a-409f3dea8520'
76
+ INTEGRATION_GUIDS['JDBC'] = '70dcd0b7-9f06-48ad-ad44-ae4d7a7762aa'
77
+ TEMPLATE_GUIDS['Program File'] = '32d27e9c-1fdf-455a-ad2a-42b4d7d99108'
78
+ TEMPLATE_GUIDS['FileFolder'] = 'fbdd8efd-1b69-474c-bb6d-0a304b394146'
79
+ INTEGRATION_GUIDS['LandingAreaFilesMonitor'] = '1b98cdac-dd0a-4621-93db-99ef5a1098bc'
80
+ INTEGRATION_GUIDS['SampleDataFilesMonitor'] = 'cd6479e1-2fe7-4426-b358-8a0cf70be117'
81
+ TEMPLATE_GUIDS['PostgreSQL Server'] = '542134e6-b9ce-4dce-8aef-22e8daf34fdb'
82
+ INTEGRATION_GUIDS['PostgreSQLServer'] = '36f69fd0-54ba-4f59-8a44-11ccf2687a34'
83
+ TEMPLATE_GUIDS['Audio Data File'] = '39b4b670-7f15-4744-a5ba-62e8edafbcee'
84
+ TEMPLATE_GUIDS['Document File'] = 'eb6f728d-fa54-4350-9807-1199cbf96851'
85
+ TEMPLATE_GUIDS['Integration Daemon'] = '6b3516f0-dd13-4786-9601-07215f995197'
86
+ TEMPLATE_GUIDS['XML Data File'] = 'ea67ae71-c674-473e-b38b-689879d2a7d9'
87
+ TEMPLATE_GUIDS['Unity Catalog Schema'] = '5bf92b0f-3970-41ea-b0a3-aacfbf6fd92e'
88
+ TEMPLATE_GUIDS['Parquet Data File'] = '7f6cd744-79c3-4d25-a056-eeb1a91574c3'
89
+ TEMPLATE_GUIDS['3D Image Data File'] = '0059ea2b-6292-4cac-aa6f-a80a605f1114'
90
+ TEMPLATE_GUIDS['YAML File'] = '2221855b-2b64-4b45-a2ee-c40adc5e2a64'
91
+ TEMPLATE_GUIDS['Metadata Access Server'] = 'bd8de890-fa79-4c24-aab8-20b41b5893dd'
92
+ TEMPLATE_GUIDS['Properties File'] = '3b281111-a0ef-4fc4-99e7-9a0ef84a7636'
93
+ TEMPLATE_GUIDS['Vector Data File'] = 'db1bec7f-55a9-40d3-91c0-a57b76d422e2'
94
+ TEMPLATE_GUIDS['Apache Kafka Server'] = '5e1ff810-5418-43f7-b7c4-e6e062f9aff7'
95
+ INTEGRATION_GUIDS['KafkaTopic'] = 'fa1f711c-0b34-4b57-8e6e-16162b132b0c'
96
+ TEMPLATE_GUIDS['Executable File'] = '3d99a163-7a13-4576-a212-784010a8302a'
97
+ TEMPLATE_GUIDS['Unity Catalog Table'] = '6cc1e5f5-4c1e-4290-a80e-e06643ffb13d'
98
+ TEMPLATE_GUIDS['JSON Data File'] = 'c4836635-7e9e-446a-83b5-15e206b1aff3'
99
+ TEMPLATE_GUIDS['File System'] = '522f228c-097c-4f90-9efc-26c1f2696f87'
100
+ TEMPLATE_GUIDS['Source Code File'] = '9c7013ef-f29b-4b01-a8ea-5ea14f64c67a'
101
+ TEMPLATE_GUIDS['Apple MacBook Pro'] = '32a9fd56-85c9-47fe-a211-9da3871bf4da'
102
+ TEMPLATE_GUIDS['Build Instruction File'] = 'fbb2fa2e-8bcb-402e-9be7-5c6db9f2c504'
103
+ TEMPLATE_GUIDS['Spreadsheet Data File'] = 'e4fabff5-2ba9-4050-9076-6ed917970b4c'
104
+ TEMPLATE_GUIDS['UNIX File System'] = '27117270-8667-41d0-a99a-9118f9b60199'
105
+ TEMPLATE_GUIDS['Video Data File'] = '93b2b722-ec0f-4da4-960a-b8d4922f8bf5'
106
+ TEMPLATE_GUIDS['Unity Catalog Function'] = 'a490ba65-6104-4213-9be9-524e16fed8aa'
107
+ TEMPLATE_GUIDS['PostgreSQL Relational Database Schema'] = '82a5417c-d882-4271-8444-4c6a996a8bfc'
108
+ TEMPLATE_GUIDS['Engine Host'] = '1764a891-4234-45f1-8cc3-536af40c790d'
109
+ TEMPLATE_GUIDS['Avro Data File'] = '9f5be428-058e-41dd-b506-3a222283b579'
110
+ TEMPLATE_GUIDS['Unity Catalog Volume'] = '92d2d2dc-0798-41f0-9512-b10548d312b7'
111
+ TEMPLATE_GUIDS['File'] = 'ae3067c7-cc72-4a18-88e1-746803c2c86f'
112
+ TEMPLATE_GUIDS['Apache Kafka Topic'] = 'ea8f81c9-c59c-47de-9525-7cc59d1251e5'
113
+ TEMPLATE_GUIDS['Script File'] = 'dbd5e6bb-1ff8-46f4-a007-fb0485f68c92'
114
+ TEMPLATE_GUIDS['Apache Atlas Server'] = 'fe6dce45-a978-4417-ab55-17f05b8bcea7'
115
+ TEMPLATE_GUIDS['Raster Data File'] = '47211156-f03f-4881-8526-015e695a3dac'
116
+ TEMPLATE_GUIDS['Data Folder'] = '372a0379-7060-4c9d-8d84-bc709b31794c'
117
+ TEMPLATE_GUIDS['OMAG Server Platform'] = '9b06c4dc-ddc8-47ae-b56b-28775d3a96f0'
118
+ INTEGRATION_GUIDS['OpenAPI'] = 'b89d9a5a-2ea6-49bc-a4fc-e7df9f3ca93e'
@@ -180,7 +180,7 @@ class AssetCatalog(Client):
180
180
  """
181
181
 
182
182
  body = {
183
- "templateGUID": TEMPLATE_GUIDS['Apache Kafka Server template'],
183
+ "templateGUID": TEMPLATE_GUIDS['Apache Kafka Server'],
184
184
  "isOwnAnchor": 'true',
185
185
  "placeholderPropertyValues": {
186
186
  "serverName": kafka_server,
@@ -250,7 +250,7 @@ class AssetCatalog(Client):
250
250
  The GUID of the Kafka server element.
251
251
  """
252
252
  body = {
253
- "templateGUID": TEMPLATE_GUIDS['PostgreSQL Server template'],
253
+ "templateGUID": TEMPLATE_GUIDS['PostgreSQL Server'],
254
254
  "isOwnAnchor": 'true',
255
255
  "placeholderPropertyValues": {
256
256
  "serverName": postgres_server,
@@ -165,7 +165,7 @@ class AutomatedCuration(Client):
165
165
  The GUID of the Kafka server element.
166
166
  """
167
167
 
168
- body = {"templateGUID":TEMPLATE_GUIDS['Apache Kafka Server template'], "isOwnAnchor": 'true',
168
+ body = {"templateGUID":TEMPLATE_GUIDS['Apache Kafka Server'], "isOwnAnchor": 'true',
169
169
  "placeholderPropertyValues": {"serverName": kafka_server, "hostIdentifier": host_name,
170
170
  "portNumber": port, "description": description}}
171
171
  body_s = body_slimmer(body)
@@ -237,7 +237,7 @@ class AutomatedCuration(Client):
237
237
  str
238
238
  The GUID of the Postgres server element.
239
239
  """
240
- body = {"templateGUID":TEMPLATE_GUIDS['PostgreSQL Server template'], "isOwnAnchor": 'true',
240
+ body = {"templateGUID":TEMPLATE_GUIDS['PostgreSQL Server'], "isOwnAnchor": 'true',
241
241
  "placeholderPropertyValues": {"serverName": postgres_server, "hostIdentifier": host_name,
242
242
  "portNumber": port, "databaseUserId": db_user, "description": description,
243
243
  "databasePassword": db_pwd}}
@@ -315,7 +315,7 @@ class AutomatedCuration(Client):
315
315
  str
316
316
  The GUID of the File Folder element.
317
317
  """
318
- body = {"templateGUID": TEMPLATE_GUIDS['FileFolder template'],
318
+ body = {"templateGUID": TEMPLATE_GUIDS['FileFolder'],
319
319
  "isOwnAnchor": 'true',
320
320
  "placeholderPropertyValues": {
321
321
  "directoryPathName": path_name,
@@ -43,7 +43,7 @@ def build_global_guid_lists(server:str = "view-server",url: str = "https://local
43
43
 
44
44
  if type(templates) is list:
45
45
  for template in templates:
46
- template_name = template.get("name", None)
46
+ template_name = template.get("name", None).replace(' template', '')
47
47
  template_guid = template["relatedElement"]["guid"]
48
48
  out = f"TEMPLATE_GUIDS['{template_name}'] = '{template_guid}'\n"
49
49
  console.print(f"Added {template_name} template with GUID {template_guid}")
@@ -57,9 +57,13 @@ def build_global_guid_lists(server:str = "view-server",url: str = "https://local
57
57
  resource_guid = resource['relatedElement']['guid']
58
58
  resource_type = resource['relatedElement']['type']['typeName']
59
59
  if resource_type == "IntegrationConnector":
60
- out = f"INTEGRATION_GUIDS['{display_name}'] = '{resource_guid}'\n"
61
- console.print(f"Added {display_name} integration connector with GUID {resource_guid}")
62
- f.write(out)
60
+ if resource['resourceUse'] == "Catalog Resource":
61
+ int_con = resource['relatedElement']['uniqueName']
62
+ int_con_name = int_con.split(':')[-1].replace('IntegrationConnector', '')
63
+
64
+ out = f"INTEGRATION_GUIDS['{int_con_name}'] = '{resource_guid}'\n"
65
+ console.print(f"Added {int_con_name} integration connector with GUID {resource_guid}")
66
+ f.write(out)
63
67
  else:
64
68
  console.print(f"{display_name} technology type has no integration connectors")
65
69
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyegeria
3
- Version: 0.5.6.1
3
+ Version: 0.5.6.2
4
4
  Summary: A python client for Egeria
5
5
  Home-page: https://github.com/odpi/egeria-python
6
6
  License: Apache 2.0
@@ -2,10 +2,10 @@ examples/doc_samples/Create_Collection_Sample.py,sha256=D8nhc4qLXIzAqVdJQjmFIS-j
2
2
  examples/doc_samples/Create_Sustainability_Collection_Sample.py,sha256=iLBm1LwRLi42Gayyb-wcWZ5NySQ6sc4kVSmwIAzP2Po,5049
3
3
  examples/widgets/catalog_user/README.md,sha256=aCCVo7iqyE-XGEvmoYXnkIGM0VskF95JTj6Egzec7LM,883
4
4
  examples/widgets/catalog_user/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ examples/widgets/catalog_user/get_asset_graph.py,sha256=vVJ3p30zU_jrQXqRFjUzs-XdRJWaaVSuFUsZSt_D4Cg,10561
6
+ examples/widgets/catalog_user/get_collection.py,sha256=JVf31zL01JH2k5gry4RF2zFCSyuYmu2TS2KuCmgxi7s,4353
5
7
  examples/widgets/catalog_user/list_assets.py,sha256=qZeNC86JjL1xQadnN8iNZYUpL0Q6o-uneELpMUb-JCg,5609
6
- examples/widgets/catalog_user/view_asset_graph.py,sha256=vVJ3p30zU_jrQXqRFjUzs-XdRJWaaVSuFUsZSt_D4Cg,10561
7
- examples/widgets/catalog_user/view_collection.py,sha256=JVf31zL01JH2k5gry4RF2zFCSyuYmu2TS2KuCmgxi7s,4353
8
- examples/widgets/catalog_user/view_glossary.py,sha256=j5rc31aYDAWHwj-f6ScZb2eJvfJlN7Xltjp31GQ2RoY,5116
8
+ examples/widgets/catalog_user/list_glossary.py,sha256=j5rc31aYDAWHwj-f6ScZb2eJvfJlN7Xltjp31GQ2RoY,5116
9
9
  examples/widgets/developer/README.md,sha256=nxDnfr3BCiGgW5G1VxWxiwUWJXIe5wreNuUeRyIt_hY,1343
10
10
  examples/widgets/developer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  examples/widgets/developer/get_guid_info.py,sha256=Ci58hIFUDWY8z_yHIN7fghGs6VM410_8-iaMRcbeThc,3593
@@ -20,37 +20,37 @@ examples/widgets/operational/README.md,sha256=PJsSDcvMv6E6og6y-cwvxFX5lhCII0UCwg
20
20
  examples/widgets/operational/__init__.py,sha256=8ebdyTD7i-XXyZr0vDx6jnXalE6QjhCvu7n6YXxwgL0,112
21
21
  examples/widgets/operational/get_tech_type_elements.py,sha256=_wSZOShJ17kuMlgh8xC-iAzByi1A0JeB4cmEiAL87M0,5846
22
22
  examples/widgets/operational/get_tech_type_template.py,sha256=qIb-JYcoI_YR7NHUKH7TSdq56QI1H4QuyqWTvldNKNo,5866
23
+ examples/widgets/operational/monitor_asset_events.py,sha256=u9kNtkdVxOwi1LYYlaKup_fG5b2vJj8zdF74mvEHGek,3686
24
+ examples/widgets/operational/monitor_coco_status.py,sha256=QloMgVcXL2Fx2XHyk71PKCwmzRfc_Q_cAvpyomcYi_Y,3322
25
+ examples/widgets/operational/monitor_eng_action_status.py,sha256=HgqdUKv4twOJiybtJ-Dj9p5w-U6tlUJ0V2e4E6JIxYY,7527
26
+ examples/widgets/operational/monitor_gov_eng_status.py,sha256=6HI_cp_cOPptWYQ5WMoDdWctwwfzTqYLmJMOoIGb6ec,4543
27
+ examples/widgets/operational/monitor_integ_daemon_status.py,sha256=WJKqdQcWrW9R_OGD5lj34-4oQFOt8mVlPGONIp17kj0,7172
28
+ examples/widgets/operational/monitor_platform_status.py,sha256=xjTgRIj9JvUWQ5BVAp7qmyS5fSxa6MnfY3SWHsuWx6w,5700
29
+ examples/widgets/operational/monitor_server_list.py,sha256=nOPeMjUAxMqfv0aq5zZtgkKa5Yqo6wXdC3nImQQNRmI,4317
30
+ examples/widgets/operational/monitor_server_status.py,sha256=rjVMacuwTLwKZ_bmZ_2TkyZTY2QpiMRZM3MCX3ERHMc,4016
23
31
  examples/widgets/operational/refresh_integration_daemon.py,sha256=21QRNrfD6y1qFQhrgNxuF7GqJqgUdgvJz_UQDFvGPSA,2289
24
- examples/widgets/operational/view_asset_events.py,sha256=u9kNtkdVxOwi1LYYlaKup_fG5b2vJj8zdF74mvEHGek,3686
25
- examples/widgets/operational/view_coco_status.py,sha256=QloMgVcXL2Fx2XHyk71PKCwmzRfc_Q_cAvpyomcYi_Y,3322
26
- examples/widgets/operational/view_eng_action_status.py,sha256=Qj3ySRG58rsYFyFzgyxsHUMLclSMG3Qn3WQG2ERknMs,6108
27
- examples/widgets/operational/view_gov_eng_status.py,sha256=6HI_cp_cOPptWYQ5WMoDdWctwwfzTqYLmJMOoIGb6ec,4543
28
- examples/widgets/operational/view_integ_daemon_status.py,sha256=WJKqdQcWrW9R_OGD5lj34-4oQFOt8mVlPGONIp17kj0,7172
29
- examples/widgets/operational/view_platform_status.py,sha256=xjTgRIj9JvUWQ5BVAp7qmyS5fSxa6MnfY3SWHsuWx6w,5700
30
- examples/widgets/operational/view_server_list.py,sha256=nOPeMjUAxMqfv0aq5zZtgkKa5Yqo6wXdC3nImQQNRmI,4317
31
- examples/widgets/operational/view_server_status.py,sha256=rjVMacuwTLwKZ_bmZ_2TkyZTY2QpiMRZM3MCX3ERHMc,4016
32
32
  examples/widgets/personal_organizer/README.md,sha256=ZheFhj_VoPMhcWjW3pGchHB0vH_A9PklSmrSkzKdrcQ,844
33
33
  examples/widgets/personal_organizer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
34
- examples/widgets/personal_organizer/get_my_profile.py,sha256=Xt2anVXadJdJDgmCJEb0I_rRfcZ44mMM0ltRrA9KZJM,4843
34
+ examples/widgets/personal_organizer/list_my_profile.py,sha256=Xt2anVXadJdJDgmCJEb0I_rRfcZ44mMM0ltRrA9KZJM,4843
35
35
  examples/widgets/personal_organizer/list_projects.py,sha256=AYCvKnxYKInRIB2FIFax0kjUH4zyZhKoV2vefgPmwVo,6070
36
36
  examples/widgets/personal_organizer/list_todos.py,sha256=55mUAx1hCANh2WGeDT54ByXiN3VTWXGKtdx-P4TopWQ,5244
37
- examples/widgets/personal_organizer/view_my_todos.py,sha256=oIWmIObQSOizGE0Z-lYRzPUBr2MSFDHhC-BUvyoMseY,6052
38
- examples/widgets/personal_organizer/view_open_todos.py,sha256=TLXpRpkJrTxz87_2KHZDlPbJNWXGO4wRouSQM9pVuw4,5093
37
+ examples/widgets/personal_organizer/monitor_my_todos.py,sha256=oIWmIObQSOizGE0Z-lYRzPUBr2MSFDHhC-BUvyoMseY,6052
38
+ examples/widgets/personal_organizer/monitor_open_todos.py,sha256=TLXpRpkJrTxz87_2KHZDlPbJNWXGO4wRouSQM9pVuw4,5093
39
39
  pyegeria/Xfeedback_manager_omvs.py,sha256=uNQMOPG08UyIuLzBfYt4uezDyLWdpBgJ2ZuvqumaWuY,9231
40
40
  pyegeria/Xloaded_resources_omvs.py,sha256=cseWZTIwNhkzhZ0fhujI66DslNAQcjuwsz_p1GRmSPQ,3392
41
- pyegeria/__init__.py,sha256=72sGnO8QB_Wl1O6o_tvucIHbX4xnw0_i2s7v7-dVemE,7386
41
+ pyegeria/__init__.py,sha256=ycGqwG_Y_2OJdExYLGU8ffBBoZOw6NuiktLZIn7j-P0,6939
42
42
  pyegeria/_client.py,sha256=mTK3qqaxwrwn4OiIKZkSkMVEsHPJsHxKmfz1LK_FgEg,26308
43
43
  pyegeria/_deprecated_gov_engine.py,sha256=_DAEHsksnTKGqL9-TaaMVrfnNOrvatNACfg7pJ-ZX4w,17600
44
44
  pyegeria/_exceptions.py,sha256=NJ7vAhmvusK1ENvY2MMrBB6A6TgpYjzS9QJxFH56b8c,18470
45
45
  pyegeria/_globals.py,sha256=DF6851qHPpoDrY4w5JGmT-8zmMfVXf9MMG6nKlu-BYM,616
46
46
  pyegeria/_validators.py,sha256=DQuMsATRGxGSBtOrVtXlCgWXGhj6Nh-uqPtCsrUGLxk,12703
47
47
  pyegeria/action_author_omvs.py,sha256=m0wsfmyO-VxRDaPpACeIDw8eVAFu3RVbo45RPCUel9M,6340
48
- pyegeria/asset_catalog_omvs.py,sha256=4yF_m2xrdGQeMlwuPKvpsPT9iaEkt1Ykd5zg6TeazZA,25918
49
- pyegeria/automated_curation_omvs.py,sha256=FItUnLGeb77lfFI0cXSV5AVsdg-yBXZdbRmLurz85r4,121359
48
+ pyegeria/asset_catalog_omvs.py,sha256=oQ8ThJOiIXfgmlT6I9RwxvBDCpkK0EZGcACJNatzzlQ,25900
49
+ pyegeria/automated_curation_omvs.py,sha256=7mBOXnq06zf1TB3vzo2FPUw2GRLZKKYT2MDQkPxDokk,121332
50
50
  pyegeria/collection_manager_omvs.py,sha256=IyGCbqx2Blm0OwCsC2071EeoNWHXyWGl_6pEtacizAs,112642
51
51
  pyegeria/core_guids.py,sha256=JKziCsKhklbWRramQ0orRMNTudJXYB721a32TJegBl4,4320
52
52
  pyegeria/core_omag_server_config.py,sha256=16ld7aBTgO3gGhvFs-_yzwqPsatdCAiKYi005_2evZU,93096
53
- pyegeria/create_tech_guid_lists.py,sha256=re7FL8UUf4v8eQ96ChRAQrQnvuiCRIuHEsolrPX_0Fk,3035
53
+ pyegeria/create_tech_guid_lists.py,sha256=7BT02Nt7Vo4O71UelHtFx90-JJR4gIbCMAwAvdHCQ2I,3340
54
54
  pyegeria/full_omag_server_config.py,sha256=l4G0oM6l-axosYACypqNqzkF6wELzs9FgKJwvDMF0Fc,45817
55
55
  pyegeria/glossary_browser_omvs.py,sha256=nUCDSQ8cw8vuYgjfcaj1zLIefVI5j51evxPyXCIc4X8,101716
56
56
  pyegeria/glossary_manager_omvs.py,sha256=AyTNBeOwa7ISOkpjzHHEtpiFzFo0ykcEQ525h_wqfMM,133328
@@ -62,8 +62,8 @@ pyegeria/runtime_manager_omvs.py,sha256=WekK7Yeyn6Qu9YmbSDo3m57MN0xOsIm9M8kGHfRO
62
62
  pyegeria/server_operations.py,sha256=5AhT2gUQwFjbwFOK3d1s1Xc0x8J1FGBdl6xQrLCsJ34,16534
63
63
  pyegeria/utils.py,sha256=f8isUaKDy-GJxhwswWgP_bw6q1CUzBUNVcCtin8N1cA,5433
64
64
  pyegeria/valid_metadata_omvs.py,sha256=aisdRodIwJSkyArAzfm_sEnBELh69xE8k4Nea-vHu8M,36745
65
- pyegeria-0.5.6.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
66
- pyegeria-0.5.6.1.dist-info/METADATA,sha256=9EXGMy6PLEMxfQbHAtWCdmomq2LYeFnj37nkPPduYak,2611
67
- pyegeria-0.5.6.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
68
- pyegeria-0.5.6.1.dist-info/entry_points.txt,sha256=WgNY6OkZlWQ5uwE_qtyfVyuOX-dnOKyH0cW2JlKRIJ0,2038
69
- pyegeria-0.5.6.1.dist-info/RECORD,,
65
+ pyegeria-0.5.6.2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
66
+ pyegeria-0.5.6.2.dist-info/METADATA,sha256=UUt31IVPBbfHMFAogrrBW6Y9Yskf27RaoskLTqOQAXI,2611
67
+ pyegeria-0.5.6.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
68
+ pyegeria-0.5.6.2.dist-info/entry_points.txt,sha256=vT_U01-puPptZXvUDlHAi4jpJCAn6qrDS0pClmOGjXI,2191
69
+ pyegeria-0.5.6.2.dist-info/RECORD,,
@@ -0,0 +1,31 @@
1
+ [console_scripts]
2
+ get_asset_graph=examples.widgets.catalog_user.get_asset_graph:main
3
+ get_collection=examples.widgets.catalog_user.get_collection:main
4
+ get_guid_info=examples.widgets.developer.get_guid_info:main
5
+ get_tech_details=examples.widgets.developer.get_tech_details:main
6
+ get_tech_type_elements=examples.widgets.operational.get_tech_type_elements:main
7
+ get_tech_type_template=examples.widgets.operational.get_tech_type_template:main
8
+ list_asset_types=examples.widgets.developer.list_asset_types:main
9
+ list_assets=examples.widgets.catalog_user.list_assets:main
10
+ list_eng_action_status=examples.widgets.operational.monitor_eng_action_status:main_paging
11
+ list_glossary=examples.widgets.catalog_user.list_glossary:main
12
+ list_my_profile=examples.widgets.personal_organizer.list_my_profile:main
13
+ list_projects=examples.widgets.personal_organizer.list_projects:main
14
+ list_registered_services=examples.widgets.developer.list_registered_services:main
15
+ list_relationship_types=examples.widgets.developer.list_relationship_types:main
16
+ list_tech_templates=examples.widgets.developer.list_tech_templates:main
17
+ list_tech_types=examples.widgets.developer.list_tech_types:main
18
+ list_todos=examples.widgets.personal_organizer.list_todos:main
19
+ list_valid_metadata_values=examples.widgets.developer.list_valid_metadata_values:main
20
+ monitor_asset_events=examples.widgets.operational.monitor_asset_events:main
21
+ monitor_coco_status=examples.widgets.operational.monitor_coco_status:main
22
+ monitor_eng_action_status=examples.widgets.operational.monitor_eng_action_status:main_live
23
+ monitor_gov_eng_status=examples.widgets.operational.monitor_gov_eng_status:main
24
+ monitor_integ_daemon_status=examples.widgets.operational.monitor_integ_daemon_status:main
25
+ monitor_my_todos=examples.widgets.personal_organizer.monitor_my_todos:main
26
+ monitor_open_todos=examples.widgets.personal_organizer.monitor_open_todos:main
27
+ monitor_platform_status=examples.widgets.operational.monitor_platform_status:main
28
+ monitor_server_list=examples.widgets.operational.monitor_server_list:main
29
+ monitor_server_status=examples.widgets.operational.monitor_server_status:main
30
+ refresh_integration_daemon=examples.widgets.operational.refresh_integration_daemon:main
31
+
@@ -1,30 +0,0 @@
1
- [console_scripts]
2
- get_guid_info=examples.widgets.developer.get_guid_info:main
3
- get_my_profile=examples.widgets.personal_organizer.get_my_profile:main
4
- get_tech_details=examples.widgets.developer.get_tech_details:main
5
- get_tech_type_elements=examples.widgets.operational.get_tech_type_elements:main
6
- get_tech_type_template=examples.widgets.operational.get_tech_type_template:main
7
- list_asset_types=examples.widgets.developer.list_asset_types:main
8
- list_assets=examples.widgets.catalog_user.list_assets:main
9
- list_projects=examples.widgets.personal_organizer.list_projects:main
10
- list_registered_services=examples.widgets.developer.list_registered_services:main
11
- list_relationship_types=examples.widgets.developer.list_relationship_types:main
12
- list_tech_templates=examples.widgets.developer.list_tech_templates:main
13
- list_tech_types=examples.widgets.developer.list_tech_types:main
14
- list_todos=examples.widgets.personal_organizer.list_todos:main
15
- list_valid_metadata_values=examples.widgets.developer.list_valid_metadata_values:main
16
- refresh_integration_daemon=examples.widgets.operational.refresh_integration_daemon:main
17
- view_asset_events=examples.widgets.operational.view_asset_events:main
18
- view_asset_graph=examples.widgets.catalog_user.view_asset_graph:main
19
- view_coco_status=examples.widgets.operational.view_coco_status:main
20
- view_collection=examples.widgets.catalog_user.view_collection:main
21
- view_eng_action_status=examples.widgets.operational.view_eng_action_status:main
22
- view_glossary=examples.widgets.catalog_user.view_glossary:main
23
- view_gov_eng_status=examples.widgets.operational.view_gov_eng_status:main
24
- view_integ_daemon_status=examples.widgets.operational.view_integ_daemon_status:main
25
- view_my_todos=examples.widgets.personal_organizer.view_my_todos:main
26
- view_open_todos=examples.widgets.personal_organizer.view_open_todos:main
27
- view_platform_status=examples.widgets.operational.view_platform_status:main
28
- view_server_list=examples.widgets.operational.view_server_list:main
29
- view_server_status=examples.widgets.operational.view_server_status:main
30
-