pyegeria 0.4.1__py3-none-any.whl → 0.5.0__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/README.md +15 -0
- examples/widgets/catalog_user/__init__.py +10 -0
- {pyegeria-0.4.1.data/scripts → examples/widgets/catalog_user}/list_assets.py +1 -1
- {pyegeria-0.4.1.data/scripts → examples/widgets/catalog_user}/view_asset_graph.py +11 -12
- {pyegeria-0.4.1.data/scripts → examples/widgets/catalog_user}/view_collection.py +1 -1
- {pyegeria-0.4.1.data/scripts → examples/widgets/catalog_user}/view_glossary.py +1 -1
- examples/widgets/developer/README.md +24 -0
- examples/widgets/developer/__init__.py +0 -0
- {pyegeria-0.4.1.data/scripts → examples/widgets/developer}/get_guid_info.py +1 -1
- {pyegeria-0.4.1.data/scripts → examples/widgets/developer}/get_tech_details.py +1 -1
- {pyegeria-0.4.1.data/scripts → examples/widgets/developer}/list_asset_types.py +1 -1
- {pyegeria-0.4.1.data/scripts → examples/widgets/developer}/list_registered_services.py +1 -1
- {pyegeria-0.4.1.data/scripts → examples/widgets/developer}/list_relationship_types.py +1 -1
- {pyegeria-0.4.1.data/scripts → examples/widgets/developer}/list_tech_templates.py +0 -0
- {pyegeria-0.4.1.data/scripts → examples/widgets/developer}/list_tech_types.py +1 -1
- {pyegeria-0.4.1.data/scripts → examples/widgets/developer}/list_valid_metadata_values.py +1 -1
- examples/widgets/operational/README.md +24 -0
- examples/widgets/operational/__init__.py +0 -0
- {pyegeria-0.4.1.data/scripts → examples/widgets/operational}/get_tech_type_elements.py +1 -1
- {pyegeria-0.4.1.data/scripts → examples/widgets/operational}/get_tech_type_template.py +1 -1
- examples/widgets/operational/view_asset_events.py +77 -0
- {pyegeria-0.4.1.data/scripts → examples/widgets/operational}/view_coco_status.py +1 -1
- {pyegeria-0.4.1.data/scripts → examples/widgets/operational}/view_eng_action_status.py +1 -1
- {pyegeria-0.4.1.data/scripts → examples/widgets/operational}/view_gov_eng_status.py +1 -1
- {pyegeria-0.4.1.data/scripts → examples/widgets/operational}/view_integ_daemon_status.py +1 -1
- {pyegeria-0.4.1.data/scripts → examples/widgets/operational}/view_platform_status.py +1 -1
- {pyegeria-0.4.1.data/scripts → examples/widgets/operational}/view_server_list.py +1 -1
- {pyegeria-0.4.1.data/scripts → examples/widgets/operational}/view_server_status.py +3 -5
- examples/widgets/personal_organizer/README.md +17 -0
- examples/widgets/personal_organizer/__init__.py +0 -0
- {pyegeria-0.4.1.data/scripts → examples/widgets/personal_organizer}/get_my_profile.py +1 -1
- {pyegeria-0.4.1.data/scripts → examples/widgets/personal_organizer}/list_projects.py +1 -1
- {pyegeria-0.4.1.data/scripts → examples/widgets/personal_organizer}/list_todos.py +1 -1
- {pyegeria-0.4.1.data/scripts → examples/widgets/personal_organizer}/view_my_todos.py +1 -1
- {pyegeria-0.4.1.data/scripts → examples/widgets/personal_organizer}/view_open_todos.py +1 -1
- {pyegeria-0.4.1.dist-info → pyegeria-0.5.0.dist-info}/METADATA +16 -16
- pyegeria-0.5.0.dist-info/RECORD +66 -0
- {pyegeria-0.4.1.dist-info → pyegeria-0.5.0.dist-info}/WHEEL +1 -2
- pyegeria-0.5.0.dist-info/entry_points.txt +5 -0
- {pyegeria → src/pyegeria}/automated_curation_omvs.py +6 -6
- src/pyegeria/config.toml +11 -0
- src/pyegeria/core_guids.py +121 -0
- pyegeria/core_guids.py +0 -128
- pyegeria-0.4.1.data/scripts/Create_Collection_Sample.py +0 -292
- pyegeria-0.4.1.data/scripts/Create_Sustainability_Collection_Sample.py +0 -115
- pyegeria-0.4.1.dist-info/RECORD +0 -58
- pyegeria-0.4.1.dist-info/top_level.txt +0 -1
- {pyegeria-0.4.1.dist-info → pyegeria-0.5.0.dist-info}/LICENSE +0 -0
- {pyegeria → src/pyegeria}/Xfeedback_manager_omvs.py +0 -0
- {pyegeria → src/pyegeria}/Xloaded_resources_omvs.py +0 -0
- {pyegeria → src/pyegeria}/__init__.py +0 -0
- {pyegeria → src/pyegeria}/_client.py +0 -0
- {pyegeria → src/pyegeria}/_deprecated_gov_engine.py +0 -0
- {pyegeria → src/pyegeria}/_exceptions.py +0 -0
- {pyegeria → src/pyegeria}/_globals.py +0 -0
- {pyegeria → src/pyegeria}/_validators.py +0 -0
- {pyegeria → src/pyegeria}/action_author_omvs.py +0 -0
- {pyegeria → src/pyegeria}/asset_catalog_omvs.py +0 -0
- {pyegeria → src/pyegeria}/collection_manager_omvs.py +0 -0
- {pyegeria → src/pyegeria}/core_omag_server_config.py +0 -0
- {pyegeria → src/pyegeria}/full_omag_server_config.py +0 -0
- {pyegeria → src/pyegeria}/glossary_browser_omvs.py +0 -0
- {pyegeria → src/pyegeria}/glossary_manager_omvs.py +0 -0
- {pyegeria → src/pyegeria}/my_profile_omvs.py +0 -0
- {pyegeria → src/pyegeria}/platform_services.py +0 -0
- {pyegeria → src/pyegeria}/project_manager_omvs.py +0 -0
- {pyegeria → src/pyegeria}/registered_info.py +0 -0
- {pyegeria → src/pyegeria}/runtime_manager_omvs.py +0 -0
- {pyegeria → src/pyegeria}/server_operations.py +0 -0
- {pyegeria → src/pyegeria}/utils.py +0 -0
- {pyegeria → src/pyegeria}/valid_metadata_omvs.py +0 -0
@@ -0,0 +1,15 @@
|
|
1
|
+
<!-- SPDX-License-Identifier: CC-BY-4.0 -->
|
2
|
+
<!-- Copyright Contributors to the Egeria project. -->
|
3
|
+
|
4
|
+
# Catalog User
|
5
|
+
|
6
|
+
These widgets display different kinds of information useful to a typical catalog user. Widgets
|
7
|
+
will continue to be added over time to cover more facets of catalog use.
|
8
|
+
|
9
|
+
* list_assets.py - lists assets containing the user provided search string in the display name or qualified name. Search string must be a minimum of three characters.
|
10
|
+
* view_asset_graph.py - shows a tree view of an asset with its nested elements and relationships.
|
11
|
+
* view_collection.py - provides a tree view of a collection with all nested collections and items within the collection.
|
12
|
+
* view_glossary.py - provides a simple glossary viewer showing terms and related information.
|
13
|
+
----
|
14
|
+
License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/),
|
15
|
+
Copyright Contributors to the Egeria project.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
#!/usr/bin/env python3
|
2
2
|
"""
|
3
3
|
SPDX-License-Identifier: Apache-2.0
|
4
4
|
Copyright Contributors to the ODPi Egeria project.
|
@@ -40,7 +40,7 @@ guid_list = []
|
|
40
40
|
|
41
41
|
def asset_viewer(asset_guid: str, server_name:str, platform_url:str, user:str):
|
42
42
|
|
43
|
-
def build_classifications(classification: dict) ->
|
43
|
+
def build_classifications(classification: dict) -> str:
|
44
44
|
|
45
45
|
class_md = ""
|
46
46
|
for c in classification:
|
@@ -49,7 +49,7 @@ def asset_viewer(asset_guid: str, server_name:str, platform_url:str, user:str):
|
|
49
49
|
continue
|
50
50
|
class_md += f"* Classification: {c_type}\n"
|
51
51
|
class_props = c.get("classificationProperties","---")
|
52
|
-
if type(class_props) is
|
52
|
+
if type(class_props) is dict:
|
53
53
|
for prop in class_props.keys():
|
54
54
|
class_md += f"\t* {prop}: {class_props[prop]}\n"
|
55
55
|
if class_md == "":
|
@@ -125,7 +125,6 @@ def asset_viewer(asset_guid: str, server_name:str, platform_url:str, user:str):
|
|
125
125
|
asset_relationships = asset_graph["relationships"]
|
126
126
|
asset_class_md = build_classifications(asset_classifications)
|
127
127
|
|
128
|
-
|
129
128
|
asset_properties = asset_graph["extendedProperties"]
|
130
129
|
prop_md = "\n* Extended Properties:\n"
|
131
130
|
for prop in asset_properties:
|
@@ -190,24 +189,24 @@ def asset_viewer(asset_guid: str, server_name:str, platform_url:str, user:str):
|
|
190
189
|
f"* Created by: {relationship_created_by} at time {relationship_creation_time}\n"
|
191
190
|
)
|
192
191
|
rel_end1_md = (
|
193
|
-
f"
|
194
|
-
f"\t* Type: {rel_end1_type}\n"
|
192
|
+
f"\n**End1:**\n"
|
193
|
+
f"\n\t* Type: {rel_end1_type}\n"
|
195
194
|
f"\t* GUID: {rel_end1_guid}\n"
|
196
195
|
f"\t* Unique Name: {rel_end1_unique_name}\n"
|
197
196
|
)
|
198
197
|
|
199
|
-
if rel_end1_class_md is not None:
|
200
|
-
|
198
|
+
# if rel_end1_class_md is not None:
|
199
|
+
# rel_end1_md = rel_end1_md + rel_end1_class_md
|
201
200
|
|
202
201
|
rel_end2_md = (
|
203
|
-
f"
|
204
|
-
f"\t* Type: {rel_end2_type}\n"
|
202
|
+
f"\n**End2:**\n"
|
203
|
+
f"\n\t* Type: {rel_end2_type}\n"
|
205
204
|
f"\t* GUID: {rel_end2_guid}\n"
|
206
205
|
f"\t* Unique Name: {rel_end2_unique_name}\n"
|
207
206
|
)
|
208
207
|
|
209
|
-
if rel_end2_class_md is not None:
|
210
|
-
|
208
|
+
# if rel_end2_class_md is not None:
|
209
|
+
# rel_end1_md = rel_end1_md + rel_end2_class_md
|
211
210
|
#
|
212
211
|
# for prop in relationship_properties.keys():
|
213
212
|
# relationship_md += f"* {prop}: {relationship_properties[prop]}\n"
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<!-- SPDX-License-Identifier: CC-BY-4.0 -->
|
2
|
+
<!-- Copyright Contributors to the Egeria project. -->
|
3
|
+
|
4
|
+
# Developer
|
5
|
+
|
6
|
+
These widgets display different kinds of information useful to developers. Widgets
|
7
|
+
will continue to be added over time to cover more facets. Useful developer information
|
8
|
+
can also be found on [Egeria Project](https://egeria-project.org) and in [Egeria Explorers](https://egeria-project.org/release-notes/june-2024/?h=brain#egeria-explorers).
|
9
|
+
|
10
|
+
* get_guid_info.py - lists information about the metadata element specified by the Egeria guid.
|
11
|
+
* get_tech_details.py - shows a tree view showing the Egeria support for a particular technology (e.g PostgreSQL Server).
|
12
|
+
* list_asset_types.py - provides a tree view of a collection with all nested collections and items within the collection.
|
13
|
+
* list_registered_services.py - lists the services available on an Egeria platform.
|
14
|
+
* list_relationship_types.py - list the relationships details for a specified Egeria type.
|
15
|
+
* list_tech_templates.py - list template details for technology types
|
16
|
+
* list_tech_types.py - list the technology types that Egeria currently supports
|
17
|
+
* list_valid_metadata_values.py - list valid metadata values for a particular property and category.
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
----
|
23
|
+
License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/),
|
24
|
+
Copyright Contributors to the Egeria project.
|
File without changes
|
File without changes
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<!-- SPDX-License-Identifier: CC-BY-4.0 -->
|
2
|
+
<!-- Copyright Contributors to the Egeria project. -->
|
3
|
+
|
4
|
+
# Operational
|
5
|
+
|
6
|
+
These widgets display different kinds of information useful to monitor the status of different elements of an Egeria deployment.
|
7
|
+
Widgets will continue to be added over time to cover more facets of catalog use.
|
8
|
+
|
9
|
+
* get_eng_action_status.py - lists assets containing the user provided search string in the display name or qualified name. Search string must be a minimum of three characters.
|
10
|
+
* get_tech_type_elements.py - shows a tree view for the details of a supported technology type.
|
11
|
+
* get_tech_type_template.py - shows a tree view of the template associated with a supported technology type.
|
12
|
+
* view_coco_status.py - provides a tree view of a collection with all nested collections and items within the collection.
|
13
|
+
* view_eng_action_status.py - provides a live view of the status of engine actions.
|
14
|
+
* view_gov_eng_status.py - provides a live view of a governance engine status.
|
15
|
+
* view_integ_daemeon_status.py - provides a live view of an integration daemon status.
|
16
|
+
* view_platform_status.py - provides a live status view of the known servers on known platforms.
|
17
|
+
* view_server_list.py - provides a more detailed live status view of the servers on a single platform.
|
18
|
+
* view_server_status.py - provides a minimal live status view of the servers on a single platform.
|
19
|
+
* view_asset_changes.py - experiment in progress
|
20
|
+
* view_asset_events.py - experiment in progress
|
21
|
+
|
22
|
+
----
|
23
|
+
License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/),
|
24
|
+
Copyright Contributors to the Egeria project.
|
File without changes
|
@@ -0,0 +1,77 @@
|
|
1
|
+
#!/usr/bin/env python3
|
2
|
+
"""
|
3
|
+
SPDX-License-Identifier: Apache-2.0
|
4
|
+
Copyright Contributors to the ODPi Egeria project.
|
5
|
+
|
6
|
+
Display the status of cataloged platforms and servers.
|
7
|
+
"""
|
8
|
+
import json
|
9
|
+
import sys
|
10
|
+
import time
|
11
|
+
import argparse
|
12
|
+
from confluent_kafka import Consumer, KafkaException
|
13
|
+
from datetime import datetime
|
14
|
+
from rich.prompt import Prompt
|
15
|
+
from rich.table import Table
|
16
|
+
from rich.live import Live
|
17
|
+
from rich.console import Console
|
18
|
+
from rich.markdown import Markdown
|
19
|
+
|
20
|
+
from pyegeria import RuntimeManager
|
21
|
+
|
22
|
+
disable_ssl_warnings = True
|
23
|
+
console = Console(width=200)
|
24
|
+
now = datetime.now()
|
25
|
+
current_time = now.strftime("%H:%M:%S")
|
26
|
+
|
27
|
+
from confluent_kafka import Consumer, KafkaException
|
28
|
+
|
29
|
+
earliest_latest = Prompt.ask("Msgs from earliest or latest:", default="earliest")
|
30
|
+
|
31
|
+
# Define the Kafka consumer configuration.
|
32
|
+
config = {
|
33
|
+
'bootstrap.servers': 'localhost:9092', # replace with your Kafka broker(s)
|
34
|
+
'group.id': f"view_asset_events:{current_time}", # replace with your consumer group
|
35
|
+
'auto.offset.reset': earliest_latest # can be set to 'earliest' or 'latest'
|
36
|
+
}
|
37
|
+
|
38
|
+
# Initialize a Kafka consumer.
|
39
|
+
consumer = Consumer(config)
|
40
|
+
|
41
|
+
# Subscribe to a Kafka topic.
|
42
|
+
consumer.subscribe(['egeria.omag.server.active-metadata-store.omas.assetconsumer.outTopic']) # replace with your Kafka topic
|
43
|
+
|
44
|
+
try:
|
45
|
+
while True:
|
46
|
+
msg = consumer.poll(1.0) # timeout set to 1 second
|
47
|
+
|
48
|
+
if msg is None:
|
49
|
+
continue
|
50
|
+
elif msg.error():
|
51
|
+
raise KafkaException(msg.error())
|
52
|
+
else:
|
53
|
+
event = json.loads(msg.value())
|
54
|
+
event_time = event["eventTime"]
|
55
|
+
event_type = event["eventType"]
|
56
|
+
guid = event["elementHeader"]["guid"]
|
57
|
+
|
58
|
+
type_name = event["elementHeader"]["type"]["typeName"]
|
59
|
+
origin = event["elementHeader"]["origin"]["sourceServer"]
|
60
|
+
|
61
|
+
element_properties = event["elementProperties"]
|
62
|
+
element_properties_keys = element_properties.keys()
|
63
|
+
props = " "
|
64
|
+
for key in element_properties_keys:
|
65
|
+
value = element_properties[key]
|
66
|
+
props += f"* {key}: {value}\n"
|
67
|
+
console.rule(style= "[bold red]")
|
68
|
+
console.rule(f"\tMessage TimeStamp: {event_time}\t eventType: {event_type}\t typeName: {type_name}\t guid: {guid}")
|
69
|
+
msg = (
|
70
|
+
|
71
|
+
f"properties: \n{props}\n\n")
|
72
|
+
msg = Markdown(msg)
|
73
|
+
|
74
|
+
console.print(msg)
|
75
|
+
finally:
|
76
|
+
# Close down consumer to commit final offsets.
|
77
|
+
consumer.close()
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
#!/usr/bin/env python3
|
2
2
|
"""
|
3
3
|
SPDX-License-Identifier: Apache-2.0
|
4
4
|
Copyright Contributors to the ODPi Egeria project.
|
@@ -11,18 +11,16 @@ A simple server status display
|
|
11
11
|
|
12
12
|
import time
|
13
13
|
import argparse
|
14
|
-
|
15
|
-
from pyegeria._exceptions import (
|
14
|
+
from pyegeria import (
|
16
15
|
InvalidParameterException,
|
17
16
|
PropertyServerException,
|
18
17
|
UserNotAuthorizedException,
|
19
18
|
print_exception_response,
|
19
|
+
ServerOps
|
20
20
|
)
|
21
21
|
from rich.table import Table
|
22
22
|
from rich.live import Live
|
23
23
|
|
24
|
-
from pyegeria.server_operations import ServerOps
|
25
|
-
|
26
24
|
|
27
25
|
def test_display_status(server: str, url: str , username: str ):
|
28
26
|
p_client = ServerOps(server, url, username)
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<!-- SPDX-License-Identifier: CC-BY-4.0 -->
|
2
|
+
<!-- Copyright Contributors to the Egeria project. -->
|
3
|
+
|
4
|
+
# Personal Organizer
|
5
|
+
|
6
|
+
These widgets display different kinds of information about the projects, tasks and todos. Widgets
|
7
|
+
will continue to be added over time to cover more facets of catalog use.
|
8
|
+
|
9
|
+
* get_my_profiles.py - gets profile information about an individual.
|
10
|
+
* list_projects.py - lists information about a specified project or projects containing the search string.
|
11
|
+
* list_todos.py - lists information about a specified todo item or all todos containing the search string
|
12
|
+
* view_my_todos.py - view live status information about an individual's todos.
|
13
|
+
* view_open_todos.py - view live status information about open todos.
|
14
|
+
|
15
|
+
----
|
16
|
+
License: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/),
|
17
|
+
Copyright Contributors to the Egeria project.
|
File without changes
|
@@ -1,27 +1,27 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pyegeria
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.5.0
|
4
4
|
Summary: A python client for Egeria
|
5
|
-
Home-page: https://
|
6
|
-
|
7
|
-
Author-email: Dan Wolfson <dan.wolfson@pdr-associates.com>
|
8
|
-
Project-URL: Homepage, https://github.com/odpi/egeria-python
|
9
|
-
Project-URL: Issues, https://github.com/odpi/egeria-python/issues
|
5
|
+
Home-page: https://github.com/odpi/egeria-python
|
6
|
+
License: Apache 2.0
|
10
7
|
Keywords: egeria,metadata,governance
|
8
|
+
Author: Dan Wolfson
|
9
|
+
Author-email: dan.wolfson@pdr-associates.com
|
10
|
+
Requires-Python: >=3.10,<4.0
|
11
11
|
Classifier: License :: OSI Approved :: Apache Software License
|
12
|
+
Classifier: License :: Other/Proprietary License
|
12
13
|
Classifier: Programming Language :: Python
|
13
14
|
Classifier: Programming Language :: Python :: 3
|
14
|
-
|
15
|
+
Classifier: Programming Language :: Python :: 3.10
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
18
|
+
Requires-Dist: httpx (>=0.26.0,<0.27.0)
|
19
|
+
Requires-Dist: pytest (>=8.0.0,<9.0.0)
|
20
|
+
Requires-Dist: rich (>=13.7.0,<14.0.0)
|
21
|
+
Requires-Dist: setuptools (>=69.0.3,<70.0.0)
|
22
|
+
Requires-Dist: validators (>=0.22.0,<0.23.0)
|
23
|
+
Project-URL: Repository, https://github.com/odpi/egeria-python
|
15
24
|
Description-Content-Type: text/markdown
|
16
|
-
License-File: LICENSE
|
17
|
-
Requires-Dist: requests ~=2.31.0
|
18
|
-
Requires-Dist: validators ~=0.22.0
|
19
|
-
Requires-Dist: pytest ~=7.4.2
|
20
|
-
Requires-Dist: urllib3 ~=1.26.15
|
21
|
-
Requires-Dist: rich ~=13.7.1
|
22
|
-
Requires-Dist: httpx ~=0.26.0
|
23
|
-
Provides-Extra: tests
|
24
|
-
Requires-Dist: pytest ; extra == 'tests'
|
25
25
|
|
26
26
|
<!-- SPDX-License-Identifier: CC-BY-4.0 -->
|
27
27
|
<!-- Copyright Contributors to the ODPi Egeria project. -->
|
@@ -0,0 +1,66 @@
|
|
1
|
+
examples/widgets/catalog_user/README.md,sha256=aCCVo7iqyE-XGEvmoYXnkIGM0VskF95JTj6Egzec7LM,883
|
2
|
+
examples/widgets/catalog_user/__init__.py,sha256=q-MDnSfENt8n8QZPvM7eTKiKZhYCBUrgS7UryIxdx3Q,203
|
3
|
+
examples/widgets/catalog_user/list_assets.py,sha256=SqbJ-tIT-D1lBNsxEVwHnu7KjJSJteQPn0Mmo6KwhBo,4677
|
4
|
+
examples/widgets/catalog_user/view_asset_graph.py,sha256=3Q8kvFpMIXtvDp59WpNPF8owBDMqyZHitSON2Lp1-aU,9306
|
5
|
+
examples/widgets/catalog_user/view_collection.py,sha256=O1O0m58REvqM4g8bTX5a1udxkAh-SZ_Y1bNvNTAK8gk,3247
|
6
|
+
examples/widgets/catalog_user/view_glossary.py,sha256=TYAN0Dr0ouCbKP73KuST47wEZ0om3x5zYoZYgE0fwGk,4628
|
7
|
+
examples/widgets/developer/README.md,sha256=nxDnfr3BCiGgW5G1VxWxiwUWJXIe5wreNuUeRyIt_hY,1343
|
8
|
+
examples/widgets/developer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
9
|
+
examples/widgets/developer/get_guid_info.py,sha256=dIitXsOpAJ5Z459RxZj4iWfsWoZ-PNYxE5cxDXpnqnw,2542
|
10
|
+
examples/widgets/developer/get_tech_details.py,sha256=Qo5e5QRKMVK2CZJF1KwcxvnaFzF10JYga5jm0vNhSDA,4315
|
11
|
+
examples/widgets/developer/list_asset_types.py,sha256=H0SKCNyfKc_mw5D_ddTY2x3j57EqboB28I76wgmphJ4,2824
|
12
|
+
examples/widgets/developer/list_registered_services.py,sha256=BGD1fntzDx1KfX-Y4S6On_v05pkcO9dARQDxAEIceIU,5099
|
13
|
+
examples/widgets/developer/list_relationship_types.py,sha256=QR6S3IjvA1AAq4frIl_BdmhWNKyv-gsEE4Za6TxThYY,4193
|
14
|
+
examples/widgets/developer/list_tech_templates.py,sha256=DYGE8nP0_Eb4HNIEwcMqGgyZeFwnGTEOeTYIXZ7_i58,5088
|
15
|
+
examples/widgets/developer/list_tech_types.py,sha256=73ZnYBUC4PKfJEyW4eCCVT4UfjYHHfC-2ehe4IV_ots,3938
|
16
|
+
examples/widgets/developer/list_valid_metadata_values.py,sha256=0XB_LShI9QonEQ_Ng_Skhu4t7IVeStz2hnj2zALcK8g,5296
|
17
|
+
examples/widgets/operational/README.md,sha256=PJsSDcvMv6E6og6y-cwvxFX5lhCII0UCwgKiM1T17MQ,1595
|
18
|
+
examples/widgets/operational/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
19
|
+
examples/widgets/operational/get_tech_type_elements.py,sha256=iNRvG4IxgNafWeNNS5rSZ7OvPUduKsqyJ7_uaWTKpuo,4962
|
20
|
+
examples/widgets/operational/get_tech_type_template.py,sha256=6wlplKOdziclpjLZRgyfmhdBVr7ZQhCuig0JwbubjF0,4958
|
21
|
+
examples/widgets/operational/view_asset_events.py,sha256=9eJJhIbUmzOWNtxYh6hh_HvJZmsUMMtQTDXK3LSg7pA,2498
|
22
|
+
examples/widgets/operational/view_coco_status.py,sha256=dRx6rgXqJQPl7n4_T0aISF-EkF54B7XXcEukM4MmySM,3299
|
23
|
+
examples/widgets/operational/view_eng_action_status.py,sha256=4A8yzXpsBDzeoVWqfJ4rI5mRKSzKC6EIq4eEOCp9tvQ,4950
|
24
|
+
examples/widgets/operational/view_gov_eng_status.py,sha256=GNSWU8qWB7N55ZH7mT3QnYOt-jF19QzqfwiWnHQO1sM,3975
|
25
|
+
examples/widgets/operational/view_integ_daemon_status.py,sha256=3KP4LiR54Ko06mWlzluZX7daSTgRBdMWYpsH2RaR9E0,5898
|
26
|
+
examples/widgets/operational/view_platform_status.py,sha256=iXOQ1kbU6ABdXAk48bTDWRCUGZCCsBoA8-uogSFTGBQ,4433
|
27
|
+
examples/widgets/operational/view_server_list.py,sha256=xMRlvLK6-wDJkGpEAriciK8AHD_FhUT9d1kPwqSa1Z4,3102
|
28
|
+
examples/widgets/operational/view_server_status.py,sha256=20kwAvO6Vo49PXm5127UrRWm7m5teJ_BfLqQjnwDTbw,2801
|
29
|
+
examples/widgets/personal_organizer/README.md,sha256=ZheFhj_VoPMhcWjW3pGchHB0vH_A9PklSmrSkzKdrcQ,844
|
30
|
+
examples/widgets/personal_organizer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
31
|
+
examples/widgets/personal_organizer/get_my_profile.py,sha256=6a3Q6PQkWFDSiaevO__C1e-zLgviWYW0fjQnTGQ5M_M,3719
|
32
|
+
examples/widgets/personal_organizer/list_projects.py,sha256=zM7nCyrHbj1evo64qru8jN9Ce6qZSvIHatIuq5ZzV_Q,5004
|
33
|
+
examples/widgets/personal_organizer/list_todos.py,sha256=HWxHX_wIxvpWNRJ9wZIv0uQKKzSo4Dteff_4BNWSz5M,4179
|
34
|
+
examples/widgets/personal_organizer/view_my_todos.py,sha256=j9mre_0EuJ_qV90cT7vu6BZL3brfH_cA6dZUIvNXm9Y,5686
|
35
|
+
examples/widgets/personal_organizer/view_open_todos.py,sha256=SK5eOfzEvG9whEO2OdoWPDm63R1xYpGbPTdOSiHbLkw,3971
|
36
|
+
src/pyegeria/Xfeedback_manager_omvs.py,sha256=uNQMOPG08UyIuLzBfYt4uezDyLWdpBgJ2ZuvqumaWuY,9231
|
37
|
+
src/pyegeria/Xloaded_resources_omvs.py,sha256=_1RKeIfq3ga6nvtOzZ5dWcDFgxNiUOPJhnyMv1iCm9s,3377
|
38
|
+
src/pyegeria/__init__.py,sha256=PGHAdooCyZwawxAyDzP2Tlj-yjKjdI4oOPtZmw95Qg8,2007
|
39
|
+
src/pyegeria/_client.py,sha256=uQqfjf0JPacEWcDvbKpCvCypbDmAmGHaFQf_UTPK7VQ,23524
|
40
|
+
src/pyegeria/_deprecated_gov_engine.py,sha256=_DAEHsksnTKGqL9-TaaMVrfnNOrvatNACfg7pJ-ZX4w,17600
|
41
|
+
src/pyegeria/_exceptions.py,sha256=NJ7vAhmvusK1ENvY2MMrBB6A6TgpYjzS9QJxFH56b8c,18470
|
42
|
+
src/pyegeria/_globals.py,sha256=IKk40ogVhdYRagyau2k9pJqcs17UZ43Cx4iOeYRojOk,560
|
43
|
+
src/pyegeria/_validators.py,sha256=DQuMsATRGxGSBtOrVtXlCgWXGhj6Nh-uqPtCsrUGLxk,12703
|
44
|
+
src/pyegeria/action_author_omvs.py,sha256=m0wsfmyO-VxRDaPpACeIDw8eVAFu3RVbo45RPCUel9M,6340
|
45
|
+
src/pyegeria/asset_catalog_omvs.py,sha256=Y-Eh0k-zkJNOChVlLbC2bsTSBVLWhk-0-ewCV4YlyDY,25802
|
46
|
+
src/pyegeria/automated_curation_omvs.py,sha256=XPi0vO8hZTzx_qZ5yZ2FrJH28q3A2i0yByJ0hC7gWjE,118268
|
47
|
+
src/pyegeria/collection_manager_omvs.py,sha256=IyGCbqx2Blm0OwCsC2071EeoNWHXyWGl_6pEtacizAs,112642
|
48
|
+
src/pyegeria/config.toml,sha256=2Jp6ozhlVgDLWeG5702dTTAYEUv_jYNAFFWpEyR8xV8,214
|
49
|
+
src/pyegeria/core_guids.py,sha256=Cv5L3V_IzjHAw6ttGRlNXcrOgKdZdEbhCB1XaOZYYYE,4237
|
50
|
+
src/pyegeria/core_omag_server_config.py,sha256=16ld7aBTgO3gGhvFs-_yzwqPsatdCAiKYi005_2evZU,93096
|
51
|
+
src/pyegeria/full_omag_server_config.py,sha256=zzIyhCDolbLEJrc9JoBK308Mcq_96swYJopBN7_o4n8,45358
|
52
|
+
src/pyegeria/glossary_browser_omvs.py,sha256=nUCDSQ8cw8vuYgjfcaj1zLIefVI5j51evxPyXCIc4X8,101716
|
53
|
+
src/pyegeria/glossary_manager_omvs.py,sha256=AyTNBeOwa7ISOkpjzHHEtpiFzFo0ykcEQ525h_wqfMM,133328
|
54
|
+
src/pyegeria/my_profile_omvs.py,sha256=w-3aL9s7VlonUGtdKgfMSCeYIbCtJn0zDLTuqUxAYFc,42265
|
55
|
+
src/pyegeria/platform_services.py,sha256=T2UiAl7tPfOBGL_H2b73XyyHtR0Y36irgbaljZTjD4I,41808
|
56
|
+
src/pyegeria/project_manager_omvs.py,sha256=_U6m2vquu4eEV7aY8X3hsvfm2zX0EBica1reGWX9amY,77078
|
57
|
+
src/pyegeria/registered_info.py,sha256=GfMcYz3IO0aNquf8qCrYQ9cA5KplhPx1kNt0_nMMpTM,6475
|
58
|
+
src/pyegeria/runtime_manager_omvs.py,sha256=WekK7Yeyn6Qu9YmbSDo3m57MN0xOsIm9M8kGHfROZHI,37628
|
59
|
+
src/pyegeria/server_operations.py,sha256=YBdQJjPOmA1uhrUvzrjUKNGUc5nju9bhvCjF3AbdyWk,16164
|
60
|
+
src/pyegeria/utils.py,sha256=H0mew9IRcbsEi-pZfaT9HGuPO9CMOwnhOgIltyNvqTY,5240
|
61
|
+
src/pyegeria/valid_metadata_omvs.py,sha256=aisdRodIwJSkyArAzfm_sEnBELh69xE8k4Nea-vHu8M,36745
|
62
|
+
pyegeria-0.5.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
63
|
+
pyegeria-0.5.0.dist-info/METADATA,sha256=fxeDHcE9fO20R9EBT8V_WsWyaGoZO-8FD3hSxT0niR0,2535
|
64
|
+
pyegeria-0.5.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
65
|
+
pyegeria-0.5.0.dist-info/entry_points.txt,sha256=6Xd-QIWZqG7bjA1G2591ws0bilvEdugtnqIxEYnVhyc,226
|
66
|
+
pyegeria-0.5.0.dist-info/RECORD,,
|
@@ -13,9 +13,9 @@ from httpx import Response
|
|
13
13
|
from pyegeria import Client, max_paging_size, body_slimmer
|
14
14
|
from pyegeria._exceptions import (InvalidParameterException, PropertyServerException, UserNotAuthorizedException)
|
15
15
|
from ._validators import validate_name, validate_guid, validate_search_string
|
16
|
-
from .core_guids import (
|
17
|
-
|
18
|
-
|
16
|
+
from .core_guids import (FILEFOLDER_TEMPLATE_GUID,
|
17
|
+
POSTGRESQL_SERVER_TEMPLATE_GUID,
|
18
|
+
APACHE_KAFKA_SERVER_TEMPLATE_GUID,
|
19
19
|
)
|
20
20
|
|
21
21
|
|
@@ -169,7 +169,7 @@ class AutomatedCuration(Client):
|
|
169
169
|
The GUID of the Kafka server element.
|
170
170
|
"""
|
171
171
|
|
172
|
-
body = {"templateGUID":
|
172
|
+
body = {"templateGUID":APACHE_KAFKA_SERVER_TEMPLATE_GUID, "isOwnAnchor": 'true',
|
173
173
|
"placeholderPropertyValues": {"serverName": kafka_server, "hostIdentifier": host_name,
|
174
174
|
"portNumber": port, "description": description}}
|
175
175
|
body_s = body_slimmer(body)
|
@@ -241,7 +241,7 @@ class AutomatedCuration(Client):
|
|
241
241
|
str
|
242
242
|
The GUID of the Postgres server element.
|
243
243
|
"""
|
244
|
-
body = {"templateGUID":
|
244
|
+
body = {"templateGUID":POSTGRESQL_SERVER_TEMPLATE_GUID, "isOwnAnchor": 'true',
|
245
245
|
"placeholderPropertyValues": {"serverName": postgres_server, "hostIdentifier": host_name,
|
246
246
|
"portNumber": port, "databaseUserId": db_user, "description": description,
|
247
247
|
"databasePassword": db_pwd}}
|
@@ -319,7 +319,7 @@ class AutomatedCuration(Client):
|
|
319
319
|
str
|
320
320
|
The GUID of the File Folder element.
|
321
321
|
"""
|
322
|
-
body = {"templateGUID":
|
322
|
+
body = {"templateGUID": FILEFOLDER_TEMPLATE_GUID,
|
323
323
|
"isOwnAnchor": 'true',
|
324
324
|
"placeholderPropertyValues": {
|
325
325
|
"directoryPathName": path_name,
|
src/pyegeria/config.toml
ADDED