pyegeria 0.5.5.9__py3-none-any.whl → 0.5.5.11__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.
@@ -51,7 +51,7 @@ def display_integration_daemon_status(integ_server: str, integ_url: str,
51
51
  table.add_column("Connector Status")
52
52
 
53
53
  table.add_column("Last Refresh Time")
54
- table.add_column("Min Refresh (min)")
54
+ table.add_column("Min Refresh (mins)")
55
55
  table.add_column("Target Element")
56
56
  table.add_column("Exception Message")
57
57
 
@@ -57,7 +57,7 @@ class LoadedResources(Client):
57
57
  Client.__init__(self, server_name, platform_url,
58
58
  user_id, user_pwd, verify_flag)
59
59
 
60
- def get_all_templates(self, server: str = None, start_from: int = 0, page_size: int = 0) -> list | str:
60
+ def get_all_templates(self, server: str = None, start_from: int = 0, page_size: int = max_paging_size) -> list | str:
61
61
  """ Get Loaded templates for the Server.
62
62
 
63
63
  Parameters
@@ -89,3 +89,4 @@ class LoadedResources(Client):
89
89
  return response.json().get("elementList", "No elements")
90
90
 
91
91
  # def get_all_assets_in_archives(self, asset_type: str = None, archive_id: str = None, server: str= None, page_start:int = 0, page_size = max_paging_size):
92
+
pyegeria/core_guids.py CHANGED
@@ -13,7 +13,7 @@ CSV_DATA_FILE_TEMPLATE_GUID = '13770F93-13C8-42BE-9BB8-E0B1B1E52B1F'
13
13
 
14
14
  KEYSTORE_FILE_TEMPLATE_GUID = 'FBCFCC0C-1652-421F-B49B-C3E1C108768F'
15
15
 
16
- OSS_UNITY_CATALOG_FUNCTION_TEMPLATE_GUID = '4AE9F6DF-4678-4B0A-A492-4A982C8397FD'
16
+ OSS_UNITY_CATALOG_FUNCTION_TEMPLATE_GUID = '5B72BD18-665D-4696-8EBB-F6D0885312E2'
17
17
 
18
18
  DATA_FILE_TEMPLATE_GUID = '66D8DDA9-00CF-4E59-938C-4B0583596B1E'
19
19
 
@@ -23,7 +23,7 @@ ARCHIVE_FILE_TEMPLATE_GUID = '7578E504-D00F-406D-A194-3FC0A351CDF9'
23
23
 
24
24
  POSTGRESQL_RELATIONAL_DATABASE_TEMPLATE_GUID = '3D398B3F-7AE6-4713-952A-409F3DEA8520'
25
25
 
26
- OSS_UNITY_CATALOG_VOLUME_TEMPLATE_GUID = '384386BA-83C0-4981-8553-4306AECE440F'
26
+ OSS_UNITY_CATALOG_VOLUME_TEMPLATE_GUID = 'DFC0C928-0DB3-4EB4-A1F0-0760DAB168C5'
27
27
 
28
28
  PROGRAM_FILE_TEMPLATE_GUID = '32D27E9C-1FDF-455A-AD2A-42B4D7D99108'
29
29
 
@@ -55,7 +55,7 @@ VECTOR_DATA_FILE_TEMPLATE_GUID = 'DB1BEC7F-55A9-40D3-91C0-A57B76D422E2'
55
55
 
56
56
  APACHE_KAFKA_SERVER_TEMPLATE_GUID = '5E1FF810-5418-43F7-B7C4-E6E062F9AFF7'
57
57
 
58
- OSS_UNITY_CATALOG_SCHEMA_TEMPLATE_GUID = 'A75CFB07-31FE-457E-9298-BE145DC93071'
58
+ OSS_UNITY_CATALOG_SCHEMA_TEMPLATE_GUID = 'D68F5AA3-152E-40FA-8C16-E73DB8D925D6'
59
59
 
60
60
  EXECUTABLE_FILE_TEMPLATE_GUID = '3D99A163-7A13-4576-A212-784010A8302A'
61
61
 
@@ -69,6 +69,8 @@ OSS_UNITY_CATALOG_SERVER_TEMPLATE_GUID = '1077A346-7A50-4CB0-A795-B219BAFAABF6'
69
69
 
70
70
  APPLE_MACBOOK_PRO_TEMPLATE_GUID = '32A9FD56-85C9-47FE-A211-9DA3871BF4DA'
71
71
 
72
+ OSS_UNITY_CATALOG_TABLE_TEMPLATE_GUID = 'CB34184B-D6A9-4A27-9FD2-EA4C78978F9F'
73
+
72
74
  BUILD_INSTRUCTION_FILE_TEMPLATE_GUID = 'FBB2FA2E-8BCB-402E-9BE7-5C6DB9F2C504'
73
75
 
74
76
  SPREADSHEET_DATA_FILE_TEMPLATE_GUID = 'E4FABFF5-2BA9-4050-9076-6ED917970B4C'
@@ -83,8 +85,6 @@ ENGINE_HOST_TEMPLATE_GUID = '1764A891-4234-45F1-8CC3-536AF40C790D'
83
85
 
84
86
  AVRO_DATA_FILE_TEMPLATE_GUID = '9F5BE428-058E-41DD-B506-3A222283B579'
85
87
 
86
- OSS_UNITY_CATALOG_TABLE_TEMPLATE_GUID = 'F5B12348-92AC-4A52-B8E0-B06CF215484E'
87
-
88
88
  FILE_TEMPLATE_GUID = 'AE3067C7-CC72-4A18-88E1-746803C2C86F'
89
89
 
90
90
  APACHE_KAFKA_TOPIC_TEMPLATE_GUID = 'EA8F81C9-C59C-47DE-9525-7CC59D1251E5'
@@ -103,9 +103,13 @@ OMAG_SERVER_PLATFORM_TEMPLATE_GUID = '9B06C4DC-DDC8-47AE-B56B-28775D3A96F0'
103
103
  # Integration Connector GUIDS
104
104
  #
105
105
 
106
+
107
+
108
+ JDBC_Relational_Database_Integration_Connector_GUID = '70dcd0b7-9f06-48ad-ad44-ae4d7a7762aa'
109
+
106
110
  PostgreSQL_Relational_Database_Integration_Connector_GUID = '70dcd0b7-9f06-48ad-ad44-ae4d7a7762aa'
107
111
 
108
- Landing_Area_File_Monitor_Integration_Connector_GUID = '1b98cdac-dd0a-4621-93db-99ef5a1098bc'
112
+ FileFolder_Integration_Connector_GUID = '1b98cdac-dd0a-4621-93db-99ef5a1098bc'
109
113
 
110
114
  FileFolder_Integration_Connector_GUID = 'cd6479e1-2fe7-4426-b358-8a0cf70be117'
111
115
 
@@ -86,7 +86,7 @@ class ServerOps(Platform):
86
86
  #
87
87
  # Archive Files
88
88
  #
89
- async def _async_add_archive_file(self, archive_file: str, server: str = None) -> None:
89
+ async def _async_add_archive_file(self, archive_file: str, server: str = None, timeout: int = 30) -> None:
90
90
  """
91
91
  Load the server with the contents of the indicated archive file.
92
92
 
@@ -95,7 +95,7 @@ class ServerOps(Platform):
95
95
  archive_file: the name of the archive file to load
96
96
  - note that the path is relative to the working directory of the platform.
97
97
  server : Use the server if specified. If None, use the default server associated with the Platform object.
98
-
98
+ timeout: Timeout in seconds. Defaults to 30 seconds.
99
99
  Returns
100
100
  -------
101
101
  Response object. Also throws exceptions if no viable server or endpoint errors
@@ -110,9 +110,9 @@ class ServerOps(Platform):
110
110
  + "/instance/open-metadata-archives/file"
111
111
  )
