pyegeria 0.3.3__py3-none-any.whl → 0.3.5__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 (33) hide show
  1. pyegeria/__init__.py +3 -1
  2. pyegeria/automated_curation_omvs.py +15 -10
  3. pyegeria/collection_manager_omvs.py +2428 -0
  4. pyegeria/core_omag_server_config.py +15 -22
  5. pyegeria/full_omag_server_config.py +0 -1
  6. pyegeria/glossary_omvs.py +14 -2
  7. pyegeria/gov_engine.py +1 -8
  8. pyegeria/governance_author.py +2 -0
  9. pyegeria/my_profile_omvs.py +1 -1
  10. pyegeria/platform_services.py +2 -39
  11. pyegeria/project_manager_omvs.py +1689 -0
  12. pyegeria/registered_info.py +3 -1
  13. pyegeria/server_operations.py +2 -2
  14. pyegeria/valid_metadata_omvs.py +779 -0
  15. pyegeria-0.3.5.data/scripts/engine_action_status.py +145 -0
  16. pyegeria-0.3.5.data/scripts/find_todos.py +152 -0
  17. pyegeria-0.3.5.data/scripts/glossary_view.py +135 -0
  18. pyegeria-0.3.5.data/scripts/gov_engine_status.py +120 -0
  19. pyegeria-0.3.5.data/scripts/integration_daemon_status.py +130 -0
  20. pyegeria-0.3.5.data/scripts/list_asset_types.py +114 -0
  21. pyegeria-0.3.5.data/scripts/multi-server_status.py +120 -0
  22. pyegeria-0.3.5.data/scripts/my_todos.py +162 -0
  23. pyegeria-0.3.5.data/scripts/open_todos.py +140 -0
  24. pyegeria-0.3.5.data/scripts/server_status.py +105 -0
  25. pyegeria-0.3.5.data/scripts/server_status_widget.py +93 -0
  26. pyegeria-0.3.5.data/scripts/view_my_profile.py +140 -0
  27. {pyegeria-0.3.3.dist-info → pyegeria-0.3.5.dist-info}/METADATA +1 -1
  28. pyegeria-0.3.5.dist-info/RECORD +36 -0
  29. pyegeria/exceptions.py +0 -382
  30. pyegeria-0.3.3.dist-info/RECORD +0 -22
  31. {pyegeria-0.3.3.dist-info → pyegeria-0.3.5.dist-info}/LICENSE +0 -0
  32. {pyegeria-0.3.3.dist-info → pyegeria-0.3.5.dist-info}/WHEEL +0 -0
  33. {pyegeria-0.3.3.dist-info → pyegeria-0.3.5.dist-info}/top_level.txt +0 -0
