pyegeria 0.5.5.19__tar.gz → 0.5.5.20__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 (67) hide show
  1. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/PKG-INFO +1 -1
  2. pyegeria-0.5.5.20/examples/widgets/operational/refresh_integration_daemon.py +64 -0
  3. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/pyproject.toml +2 -1
  4. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/LICENSE +0 -0
  5. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/README.md +0 -0
  6. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/doc_samples/Create_Collection_Sample.py +0 -0
  7. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/doc_samples/Create_Sustainability_Collection_Sample.py +0 -0
  8. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/catalog_user/README.md +0 -0
  9. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/catalog_user/__init__.py +0 -0
  10. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/catalog_user/list_assets.py +0 -0
  11. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/catalog_user/view_asset_graph.py +0 -0
  12. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/catalog_user/view_collection.py +0 -0
  13. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/catalog_user/view_glossary.py +0 -0
  14. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/developer/README.md +0 -0
  15. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/developer/__init__.py +0 -0
  16. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/developer/get_guid_info.py +0 -0
  17. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/developer/get_tech_details.py +0 -0
  18. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/developer/list_asset_types.py +0 -0
  19. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/developer/list_registered_services.py +0 -0
  20. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/developer/list_relationship_types.py +0 -0
  21. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/developer/list_tech_templates.py +0 -0
  22. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/developer/list_tech_types.py +0 -0
  23. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/developer/list_valid_metadata_values.py +0 -0
  24. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/operational/README.md +0 -0
  25. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/operational/__init__.py +0 -0
  26. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/operational/get_tech_type_elements.py +0 -0
  27. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/operational/get_tech_type_template.py +0 -0
  28. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/operational/view_asset_events.py +0 -0
  29. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/operational/view_coco_status.py +0 -0
  30. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/operational/view_eng_action_status.py +0 -0
  31. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/operational/view_gov_eng_status.py +0 -0
  32. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/operational/view_integ_daemon_status.py +0 -0
  33. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/operational/view_platform_status.py +0 -0
  34. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/operational/view_server_list.py +0 -0
  35. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/operational/view_server_status.py +0 -0
  36. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/personal_organizer/README.md +0 -0
  37. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/personal_organizer/__init__.py +0 -0
  38. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/personal_organizer/get_my_profile.py +0 -0
  39. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/personal_organizer/list_projects.py +0 -0
  40. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/personal_organizer/list_todos.py +0 -0
  41. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/personal_organizer/view_my_todos.py +0 -0
  42. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/examples/widgets/personal_organizer/view_open_todos.py +0 -0
  43. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/pyegeria/Xfeedback_manager_omvs.py +0 -0
  44. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/pyegeria/Xloaded_resources_omvs.py +0 -0
  45. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/pyegeria/__init__.py +0 -0
  46. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/pyegeria/_client.py +0 -0
  47. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/pyegeria/_deprecated_gov_engine.py +0 -0
  48. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/pyegeria/_exceptions.py +0 -0
  49. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/pyegeria/_globals.py +0 -0
  50. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/pyegeria/_validators.py +0 -0
  51. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/pyegeria/action_author_omvs.py +0 -0
  52. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/pyegeria/asset_catalog_omvs.py +0 -0
  53. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/pyegeria/automated_curation_omvs.py +0 -0
  54. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/pyegeria/collection_manager_omvs.py +0 -0
  55. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/pyegeria/core_guids.py +0 -0
  56. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/pyegeria/core_omag_server_config.py +0 -0
  57. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/pyegeria/full_omag_server_config.py +0 -0
  58. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/pyegeria/glossary_browser_omvs.py +0 -0
  59. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/pyegeria/glossary_manager_omvs.py +0 -0
  60. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/pyegeria/my_profile_omvs.py +0 -0
  61. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/pyegeria/platform_services.py +0 -0
  62. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/pyegeria/project_manager_omvs.py +0 -0
  63. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/pyegeria/registered_info.py +0 -0
  64. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/pyegeria/runtime_manager_omvs.py +0 -0
  65. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/pyegeria/server_operations.py +0 -0
  66. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/pyegeria/utils.py +0 -0
  67. {pyegeria-0.5.5.19 → pyegeria-0.5.5.20}/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.19
