pyegeria 0.5.5.21__tar.gz → 0.5.5.22__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.
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/PKG-INFO +1 -1
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/catalog_user/list_assets.py +1 -1
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/catalog_user/view_collection.py +5 -5
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/catalog_user/view_glossary.py +4 -4
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/developer/get_guid_info.py +2 -2
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/developer/get_tech_details.py +1 -1
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/developer/list_asset_types.py +4 -2
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/developer/list_registered_services.py +5 -2
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/developer/list_relationship_types.py +5 -1
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/developer/list_tech_templates.py +5 -2
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/developer/list_tech_types.py +5 -2
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/developer/list_valid_metadata_values.py +5 -1
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/operational/get_tech_type_elements.py +1 -1
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/operational/get_tech_type_template.py +1 -1
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/operational/view_asset_events.py +1 -1
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/operational/view_eng_action_status.py +4 -1
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/operational/view_gov_eng_status.py +4 -1
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/operational/view_platform_status.py +7 -4
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/operational/view_server_list.py +4 -1
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/operational/view_server_status.py +4 -1
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/pyproject.toml +1 -1
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/LICENSE +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/README.md +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/doc_samples/Create_Collection_Sample.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/doc_samples/Create_Sustainability_Collection_Sample.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/catalog_user/README.md +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/catalog_user/__init__.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/catalog_user/view_asset_graph.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/developer/README.md +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/developer/__init__.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/operational/README.md +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/operational/__init__.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/operational/refresh_integration_daemon.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/operational/view_coco_status.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/operational/view_integ_daemon_status.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/personal_organizer/README.md +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/personal_organizer/__init__.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/personal_organizer/get_my_profile.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/personal_organizer/list_projects.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/personal_organizer/list_todos.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/personal_organizer/view_my_todos.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/personal_organizer/view_open_todos.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/pyegeria/Xfeedback_manager_omvs.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/pyegeria/Xloaded_resources_omvs.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/pyegeria/__init__.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/pyegeria/_client.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/pyegeria/_deprecated_gov_engine.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/pyegeria/_exceptions.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/pyegeria/_globals.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/pyegeria/_validators.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/pyegeria/action_author_omvs.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/pyegeria/asset_catalog_omvs.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/pyegeria/automated_curation_omvs.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/pyegeria/collection_manager_omvs.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/pyegeria/core_guids.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/pyegeria/core_omag_server_config.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/pyegeria/create_tech_guid_lists.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/pyegeria/full_omag_server_config.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/pyegeria/glossary_browser_omvs.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/pyegeria/glossary_manager_omvs.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/pyegeria/my_profile_omvs.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/pyegeria/platform_services.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/pyegeria/project_manager_omvs.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/pyegeria/registered_info.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/pyegeria/runtime_manager_omvs.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/pyegeria/server_operations.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/pyegeria/tech_guids_22-07-2024 13:22.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/pyegeria/utils.py +0 -0
- {pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/pyegeria/valid_metadata_omvs.py +0 -0
@@ -98,7 +98,7 @@ def display_assets(search_string: str, guid: str, server: str, url: str, usernam
|
|
98
98
|
# time.sleep(2)
|
99
99
|
# live.update(generate_table())
|
100
100
|
console = Console()
|
101
|
-
with console.pager():
|
101
|
+
with console.pager(styles=True):
|
102
102
|
console.print(generate_table(search_string))
|
103
103
|
|
104
104
|
|
@@ -41,12 +41,12 @@ def collection_viewer(root: str, server_name: str, platform_url: str, user: str,
|
|
41
41
|
if members:
|
42
42
|
for member in members:
|
43
43
|
style = "bold white on black"
|
44
|
-
text_collection_name = Text(f"Name: {member['name']}", style)
|
44
|
+
text_collection_name = Text(f"[bold white on black]Name: {member['name']}", style=style)
|
45
45
|
text_qualified_name = Text(f"* QualifiedName: {member['qualifiedName']}")
|
46
46
|
text_guid = Text(f"* GUID: {member['guid']}", "green")
|
47
47
|
text_collection_type = Text(f"* Collection Type: {member['collectionType']}")
|
48
48
|
text_description = Text(f"* Description: {member['description']}")
|
49
|
-
p = Panel.fit(f"
|
49
|
+
p = Panel.fit(f"{text_collection_name}[green]\n{text_qualified_name}\n{text_guid}\n"
|
50
50
|
f"{text_collection_type}\n{text_description}")
|
51
51
|
tt = tree.add(p, style=style)
|
52
52
|
|
@@ -55,9 +55,9 @@ def collection_viewer(root: str, server_name: str, platform_url: str, user: str,
|
|
55
55
|
branch = tt.add(f"[bold magenta on black]Members", style=style, guide_style=style)
|
56
56
|
walk_collection_hierarchy(collection_client, member['qualifiedName'], branch),
|
57
57
|
else:
|
58
|
-
tt = tree.add(f"[bold magenta on black]No collections match {root_collection_name}"
|
58
|
+
tt = tree.add(f"[bold magenta on black]No collections match {root_collection_name}")
|
59
59
|
try:
|
60
|
-
tree = Tree(f"[bold bright green on black]{root}",
|
60
|
+
tree = Tree(f"[bold bright green on black]{root}",guide_style="bold bright_blue")
|
61
61
|
c_client = CollectionManager(server_name, platform_url,
|
62
62
|
user_id=user)
|
63
63
|
|
@@ -87,7 +87,7 @@ def main():
|
|
87
87
|
userid = args.userid if args.userid is not None else EGERIA_USER
|
88
88
|
user_pass = args.password if args.password is not None else EGERIA_USER_PASSWORD
|
89
89
|
|
90
|
-
root_collection = Prompt.ask("Enter the Root Collection to start from:", default="
|
90
|
+
root_collection = Prompt.ask("Enter the Root Collection to start from:", default="Root Sustainability Collection")
|
91
91
|
collection_viewer(root_collection, server, url, userid, user_pass)
|
92
92
|
|
93
93
|
if __name__ == "__main__":
|
@@ -88,7 +88,7 @@ def display_glossary_terms(search_string: str, guid: str, server: str, url: str,
|
|
88
88
|
|
89
89
|
|
90
90
|
table.add_row(
|
91
|
-
display_name,qualified_name, abbrev, summary, description
|
91
|
+
display_name,qualified_name, abbrev, summary, description, style="bold white on black"
|
92
92
|
)
|
93
93
|
|
94
94
|
g_client.close_session()
|
@@ -98,9 +98,9 @@ def display_glossary_terms(search_string: str, guid: str, server: str, url: str,
|
|
98
98
|
# with Live(generate_table(), refresh_per_second=4, screen=True) as live:
|
99
99
|
# while True:
|
100
100
|
# time.sleep(2)
|
101
|
-
# live.update(generate_table())
|
102
|
-
console = Console()
|
103
|
-
with console.pager():
|
101
|
+
# live.update(generate_table(search_string))
|
102
|
+
console = Console(style="bold white on black")
|
103
|
+
with console.pager(styles=True):
|
104
104
|
console.print(generate_table(search_string))
|
105
105
|
|
106
106
|
|
@@ -46,7 +46,7 @@ def display_guid(guid: str, server: str, url: str, username: str, user_password:
|
|
46
46
|
|
47
47
|
|
48
48
|
try:
|
49
|
-
console = Console(width = 180)
|
49
|
+
console = Console(width = 180, style="bold white on black")
|
50
50
|
r = c.make_request("GET", url)
|
51
51
|
if r.status_code == 200:
|
52
52
|
pass
|
@@ -58,7 +58,7 @@ def display_guid(guid: str, server: str, url: str, username: str, user_password:
|
|
58
58
|
created = Text(f"Created at: {e['createTime']}")
|
59
59
|
details = Text(f"Details: {json.dumps(p, indent=2)}")
|
60
60
|
|
61
|
-
tree = Tree(f"
|
61
|
+
tree = Tree(f"{guid}", style = "bold bright_white on black", guide_style="bold bright_blue")
|
62
62
|
|
63
63
|
tree = tree.add(type_name)
|
64
64
|
tree.add(metadataCollection)
|
@@ -82,7 +82,7 @@ def tech_viewer(tech: str, server_name:str, platform_url:str, user:str, user_pas
|
|
82
82
|
return tt
|
83
83
|
|
84
84
|
try:
|
85
|
-
tree = Tree(f"
|
85
|
+
tree = Tree(f"{tech}", style = "bold bright_white on black", guide_style="bold bright_blue")
|
86
86
|
a_client = AutomatedCuration(server_name, platform_url,
|
87
87
|
user_id=user)
|
88
88
|
|
@@ -45,8 +45,10 @@ def display_asset_types(server: str, url: str, username: str, user_password: str
|
|
45
45
|
"""Make a new table."""
|
46
46
|
table = Table(
|
47
47
|
title=f"Asset Types for: {url} @ {time.asctime()}",
|
48
|
-
|
48
|
+
style="bold white on black",
|
49
|
+
row_styles=["bold white on black"],
|
49
50
|
header_style="white on dark_blue",
|
51
|
+
title_style="bold white on black",
|
50
52
|
show_lines=True,
|
51
53
|
box=box.ROUNDED,
|
52
54
|
caption=f"Asset Types from Server '{server}' @ Platform - {url}",
|
@@ -75,7 +77,7 @@ def display_asset_types(server: str, url: str, username: str, user_password: str
|
|
75
77
|
|
76
78
|
try:
|
77
79
|
console = Console()
|
78
|
-
with console.pager():
|
80
|
+
with console.pager(styles=True):
|
79
81
|
console.print(generate_table())
|
80
82
|
|
81
83
|
except (InvalidParameterException, PropertyServerException, UserNotAuthorizedException) as e:
|
{pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/developer/list_registered_services.py
RENAMED
@@ -57,8 +57,11 @@ def display_registered_svcs(service: str, server: str , url: str,
|
|
57
57
|
"""Make a new table."""
|
58
58
|
table = Table(
|
59
59
|
title=f"Technology Types for: {url} @ {time.asctime()}",
|
60
|
-
|
60
|
+
style="bold white on black",
|
61
|
+
row_styles=["bold white on black"],
|
61
62
|
header_style="white on dark_blue",
|
63
|
+
title_style="bold white on black",
|
64
|
+
caption_style="white on black",
|
62
65
|
show_lines=True,
|
63
66
|
box=box.ROUNDED,
|
64
67
|
caption=f"Registered Services from Server '{server}' @ Platform - {url}",
|
@@ -116,7 +119,7 @@ def display_registered_svcs(service: str, server: str , url: str,
|
|
116
119
|
# token = a_client.create_egeria_bearer_token(username, password)
|
117
120
|
svc_list = a_client.list_registered_svcs(service)
|
118
121
|
|
119
|
-
with console.pager():
|
122
|
+
with console.pager(styles=True):
|
120
123
|
console.print(generate_table(svc_list))
|
121
124
|
|
122
125
|
except (InvalidParameterException, PropertyServerException, UserNotAuthorizedException) as e:
|
{pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/developer/list_relationship_types.py
RENAMED
@@ -46,7 +46,11 @@ def display_list(type_name:str, server: str, url: str ,
|
|
46
46
|
"""Make a new table."""
|
47
47
|
table = Table(
|
48
48
|
title=f"Relationship types for: {type_name} @ {time.asctime()}",
|
49
|
+
style="bold white on black",
|
50
|
+
row_styles=["bold white on black"],
|
49
51
|
header_style="white on dark_blue",
|
52
|
+
title_style="bold white on black",
|
53
|
+
caption_style="white on black",
|
50
54
|
show_lines=True,
|
51
55
|
box=box.ROUNDED,
|
52
56
|
caption=f"list for Server '{server}' @ Platform - {url}",
|
@@ -103,7 +107,7 @@ def display_list(type_name:str, server: str, url: str ,
|
|
103
107
|
try:
|
104
108
|
|
105
109
|
console = Console(record=True)
|
106
|
-
with console.pager():
|
110
|
+
with console.pager(styles=True):
|
107
111
|
console.print(generate_table(type_name))
|
108
112
|
if save_output:
|
109
113
|
console.save_html("projects.html")
|
@@ -44,8 +44,11 @@ def display_tech_types(search_string:str, server: str,
|
|
44
44
|
"""Make a new table."""
|
45
45
|
table = Table(
|
46
46
|
title=f"Technology Templates for: {url} @ {time.asctime()}",
|
47
|
-
|
47
|
+
style="bold white on black",
|
48
|
+
row_styles=["bold white on black"],
|
48
49
|
header_style="white on dark_blue",
|
50
|
+
title_style="bold white on black",
|
51
|
+
caption_style="white on black",
|
49
52
|
show_lines=True,
|
50
53
|
box=box.ROUNDED,
|
51
54
|
caption=f"Templates from Server '{server}' @ Platform - {url}",
|
@@ -106,7 +109,7 @@ def display_tech_types(search_string:str, server: str,
|
|
106
109
|
|
107
110
|
try:
|
108
111
|
console = Console()
|
109
|
-
with console.pager():
|
112
|
+
with console.pager(styles=True):
|
110
113
|
console.print(generate_table())
|
111
114
|
|
112
115
|
except (InvalidParameterException, PropertyServerException, UserNotAuthorizedException) as e:
|
@@ -49,8 +49,11 @@ def display_tech_types(search_string:str, server: str, url: str, username: str,
|
|
49
49
|
"""Make a new table."""
|
50
50
|
table = Table(
|
51
51
|
title=f"Technology Types for: {url} @ {time.asctime()}",
|
52
|
-
|
52
|
+
style="bold white on black",
|
53
|
+
row_styles=["bold white on black"],
|
53
54
|
header_style="white on dark_blue",
|
55
|
+
title_style="bold white on black",
|
56
|
+
caption_style="white on black",
|
54
57
|
show_lines=True,
|
55
58
|
box=box.ROUNDED,
|
56
59
|
caption=f"Technology Types from Server '{server}' @ Platform - {url}",
|
@@ -86,7 +89,7 @@ def display_tech_types(search_string:str, server: str, url: str, username: str,
|
|
86
89
|
|
87
90
|
try:
|
88
91
|
console = Console()
|
89
|
-
with console.pager():
|
92
|
+
with console.pager(styles=True):
|
90
93
|
console.print(generate_table())
|
91
94
|
|
92
95
|
except (InvalidParameterException, PropertyServerException, UserNotAuthorizedException) as e:
|
{pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/developer/list_valid_metadata_values.py
RENAMED
@@ -48,7 +48,11 @@ def display_values(property_name: str, type_name: str, server: str, url: str,
|
|
48
48
|
"""Make a new table."""
|
49
49
|
table = Table(
|
50
50
|
title=f"Valid Metadata Values for Property: {property_name} of type {type_name} @ {time.asctime()}",
|
51
|
+
style="bold white on black",
|
52
|
+
row_styles=["bold white on black"],
|
51
53
|
header_style="white on dark_blue",
|
54
|
+
title_style="bold white on black",
|
55
|
+
caption_style="white on black",
|
52
56
|
show_lines=True,
|
53
57
|
box=box.ROUNDED,
|
54
58
|
caption=f"Valid Metadata Values for Server '{server}' @ Platform - {url}",
|
@@ -101,7 +105,7 @@ def display_values(property_name: str, type_name: str, server: str, url: str,
|
|
101
105
|
# time.sleep(2)
|
102
106
|
# live.update(generate_table())
|
103
107
|
console = Console(record=True)
|
104
|
-
with console.pager():
|
108
|
+
with console.pager(styles=True):
|
105
109
|
console.print(generate_table(property_name, type_name))
|
106
110
|
if save_output:
|
107
111
|
console.save_html("valid-metadata-values.html")
|
{pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/operational/get_tech_type_elements.py
RENAMED
@@ -79,7 +79,7 @@ def tech_viewer(tech_name: str, server_name:str, platform_url:str, user:str, use
|
|
79
79
|
if type(tech_elements) is str:
|
80
80
|
console.print(f"No elements found for {tech_name}")
|
81
81
|
sys.exit(1)
|
82
|
-
tree = Tree(f"Deployed Technology Type: {tech_name}", style="bold bright_white", guide_style="bold bright_blue")
|
82
|
+
tree = Tree(f"Deployed Technology Type: {tech_name}", style="bold bright_white on black", guide_style="bold bright_blue")
|
83
83
|
note: str =" "
|
84
84
|
for element in tech_elements:
|
85
85
|
header = element['elementHeader']
|
{pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/operational/get_tech_type_template.py
RENAMED
@@ -107,7 +107,7 @@ def tech_viewer(tech_name: str, server_name:str, platform_url:str, user:str, use
|
|
107
107
|
note += (f"\t* Type: {interfaces['arrayValues']['propertyValueMap'][str(i)]['typeName']}"
|
108
108
|
f"\tName: {interfaces['arrayValues']['propertiesAsStrings'][str(i)]}\n"
|
109
109
|
)
|
110
|
-
note_md = Panel.fit(Markdown(note), style = 'bold bright_white')
|
110
|
+
note_md = Panel.fit(Markdown(note), style = 'bold bright_white on black')
|
111
111
|
t = tree.add(note_md)
|
112
112
|
|
113
113
|
else:
|
@@ -78,7 +78,7 @@ def main():
|
|
78
78
|
console.rule(f"\tMessage TimeStamp: {event_time}\t eventType: {event_type}\t typeName: {type_name}\t guid: {guid}")
|
79
79
|
msg = (
|
80
80
|
|
81
|
-
f"properties: \n{props}\n\n")
|
81
|
+
f"properties: \n[bright white on black]{props}\n\n")
|
82
82
|
msg = Markdown(msg)
|
83
83
|
|
84
84
|
console.print(msg)
|
{pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/operational/view_eng_action_status.py
RENAMED
@@ -49,8 +49,11 @@ def display_status_engine_actions(server: str, url: str, user: str, user_pass:st
|
|
49
49
|
"""Make a new table."""
|
50
50
|
table = Table(
|
51
51
|
title=f"Engine Action Status for Platform {url} @ {time.asctime()}",
|
52
|
-
|
52
|
+
style="bold white on black",
|
53
|
+
row_styles=["bold white on black"],
|
53
54
|
header_style="white on dark_blue",
|
55
|
+
title_style="bold white on black",
|
56
|
+
caption_style="white on black",
|
54
57
|
show_lines=True,
|
55
58
|
box=box.ROUNDED,
|
56
59
|
caption=f"Engine Status for Server '{server}' @ Platform - {url}",
|
@@ -47,8 +47,11 @@ def display_gov_actions_status(server: str, url: str, username: str, user_pass:s
|
|
47
47
|
"""Make a new table."""
|
48
48
|
table = Table(
|
49
49
|
title=f"Governance Engine Status @ {time.asctime()}",
|
50
|
-
|
50
|
+
style="bold white on black",
|
51
|
+
row_styles=["bold white on black"],
|
51
52
|
header_style="white on dark_blue",
|
53
|
+
title_style="bold white on black",
|
54
|
+
caption_style="white on black",
|
52
55
|
show_lines=True,
|
53
56
|
box=box.ROUNDED,
|
54
57
|
caption=f"Server: '{server_name}' running on {url}",
|
{pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/operational/view_platform_status.py
RENAMED
@@ -44,8 +44,11 @@ def display_status(server: str, url: str, username: str, user_pass:str):
|
|
44
44
|
"""Make a new table."""
|
45
45
|
table = Table(
|
46
46
|
title=f"Server Status for Platform - {time.asctime()}",
|
47
|
-
|
47
|
+
style="bold white on black",
|
48
|
+
row_styles=["bold white on black"],
|
48
49
|
header_style="white on dark_blue",
|
50
|
+
title_style="bold white on black",
|
51
|
+
caption_style="white on black",
|
49
52
|
caption=f"Status of Platforms - '{url}'",
|
50
53
|
show_lines=True,
|
51
54
|
# expand=True
|
@@ -85,12 +88,12 @@ def display_status(server: str, url: str, username: str, user_pass:str):
|
|
85
88
|
server_type = server.get("serverType"," ")
|
86
89
|
server_status = server.get("serverActiveStatus","UNKNOWN")
|
87
90
|
if server_status in("RUNNING", "STARTING"):
|
88
|
-
status_flag = "[green]"
|
91
|
+
status_flag = "[bright green]"
|
89
92
|
elif server_status in ("INACTIVE", "STOPPING"):
|
90
|
-
status_flag = "[red]"
|
93
|
+
status_flag = "[bright red]"
|
91
94
|
else:
|
92
95
|
server_status = "UNKNOWN"
|
93
|
-
status_flag = "[yellow]"
|
96
|
+
status_flag = "[bright yellow]"
|
94
97
|
|
95
98
|
serv = f"{status_flag}{server_types[server_type]}: {server_name}\n"
|
96
99
|
server_list = server_list + serv
|
@@ -46,8 +46,11 @@ def display_status(server: str, url: str, username: str, user_pass:str):
|
|
46
46
|
"""Make a new table."""
|
47
47
|
table = Table(
|
48
48
|
title=f"Server Status for Platform - {time.asctime()}",
|
49
|
-
|
49
|
+
style="bold white on black",
|
50
|
+
row_styles=["bold white on black"],
|
50
51
|
header_style="white on dark_blue",
|
52
|
+
title_style="bold white on black",
|
53
|
+
caption_style="white on black",
|
51
54
|
caption=f"Server Status for Platform - '{url}'",
|
52
55
|
show_lines=True,
|
53
56
|
# expand=True
|
@@ -41,8 +41,11 @@ def test_display_status(server: str, url: str , username: str , user_pass:str):
|
|
41
41
|
"""Make a new table."""
|
42
42
|
table = Table(
|
43
43
|
title=f"Server Status for Platform - {time.asctime()}",
|
44
|
-
|
44
|
+
style="bold white on black",
|
45
|
+
row_styles=["bold white on black"],
|
45
46
|
header_style="white on dark_blue",
|
47
|
+
title_style="bold white on black",
|
48
|
+
caption_style="white on black",
|
46
49
|
caption=f"Server Status for Platform - '{url}'",
|
47
50
|
# show_lines=True,
|
48
51
|
)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/operational/refresh_integration_daemon.py
RENAMED
File without changes
|
File without changes
|
{pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/operational/view_integ_daemon_status.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/personal_organizer/get_my_profile.py
RENAMED
File without changes
|
{pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/personal_organizer/list_projects.py
RENAMED
File without changes
|
File without changes
|
{pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/personal_organizer/view_my_todos.py
RENAMED
File without changes
|
{pyegeria-0.5.5.21 → pyegeria-0.5.5.22}/examples/widgets/personal_organizer/view_open_todos.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|