pyegeria 0.5.8.20__py3-none-any.whl → 0.5.8.22__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.
- examples/widgets/catalog_user/get_asset_graph.py +3 -5
- examples/widgets/catalog_user/list_assets.py +17 -9
- examples/widgets/{personal_organizer → catalog_user}/list_projects.py +18 -16
- examples/widgets/{personal_organizer → catalog_user}/list_todos.py +6 -5
- examples/widgets/cli/egeria_cat.py +46 -11
- examples/widgets/cli/egeria_ops.py +19 -3
- examples/widgets/cli/egeria_tech.py +201 -0
- examples/widgets/operational/engine_actions.py +13 -46
- examples/widgets/operational/integration_daemon_actions.py +2 -2
- examples/widgets/operational/list_catalog_targets.py +12 -10
- examples/widgets/operational/load_archive.py +6 -4
- examples/widgets/{developer → tech}/get_guid_info.py +20 -13
- examples/widgets/{developer → tech}/get_tech_details.py +36 -31
- examples/widgets/{developer → tech}/list_asset_types.py +8 -4
- examples/widgets/{developer → tech}/list_registered_services.py +14 -7
- examples/widgets/{developer → tech}/list_relationship_types.py +16 -10
- examples/widgets/{developer → tech}/list_tech_templates.py +11 -6
- examples/widgets/{developer → tech}/list_valid_metadata_values.py +12 -7
- pyegeria/asset_catalog_omvs.py +2 -2
- {pyegeria-0.5.8.20.dist-info → pyegeria-0.5.8.22.dist-info}/METADATA +1 -1
- {pyegeria-0.5.8.20.dist-info → pyegeria-0.5.8.22.dist-info}/RECORD +26 -25
- {pyegeria-0.5.8.20.dist-info → pyegeria-0.5.8.22.dist-info}/entry_points.txt +9 -9
- /examples/widgets/{developer → tech}/README.md +0 -0
- /examples/widgets/{developer → tech}/__init__.py +0 -0
- {pyegeria-0.5.8.20.dist-info → pyegeria-0.5.8.22.dist-info}/LICENSE +0 -0
- {pyegeria-0.5.8.20.dist-info → pyegeria-0.5.8.22.dist-info}/WHEEL +0 -0
@@ -37,9 +37,13 @@ EGERIA_ADMIN_USER = os.environ.get('ADMIN_USER', 'garygeeke')
|
|
37
37
|
EGERIA_ADMIN_PASSWORD = os.environ.get('ADMIN_PASSWORD', 'secret')
|
38
38
|
EGERIA_USER = os.environ.get('EGERIA_USER', 'erinoverview')
|
39
39
|
EGERIA_USER_PASSWORD = os.environ.get('EGERIA_USER_PASSWORD', 'secret')
|
40
|
+
EGERIA_JUPYTER = bool(os.environ.get('EGERIA_JUPYTER', 'False'))
|
41
|
+
EGERIA_WIDTH = int(os.environ.get('EGERIA_WIDTH', '200'))
|
40
42
|
|
41
|
-
|
42
|
-
|
43
|
+
|
44
|
+
def display_metadata_values(property_name: str, type_name: str, server: str, url: str,
|
45
|
+
username: str, user_pass:str, save_output: bool, jupyter:bool=EGERIA_JUPYTER, width:int = EGERIA_WIDTH
|
46
|
+
):
|
43
47
|
|
44
48
|
m_client = ValidMetadataManager(server, url, user_id=username)
|
45
49
|
token = m_client.create_egeria_bearer_token(username, user_pass)
|
@@ -48,8 +52,8 @@ def display_values(property_name: str, type_name: str, server: str, url: str,
|
|
48
52
|
"""Make a new table."""
|
49
53
|
table = Table(
|
50
54
|
title=f"Valid Metadata Values for Property: {property_name} of type {type_name} @ {time.asctime()}",
|
51
|
-
style="bold
|
52
|
-
row_styles=["bold
|
55
|
+
style="bold bright_white on black",
|
56
|
+
row_styles=["bold bright_white on black"],
|
53
57
|
header_style="white on dark_blue",
|
54
58
|
title_style="bold white on black",
|
55
59
|
caption_style="white on black",
|
@@ -104,7 +108,7 @@ def display_values(property_name: str, type_name: str, server: str, url: str,
|
|
104
108
|
# while True:
|
105
109
|
# time.sleep(2)
|
106
110
|
# live.update(generate_table())
|
107
|
-
console = Console(record=True)
|
111
|
+
console = Console(width=width, force_terminal=not jupyter, record=True)
|
108
112
|
with console.pager(styles=True):
|
109
113
|
console.print(generate_table(property_name, type_name))
|
110
114
|
if save_output:
|
@@ -131,11 +135,12 @@ def main():
|
|
131
135
|
userid = args.userid if args.userid is not None else EGERIA_USER
|
132
136
|
user_pass = args.password if args.password is not None else EGERIA_USER_PASSWORD
|
133
137
|
save_output = args.save_output if args.save_output is not None else False
|
134
|
-
|
138
|
+
|
135
139
|
|
136
140
|
try:
|
141
|
+
property_name = Prompt.ask("Enter the Property to retrieve:", default="projectHealth")
|
137
142
|
type_name = Prompt.ask("Enter the Metadata Type to filter on:", default="Project")
|
138
|
-
|
143
|
+
display_metadata_values(property_name, type_name,server, url, userid, user_pass, save_output)
|
139
144
|
except(KeyboardInterrupt):
|
140
145
|
pass
|
141
146
|
|
pyegeria/asset_catalog_omvs.py
CHANGED
@@ -349,8 +349,8 @@ class AssetCatalog(Client):
|
|
349
349
|
"""
|
350
350
|
server = self.server_name if server is None else server
|
351
351
|
validate_search_string(search_string)
|
352
|
-
if search_string == "*":
|
353
|
-
|
352
|
+
# if search_string == "*":
|
353
|
+
# search_string = None
|
354
354
|
starts_with_s = str(starts_with).lower()
|
355
355
|
ends_with_s = str(ends_with).lower()
|
356
356
|
ignore_case_s = str(ignore_case).lower()
|
@@ -2,32 +2,26 @@ examples/doc_samples/Create_Collection_Sample.py,sha256=D8nhc4qLXIzAqVdJQjmFIS-j
|
|
2
2
|
examples/doc_samples/Create_Sustainability_Collection_Sample.py,sha256=iLBm1LwRLi42Gayyb-wcWZ5NySQ6sc4kVSmwIAzP2Po,5049
|
3
3
|
examples/widgets/catalog_user/README.md,sha256=aCCVo7iqyE-XGEvmoYXnkIGM0VskF95JTj6Egzec7LM,883
|
4
4
|
examples/widgets/catalog_user/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
|
-
examples/widgets/catalog_user/get_asset_graph.py,sha256=
|
5
|
+
examples/widgets/catalog_user/get_asset_graph.py,sha256=jCWYy9es-q81i4X6z6OfLRw6Px5jw_EigkBoV6glFFI,11039
|
6
6
|
examples/widgets/catalog_user/get_collection.py,sha256=DBZ5-XkoYsz4WmMSPz0Ao0wz3DlAUQve89KI26-44nc,4613
|
7
7
|
examples/widgets/catalog_user/get_tech_type_elements.py,sha256=SvnDWfBIA1NzpkKZj4-ZapIeM2SEhe5jJt7rTkvTzaA,6129
|
8
8
|
examples/widgets/catalog_user/get_tech_type_template.py,sha256=gMFVcgCIm09GQu1Vsc5ZUVH9XLhItAG1eVGZJrcnHeQ,6174
|
9
|
-
examples/widgets/catalog_user/list_assets.py,sha256=
|
9
|
+
examples/widgets/catalog_user/list_assets.py,sha256=yG4-YypvxQA-KTTDowuPxahg_43jxWxitBTE7Sq4eHc,6368
|
10
10
|
examples/widgets/catalog_user/list_glossary.py,sha256=TDmOgUjr_pR9oaW5vhK-Tq5SLpz0FeYaKh0CL79s6zk,5427
|
11
|
+
examples/widgets/catalog_user/list_projects.py,sha256=RpxPj68X7yPl046xTuGRhl8EwUk_lFMW_BCbX7aJ2hA,6513
|
11
12
|
examples/widgets/catalog_user/list_tech_types.py,sha256=20T4v6L5qeebSsaL1nGkFMDAIsy2W3A3SMm1RcgFoh0,4609
|
13
|
+
examples/widgets/catalog_user/list_todos.py,sha256=iiHvw0zM2khHDNKnrzNe2i0tqD_3xzrB5Z2Z0tP7N4k,5521
|
12
14
|
examples/widgets/cli/__init__.py,sha256=ReG7mIcm5c512S_z1UZIpMtE67zlO_zj-1HhHWYS4fI,30
|
13
|
-
examples/widgets/cli/egeria_cat.py,sha256=
|
14
|
-
examples/widgets/cli/egeria_ops.py,sha256=
|
15
|
+
examples/widgets/cli/egeria_cat.py,sha256=aC2Mm_W67AnVPm9GA6izQCFP_5jcTwV9ak4rj_U6KSY,9313
|
16
|
+
examples/widgets/cli/egeria_ops.py,sha256=zIb0reyoUxt4GfGMxAuH9zsOI9DkjYZKczqslpT1Vzw,10108
|
17
|
+
examples/widgets/cli/egeria_tech.py,sha256=vt1FPPUBQWYWF33j97elmgH6t4cr9L737YhnzMPY8l0,8250
|
15
18
|
examples/widgets/cli/ops_config.py,sha256=BPfiU2mZA61aA1p1DHRA5eLWH8qaAwgWNoRmazzAlM4,1398
|
16
|
-
examples/widgets/developer/README.md,sha256=nxDnfr3BCiGgW5G1VxWxiwUWJXIe5wreNuUeRyIt_hY,1343
|
17
|
-
examples/widgets/developer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
18
|
-
examples/widgets/developer/get_guid_info.py,sha256=-ob6Lh-LnZFXsv4GQD6Tw7YWoMsqDpQSr8rzIM1zvkY,3665
|
19
|
-
examples/widgets/developer/get_tech_details.py,sha256=zy6ZzRpBcS5zZDtBkEKIGKsZsBqgLshe01oezEhuHVU,5466
|
20
|
-
examples/widgets/developer/list_asset_types.py,sha256=aHueMCVHmvrn331kgFrEzvTOxBf0dUIt7PZhQEvTqfY,3897
|
21
|
-
examples/widgets/developer/list_registered_services.py,sha256=AV6CfSt05RYfSPZT-jms3r10Q72r3ly4Ihu_y4YXKL8,6108
|
22
|
-
examples/widgets/developer/list_relationship_types.py,sha256=uRiLTy4Gk1Cryxvqj5Bo8f-Ll55SMC_XEzm8TsH0JqQ,5340
|
23
|
-
examples/widgets/developer/list_tech_templates.py,sha256=d1YARxPaRWG5Ri2I5m8OjBna4y0HxeWNyll8SiWLIaM,5943
|
24
|
-
examples/widgets/developer/list_valid_metadata_values.py,sha256=jbJsqELH1MlsKTBR4zbuRnzCCd412I_atlrR0kkhBCs,5785
|
25
19
|
examples/widgets/operational/README.md,sha256=PJsSDcvMv6E6og6y-cwvxFX5lhCII0UCwgKiM1T17MQ,1595
|
26
20
|
examples/widgets/operational/__init__.py,sha256=SCfzF3-aMx8EpqLWmH7JQf13gTmMAtHRbg69oseLvi8,480
|
27
|
-
examples/widgets/operational/engine_actions.py,sha256=
|
28
|
-
examples/widgets/operational/integration_daemon_actions.py,sha256=
|
29
|
-
examples/widgets/operational/list_catalog_targets.py,sha256=
|
30
|
-
examples/widgets/operational/load_archive.py,sha256=
|
21
|
+
examples/widgets/operational/engine_actions.py,sha256=tvBhUs97OC3Q0FGSUVRskL9Q61c6NrLiNjdSH_04b_g,1444
|
22
|
+
examples/widgets/operational/integration_daemon_actions.py,sha256=m17Oi8NJfs1qPaV6qRadse3HhLQT16FQA0jAIUYuCTk,3951
|
23
|
+
examples/widgets/operational/list_catalog_targets.py,sha256=H0Igj_s7nhAV0vJUb0Np7DlJtAz36avljLBCuxt4p7Y,6609
|
24
|
+
examples/widgets/operational/load_archive.py,sha256=duf3wq2ANRBiOj9KTFsw8TseEkJLKdzITAeTCjsMvI0,2453
|
31
25
|
examples/widgets/operational/monitor_asset_events.py,sha256=cjdlVqE0XYnoRW3aorNbsVkjByDXefPBnllaZLelGls,3838
|
32
26
|
examples/widgets/operational/monitor_coco_status.py,sha256=ERz3OJ0TXImNKHGD4gJvgT3pl2gS23ewAdUuYVLUhEE,3299
|
33
27
|
examples/widgets/operational/monitor_engine_activity.py,sha256=5ceNWogsJqKTxerBRWK68T4Qr5OcqnqZF1ERqFnYbGk,7282
|
@@ -41,10 +35,17 @@ examples/widgets/operational/restart_integration_daemon.py,sha256=fID7qGFL5RD6rf
|
|
41
35
|
examples/widgets/personal_organizer/README.md,sha256=ZheFhj_VoPMhcWjW3pGchHB0vH_A9PklSmrSkzKdrcQ,844
|
42
36
|
examples/widgets/personal_organizer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
43
37
|
examples/widgets/personal_organizer/list_my_profile.py,sha256=Xt2anVXadJdJDgmCJEb0I_rRfcZ44mMM0ltRrA9KZJM,4843
|
44
|
-
examples/widgets/personal_organizer/list_projects.py,sha256=BiHz_dqWcQcGxcz-M-9CGJ1-vZzxm97pptTkuUoT43A,6224
|
45
|
-
examples/widgets/personal_organizer/list_todos.py,sha256=cmKHOTmPLOFJhxp5dPBBLVD7nZfOM-RIYSdNTn3F3b8,5328
|
46
38
|
examples/widgets/personal_organizer/monitor_my_todos.py,sha256=Vfu83kI3Ju1IhdMdhz3dK3N7XxBu-QJ5mEYhdTt_sak,6136
|
47
39
|
examples/widgets/personal_organizer/monitor_open_todos.py,sha256=2giKLYMiKlyyUdr16J0U3cZgCkMemhlmibWYVM30Wtw,5070
|
40
|
+
examples/widgets/tech/README.md,sha256=nxDnfr3BCiGgW5G1VxWxiwUWJXIe5wreNuUeRyIt_hY,1343
|
41
|
+
examples/widgets/tech/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
42
|
+
examples/widgets/tech/get_guid_info.py,sha256=TSB6tUr2kJH5sIUc2TfGDPEi6ysb9c6TQ-Tp4sg0iyY,3945
|
43
|
+
examples/widgets/tech/get_tech_details.py,sha256=b7i3kSTaZ2pZPcxkDccqY27bqeHJoYnPCxOvlKPH0hw,5753
|
44
|
+
examples/widgets/tech/list_asset_types.py,sha256=PHPtCXqCHhIw0K59hUvoKdybp6IKPt_9Wc0AJVDtdrg,4181
|
45
|
+
examples/widgets/tech/list_registered_services.py,sha256=BNt77o87ohXP32IV6GSDeIgkEu4VXC75KWLinhuJaKM,6375
|
46
|
+
examples/widgets/tech/list_relationship_types.py,sha256=0T8Sl7J3WFq_0IQLLzcL0T79pUxVENWNT95Cpjz2ukc,5633
|
47
|
+
examples/widgets/tech/list_tech_templates.py,sha256=Q6uBCf5roXm9hEmmW2R7DGoli_MCqrubLjWvWgX0Qm0,6185
|
48
|
+
examples/widgets/tech/list_valid_metadata_values.py,sha256=64z5tr-0VD-mPTFmr6FT76gj4MXJZLWTxT4oeIiUaiU,6043
|
48
49
|
pyegeria/Xfeedback_manager_omvs.py,sha256=uNQMOPG08UyIuLzBfYt4uezDyLWdpBgJ2ZuvqumaWuY,9231
|
49
50
|
pyegeria/Xloaded_resources_omvs.py,sha256=cseWZTIwNhkzhZ0fhujI66DslNAQcjuwsz_p1GRmSPQ,3392
|
50
51
|
pyegeria/__init__.py,sha256=8qGKb9ff4JaEC16SkP-60yKMdkxEBF3aEJCSjR_OfPo,7611
|
@@ -54,7 +55,7 @@ pyegeria/_exceptions.py,sha256=NJ7vAhmvusK1ENvY2MMrBB6A6TgpYjzS9QJxFH56b8c,18470
|
|
54
55
|
pyegeria/_globals.py,sha256=DF6851qHPpoDrY4w5JGmT-8zmMfVXf9MMG6nKlu-BYM,616
|
55
56
|
pyegeria/_validators.py,sha256=DQuMsATRGxGSBtOrVtXlCgWXGhj6Nh-uqPtCsrUGLxk,12703
|
56
57
|
pyegeria/action_author_omvs.py,sha256=m0wsfmyO-VxRDaPpACeIDw8eVAFu3RVbo45RPCUel9M,6340
|
57
|
-
pyegeria/asset_catalog_omvs.py,sha256=
|
58
|
+
pyegeria/asset_catalog_omvs.py,sha256=ckEpASyz1yjiMyYtGh0teHdzEBRDOb52IReZdq8EMEo,25904
|
58
59
|
pyegeria/automated_curation_omvs.py,sha256=7mBOXnq06zf1TB3vzo2FPUw2GRLZKKYT2MDQkPxDokk,121332
|
59
60
|
pyegeria/collection_manager_omvs.py,sha256=IyGCbqx2Blm0OwCsC2071EeoNWHXyWGl_6pEtacizAs,112642
|
60
61
|
pyegeria/core_omag_server_config.py,sha256=16ld7aBTgO3gGhvFs-_yzwqPsatdCAiKYi005_2evZU,93096
|
@@ -70,8 +71,8 @@ pyegeria/runtime_manager_omvs.py,sha256=WekK7Yeyn6Qu9YmbSDo3m57MN0xOsIm9M8kGHfRO
|
|
70
71
|
pyegeria/server_operations.py,sha256=ZX7FlJRrAC7RK4bq4wHWepEsYbbWlqkUZdsJrTplVVU,16534
|
71
72
|
pyegeria/utils.py,sha256=pkVmS3RrbjaS9yz7FtOCwaOfV5FMqz-__Rt5koCnd9c,5374
|
72
73
|
pyegeria/valid_metadata_omvs.py,sha256=aisdRodIwJSkyArAzfm_sEnBELh69xE8k4Nea-vHu8M,36745
|
73
|
-
pyegeria-0.5.8.
|
74
|
-
pyegeria-0.5.8.
|
75
|
-
pyegeria-0.5.8.
|
76
|
-
pyegeria-0.5.8.
|
77
|
-
pyegeria-0.5.8.
|
74
|
+
pyegeria-0.5.8.22.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
75
|
+
pyegeria-0.5.8.22.dist-info/METADATA,sha256=-BwTChCBLzkxxPhtzKB9coyAJsJw3X4CImW1yINeLXI,2689
|
76
|
+
pyegeria-0.5.8.22.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
77
|
+
pyegeria-0.5.8.22.dist-info/entry_points.txt,sha256=q16fflvL3xqV9SkgzRUBD5Eol-1JYC8TIbtFyAQqbE8,2820
|
78
|
+
pyegeria-0.5.8.22.dist-info/RECORD,,
|
@@ -5,11 +5,11 @@ egeria_ops=examples.widgets.cli.egeria_ops:cli
|
|
5
5
|
egeria_ops_tui=examples.widgets.cli.egeria_ops:tui
|
6
6
|
get_asset_graph=examples.widgets.catalog_user.get_asset_graph:main
|
7
7
|
get_collection=examples.widgets.catalog_user.get_collection:main
|
8
|
-
get_guid_info=examples.widgets.
|
9
|
-
get_tech_details=examples.widgets.
|
8
|
+
get_guid_info=examples.widgets.tech.get_guid_info:main
|
9
|
+
get_tech_details=examples.widgets.tech.get_tech_details:main
|
10
10
|
get_tech_type_elements=examples.widgets.catalog_user.get_tech_type_elements:main
|
11
11
|
get_tech_type_template=examples.widgets.catalog_user.get_tech_type_template:main
|
12
|
-
list_asset_types=examples.widgets.
|
12
|
+
list_asset_types=examples.widgets.tech.list_asset_types:main
|
13
13
|
list_assets=examples.widgets.catalog_user.list_assets:main
|
14
14
|
list_catalog_targets=examples.widgets.operational.list_catalog_targets:main
|
15
15
|
list_engine_activity=examples.widgets.operational.monitor_engine_activity:main_paging
|
@@ -17,13 +17,13 @@ list_glossary=examples.widgets.catalog_user.list_glossary:main
|
|
17
17
|
list_gov_eng_status=examples.widgets.operational.monitor_gov_eng_status:main_paging
|
18
18
|
list_integ_daemon_status=examples.widgets.operational.monitor_integ_daemon_status:main_paging
|
19
19
|
list_my_profile=examples.widgets.personal_organizer.list_my_profile:main
|
20
|
-
list_projects=examples.widgets.
|
21
|
-
list_registered_services=examples.widgets.
|
22
|
-
list_relationship_types=examples.widgets.
|
23
|
-
list_tech_templates=examples.widgets.
|
20
|
+
list_projects=examples.widgets.catalog_user.list_projects:main
|
21
|
+
list_registered_services=examples.widgets.tech.list_registered_services:main
|
22
|
+
list_relationship_types=examples.widgets.tech.list_relationship_types:main
|
23
|
+
list_tech_templates=examples.widgets.tech.list_tech_templates:main
|
24
24
|
list_tech_types=examples.widgets.catalog_user.list_tech_types:main
|
25
|
-
list_todos=examples.widgets.
|
26
|
-
list_valid_metadata_values=examples.widgets.
|
25
|
+
list_todos=examples.widgets.catalog_user.list_todos:main
|
26
|
+
list_valid_metadata_values=examples.widgets.tech.list_valid_metadata_values:main
|
27
27
|
load_archive=examples.widgets.operational.load_archive:load_archive
|
28
28
|
load_archive_tui=examples.widgets.operational.load_archive:tui
|
29
29
|
monitor_asset_events=examples.widgets.operational.monitor_asset_events:main
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|