3
+ Version: 0.5.5.20
4
4
  Summary: A python client for Egeria
5
5
  Home-page: https://github.com/odpi/egeria-python
6
6
  License: Apache 2.0
@@ -0,0 +1,64 @@
1
+ """
2
+ SPDX-License-Identifier: Apache-2.0
3
+ Copyright Contributors to the ODPi Egeria project.
4
+
5
+
6
+
7
+ This script refreshed an integration daemon.
8
+
9
+ """
10
+
11
+ import os
12
+ import argparse
13
+ import time
14
+
15
+ from pyegeria import ServerOps, AutomatedCuration
16
+ from pyegeria._exceptions import (
17
+ InvalidParameterException,
18
+ PropertyServerException,
19
+ UserNotAuthorizedException,
20
+ print_exception_response,
21
+ )
22
+ EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
23
+ EGERIA_KAFKA_ENDPOINT = os.environ.get('KAFKA_ENDPOINT', 'localhost:9092')
24
+ EGERIA_PLATFORM_URL = os.environ.get('EGERIA_PLATFORM_URL', 'https://localhost:9443')
25
+ EGERIA_VIEW_SERVER = os.environ.get('VIEW_SERVER', 'view-server')
26
+ EGERIA_VIEW_SERVER_URL = os.environ.get('EGERIA_VIEW_SERVER_URL', 'https://localhost:9443')
27
+ EGERIA_INTEGRATION_DAEMON = os.environ.get('INTEGRATION_DAEMON', 'integration-daemon')
28
+ EGERIA_INTEGRATION_DAEMON_URL = os.environ.get('EGERIA_INTEGRATION_DAEMON_URL', 'https://localhost:9443')
29
+ EGERIA_ADMIN_USER = os.environ.get('ADMIN_USER', 'garygeeke')
30
+ EGERIA_ADMIN_PASSWORD = os.environ.get('ADMIN_PASSWORD', 'secret')
31
+ EGERIA_USER = os.environ.get('EGERIA_USER', 'erinoverview')
32
+ EGERIA_USER_PASSWORD = os.environ.get('EGERIA_USER_PASSWORD', 'secret')
33
+
34
+
35
+
36
+
37
+ def main():
38
+ parser = argparse.ArgumentParser()
39
+ parser.add_argument("--server", help="Name of the integration daemon to refresh")
40
+ parser.add_argument("--url", help="URL Platform to connect to")
41
+ parser.add_argument("--userid", help="User Id")
42
+ parser.add_argument("--password", help="User Password")
43
+ args = parser.parse_args()
44
+
45
+ server = args.server if args.server is not None else EGERIA_INTEGRATION_DAEMON
46
+ url = args.url if args.url is not None else EGERIA_INTEGRATION_DAEMON_URL
47
+ userid = args.userid if args.userid is not None else EGERIA_ADMIN_USER
48
+ user_pass = args.password if args.password is not None else EGERIA_USER_PASSWORD
49
+
50
+ try:
51
+
52
+ s_client = ServerOps(server, url, userid)
53
+
54
+ s_client.refresh_integration_connectors(None, server)
55
+
56
+ print(f"\n===> Integration Daemon: \'{server}\' was refreshed.")
57
+
58
+
59
+ except (InvalidParameterException, PropertyServerException) as e:
60
+ print_exception_response(e)
61
+
62
+
63
+ if __name__ == "__main__":
64
+ main()
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pyegeria"
3
- version = "0.5.5.19"
3
+ version = "0.5.5.20"
4
4
  license = 'Apache 2.0'
5
5
  authors = ["Dan Wolfson <dan.wolfson@pdr-associates.com>"]
6
6
  readme = "README.md"
@@ -62,6 +62,7 @@ pytest = "^8.2.2"
62
62
  view_platform_status = "examples.widgets.operational.view_platform_status:main"
63
63
  view_server_list = "examples.widgets.operational.view_server_list:main"
64
64
  view_server_status = "examples.widgets.operational.view_server_status:main"
65
+ refresh_integration_daemon = "examples.widgets.operational.refresh_integration_daemon:main"
65
66
 
66
67
  get_my_profile = "examples.widgets.personal_organizer.get_my_profile:main"
67
68
  list_projects = "examples.widgets.personal_organizer.list_projects:main"
File without changes
File without changes