pyegeria 0.8.4.18__py3-none-any.whl → 0.8.4.19__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 (75) hide show
  1. {examples/widgets → commands}/cli/egeria.py +43 -43
  2. {examples/widgets → commands}/cli/egeria_cat.py +16 -16
  3. commands/cli/egeria_my.py +269 -0
  4. {examples/widgets → commands}/cli/egeria_ops.py +22 -23
  5. {examples/widgets → commands}/cli/egeria_tech.py +13 -13
  6. commands/ops/engine_actions.py +131 -0
  7. {examples/widgets → commands}/ops/integration_daemon_actions.py +33 -33
  8. commands/ops/refresh_integration_daemon.py +85 -0
  9. commands/ops/restart_integration_daemon.py +86 -0
  10. pyegeria/runtime_manager_omvs.py +951 -263
  11. {pyegeria-0.8.4.18.dist-info → pyegeria-0.8.4.19.dist-info}/METADATA +1 -1
  12. pyegeria-0.8.4.19.dist-info/RECORD +99 -0
  13. pyegeria-0.8.4.19.dist-info/entry_points.txt +60 -0
  14. examples/widgets/cli/egeria_my.py +0 -161
  15. examples/widgets/ops/engine_actions.py +0 -83
  16. examples/widgets/ops/refresh_integration_daemon.py +0 -73
  17. examples/widgets/ops/restart_integration_daemon.py +0 -73
  18. pyegeria-0.8.4.18.dist-info/RECORD +0 -99
  19. pyegeria-0.8.4.18.dist-info/entry_points.txt +0 -60
  20. {examples/widgets → commands}/cat/README.md +0 -0
  21. {examples/widgets → commands}/cat/__init__.py +0 -0
  22. {examples/widgets → commands}/cat/get_asset_graph.py +0 -0
  23. {examples/widgets → commands}/cat/get_collection.py +0 -0
  24. {examples/widgets → commands}/cat/get_project_dependencies.py +0 -0
  25. {examples/widgets → commands}/cat/get_project_structure.py +0 -0
  26. {examples/widgets → commands}/cat/get_tech_type_elements.py +0 -0
  27. {examples/widgets → commands}/cat/get_tech_type_template.py +0 -0
  28. {examples/widgets → commands}/cat/list_archives.py +0 -0
  29. {examples/widgets → commands}/cat/list_assets.py +0 -0
  30. {examples/widgets → commands}/cat/list_cert_types.py +0 -0
  31. {examples/widgets → commands}/cat/list_glossary.py +0 -0
  32. {examples/widgets → commands}/cat/list_projects.py +0 -0
  33. {examples/widgets → commands}/cat/list_relationships.py +0 -0
  34. {examples/widgets → commands}/cat/list_tech_types.py +0 -0
  35. {examples/widgets → commands}/cat/list_todos.py +0 -0
  36. {examples/widgets → commands}/cat/list_user_ids.py +0 -0
  37. {examples/widgets → commands}/cli/__init__.py +0 -0
  38. {examples/widgets → commands}/cli/ops_config.py +0 -0
  39. {examples/widgets → commands}/my/README.md +0 -0
  40. {examples/widgets → commands}/my/__init__.py +0 -0
  41. {examples/widgets → commands}/my/list_my_profile.py +0 -0
  42. {examples/widgets → commands}/my/list_my_roles.py +0 -0
  43. {examples/widgets → commands}/my/monitor_my_todos.py +0 -0
  44. {examples/widgets → commands}/my/monitor_open_todos.py +0 -0
  45. {examples/widgets → commands}/my/my_profile_actions.py +0 -0
  46. {examples/widgets → commands}/my/todo_actions.py +0 -0
  47. {examples/widgets → commands}/ops/README.md +0 -0
  48. {examples/widgets → commands}/ops/__init__.py +0 -0
  49. {examples/widgets → commands}/ops/list_catalog_targets.py +0 -0
  50. {examples/widgets → commands}/ops/load_archive.py +0 -0
  51. {examples/widgets → commands}/ops/monitor_asset_events.py +0 -0
  52. {examples/widgets → commands}/ops/monitor_coco_status.py +0 -0
  53. {examples/widgets → commands}/ops/monitor_engine_activity.py +0 -0
  54. {examples/widgets → commands}/ops/monitor_engine_activity_c.py +0 -0
  55. {examples/widgets → commands}/ops/monitor_gov_eng_status.py +0 -0
  56. {examples/widgets → commands}/ops/monitor_integ_daemon_status.py +0 -0
  57. {examples/widgets → commands}/ops/monitor_platform_status.py +0 -0
  58. {examples/widgets → commands}/ops/monitor_server_list.py +0 -0
  59. {examples/widgets → commands}/ops/monitor_server_status.py +0 -0
  60. {examples/widgets → commands}/tech/README.md +0 -0
  61. {examples/widgets → commands}/tech/__init__.py +0 -0
  62. {examples/widgets → commands}/tech/get_element_info.py +0 -0
  63. {examples/widgets → commands}/tech/get_guid_info.py +0 -0
  64. {examples/widgets → commands}/tech/get_tech_details.py +0 -0
  65. {examples/widgets → commands}/tech/list_asset_types.py +0 -0
  66. {examples/widgets → commands}/tech/list_elements.py +0 -0
  67. {examples/widgets → commands}/tech/list_elements_x.py +0 -0
  68. {examples/widgets → commands}/tech/list_registered_services.py +0 -0
  69. {examples/widgets → commands}/tech/list_related_specification.py +0 -0
  70. {examples/widgets → commands}/tech/list_relationship_types.py +0 -0
  71. {examples/widgets → commands}/tech/list_tech_templates.py +0 -0
  72. {examples/widgets → commands}/tech/list_valid_metadata_values.py +0 -0
  73. {examples/widgets → commands}/tech/x_list_related_elements.py +0 -0
  74. {pyegeria-0.8.4.18.dist-info → pyegeria-0.8.4.19.dist-info}/LICENSE +0 -0
  75. {pyegeria-0.8.4.18.dist-info → pyegeria-0.8.4.19.dist-info}/WHEEL +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyegeria
3
- Version: 0.8.4.18
3
+ Version: 0.8.4.19
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,99 @@
1
+ commands/cat/README.md,sha256=-aaAnIT2fcfU63vajgB-RzQk4l4yFdhkyVfSaTPiqRY,967
2
+ commands/cat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ commands/cat/get_asset_graph.py,sha256=5YwgV4D1_R9pptPJuIFbPOjWpZBnfPiEan33_To75TE,11194
4
+ commands/cat/get_collection.py,sha256=v7hCeEDcAQmcjM9qepuk8gg_RnYra3_v009AJOunkKk,5005
5
+ commands/cat/get_project_dependencies.py,sha256=B0JaMSUi0hzVgos1sTY2uUPGy1DzKEJMIbbYfMUWvQA,5981
6
+ commands/cat/get_project_structure.py,sha256=n2GbNd07w1DTo7jTR8b2ewXRyNcat_2BcCBRyDMldwk,5969
7
+ commands/cat/get_tech_type_elements.py,sha256=-m3Q0BoNqkCtV8h75vMwTcOV-_ymEXmnJcr4Ec7WMAw,6180
8
+ commands/cat/get_tech_type_template.py,sha256=gMFVcgCIm09GQu1Vsc5ZUVH9XLhItAG1eVGZJrcnHeQ,6174
9
+ commands/cat/list_archives.py,sha256=E45WMqAUuaEL6vwHGMfbpoUm3C7CyW46pIFcRc0Yfbs,5481
10
+ commands/cat/list_assets.py,sha256=bNwSaBDz661hfnc2Rn4j4HPHAugKvz0XwN9L1m4FVQk,6529
11
+ commands/cat/list_cert_types.py,sha256=mbCls_EqC5JKG5rvS4o69k7KgZ6aNXlcqoJ3DtHsTFA,7127
12
+ commands/cat/list_glossary.py,sha256=ybHFl1qebnE48GqtYaM1Gl26Vs9f9YAPAnrrAHHJqHs,5705
13
+ commands/cat/list_projects.py,sha256=Jzs-DtIpPhCH-gY4PYT6mnRBWnEf4m18TFfcw8UymNU,8011
14
+ commands/cat/list_relationships.py,sha256=U9f78cOi4HyaacqNaFSMq_7rRxVcEczvwPv468GYw3Q,5869
15
+ commands/cat/list_tech_types.py,sha256=20T4v6L5qeebSsaL1nGkFMDAIsy2W3A3SMm1RcgFoh0,4609
16
+ commands/cat/list_todos.py,sha256=iPxHRyW3X5tiREio4TUOwRPvNPjU0gxm3pVnUI79ir4,6542
17
+ commands/cat/list_user_ids.py,sha256=7JinL7rknPbGusIb8ikXKEaV1vvbuvx_WWtbmlfS_DY,5093
18
+ commands/cli/__init__.py,sha256=6d_R0KZBNnJy9EBz9J2xvGFlx-3j_ZPqPCxKgdvYeDQ,291
19
+ commands/cli/egeria.py,sha256=diSjRmatdj9RNsHEZbcstxvH4TPf99PXdILp7DyqgTQ,28411
20
+ commands/cli/egeria_cat.py,sha256=LWspOYRcdJIIx2n9wvhBhkNnACGDIpFTWfsoVTGeiV0,12957
21
+ commands/cli/egeria_my.py,sha256=9zIpUDLeA_R-0rgCSQfEZTtVmkxPcEAsYcCTn1wQFrE,6181
22
+ commands/cli/egeria_ops.py,sha256=63OUXCoyPedzvuc39xcop6UGffrJxErjXXXY0r0GzEs,10955
23
+ commands/cli/egeria_tech.py,sha256=PfEIf8pLgbCiPlUikZss97R78XOue0P3aZG5PswUtQ4,11161
24
+ commands/cli/ops_config.py,sha256=m4AfPjf-fR4EBTx8Dc2mcgrfWwAxb30YGeV-v79bg4U,1450
25
+ commands/my/README.md,sha256=ZheFhj_VoPMhcWjW3pGchHB0vH_A9PklSmrSkzKdrcQ,844
26
+ commands/my/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
+ commands/my/list_my_profile.py,sha256=jJaGAHrhFv9VQR9li5pzFN3ihqhHv9LmnAVPiKvPp3U,5678
28
+ commands/my/list_my_roles.py,sha256=AhyKXSQxBPDh2QQoL90bPQPkNnu1w7whpk9kZoBxRTQ,5175
29
+ commands/my/monitor_my_todos.py,sha256=YiwyQgtA7YsfW4-Ps-1ymvFjRqp-Egubv9j8iFUMUXE,6601
30
+ commands/my/monitor_open_todos.py,sha256=KDrAjdLPP3j0K9Y3G95BIgr51ktTx3mMlKydLFDF2YQ,5466
31
+ commands/my/my_profile_actions.py,sha256=ytPBLw7_UgYCv1ljxxHtaDCNG65djKZdfMYF6wFpEtU,4138
32
+ commands/my/todo_actions.py,sha256=uihltirrAPtwYNygnNBAVWgfS0W7acoETz1_h3XW_4o,8369
33
+ commands/ops/README.md,sha256=PJsSDcvMv6E6og6y-cwvxFX5lhCII0UCwgKiM1T17MQ,1595
34
+ commands/ops/__init__.py,sha256=SCfzF3-aMx8EpqLWmH7JQf13gTmMAtHRbg69oseLvi8,480
35
+ commands/ops/engine_actions.py,sha256=f9LowUfOdc8dH1f-bEP4u-8FR1kCuAlJtY356JSyg-w,4425
36
+ commands/ops/integration_daemon_actions.py,sha256=zf0sOOBF0cV1iG8eGkDaa51jnZJgViT_XLTGHrbflRA,4199
37
+ commands/ops/list_catalog_targets.py,sha256=0FIZqZu7DSh7tnrme6EOhNiVvK8wyvN1iTZKEDuwTmw,6620
38
+ commands/ops/load_archive.py,sha256=duf3wq2ANRBiOj9KTFsw8TseEkJLKdzITAeTCjsMvI0,2453
39
+ commands/ops/monitor_asset_events.py,sha256=cjdlVqE0XYnoRW3aorNbsVkjByDXefPBnllaZLelGls,3838
40
+ commands/ops/monitor_coco_status.py,sha256=ERz3OJ0TXImNKHGD4gJvgT3pl2gS23ewAdUuYVLUhEE,3299
41
+ commands/ops/monitor_engine_activity.py,sha256=m18OSnRoo5ut0WKKOWNoFGXJW_npjp6hzHK3RUQG8T0,8479
42
+ commands/ops/monitor_engine_activity_c.py,sha256=rSEUD3elhsiYdUhQRn613OM_R4VecFb0uq39MhYhltQ,9371
43
+ commands/ops/monitor_gov_eng_status.py,sha256=_eIN_3J8PZjgZH4D1Pc0Z_kUOd0pVd6dGP7jUgXG5wg,6640
44
+ commands/ops/monitor_integ_daemon_status.py,sha256=u15-tvGveO7_yV7JJmYkxiEDnq5KBk8J4hkw0id_LFA,9224
45
+ commands/ops/monitor_platform_status.py,sha256=hn96QuOjCndSDWl1-DAzk9O8D68YoRP1ALOlVfWVQgo,6400
46
+ commands/ops/monitor_server_list.py,sha256=Uhtn8lv7QVXJBi9DSR3Nelmz8TB0vOsat10nFS6Nu20,4637
47
+ commands/ops/monitor_server_status.py,sha256=A-8hMDfbscdcq-b1OD4wKn0tphumX8WIK-Hz8uPoFkc,3974
48
+ commands/ops/refresh_integration_daemon.py,sha256=9dZX-AHJ7yILohj005TRIC9tC349RRwwxRmqVLD2ZTE,2991
49
+ commands/ops/restart_integration_daemon.py,sha256=PN48zVDywjNJznmpVWEcBXBD3xhWDw1dMyKLIs9nWzU,2992
50
+ commands/tech/README.md,sha256=nxDnfr3BCiGgW5G1VxWxiwUWJXIe5wreNuUeRyIt_hY,1343
51
+ commands/tech/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
52
+ commands/tech/get_element_info.py,sha256=Rauespy7ZfyKtLh_H8XWgYTpPijsqlUGm-zeb7KrG7k,4749
53
+ commands/tech/get_guid_info.py,sha256=HfwcGAFALFIpy4AJAgQHU__Fv1fjprh1G1xB5AjlZ80,4282
54
+ commands/tech/get_tech_details.py,sha256=p5OgSKep3VOuuZmQXE2OSYhE-kvnI18TBcQ-PU5kEAw,6023
55
+ commands/tech/list_asset_types.py,sha256=LG7e8yjewQ_SX8SjzEiEii_-hDvmAJKyLN8iDjbch50,4162
56
+ commands/tech/list_elements.py,sha256=cafGJMwvWTK5TkUNMPkPdSaTGqws0uQknyA_iywFjNQ,4834
57
+ commands/tech/list_elements_x.py,sha256=mVAwl7QLPjiKCN_zWZpJIK4H_bwuT4hla8mUB8bJcgA,6370
58
+ commands/tech/list_registered_services.py,sha256=QzE_ebdopNkHWMxa-xc902GG6ac4Yw-ln8i8NUsgHVA,6542
59
+ commands/tech/list_related_specification.py,sha256=mWrKenXOskL4cl0DHjH2Z8M9-FJzjkzK62W-tsx3WDU,5918
60
+ commands/tech/list_relationship_types.py,sha256=BlVzrPznZXqMVLN2-2vYEVRGeYsiJrqXxIJEikobyoo,5875
61
+ commands/tech/list_tech_templates.py,sha256=RiyA8a4fIL9BGeGf37Bkk471mK5ECkDJMN9QVNReC1M,6192
62
+ commands/tech/list_valid_metadata_values.py,sha256=N3D0_BmREPszgde3uvvYdfzq7DJ46uMOv2t1vtncGsw,6333
63
+ commands/tech/x_list_related_elements.py,sha256=qBsf1619cecaMCTzG0MG22fAT32WNH2Z3CXrjo9z-5Y,5853
64
+ pyegeria/__init__.py,sha256=yXY7BCgGJYoUCpqDYOjuyNf1RRA9xN_ua7ayEORmixE,9458
65
+ pyegeria/_client.py,sha256=pzndEJKN0tcnT7gQFa0r3pzXm9pK4zJKANZOXO79aOs,25949
66
+ pyegeria/_deprecated_gov_engine.py,sha256=dWNcwVsE5__dF2u4QiIyQrssozzzOjBbLld8MdpmVCQ,17264
67
+ pyegeria/_exceptions.py,sha256=NJ7vAhmvusK1ENvY2MMrBB6A6TgpYjzS9QJxFH56b8c,18470
68
+ pyegeria/_globals.py,sha256=1Uc8392wjbiVN5L__RzxC1-U97RMXj77_iUsMSgeAjQ,638
69
+ pyegeria/_validators.py,sha256=rnZelHJnjHaLZ8UhUTDyB59MfIUJifhALtkYoHBaos4,12736
70
+ pyegeria/asset_catalog_omvs.py,sha256=GzTYJjeXh3rY5Ykok0ZcJ3H1bGyQcubI0ZWjFF78iCU,24335
71
+ pyegeria/automated_curation_omvs.py,sha256=t0o4T3tDK_s3Jc3PvdVNFx0qt6LAZknHlvJ7wX05i4U,150418
72
+ pyegeria/classification_manager_omvs.py,sha256=hOKYqNWfAFqwwVgvkUok8kzD4g0pOaNI7QxrkjPZDMI,200796
73
+ pyegeria/collection_manager_omvs.py,sha256=C8cfgGsx6MpG1Nds3JahyqXel8zpb-9iwXsXCAuzmg0,109717
74
+ pyegeria/core_omag_server_config.py,sha256=T1nx8KGuSPn-l8vVkH_I7qsJ7Bvou9TZUB41G2g_ZWc,93730
75
+ pyegeria/create_tech_guid_lists.py,sha256=RYRWdXm2bhCMkbUlOdMJ8cKZnamJvSkY5XMK2RjLX4M,4631
76
+ pyegeria/egeria_cat_client.py,sha256=WyxDYklm2eDpsiHLXVJi4WP5BBeXlvWWX5h5CLevdcE,1877
77
+ pyegeria/egeria_client.py,sha256=8rKu-ACdyBVRw2C114mleCBI4m30YCBi7dPCt5Y-ZTY,3360
78
+ pyegeria/egeria_config_client.py,sha256=hsfJz_eDlRh0GO9YrCTcvXIC0wKMHtL22QS3j2s_o0U,1183
79
+ pyegeria/egeria_my_client.py,sha256=VnUQHLdk-Lbzi25UfutSSfKFUs1xP6U5T_2N5EZ0PWU,1404
80
+ pyegeria/egeria_tech_client.py,sha256=x2Bxkrm8G3M1M1AVcBo_P5YCsABFJAiAQMO-c28VscQ,2440
81
+ pyegeria/feedback_manager_omvs.py,sha256=U0wzb5kU24vaMqhGinZ2Z5UJkhqEylhXWnnHeaS-yDU,162098
82
+ pyegeria/full_omag_server_config.py,sha256=UNEhJS-sSLyCHJOyQ_YhfHCCxXqHjA8r8im8i-rXyp8,47012
83
+ pyegeria/glossary_browser_omvs.py,sha256=PUdZHEc-OKO9z1mBSEb5J0RVszDhsdS6d8OciSAsOHI,103199
84
+ pyegeria/glossary_manager_omvs.py,sha256=B0BZvDN8Dn-gm8oZ68P405UPehjfmdMvpFCFXdNG8kU,129841
85
+ pyegeria/mermaid_utilities.py,sha256=GXiS-subb5nJcDqlThZWX2T8WspU1neFfhf4TxRoMh4,8344
86
+ pyegeria/my_profile_omvs.py,sha256=eDnDK8LQIg7yrmiG8x20xMw-Yu6xuL0yXRm0vSc4T8k,40882
87
+ pyegeria/platform_services.py,sha256=hlbbG1iGuMj7JhLkz60V9xaG4m0pheYvs0bhbjF64rE,41624
88
+ pyegeria/project_manager_omvs.py,sha256=OCdJKECI0sTZWgXcQ5TcupK5JPxHJG78-kHXyflDu1k,74521
89
+ pyegeria/registered_info.py,sha256=3PbmqKusFX5m9KYVwbT69PIN1oSL4PhZDbbU_an7dvE,6356
90
+ pyegeria/runtime_manager_omvs.py,sha256=0-LmUHOjRpo9gcbIFAOH4e4TwBj4t3QV4tti8q0bfRw,63023
91
+ pyegeria/server_operations.py,sha256=ciH890hYT85YQ6OpByn4w7s3a7TtvWZpIG5rkRqbcI0,16766
92
+ pyegeria/utils.py,sha256=1h6bwveadd6GpbnGLTmqPBmBk68QvxdjGTI9RfbrgKY,5415
93
+ pyegeria/valid_metadata_omvs.py,sha256=6Hc4g9BOS8w1ILfTG3_A1tfIX3HLtpgZZvcC-z9GePU,36185
94
+ pyegeria/x_action_author_omvs.py,sha256=za472slZ5tN9Pkd-ukyHS5Sn6MlKkJyIlbLlU3bL_Go,6451
95
+ pyegeria-0.8.4.19.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
96
+ pyegeria-0.8.4.19.dist-info/METADATA,sha256=LjRSPjHruZwKqB3AdnQpTX0k4FMvGM_tXPGcqQNtEZI,2820
97
+ pyegeria-0.8.4.19.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
98
+ pyegeria-0.8.4.19.dist-info/entry_points.txt,sha256=CkFcA_eJ_pXLSlpZ7AAPDiNVHyFuW0tDHc_y9LTlLx8,3344
99
+ pyegeria-0.8.4.19.dist-info/RECORD,,
@@ -0,0 +1,60 @@
1
+ [console_scripts]
2
+ change_todo_status=commands.my.todo_actions:change_todo_status
3
+ create_todo=commands.my.todo_actions:create_todo
4
+ delete_todo=commands.my.todo_actions:delete_todo
5
+ get_asset_graph=commands.cat.get_asset_graph:main
6
+ get_collection=commands.cat.get_collection:main
7
+ get_element_info=commands.tech.get_element_info:main
8
+ get_guid_info=commands.tech.get_guid_info:main
9
+ get_project_dependencies=commands.cat.get_project_dependencies:main
10
+ get_project_structure=commands.cat.get_project_structure:main
11
+ get_tech_details=commands.tech.get_tech_details:main
12
+ get_tech_type_elements=commands.cat.get_tech_type_elements:main
13
+ get_tech_type_template=commands.cat.get_tech_type_template:main
14
+ hey_egeria=commands.cli.egeria:cli
15
+ hey_egeria_cat=commands.cli.egeria_cat:cli
16
+ hey_egeria_my=commands.cli.egeria_my:cli
17
+ hey_egeria_ops=commands.cli.egeria_ops:cli
18
+ hey_egeria_tech=commands.cli.egeria_cat:cli
19
+ list_archives=commands.cat.list_archives:main
20
+ list_asset_types=commands.tech.list_asset_types:main
21
+ list_assets=commands.cat.list_assets:main
22
+ list_catalog_targets=commands.ops.list_catalog_targets:main
23
+ list_cert_types=commands.cat.list_cert_types:main
24
+ list_elements=commands.tech.list_elements:main
25
+ list_engine_activity=commands.ops.monitor_engine_activity:main_paging
26
+ list_engine_activity_compressed=commands.ops.monitor_engine_activity_c:main_paging
27
+ list_glossary=commands.cat.list_glossary:main
28
+ list_gov_eng_status=commands.ops.monitor_gov_eng_status:main_paging
29
+ list_integ_daemon_status=commands.ops.monitor_integ_daemon_status:main_paging
30
+ list_my_profile=commands.my.list_my_profile:main
31
+ list_projects=commands.cat.list_projects:main
32
+ list_registered_services=commands.tech.list_registered_services:main
33
+ list_related_specification=commands.tech.list_related_specification:main
34
+ list_relationship_types=commands.tech.list_relationship_types:main
35
+ list_relationships=commands.cat.list_relationships:main
36
+ list_tech_templates=commands.tech.list_tech_templates:main
37
+ list_tech_types=commands.cat.list_tech_types:main
38
+ list_todos=commands.cat.list_todos:main
39
+ list_user_ids=commands.cat.list_user_ids:main
40
+ list_valid_metadata_values=commands.tech.list_valid_metadata_values:main
41
+ load_archive=commands.ops.load_archive:load_archive
42
+ load_archive_tui=commands.ops.load_archive:tui
43
+ mark_todo_complete=commands.my.todo_actions:mark_todo_complete
44
+ monitor_asset_events=commands.ops.monitor_asset_events:main
45
+ monitor_coco_status=commands.ops.monitor_coco_status:main
46
+ monitor_engine_activity=commands.ops.monitor_engine_activity:main_live
47
+ monitor_engine_activity_compressed=commands.ops.monitor_engine_activity_c:main_live
48
+ monitor_gov_eng_status=commands.ops.monitor_gov_eng_status:main_live
49
+ monitor_integ_daemon_status=commands.ops.monitor_integ_daemon_status:main_live
50
+ monitor_my_todos=commands.my.monitor_my_todos:main
51
+ monitor_open_todos=commands.my.monitor_open_todos:main
52
+ monitor_platform_status=commands.ops.monitor_platform_status:main
53
+ monitor_server_list=commands.ops.monitor_server_list:main
54
+ monitor_server_status=commands.ops.monitor_server_status:main
55
+ reassign_todo=commands.my.todo_actions:reassign_todo
56
+ refresh_integration_daemon=commands.ops.refresh_integration_daemon:main
57
+ restart_integration_daemon=commands.ops.restart_integration_daemon:main
58
+ start_daemon=commands.ops.engine_actions:start_daemon
59
+ stop_daemon=commands.ops.engine_actions:stop_daemon
60
+
@@ -1,161 +0,0 @@
1
- #!/usr/bin/env python3
2
- """
3
- SPDX-License-Identifier: Apache-2.0
4
- Copyright Contributors to the ODPi Egeria project.
5
-
6
-
7
- A command line interface for Egeria Users - of individual relevance
8
-
9
- This is an emerging capability based on the **click** package. Feedback welcome!
10
-
11
- """
12
- import click
13
- from trogon import tui
14
-
15
- from examples.widgets.cat import list_todos
16
- from examples.widgets.cli.ops_config import Config
17
-
18
- from examples.widgets.my.monitor_open_todos import display_todos
19
- from examples.widgets.my.monitor_my_todos import display_my_todos
20
- from examples.widgets.my.list_my_profile import display_my_profile
21
- from examples.widgets.my.list_my_roles import display_my_roles
22
- from examples.widgets.my.todo_actions import create_todo, delete_todo, change_todo_status, mark_todo_complete, \
23
- reassign_todo
24
-
25
-
26
- # class Config(object):
27
- # def __init__(self, server: str = None, url: str = None, userid:str = None, password:str = None,
28
- # timeout:int = 30, paging: bool = False):
29
- # self.server = server
30
- # self.url = url
31
- # self.userid = userid
32
- # self.password = password
33
- # self.timeout = timeout
34
- # self.paging = paging
35
- #
36
- #
37
- # pass_config = click.make_pass_decorator(Config)
38
-
39
- @tui()
40
- # @tui('menu', 'menu', 'A textual command line interface')
41
- @click.version_option("0.0.1", prog_name="egeria_ops")
42
-
43
- @click.group()
44
- @click.option('--server', default='active-metadata-store', envvar='EGERIA_METADATA_STORE',
45
- help='Egeria metadata store to work with')
46
- @click.option('--url', default='https://localhost:9443', envvar='EGERIA_PLATFORM_URL',
47
- help='URL of Egeria metadata store platform to connect to')
48
- @click.option('--integration-daemon', default='integration-daemon', envvar='EGERIA_INTEGRATION_DAEMON',
49
- help='Egeria integration daemon to work with')
50
- @click.option('--integration_daemon_url', default='https://localhost:9443', envvar='EGERIA_INTEGRATION_DAEMON_URL',
51
- help='URL of Egeria integration daemon platform to connect to')
52
- @click.option('--view_server', default='view-server', envvar='EGERIA_VIEW_SERVER',
53
- help='Egeria view server to work with')
54
- @click.option('--view_server_url', default='https://localhost:9443', envvar='EGERIA_VIEW_SERVER_URL',
55
- help='URL of Egeria view server platform to connect to')
56
- @click.option('--engine_host', default='engine-host', envvar='EGERIA_ENGINE_HOST',
57
- help='Egeria engine host to work with')
58
- @click.option('--engine_host_url', default='https://localhost:9443', envvar='EGERIA_ENGINE_HOST_URL',
59
- help='URL of Egeria engine host platform to connect to')
60
- @click.option('--admin_user', default='garygeeke', envvar='EGERIA_ADMIN_USER', help='Egeria admin user')
61
- @click.option('--admin_user_password', default='secret', envvar='EGERIA_ADMIN_PASSWORD',
62
- help='Egeria admin password')
63
- @click.option('--userid', default='erinoverview', envvar='EGERIA_USER', help='Egeria user')
64
- @click.option('--password', default='secret', envvar='EGERIA_PASSWORD',
65
- help='Egeria user password')
66
- @click.option('--timeout', default=60, help='Number of seconds to wait')
67
- @click.option('--verbose', is_flag=True, default=False, help='Enable verbose mode')
68
- @click.option('--paging', is_flag=True, default=False, help='Enable paging snapshots vs live updates')
69
- @click.option('--jupyter', is_flag=True, default=False, envvar='EGERIA_JUPYTER',
70
- help='Enable for rendering in a Jupyter terminal')
71
- @click.option('--width', default=200, envvar='EGERIA_WIDTH', help='Screen width, in characters, to use')
72
- @click.pass_context
73
- def cli(ctx, server, url, view_server, view_server_url, integration_daemon, integration_daemon_url,
74
- engine_host, engine_host_url, admin_user, admin_user_password, userid, password, timeout, paging,
75
- verbose, jupyter, width):
76
- """An Egeria Command Line interface for Operations """
77
- ctx.obj = Config(server, url, view_server, view_server_url, integration_daemon,
78
- integration_daemon_url, engine_host, engine_host_url,
79
- admin_user, admin_user_password, userid, password,
80
- timeout, paging, verbose, jupyter, width)
81
- ctx.max_content_width = 200
82
- ctx.ensure_object(Config)
83
- if verbose:
84
- click.echo(f"we are in verbose mode - server is {server}")
85
-
86
-
87
- @cli.group("show")
88
- @click.pass_context
89
- def show(ctx):
90
- """Display an Egeria Object"""
91
- pass
92
-
93
-
94
- @show.command('my-profile')
95
- @click.pass_context
96
- def show_my_profile(ctx):
97
- """Display my profiles
98
-
99
- Usage: show my-profile
100
-
101
- """
102
- c = ctx.obj
103
- display_my_profile( c.view_server, c.view_server_url,
104
- c.userid, c.password, c.jupyter, c.width)
105
-
106
- @show.command('my-roles')
107
- @click.pass_context
108
- def show_my_roles(ctx):
109
- """Display my profiles
110
-
111
- Usage: show my-profile
112
-
113
- """
114
- c = ctx.obj
115
- display_my_roles( c.view_server, c.view_server_url,
116
- c.userid, c.password, c.jupyter, c.width)
117
-
118
-
119
- @show.command('my-to-dos')
120
- @click.pass_context
121
- def show_my_todos(ctx):
122
- """Show my To-Dos
123
-
124
- Usage: show my-to-dos
125
-
126
- """
127
- c = ctx.obj
128
- display_my_todos(c.view_server, c.view_server_url,
129
- c.userid, c.password, c.jupyter, c.width)
130
-
131
-
132
- @show.command('open-to-dos')
133
- @click.pass_context
134
- def show_open_todos(ctx):
135
- """Display a live status view of Egeria servers for the specified Egeria platform
136
-
137
- Usage: show tech-details <tech-name>
138
-
139
- tech-name is a valid technology name (see 'show tech-types')
140
- """
141
- c = ctx.obj
142
- display_todos( c.view_server, c.view_server_url, c.userid, c.password, c.jupyter, c.width)
143
-
144
- #
145
- # Tell
146
- #
147
-
148
- @cli.group('tell')
149
- @click.pass_context
150
- def tell(ctx):
151
- """Perform actions an Egeria Objects"""
152
- pass
153
- tell.add_command(create_todo)
154
- tell.add_command(delete_todo)
155
- tell.add_command(change_todo_status)
156
- tell.add_command(mark_todo_complete)
157
- tell.add_command(reassign_todo)
158
-
159
-
160
- if __name__ == '__main__':
161
- cli()
@@ -1,83 +0,0 @@
1
- """
2
- SPDX-License-Identifier: Apache-2.0
3
- Copyright Contributors to the ODPi Egeria project.
4
-
5
-
6
-
7
- Execute engine actions.
8
-
9
- """
10
- import os
11
-
12
- import click
13
-
14
- # from ops_config import Config, pass_config
15
- from pyegeria import Platform
16
- from pyegeria._exceptions import (
17
- InvalidParameterException,
18
- PropertyServerException,
19
- print_exception_response,
20
- )
21
-
22
- GERIA_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(
27
- "EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
28
- )
29
- EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration-daemon")
30
- EGERIA_INTEGRATION_DAEMON_URL = os.environ.get(
31
- "EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443"
32
- )
33
- EGERIA_ADMIN_USER = os.environ.get("ADMIN_USER", "garygeeke")
34
- EGERIA_ADMIN_PASSWORD = os.environ.get("ADMIN_PASSWORD", "secret")
35
- EGERIA_USER = os.environ.get("EGERIA_USER", "erinoverview")
36
- EGERIA_USER_PASSWORD = os.environ.get("EGERIA_USER_PASSWORD", "secret")
37
-
38
-
39
- @click.command("stop")
40
- @click.option(
41
- "--server", default=EGERIA_VIEW_SERVER, help="Egeria metadata store to load"
42
- )
43
- @click.option(
44
- "--url", default=EGERIA_VIEW_SERVER_URL, help="URL of Egeria platform to connect to"
45
- )
46
- @click.option("--userid", default=EGERIA_ADMIN_USER, help="Egeria admin user")
47
- @click.option("--password", default=EGERIA_ADMIN_PASSWORD, help="Egeria admin password")
48
- @click.option("--timeout", default=60, help="Number of seconds to wait")
49
- def stop_daemon(file, server, url, userid, password, timeout):
50
- """Stop an engine-host daemon"""
51
- p_client = Platform(server, url, userid, password)
52
- try:
53
- p_client.shutdown_server()
54
-
55
- click.echo(f"Stopped server {server}")
56
- except (InvalidParameterException, PropertyServerException) as e:
57
- print_exception_response(e)
58
- finally:
59
- p_client.close_session()
60
-
61
-
62
- @click.command("start")
63
- @click.option(
64
- "--server", default=EGERIA_VIEW_SERVER, help="Egeria metadata store to load"
65
- )
66
- @click.option(
67
- "--url", default=EGERIA_VIEW_SERVER_URL, help="URL of Egeria platform to connect to"
68
- )
69
- @click.option("--userid", default=EGERIA_ADMIN_USER, help="Egeria admin user")
70
- @click.option("--password", default=EGERIA_ADMIN_PASSWORD, help="Egeria admin password")
71
- @click.option("--timeout", default=60, help="Number of seconds to wait")
72
- def start_daemon(file, server, url, userid, password, timeout):
73
- """Start or restart an engine-host from its known configuration"""
74
- p_client = Platform(server, url, userid, password)
75
- try:
76
- p_client.activate_server_stored_config()
77
-
78
- click.echo(f"Started server {server}")
79
-
80
- except (InvalidParameterException, PropertyServerException) as e:
81
- print_exception_response(e)
82
- finally:
83
- p_client.close_session()
@@ -1,73 +0,0 @@
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
- def refresh_connector(connector: str, server:str, url:str, userid:str, password:str):
37
- try:
38
-
39
- s_client = ServerOps(server, url, userid)
40
- if connector == 'all':
41
- connector = None
42
- statement = "ALL connectors"
43
- else:
44
- statement = f"the {connector} "
45
-
46
- s_client.refresh_integration_connectors(connector, server, time_out = 60)
47
-
48
- print(f"\n===> Integration Daemon \'{server}\' refreshed {statement}.")
49
-
50
-
51
- except (InvalidParameterException, PropertyServerException) as e:
52
- print_exception_response(e)
53
-
54
-
55
-
56
-
57
- def main():
58
- parser = argparse.ArgumentParser()
59
- parser.add_argument("--server", help="Name of the integration daemon to refresh")
60
- parser.add_argument("--url", help="URL Platform to connect to")
61
- parser.add_argument("--userid", help="User Id")
62
- parser.add_argument("--password", help="User Password")
63
- parser.add_argument("--connector", default='all', help="Name of the connector to refresh")
64
- args = parser.parse_args()
65
-
66
- server = args.server if args.server is not None else EGERIA_INTEGRATION_DAEMON
67
- url = args.url if args.url is not None else EGERIA_INTEGRATION_DAEMON_URL
68
- userid = args.userid if args.userid is not None else EGERIA_ADMIN_USER
69
- user_pass = args.password if args.password is not None else EGERIA_USER_PASSWORD
70
- refresh_connector(args.connector, server, url, userid, user_pass)
71
-
72
- if __name__ == "__main__":
73
- main()
@@ -1,73 +0,0 @@
1
- """
2
- SPDX-License-Identifier: Apache-2.0
3
- Copyright Contributors to the ODPi Egeria project.
4
-
5
-
6
-
7
- This script restarts 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
- def restart_connector(connector: str, server:str, url:str, userid:str, password:str):
37
- try:
38
-
39
- s_client = ServerOps(server, url, userid)
40
- if connector == 'all':
41
- connector = None
42
- statement = "ALL connectors"
43
- else:
44
- statement = f"the {connector} "
45
-
46
- s_client.restart_integration_connector(connector, server, time_out = 60)
47
-
48
- print(f"\n===> Integration Daemon \'{server}\' restarted {statement}.")
49
-
50
-
51
- except (InvalidParameterException, PropertyServerException) as e:
52
- print_exception_response(e)
53
-
54
-
55
-
56
-
57
- def main():
58
- parser = argparse.ArgumentParser()
59
- parser.add_argument("--server", help="Name of the integration daemon to refresh")
60
- parser.add_argument("--url", help="URL Platform to connect to")
61
- parser.add_argument("--userid", help="User Id")
62
- parser.add_argument("--password", help="User Password")
63
- parser.add_argument("--connector", default='all', help="Name of the connector to refresh")
64
- args = parser.parse_args()
65
-
66
- server = args.server if args.server is not None else EGERIA_INTEGRATION_DAEMON
67
- url = args.url if args.url is not None else EGERIA_INTEGRATION_DAEMON_URL
68
- userid = args.userid if args.userid is not None else EGERIA_ADMIN_USER
69
- user_pass = args.password if args.password is not None else EGERIA_USER_PASSWORD
70
- restart_connector(args.connector, server, url, userid, user_pass)
71
-
72
- if __name__ == "__main__":
73
- main()