112
112
 
113
- await self._async_make_request("POST-DATA", url, archive_file)
113
+ await self._async_make_request("POST-DATA", url, archive_file, time_out=timeout)
114
114
 
115
- def add_archive_file(self, archive_file: str, server: str = None) -> None:
115
+ def add_archive_file(self, archive_file: str, server: str = None, timeout:int = 30) -> None:
116
116
  """
117
117
  Load the server with the contents of the indicated archive file.
118
118
 
@@ -121,6 +121,7 @@ class ServerOps(Platform):
121
121
  archive_file: the name of the archive file to load
122
122
  - note that the path is relative to the working directory of the platform.
123
123
  server : Use the server if specified. If None, use the default server associated with the Platform object.
124
+ timeout: Timeout in seconds. Defaults to 30 seconds.
124
125
 
125
126
  Returns
126
127
  -------
@@ -128,7 +129,7 @@ class ServerOps(Platform):
128
129
 
129
130
  """
130
131
  loop = asyncio.get_event_loop()
131
- loop.run_until_complete(self._async_add_archive_file(archive_file, server))
132
+ loop.run_until_complete(self._async_add_archive_file(archive_file, server, timeout))
132
133
 
133
134
  async def _async_add_archive(self, archive_connection: str, server: str = None) -> None:
134
135
  """ Load the server with the contents of the indicated archive file.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyegeria
3
- Version: 0.5.5.9
3
+ Version: 0.5.5.11
4
4
  Summary: A python client for Egeria
5
5
  Home-page: https://github.com/odpi/egeria-python
6
6
  License: Apache 2.0
@@ -24,7 +24,7 @@ examples/widgets/operational/view_asset_events.py,sha256=rQoti3barirB2hdKl9Sm2li
24
24
  examples/widgets/operational/view_coco_status.py,sha256=QloMgVcXL2Fx2XHyk71PKCwmzRfc_Q_cAvpyomcYi_Y,3322
25
25
  examples/widgets/operational/view_eng_action_status.py,sha256=sCkQh5XRDq0u6ZObxmUA0-wUhUoVMdV6_ho_d4PAdqw,4973
26
26
  examples/widgets/operational/view_gov_eng_status.py,sha256=rcZv82l7q8jccUVIb-K2vazQorcKP86SAtES0--SQns,3998
27
- examples/widgets/operational/view_integ_daemon_status.py,sha256=UUeHq55eFo4Amzgk_tU4h3IL2xh1sl2Xt7DR0PvnIHU,5859
27
+ examples/widgets/operational/view_integ_daemon_status.py,sha256=AhI6bJ7u3JBYUMBSg-foRQPXuB9W3tp-3mc7QFfKtT4,5860
28
28
  examples/widgets/operational/view_platform_status.py,sha256=lqZnObLgJ0qf8hdcRwETXTGd8A8FbFc-rg_ckg86GfE,4457
29
29
  examples/widgets/operational/view_server_list.py,sha256=j1V5RJ8kwGkyQO8nbygtD5W-85TVO4TsR3SbnKD2eDM,3125
30
30
  examples/widgets/operational/view_server_status.py,sha256=slooQbjhdbTdRXZcRCHbZGUBtlHCO61xHa1J1P-iRKE,2826
@@ -36,7 +36,7 @@ examples/widgets/personal_organizer/list_todos.py,sha256=selzDcncGluu8Q3UYRa7Y3O
36
36
  examples/widgets/personal_organizer/view_my_todos.py,sha256=7MGGoxWeoBOuUSsFgu0nlDypJh35n0uruk-IHNsCclA,5497
37
37
  examples/widgets/personal_organizer/view_open_todos.py,sha256=W_C1yT8usJV9E5BTQP7UeA1ISuDUanszqlWf75mtLZk,3995
38
38
  pyegeria/Xfeedback_manager_omvs.py,sha256=uNQMOPG08UyIuLzBfYt4uezDyLWdpBgJ2ZuvqumaWuY,9231
39
- pyegeria/Xloaded_resources_omvs.py,sha256=_1RKeIfq3ga6nvtOzZ5dWcDFgxNiUOPJhnyMv1iCm9s,3377
39
+ pyegeria/Xloaded_resources_omvs.py,sha256=cseWZTIwNhkzhZ0fhujI66DslNAQcjuwsz_p1GRmSPQ,3392
40
40
  pyegeria/__init__.py,sha256=xKCym7qw9_KF32reDysCFxfWt0mIyhTZKNrLFazfCXs,2059
41
41
  pyegeria/_client.py,sha256=uQqfjf0JPacEWcDvbKpCvCypbDmAmGHaFQf_UTPK7VQ,23524
42
42
  pyegeria/_deprecated_gov_engine.py,sha256=_DAEHsksnTKGqL9-TaaMVrfnNOrvatNACfg7pJ-ZX4w,17600
@@ -47,7 +47,7 @@ pyegeria/action_author_omvs.py,sha256=m0wsfmyO-VxRDaPpACeIDw8eVAFu3RVbo45RPCUel9
47
47
  pyegeria/asset_catalog_omvs.py,sha256=Y-Eh0k-zkJNOChVlLbC2bsTSBVLWhk-0-ewCV4YlyDY,25802
48
48
  pyegeria/automated_curation_omvs.py,sha256=XPi0vO8hZTzx_qZ5yZ2FrJH28q3A2i0yByJ0hC7gWjE,118268
49
49
  pyegeria/collection_manager_omvs.py,sha256=IyGCbqx2Blm0OwCsC2071EeoNWHXyWGl_6pEtacizAs,112642
50
- pyegeria/core_guids.py,sha256=Cv5L3V_IzjHAw6ttGRlNXcrOgKdZdEbhCB1XaOZYYYE,4237
50
+ pyegeria/core_guids.py,sha256=7LqHojc3QAVnXypX7BqZ0OyNY9GOzFgg0yVzUQOb39k,4318
51
51
  pyegeria/core_omag_server_config.py,sha256=16ld7aBTgO3gGhvFs-_yzwqPsatdCAiKYi005_2evZU,93096
52
52
  pyegeria/full_omag_server_config.py,sha256=l4G0oM6l-axosYACypqNqzkF6wELzs9FgKJwvDMF0Fc,45817
53
53
  pyegeria/glossary_browser_omvs.py,sha256=nUCDSQ8cw8vuYgjfcaj1zLIefVI5j51evxPyXCIc4X8,101716
@@ -57,11 +57,11 @@ pyegeria/platform_services.py,sha256=T2UiAl7tPfOBGL_H2b73XyyHtR0Y36irgbaljZTjD4I
57
57
  pyegeria/project_manager_omvs.py,sha256=_U6m2vquu4eEV7aY8X3hsvfm2zX0EBica1reGWX9amY,77078
58
58
  pyegeria/registered_info.py,sha256=GfMcYz3IO0aNquf8qCrYQ9cA5KplhPx1kNt0_nMMpTM,6475
59
59
  pyegeria/runtime_manager_omvs.py,sha256=WekK7Yeyn6Qu9YmbSDo3m57MN0xOsIm9M8kGHfROZHI,37628
60
- pyegeria/server_operations.py,sha256=YBdQJjPOmA1uhrUvzrjUKNGUc5nju9bhvCjF3AbdyWk,16164
60
+ pyegeria/server_operations.py,sha256=hEaU6YC0iNEQFvcXYvcE4J6BQKlqMJk33nViCNIEBE4,16349
61
61
  pyegeria/utils.py,sha256=R1_WwYa8sYJUYR0H8sKrlwEa5BJ32M8-tdfB-zq8Xs4,5282
62
62
  pyegeria/valid_metadata_omvs.py,sha256=aisdRodIwJSkyArAzfm_sEnBELh69xE8k4Nea-vHu8M,36745
63
- pyegeria-0.5.5.9.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
64
- pyegeria-0.5.5.9.dist-info/METADATA,sha256=F9fBcznUXLLYGlR-VUB4cQOyRchHRd9vdtt7qCx5BPQ,2611
65
- pyegeria-0.5.5.9.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
66
- pyegeria-0.5.5.9.dist-info/entry_points.txt,sha256=yR22RzRO974vzRMeo7_ysc-_5pxHmgnvyk8FHTZviOw,1950
67
- pyegeria-0.5.5.9.dist-info/RECORD,,
63
+ pyegeria-0.5.5.11.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
64
+ pyegeria-0.5.5.11.dist-info/METADATA,sha256=wdubfbnpuFDtEDCvBAoxRAlWXi7es7gCQpCpv9UcKJ0,2612
65
+ pyegeria-0.5.5.11.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
66
+ pyegeria-0.5.5.11.dist-info/entry_points.txt,sha256=yR22RzRO974vzRMeo7_ysc-_5pxHmgnvyk8FHTZviOw,1950
67
+ pyegeria-0.5.5.11.dist-info/RECORD,,