@@ -24,31 +24,24 @@ from pyegeria._validators import (
24
24
  class CoreServerConfig(Client):
25
25
  """
26
26
  CoreServerConfig is a class that extends the Client class. It provides methods to configure and interact with access
27
- services in the OMAG server.
27
+ services in the OMAG server.
28
28
 
29
- Methods:
29
+ Attributes:
30
30
 
31
- - get_stored_configuration(server_name: str = None) -> dict:
32
- Retrieves all the configuration documents for a server.
31
+ server_name: str
32
+ The name of the OMAG server to configure.
33
+ platform_url : str
34
+ URL of the server platform to connect to
35
+ user_id : str
36
+ The identity of the user calling the method - this sets a default optionally used by the methods
37
+ when the user doesn't pass the user_id on a method call.
38
+ user_pwd: str
39
+ The password associated with the user_id. Defaults to None
40
+ verify_flag: bool
41
+ Flag to indicate if SSL Certificates should be verified in the HTTP requests.
42
+ Defaults to False.
33
43
 
34
- - get_configured_access_services(server_name: str = None) -> dict:
35
- Returns the list of access services that are configured for this server.
36
44
 
37
- - configure_all_access_services(server_name: str = None) -> None:
38
- Enables all access services that are registered with this server platform.
39
-
40
- - configure_all_access_services_no_topics(server_name: str = None) -> None:
41
- Configures all access services for the specified server with no cohort/Event Bus.
42
-
43
- - clear_all_access_services(server_name: str = None) -> None:
44
- Disables the access services. This removes all configuration for the access services and disables the
45
- enterprise repository services.
46
-
47
- - get_access_service_config(access_service_name: str, server_name: str = None) -> dict:
48
- Retrieves the config for an access service.
49
-
50
- - configure_access_service(access_service_name: str, server_name: str = None) -> None:
51
- Enables a single access service.
52
45
  """
53
46
 
54
47
  def __init__(
@@ -1725,7 +1718,7 @@ class CoreServerConfig(Client):
1725
1718
 
1726
1719
  return response.json().get("services", "No view services found")
1727
1720
 
1728
- def config_all_view_services(self, mdr_server_name: str,
1721
+ def __config_all_view_services(self, mdr_server_name: str,
1729
1722
  mdr_server_platform_root_url: str, server_name: str = None) -> None:
1730
1723
  """ Enable all view services that are registered with this OMAG server platform.
1731
1724
 
@@ -601,7 +601,6 @@ class FullServerConfig(CoreServerConfig):
601
601
 
602
602
  self.make_request("POST", url, target_url_root)
603
603
 
604
-
605
604
  def get_event_bus(self, server_name: str = None) -> dict:
606
605
  """ Returns the event bus configuration for the specified server
607
606
 
pyegeria/glossary_omvs.py CHANGED
@@ -26,8 +26,20 @@ class GlossaryBrowser(Client):
26
26
  GlossaryBrowser is a class that extends the Client class. It provides methods to search and retrieve glossaries,
27
27
  terms and categories.
28
28
 
29
- Methods:
30
-
29
+ Attributes:
30
+
31
+ server_name: str
32
+ The name of the View Server to connect to.
33
+ platform_url : str
34
+ URL of the server platform to connect to
35
+ user_id : str
36
+ The identity of the user calling the method - this sets a default optionally used by the methods
37
+ when the user doesn't pass the user_id on a method call.
38
+ user_pwd: str
39
+ The password associated with the user_id. Defaults to None
40
+ verify_flag: bool
41
+ Flag to indicate if SSL Certificates should be verified in the HTTP requests.
42
+ Defaults to False.
31
43
 
32
44
  """
33
45
 
pyegeria/gov_engine.py CHANGED
@@ -33,7 +33,7 @@ class GovEng(Client):
33
33
 
34
34
  Attributes:
35
35
  server_name: str
36
- Name of the server to configure.
36
+ Name of the server to use.
37
37
  platform_url : str
38
38
  URL of the server platform to connect to
39
39
  user_id : str
@@ -45,13 +45,6 @@ class GovEng(Client):
45
45
  Set true for SSL verification to be enabled, false for disabled. Default behaviour set by the
46
46
  enable_ssl_check attribute from _globals.py
47
47
 
48
- Methods:
49
- __init__(self,
50
- platform_url: str,
51
- end_user_id: str,
52
- )
53
- Initializes the connection - throwing an exception if there is a problem
54
-
55
48
  """
56
49
 
57
50
  def __init__(
@@ -22,6 +22,8 @@ class GovernanceAuthor(AutomatedCuration):
22
22
 
23
23
  Attributes:
24
24
 
25
+ server_name: str
26
+ Name of the server to use.
25
27
  platform_url : str
26
28
  URL of the server platform to connect to
27
29
  user_id : str
@@ -20,7 +20,7 @@ class MyProfile(Client):
20
20
  Parameters
21
21
  ----------
22
22
  server_name : str
23
- The name of the server to configure.
23
+ The name of the view server to configure.
24
24
  platform_url : str
25
25
  The URL of the platform.
26
26
  token : str, optional
@@ -30,7 +30,8 @@ class Platform(Client):
30
30
  Client to operate Egeria Platforms - inherits from Server Ops
31
31
 
32
32
  Attributes:
33
-
33
+ server_name: str
34
+ Name of the server to use.
34
35
  platform_url : str
35
36
  URL of the server platform to connect to
36
37
  user_id : str
@@ -42,44 +43,6 @@ class Platform(Client):
42
43
  Flag to indicate if SSL Certificates should be verified in the HTTP requests.
43
44
  Defaults to False.
44
45
 
45
- Methods:
46
- __init__(self, platform_url: str, end_user_id: str)
47
- Initializes the connection - throwing an exception if there is a problem
48
-
49
-
50
-
51
- get_platform_origin() -> str
52
-
53
- activate_server_stored_config(server: str = None, timeout: int = 30) -> None
54
-
55
- activate_server_supplied_config(config_body: str, server: str = None, timeout: int = 30) -> None
56
-
57
- get_active_server_instance_status(server: str = None)-> dict | str
58
-
59
- get_known_servers() -> list[str] | str
60
-
61
- is_server_known(server: str = None) -> bool
62
-
63
- is_server_configured(server: str = None) -> bool
64
-
65
- check_server_active(server: str = None)
66
-
67
- get_active_server_list() -> dict | str
68
-
69
- shutdown_platform() -> None:
70
-
71
- shutdown_server(server: str = None) -> None:
72
-
73
- shutdown_unregister_servers() -> None
74
-
75
- shutdown_all_servers() -> None
76
-
77
- activate_server_if_down(server: str) -> bool
78
-
79
- activate_servers_on_platform(server_list: str) -> bool
80
-
81
- activate_platform(self, platform_name: str, hosted_server_names: [str], timeout:int = 60) -> None
82
-
83
46
  """
84
47
 
85
48
  admin_command_root: str