pyegeria 0.5.5.14__tar.gz → 0.5.5.16__tar.gz

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 (66) hide show
  1. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/PKG-INFO +1 -1
  2. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/developer/get_tech_details.py +4 -6
  3. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/operational/get_tech_type_elements.py +1 -5
  4. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/operational/get_tech_type_template.py +1 -5
  5. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/operational/view_gov_eng_status.py +1 -22
  6. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/pyegeria/automated_curation_omvs.py +2 -2
  7. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/pyproject.toml +1 -1
  8. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/LICENSE +0 -0
  9. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/README.md +0 -0
  10. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/doc_samples/Create_Collection_Sample.py +0 -0
  11. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/doc_samples/Create_Sustainability_Collection_Sample.py +0 -0
  12. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/catalog_user/README.md +0 -0
  13. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/catalog_user/__init__.py +0 -0
  14. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/catalog_user/list_assets.py +0 -0
  15. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/catalog_user/view_asset_graph.py +0 -0
  16. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/catalog_user/view_collection.py +0 -0
  17. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/catalog_user/view_glossary.py +0 -0
  18. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/developer/README.md +0 -0
  19. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/developer/__init__.py +0 -0
  20. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/developer/get_guid_info.py +0 -0
  21. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/developer/list_asset_types.py +0 -0
  22. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/developer/list_registered_services.py +0 -0
  23. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/developer/list_relationship_types.py +0 -0
  24. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/developer/list_tech_templates.py +0 -0
  25. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/developer/list_tech_types.py +0 -0
  26. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/developer/list_valid_metadata_values.py +0 -0
  27. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/operational/README.md +0 -0
  28. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/operational/__init__.py +0 -0
  29. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/operational/view_asset_events.py +0 -0
  30. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/operational/view_coco_status.py +0 -0
  31. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/operational/view_eng_action_status.py +0 -0
  32. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/operational/view_integ_daemon_status.py +0 -0
  33. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/operational/view_platform_status.py +0 -0
  34. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/operational/view_server_list.py +0 -0
  35. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/operational/view_server_status.py +0 -0
  36. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/personal_organizer/README.md +0 -0
  37. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/personal_organizer/__init__.py +0 -0
  38. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/personal_organizer/get_my_profile.py +0 -0
  39. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/personal_organizer/list_projects.py +0 -0
  40. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/personal_organizer/list_todos.py +0 -0
  41. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/personal_organizer/view_my_todos.py +0 -0
  42. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/examples/widgets/personal_organizer/view_open_todos.py +0 -0
  43. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/pyegeria/Xfeedback_manager_omvs.py +0 -0
  44. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/pyegeria/Xloaded_resources_omvs.py +0 -0
  45. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/pyegeria/__init__.py +0 -0
  46. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/pyegeria/_client.py +0 -0
  47. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/pyegeria/_deprecated_gov_engine.py +0 -0
  48. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/pyegeria/_exceptions.py +0 -0
  49. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/pyegeria/_globals.py +0 -0
  50. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/pyegeria/_validators.py +0 -0
  51. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/pyegeria/action_author_omvs.py +0 -0
  52. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/pyegeria/asset_catalog_omvs.py +0 -0
  53. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/pyegeria/collection_manager_omvs.py +0 -0
  54. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/pyegeria/core_guids.py +0 -0
  55. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/pyegeria/core_omag_server_config.py +0 -0
  56. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/pyegeria/full_omag_server_config.py +0 -0
  57. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/pyegeria/glossary_browser_omvs.py +0 -0
  58. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/pyegeria/glossary_manager_omvs.py +0 -0
  59. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/pyegeria/my_profile_omvs.py +0 -0
  60. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/pyegeria/platform_services.py +0 -0
  61. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/pyegeria/project_manager_omvs.py +0 -0
  62. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/pyegeria/registered_info.py +0 -0
  63. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/pyegeria/runtime_manager_omvs.py +0 -0
  64. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/pyegeria/server_operations.py +0 -0
  65. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/pyegeria/utils.py +0 -0
  66. {pyegeria-0.5.5.14 → pyegeria-0.5.5.16}/pyegeria/valid_metadata_omvs.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyegeria
3
- Version: 0.5.5.14
3
+ Version: 0.5.5.16
4
4
  Summary: A python client for Egeria
5
5
  Home-page: https://github.com/odpi/egeria-python
6
6
  License: Apache 2.0
@@ -8,6 +8,8 @@ A simple viewer for collections - provide the root and we display the hierarchy
8
8
  """
9
9
 
10
10
  import argparse
11
+ import asyncio
12
+ import nest_asyncio
11
13
 
12
14
  from rich import print
13
15
  from rich.panel import Panel
@@ -21,14 +23,10 @@ from pyegeria._exceptions import (
21
23
  print_exception_response,
22
24
  )
23
25
 
26
+ nest_asyncio.apply()
24
27
  console = Console()
25
28
  disable_ssl_warnings = True
26
29
 
27
- platform = "https://127.0.0.1:9443"
28
- user = "erinoverview"
29
- view_server = "view-server"
30
-
31
-
32
30
  def tech_viewer(tech: str, server_name:str, platform_url:str, user:str):
33
31
 
34
32
  def view_tech_details(a_client: AutomatedCuration, root_collection_name: str, tree: Tree) -> Tree:
@@ -75,7 +73,7 @@ def tech_viewer(tech: str, server_name:str, platform_url:str, user:str):
75
73
 
76
74
  try:
77
75
  tree = Tree(f"[bold bright green]{tech}", guide_style="bold bright_blue")
78
- a_client = AutomatedCuration(view_server, platform,
76
+ a_client = AutomatedCuration(server_name, platform_url,
79
77
  user_id=user)
80
78
 
81
79
  token = a_client.create_egeria_bearer_token(user, "secret")
@@ -32,10 +32,6 @@ from rich import print
32
32
  disable_ssl_warnings = True
33
33
  console = Console(width=200)
34
34
 
35
- platform = "https://127.0.0.1:9443"
36
- user = "erinoverview"
37
- view_server = "view-server"
38
-
39
35
  guid_list = []
40
36
 
41
37
  def tech_viewer(tech_name: str, server_name:str, platform_url:str, user:str):
@@ -63,7 +59,7 @@ def tech_viewer(tech_name: str, server_name:str, platform_url:str, user:str):
63
59
 
64
60
  console = Console()
65
61
 
66
- a_client = AutomatedCuration(view_server, platform,
62
+ a_client = AutomatedCuration(server_name, platform_url,
67
63
  user_id=user)
68
64
 
69
65
  token = a_client.create_egeria_bearer_token(user, "secret")
@@ -26,10 +26,6 @@ from pyegeria import (
26
26
  disable_ssl_warnings = True
27
27
  console = Console(width=200)
28
28
 
29
- platform = "https://127.0.0.1:9443"
30
- user = "erinoverview"
31
- view_server = "view-server"
32
-
33
29
  guid_list = []
34
30
 
35
31
  def tech_viewer(tech_name: str, server_name:str, platform_url:str, user:str):
@@ -57,7 +53,7 @@ def tech_viewer(tech_name: str, server_name:str, platform_url:str, user:str):
57
53
 
58
54
  console = Console()
59
55
 
60
- a_client = AutomatedCuration(view_server, platform,
56
+ a_client = AutomatedCuration(server_name, platform_url,
61
57
  user_id=user)
62
58
 
63
59
  token = a_client.create_egeria_bearer_token(user, "secret")
@@ -28,28 +28,7 @@ from pyegeria.server_operations import ServerOps
28
28
 
29
29
  disable_ssl_warnings = True
30
30
 
31
- good_platform1_url = "https://127.0.0.1:9443"
32
- good_platform2_url = "https://egeria.pdr-associates.com:7443"
33
- bad_platform1_url = "https://localhost:9443"
34
-
35
- # good_platform1_url = "https://127.0.0.1:30080"
36
- # good_platform2_url = "https://127.0.0.1:30081"
37
- # bad_platform1_url = "https://localhost:9443"
38
-
39
- good_user_1 = "garygeeke"
40
- good_user_2 = "erinoverview"
41
- bad_user_1 = "eviledna"
42
- bad_user_2 = ""
43
-
44
- good_server_1 = "active-metadata-store"
45
- good_server_2 = "simple-metadata-store"
46
- good_server_3 = "engine-host"
47
- good_server_4 = "engine-host"
48
- bad_server_1 = "coco"
49
- bad_server_2 = ""
50
-
51
-
52
- def display_gov_actions_status(server: str = good_server_3, url: str = good_platform1_url, username: str = good_user_1):
31
+ def display_gov_actions_status(server: str, url: str, username: str):
53
32
  server_name = server
54
33
  s_client = ServerOps(server_name, url, username)
55
34
 
@@ -1546,7 +1546,7 @@ class AutomatedCuration(Client):
1546
1546
 
1547
1547
  async def _async_initiate_file_folder_survey(self, file_folder_guid: str,
1548
1548
  survey_name: str =
1549
- "Egeria:GovernanceActionType:AssetSurvey:survey-folder",
1549
+ "AssetSurvey:survey-folder",
1550
1550
  server: str = None) -> str:
1551
1551
  """ Initiate a file folder survey - async version
1552
1552
 
@@ -1639,7 +1639,7 @@ class AutomatedCuration(Client):
1639
1639
  f"initiate")
1640
1640
 
1641
1641
  body = {"class": "InitiateGovernanceActionTypeRequestBody",
1642
- "governanceActionTypeQualifiedName": "Egeria:GovernanceActionType:AssetSurvey:survey-data-file",
1642
+ "governanceActionTypeQualifiedName": "AssetSurvey:survey-data-file",
1643
1643
  "actionTargets": [
1644
1644
  {"class": "NewActionTarget", "actionTargetName": "fileToSurvey", "actionTargetGUID": file_guid}]}
1645
1645
  response = await self._async_make_request("POST", url, body)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pyegeria"
3
- version = "0.5.5.14"
3
+ version = "0.5.5.16"
4
4
  license = 'Apache 2.0'
5
5
  authors = ["Dan Wolfson <dan.wolfson@pdr-associates.com>"]
6
6
  readme = "README.md"
File without changes
File without changes