pyegeria 0.8.3__py3-none-any.whl → 0.8.4.1__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/cat/get_project_dependencies.py +83 -50
- examples/widgets/cat/get_project_structure.py +83 -50
- pyegeria/__init__.py +1 -0
- pyegeria/egeria_cat_client.py +2 -12
- pyegeria/egeria_client.py +114 -0
- pyegeria/glossary_browser_omvs.py +2 -3
- pyegeria/glossary_manager_omvs.py +1 -3
- pyegeria/project_manager_omvs.py +1 -2
- {pyegeria-0.8.3.dist-info → pyegeria-0.8.4.1.dist-info}/METADATA +1 -1
- {pyegeria-0.8.3.dist-info → pyegeria-0.8.4.1.dist-info}/RECORD +13 -12
- {pyegeria-0.8.3.dist-info → pyegeria-0.8.4.1.dist-info}/LICENSE +0 -0
- {pyegeria-0.8.3.dist-info → pyegeria-0.8.4.1.dist-info}/WHEEL +0 -0
- {pyegeria-0.8.3.dist-info → pyegeria-0.8.4.1.dist-info}/entry_points.txt +0 -0
@@ -17,55 +17,78 @@ from rich.panel import Panel
|
|
17
17
|
from rich.prompt import Prompt
|
18
18
|
from rich.tree import Tree
|
19
19
|
|
20
|
-
from pyegeria import (
|
21
|
-
|
20
|
+
from pyegeria import (
|
21
|
+
ProjectManager,
|
22
|
+
UserNotAuthorizedException,
|
23
|
+
PropertyServerException,
|
24
|
+
InvalidParameterException,
|
25
|
+
)
|
26
|
+
from pyegeria._exceptions import (
|
27
|
+
print_exception_response,
|
28
|
+
)
|
22
29
|
|
23
30
|
disable_ssl_warnings = True
|
24
31
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
25
|
-
EGERIA_KAFKA_ENDPOINT = os.environ.get(
|
26
|
-
EGERIA_PLATFORM_URL = os.environ.get(
|
27
|
-
EGERIA_VIEW_SERVER = os.environ.get(
|
28
|
-
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
32
|
+
EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
|
33
|
+
EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
|
34
|
+
EGERIA_VIEW_SERVER = os.environ.get("VIEW_SERVER", "view-server")
|
35
|
+
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
36
|
+
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
37
|
+
)
|
38
|
+
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration-daemon")
|
39
|
+
EGERIA_ADMIN_USER = os.environ.get("ADMIN_USER", "garygeeke")
|
40
|
+
EGERIA_ADMIN_PASSWORD = os.environ.get("ADMIN_PASSWORD", "secret")
|
41
|
+
EGERIA_USER = os.environ.get("EGERIA_USER", "erinoverview")
|
42
|
+
EGERIA_USER_PASSWORD = os.environ.get("EGERIA_USER_PASSWORD", "secret")
|
43
|
+
EGERIA_JUPYTER = bool(os.environ.get("EGERIA_JUPYTER", "False"))
|
44
|
+
EGERIA_WIDTH = int(os.environ.get("EGERIA_WIDTH", "200"))
|
45
|
+
|
46
|
+
|
47
|
+
def project_dependency_viewer(
|
48
|
+
root: str,
|
49
|
+
server_name: str,
|
50
|
+
platform_url: str,
|
51
|
+
user: str,
|
52
|
+
user_password: str,
|
53
|
+
jupyter: bool = EGERIA_JUPYTER,
|
54
|
+
width: int = EGERIA_WIDTH,
|
55
|
+
timeout: int = 30,
|
56
|
+
):
|
57
|
+
"""A simple collection viewer"""
|
58
|
+
|
59
|
+
def walk_project_hierarchy(
|
60
|
+
project_client: ProjectManager,
|
61
|
+
project_name: str,
|
62
|
+
tree: Tree,
|
63
|
+
root: bool = False,
|
64
|
+
) -> None:
|
44
65
|
"""Recursively build a Tree with collection contents."""
|
45
66
|
t = None
|
46
67
|
style = "bright_white on black"
|
47
68
|
|
48
69
|
project = project_client.get_projects_by_name(project_name)
|
49
70
|
if type(project) is list:
|
50
|
-
proj_guid = project[0][
|
51
|
-
proj_props = project[0][
|
52
|
-
|
53
|
-
proj_type = proj_props.get(
|
54
|
-
proj_unique = proj_props.get(
|
55
|
-
proj_identifier = proj_props.get(
|
56
|
-
proj_name = proj_props.get(
|
57
|
-
proj_desc = proj_props.get(
|
58
|
-
proj_status = proj_props.get(
|
59
|
-
proj_priority = proj_props.get(
|
60
|
-
proj_start = proj_props.get(
|
61
|
-
proj_props_md = (
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
71
|
+
proj_guid = project[0]["elementHeader"]["guid"]
|
72
|
+
proj_props = project[0]["properties"]
|
73
|
+
|
74
|
+
proj_type = proj_props.get("typeName", "---")
|
75
|
+
proj_unique = proj_props.get("qualifiedName", "---")
|
76
|
+
proj_identifier = proj_props.get("identifier", "---")
|
77
|
+
proj_name = proj_props.get("name", "---")
|
78
|
+
proj_desc = proj_props.get("description", "---")
|
79
|
+
proj_status = proj_props.get("projectStatus", "---")
|
80
|
+
proj_priority = proj_props.get("priority", "---")
|
81
|
+
proj_start = proj_props.get("startDate", "---")[:-10]
|
82
|
+
proj_props_md = (
|
83
|
+
f"* Name: {proj_name}\n"
|
84
|
+
f"* Identifier: {proj_identifier}\n"
|
85
|
+
f"* Type: {proj_type}\n"
|
86
|
+
f"* Status: {proj_status}\n"
|
87
|
+
f"* priority: {proj_priority}\n"
|
88
|
+
f"* Start: {proj_start}\n"
|
89
|
+
f"* Description: {proj_desc}\n"
|
90
|
+
f"* GUID: {proj_guid}"
|
91
|
+
)
|
69
92
|
else:
|
70
93
|
return
|
71
94
|
|
@@ -73,8 +96,8 @@ def project_dependency_viewer(root: str, server_name: str, platform_url: str, us
|
|
73
96
|
member_md = ""
|
74
97
|
if type(team) is list:
|
75
98
|
for member in team:
|
76
|
-
member_guid = member[
|
77
|
-
member_unique = member[
|
99
|
+
member_guid = member["member"]["guid"]
|
100
|
+
member_unique = member["member"]["uniqueName"]
|
78
101
|
member_md += f"* Member Unique Name: {member_unique}\n* Member GUID: {member_guid}"
|
79
102
|
proj_props_md += f"\n### Team Members\n {member_md}"
|
80
103
|
|
@@ -86,10 +109,12 @@ def project_dependency_viewer(root: str, server_name: str, platform_url: str, us
|
|
86
109
|
if type(linked_projects) is list:
|
87
110
|
for proj in linked_projects:
|
88
111
|
child_md = ""
|
89
|
-
child_guid = proj[
|
90
|
-
child_name = proj[
|
91
|
-
relationship = proj[
|
92
|
-
|
112
|
+
child_guid = proj["elementHeader"]["guid"]
|
113
|
+
child_name = proj["properties"]["name"]
|
114
|
+
relationship = proj["relatedElement"]["relationshipHeader"]["type"][
|
115
|
+
"typeName"
|
116
|
+
]
|
117
|
+
if relationship != "ProjectDependency":
|
93
118
|
continue
|
94
119
|
walk_project_hierarchy(project_client, child_name, t)
|
95
120
|
|
@@ -98,7 +123,9 @@ def project_dependency_viewer(root: str, server_name: str, platform_url: str, us
|
|
98
123
|
|
99
124
|
try:
|
100
125
|
console = Console(width=width, force_terminal=not jupyter)
|
101
|
-
tree = Tree(
|
126
|
+
tree = Tree(
|
127
|
+
f"[bold bright green on black]{root}", guide_style="bold bright_blue"
|
128
|
+
)
|
102
129
|
p_client = ProjectManager(server_name, platform_url, user_id=user)
|
103
130
|
|
104
131
|
token1 = p_client.create_egeria_bearer_token(user, user_password)
|
@@ -106,7 +133,11 @@ def project_dependency_viewer(root: str, server_name: str, platform_url: str, us
|
|
106
133
|
walk_project_hierarchy(p_client, root, tree, root=True)
|
107
134
|
print(tree)
|
108
135
|
|
109
|
-
except (
|
136
|
+
except (
|
137
|
+
InvalidParameterException,
|
138
|
+
PropertyServerException,
|
139
|
+
UserNotAuthorizedException,
|
140
|
+
) as e:
|
110
141
|
print_exception_response(e)
|
111
142
|
|
112
143
|
|
@@ -125,9 +156,11 @@ def main():
|
|
125
156
|
user_pass = args.password if args.password is not None else EGERIA_USER_PASSWORD
|
126
157
|
|
127
158
|
try:
|
128
|
-
root_project = Prompt.ask(
|
159
|
+
root_project = Prompt.ask(
|
160
|
+
"Enter the Root Project to start from:", default="Sustainability Campaign"
|
161
|
+
)
|
129
162
|
project_dependency_viewer(root_project, server, url, userid, user_pass)
|
130
|
-
except
|
163
|
+
except KeyboardInterrupt:
|
131
164
|
pass
|
132
165
|
|
133
166
|
|
@@ -17,55 +17,78 @@ from rich.panel import Panel
|
|
17
17
|
from rich.prompt import Prompt
|
18
18
|
from rich.tree import Tree
|
19
19
|
|
20
|
-
from pyegeria import (
|
21
|
-
|
20
|
+
from pyegeria import (
|
21
|
+
ProjectManager,
|
22
|
+
UserNotAuthorizedException,
|
23
|
+
PropertyServerException,
|
24
|
+
InvalidParameterException,
|
25
|
+
)
|
26
|
+
from pyegeria._exceptions import (
|
27
|
+
print_exception_response,
|
28
|
+
)
|
22
29
|
|
23
30
|
disable_ssl_warnings = True
|
24
31
|
EGERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
25
|
-
EGERIA_KAFKA_ENDPOINT = os.environ.get(
|
26
|
-
EGERIA_PLATFORM_URL = os.environ.get(
|
27
|
-
EGERIA_VIEW_SERVER = os.environ.get(
|
28
|
-
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
32
|
+
EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
|
33
|
+
EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
|
34
|
+
EGERIA_VIEW_SERVER = os.environ.get("VIEW_SERVER", "view-server")
|
35
|
+
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
36
|
+
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
37
|
+
)
|
38
|
+
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration-daemon")
|
39
|
+
EGERIA_ADMIN_USER = os.environ.get("ADMIN_USER", "garygeeke")
|
40
|
+
EGERIA_ADMIN_PASSWORD = os.environ.get("ADMIN_PASSWORD", "secret")
|
41
|
+
EGERIA_USER = os.environ.get("EGERIA_USER", "erinoverview")
|
42
|
+
EGERIA_USER_PASSWORD = os.environ.get("EGERIA_USER_PASSWORD", "secret")
|
43
|
+
EGERIA_JUPYTER = bool(os.environ.get("EGERIA_JUPYTER", "False"))
|
44
|
+
EGERIA_WIDTH = int(os.environ.get("EGERIA_WIDTH", "200"))
|
45
|
+
|
46
|
+
|
47
|
+
def project_structure_viewer(
|
48
|
+
root: str,
|
49
|
+
server_name: str,
|
50
|
+
platform_url: str,
|
51
|
+
user: str,
|
52
|
+
user_password: str,
|
53
|
+
jupyter: bool = EGERIA_JUPYTER,
|
54
|
+
width: int = EGERIA_WIDTH,
|
55
|
+
timeout: int = 30,
|
56
|
+
):
|
57
|
+
"""A simple collection viewer"""
|
58
|
+
|
59
|
+
def walk_project_hierarchy(
|
60
|
+
project_client: ProjectManager,
|
61
|
+
project_name: str,
|
62
|
+
tree: Tree,
|
63
|
+
root: bool = False,
|
64
|
+
) -> None:
|
44
65
|
"""Recursively build a Tree with collection contents."""
|
45
66
|
t = None
|
46
67
|
style = "bright_white on black"
|
47
68
|
|
48
69
|
project = project_client.get_projects_by_name(project_name)
|
49
70
|
if type(project) is list:
|
50
|
-
proj_guid = project[0][
|
51
|
-
proj_props = project[0][
|
52
|
-
|
53
|
-
proj_type = proj_props.get(
|
54
|
-
proj_unique = proj_props.get(
|
55
|
-
proj_identifier = proj_props.get(
|
56
|
-
proj_name = proj_props.get(
|
57
|
-
proj_desc = proj_props.get(
|
58
|
-
proj_status = proj_props.get(
|
59
|
-
proj_priority = proj_props.get(
|
60
|
-
proj_start = proj_props.get(
|
61
|
-
proj_props_md = (
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
71
|
+
proj_guid = project[0]["elementHeader"]["guid"]
|
72
|
+
proj_props = project[0]["properties"]
|
73
|
+
|
74
|
+
proj_type = proj_props.get("typeName", "---")
|
75
|
+
proj_unique = proj_props.get("qualifiedName", "---")
|
76
|
+
proj_identifier = proj_props.get("identifier", "---")
|
77
|
+
proj_name = proj_props.get("name", "---")
|
78
|
+
proj_desc = proj_props.get("description", "---")
|
79
|
+
proj_status = proj_props.get("projectStatus", "---")
|
80
|
+
proj_priority = proj_props.get("priority", "---")
|
81
|
+
proj_start = proj_props.get("startDate", "---")[:-10]
|
82
|
+
proj_props_md = (
|
83
|
+
f"* Name: {proj_name}\n"
|
84
|
+
f"* Identifier: {proj_identifier}\n"
|
85
|
+
f"* Type: {proj_type}\n"
|
86
|
+
f"* Status: {proj_status}\n"
|
87
|
+
f"* priority: {proj_priority}\n"
|
88
|
+
f"* Start: {proj_start}\n"
|
89
|
+
f"* Description: {proj_desc}\n"
|
90
|
+
f"* GUID: {proj_guid}"
|
91
|
+
)
|
69
92
|
else:
|
70
93
|
return
|
71
94
|
|
@@ -73,8 +96,8 @@ def project_structure_viewer(root: str, server_name: str, platform_url: str, use
|
|
73
96
|
member_md = ""
|
74
97
|
if type(team) is list:
|
75
98
|
for member in team:
|
76
|
-
member_guid = member[
|
77
|
-
member_unique = member[
|
99
|
+
member_guid = member["member"]["guid"]
|
100
|
+
member_unique = member["member"]["uniqueName"]
|
78
101
|
member_md += f"* Member Unique Name: {member_unique}\n* Member GUID: {member_guid}"
|
79
102
|
proj_props_md += f"\n### Team Members\n {member_md}"
|
80
103
|
|
@@ -86,10 +109,12 @@ def project_structure_viewer(root: str, server_name: str, platform_url: str, use
|
|
86
109
|
if type(linked_projects) is list:
|
87
110
|
for proj in linked_projects:
|
88
111
|
child_md = ""
|
89
|
-
child_guid = proj[
|
90
|
-
child_name = proj[
|
91
|
-
relationship = proj[
|
92
|
-
|
112
|
+
child_guid = proj["elementHeader"]["guid"]
|
113
|
+
child_name = proj["properties"]["name"]
|
114
|
+
relationship = proj["relatedElement"]["relationshipHeader"]["type"][
|
115
|
+
"typeName"
|
116
|
+
]
|
117
|
+
if relationship != "ProjectHierarchy":
|
93
118
|
continue
|
94
119
|
walk_project_hierarchy(project_client, child_name, t)
|
95
120
|
|
@@ -98,7 +123,9 @@ def project_structure_viewer(root: str, server_name: str, platform_url: str, use
|
|
98
123
|
|
99
124
|
try:
|
100
125
|
console = Console(width=width, force_terminal=not jupyter)
|
101
|
-
tree = Tree(
|
126
|
+
tree = Tree(
|
127
|
+
f"[bold bright green on black]{root}", guide_style="bold bright_blue"
|
128
|
+
)
|
102
129
|
p_client = ProjectManager(server_name, platform_url, user_id=user)
|
103
130
|
|
104
131
|
token1 = p_client.create_egeria_bearer_token(user, user_password)
|
@@ -106,7 +133,11 @@ def project_structure_viewer(root: str, server_name: str, platform_url: str, use
|
|
106
133
|
walk_project_hierarchy(p_client, root, tree, root=True)
|
107
134
|
print(tree)
|
108
135
|
|
109
|
-
except (
|
136
|
+
except (
|
137
|
+
InvalidParameterException,
|
138
|
+
PropertyServerException,
|
139
|
+
UserNotAuthorizedException,
|
140
|
+
) as e:
|
110
141
|
print_exception_response(e)
|
111
142
|
|
112
143
|
|
@@ -125,9 +156,11 @@ def main():
|
|
125
156
|
user_pass = args.password if args.password is not None else EGERIA_USER_PASSWORD
|
126
157
|
|
127
158
|
try:
|
128
|
-
root_project = Prompt.ask(
|
159
|
+
root_project = Prompt.ask(
|
160
|
+
"Enter the Root Project to start from:", default="Sustainability Campaign"
|
161
|
+
)
|
129
162
|
project_structure_viewer(root_project, server, url, userid, user_pass)
|
130
|
-
except
|
163
|
+
except KeyboardInterrupt:
|
131
164
|
pass
|
132
165
|
|
133
166
|
|
pyegeria/__init__.py
CHANGED
@@ -75,6 +75,7 @@ from .egeria_cat_client import EgeriaCat
|
|
75
75
|
from .egeria_tech_client import EgeriaTech
|
76
76
|
from .egeria_config_client import EgeriaConfig
|
77
77
|
from .egeria_ops_client import EgeriaOps
|
78
|
+
from .egeria_client import Egeria
|
78
79
|
|
79
80
|
#
|
80
81
|
# The following assignments were generated by the `create_tech_guid_lists.py` utility that uses the pyegeria functions
|
pyegeria/egeria_cat_client.py
CHANGED
@@ -65,19 +65,9 @@ class EgeriaCat(
|
|
65
65
|
)
|
66
66
|
|
67
67
|
GlossaryManager.__init__(
|
68
|
-
self,
|
69
|
-
server_name,
|
70
|
-
platform_url,
|
71
|
-
token,
|
72
|
-
user_id,
|
73
|
-
user_pwd,
|
68
|
+
self, server_name, platform_url, user_id, user_pwd, token=token
|
74
69
|
)
|
75
70
|
|
76
71
|
ProjectManager.__init__(
|
77
|
-
self,
|
78
|
-
server_name,
|
79
|
-
platform_url,
|
80
|
-
token,
|
81
|
-
user_id,
|
82
|
-
user_pwd,
|
72
|
+
self, server_name, platform_url, user_id, user_pwd, token
|
83
73
|
)
|
@@ -0,0 +1,114 @@
|
|
1
|
+
"""
|
2
|
+
SPDX-License-Identifier: Apache-2.0
|
3
|
+
Copyright Contributors to the ODPi Egeria project.
|
4
|
+
|
5
|
+
This class is the overall Egeria Client covering all of the functional pyegeria classes. May not be appropriate
|
6
|
+
for all use cases..using the more role based clients is often appropriate:
|
7
|
+
* EgeriaCat - for catalog users
|
8
|
+
* EgeriaConfig - for configuring the Egeria platform and servers
|
9
|
+
* EgeriaMy - for personal actions
|
10
|
+
* EgeriaOps - for operations and administration
|
11
|
+
* EgeriaTech - for technical users such as data scientists and engineers
|
12
|
+
|
13
|
+
"""
|
14
|
+
|
15
|
+
from pyegeria import (
|
16
|
+
AssetCatalog,
|
17
|
+
CollectionManager,
|
18
|
+
EgeriaCat,
|
19
|
+
EgeriaMy,
|
20
|
+
GlossaryManager,
|
21
|
+
ProjectManager,
|
22
|
+
RuntimeManager,
|
23
|
+
ServerOps,
|
24
|
+
ActionAuthor,
|
25
|
+
AutomatedCuration,
|
26
|
+
ClassificationManager,
|
27
|
+
RegisteredInfo,
|
28
|
+
ValidMetadataManager,
|
29
|
+
FullServerConfig,
|
30
|
+
EgeriaConfig,
|
31
|
+
)
|
32
|
+
|
33
|
+
|
34
|
+
class Egeria(
|
35
|
+
AssetCatalog,
|
36
|
+
CollectionManager,
|
37
|
+
EgeriaMy,
|
38
|
+
GlossaryManager,
|
39
|
+
# GovernanceAuthor,
|
40
|
+
# PeopleOrganizer,
|
41
|
+
ProjectManager,
|
42
|
+
RuntimeManager,
|
43
|
+
ServerOps,
|
44
|
+
FullServerConfig,
|
45
|
+
ActionAuthor,
|
46
|
+
AutomatedCuration,
|
47
|
+
ClassificationManager,
|
48
|
+
RegisteredInfo,
|
49
|
+
# TemplateManager,
|
50
|
+
ValidMetadataManager,
|
51
|
+
):
|
52
|
+
"""
|
53
|
+
Client to issue Runtime status requests.
|
54
|
+
|
55
|
+
Attributes:
|
56
|
+
|
57
|
+
server_name: str
|
58
|
+
Name of the server to use.
|
59
|
+
platform_url : str
|
60
|
+
URL of the server platform to connect to
|
61
|
+
user_id : str
|
62
|
+
The identity of the user calling the method - this sets a default optionally used by the methods
|
63
|
+
when the user doesn't pass the user_id on a method call.
|
64
|
+
user_pwd: str
|
65
|
+
The password associated with the user_id. Defaults to None
|
66
|
+
token: str
|
67
|
+
An optional bearer token
|
68
|
+
|
69
|
+
Methods:
|
70
|
+
|
71
|
+
"""
|
72
|
+
|
73
|
+
def __init__(
|
74
|
+
self,
|
75
|
+
server_name: str,
|
76
|
+
platform_url: str,
|
77
|
+
user_id: str,
|
78
|
+
user_pwd: str = None,
|
79
|
+
token: str = None,
|
80
|
+
):
|
81
|
+
AssetCatalog.__init__(self, server_name, platform_url, user_id, user_pwd, token)
|
82
|
+
CollectionManager.__init__(
|
83
|
+
self, server_name, platform_url, user_id, user_pwd, token
|
84
|
+
)
|
85
|
+
EgeriaMy.__init__(self, server_name, platform_url, user_id, user_pwd, token)
|
86
|
+
|
87
|
+
GlossaryManager.__init__(
|
88
|
+
self, server_name, platform_url, user_id, user_pwd, token
|
89
|
+
)
|
90
|
+
|
91
|
+
ProjectManager.__init__(
|
92
|
+
self, server_name, platform_url, user_id, user_pwd, token
|
93
|
+
)
|
94
|
+
|
95
|
+
RuntimeManager.__init__(
|
96
|
+
self, server_name, platform_url, user_id, user_pwd, token=token
|
97
|
+
)
|
98
|
+
ServerOps.__init__(self, server_name, platform_url, user_id, user_pwd)
|
99
|
+
|
100
|
+
EgeriaConfig.__init__(self, server_name, platform_url, user_id, user_pwd)
|
101
|
+
|
102
|
+
ActionAuthor.__init__(self, server_name, platform_url, user_id, user_pwd, token)
|
103
|
+
AutomatedCuration.__init__(
|
104
|
+
self, server_name, platform_url, user_id, user_pwd, token
|
105
|
+
)
|
106
|
+
ClassificationManager.__init__(
|
107
|
+
self, server_name, platform_url, user_id, user_pwd, token
|
108
|
+
)
|
109
|
+
RegisteredInfo.__init__(
|
110
|
+
self, server_name, platform_url, user_id, user_pwd, token
|
111
|
+
)
|
112
|
+
ValidMetadataManager.__init__(
|
113
|
+
self, server_name, platform_url, user_id, user_pwd, token
|
114
|
+
)
|
@@ -42,13 +42,12 @@ class GlossaryBrowser(Client):
|
|
42
42
|
self,
|
43
43
|
server_name: str,
|
44
44
|
platform_url: str,
|
45
|
-
token: str = None,
|
46
45
|
user_id: str = None,
|
47
46
|
user_pwd: str = None,
|
48
|
-
|
47
|
+
token: str = None,
|
49
48
|
):
|
50
49
|
self.admin_command_root: str
|
51
|
-
Client.__init__(self, server_name, platform_url, user_id
|
50
|
+
Client.__init__(self, server_name, platform_url, user_id, user_pwd, token=token)
|
52
51
|
|
53
52
|
#
|
54
53
|
# Get Valid Values for Enumerations
|
@@ -48,11 +48,9 @@ class GlossaryManager(GlossaryBrowser):
|
|
48
48
|
self,
|
49
49
|
server_name: str,
|
50
50
|
platform_url: str,
|
51
|
-
token: str = None,
|
52
51
|
user_id: str = None,
|
53
52
|
user_pwd: str = None,
|
54
|
-
|
55
|
-
sync_mode: bool = True,
|
53
|
+
token: str = None,
|
56
54
|
):
|
57
55
|
self.admin_command_root: str
|
58
56
|
Client.__init__(self, server_name, platform_url, user_id=user_id, token=token)
|
pyegeria/project_manager_omvs.py
CHANGED
@@ -40,10 +40,9 @@ class ProjectManager(Client):
|
|
40
40
|
self,
|
41
41
|
server_name: str,
|
42
42
|
platform_url: str,
|
43
|
-
token: str = None,
|
44
43
|
user_id: str = None,
|
45
44
|
user_pwd: str = None,
|
46
|
-
|
45
|
+
token: str = None,
|
47
46
|
):
|
48
47
|
self.command_base: str = f"/api/open-metadata/project-manager/metadata-elements"
|
49
48
|
Client.__init__(self, server_name, platform_url, user_id=user_id, token=token)
|
@@ -4,8 +4,8 @@ examples/widgets/cat/README.md,sha256=-aaAnIT2fcfU63vajgB-RzQk4l4yFdhkyVfSaTPiqR
|
|
4
4
|
examples/widgets/cat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
5
|
examples/widgets/cat/get_asset_graph.py,sha256=5YwgV4D1_R9pptPJuIFbPOjWpZBnfPiEan33_To75TE,11194
|
6
6
|
examples/widgets/cat/get_collection.py,sha256=v7hCeEDcAQmcjM9qepuk8gg_RnYra3_v009AJOunkKk,5005
|
7
|
-
examples/widgets/cat/get_project_dependencies.py,sha256=
|
8
|
-
examples/widgets/cat/get_project_structure.py,sha256=
|
7
|
+
examples/widgets/cat/get_project_dependencies.py,sha256=B0JaMSUi0hzVgos1sTY2uUPGy1DzKEJMIbbYfMUWvQA,5981
|
8
|
+
examples/widgets/cat/get_project_structure.py,sha256=n2GbNd07w1DTo7jTR8b2ewXRyNcat_2BcCBRyDMldwk,5969
|
9
9
|
examples/widgets/cat/get_tech_type_elements.py,sha256=-m3Q0BoNqkCtV8h75vMwTcOV-_ymEXmnJcr4Ec7WMAw,6180
|
10
10
|
examples/widgets/cat/get_tech_type_template.py,sha256=gMFVcgCIm09GQu1Vsc5ZUVH9XLhItAG1eVGZJrcnHeQ,6174
|
11
11
|
examples/widgets/cat/list_archives.py,sha256=bQ0Uph35hMvufn15nO1ulYsZ20fyZmvCr57sCDgHMy8,5498
|
@@ -64,7 +64,7 @@ examples/widgets/tech/list_tech_templates.py,sha256=RiyA8a4fIL9BGeGf37Bkk471mK5E
|
|
64
64
|
examples/widgets/tech/list_valid_metadata_values.py,sha256=N3D0_BmREPszgde3uvvYdfzq7DJ46uMOv2t1vtncGsw,6333
|
65
65
|
examples/widgets/tech/x_list_related_elements.py,sha256=qBsf1619cecaMCTzG0MG22fAT32WNH2Z3CXrjo9z-5Y,5853
|
66
66
|
pyegeria/Xloaded_resources_omvs.py,sha256=xNLlmEXG8njFyiN08WKkT3D_9iLWzObM_2u5GTirjEo,3276
|
67
|
-
pyegeria/__init__.py,sha256=
|
67
|
+
pyegeria/__init__.py,sha256=koiV5cFtZDddi3QKI0itvUZCrCNn6_SOWdNlluS7L10,9499
|
68
68
|
pyegeria/_client.py,sha256=d1cG5p7yfZDwau3O4kvlHuB-XAey-mcT3Kz3wKwtHis,26164
|
69
69
|
pyegeria/_deprecated_gov_engine.py,sha256=dWNcwVsE5__dF2u4QiIyQrssozzzOjBbLld8MdpmVCQ,17264
|
70
70
|
pyegeria/_exceptions.py,sha256=NJ7vAhmvusK1ENvY2MMrBB6A6TgpYjzS9QJxFH56b8c,18470
|
@@ -77,26 +77,27 @@ pyegeria/classification_manager_omvs.py,sha256=XQ6VKz6NHtSMPr5BUnamzCBJKKVnoROoV
|
|
77
77
|
pyegeria/collection_manager_omvs.py,sha256=IgemuKE-DjBkAG7y2kQFO0p3zv7YxpLHW4RU3IPuTRw,109965
|
78
78
|
pyegeria/core_omag_server_config.py,sha256=qp1mpTm8q6QrP1IOiXIDOpAGGyIG6fJJ0Kqu-XagF88,93659
|
79
79
|
pyegeria/create_tech_guid_lists.py,sha256=jClpvURy20o4UV83LOwhGg3TZdHGzfjZ9y0MNZyG2To,4282
|
80
|
-
pyegeria/egeria_cat_client.py,sha256=
|
80
|
+
pyegeria/egeria_cat_client.py,sha256=zpcYczfSkEL-Nd47Gw6gU2n0Zb_ZKjSAaHkUjo1uRGY,1879
|
81
|
+
pyegeria/egeria_client.py,sha256=t1SZcM4aftc86G0ZcU4pk7H4Hd4LfjhlRrDraqOnQBY,3360
|
81
82
|
pyegeria/egeria_config_client.py,sha256=oJ3Q4ts9ZayFJFB2cKGHaTqDyAZmsvx0GUzc35fEhdk,1030
|
82
83
|
pyegeria/egeria_my_client.py,sha256=a-KHdqEwdaTwxrdpSNDy8vjDI26iZDqGSB_UFqvdoME,1340
|
83
84
|
pyegeria/egeria_ops_client.py,sha256=9w9CcYkzXAHZCrq-YuUS30Z13DXVNTdVntpSHBccKBY,2030
|
84
85
|
pyegeria/egeria_tech_client.py,sha256=SIm1Crh2EzjzmYHxiP-tE3dKJp8UpNkJRppVVsixPlQ,2179
|
85
86
|
pyegeria/feedback_manager_omvs.py,sha256=Snd2Vx3OgzGl3JY-ZhcCdg0U9qb1xeiDZXet_WbWWmk,162239
|
86
87
|
pyegeria/full_omag_server_config.py,sha256=LFexyOaEsE3GOY2zyUc2rCQcDFPc177BzzWgT7uED7k,46941
|
87
|
-
pyegeria/glossary_browser_omvs.py,sha256=
|
88
|
-
pyegeria/glossary_manager_omvs.py,sha256=
|
88
|
+
pyegeria/glossary_browser_omvs.py,sha256=v2axH6uVIpApSwOid0OLEi0LYUnwZsOFLOs3R-hdFFo,103147
|
89
|
+
pyegeria/glossary_manager_omvs.py,sha256=IKslnsc72IqlVBEokYi919M49DjCG_vU8Uc74_mBOhE,129788
|
89
90
|
pyegeria/mermaid_utilities.py,sha256=-0u2_rR4QTUU7hDFxNam-T5zRWMJOKSHzbW_2gUgMsM,8251
|
90
91
|
pyegeria/my_profile_omvs.py,sha256=OcexVwHGLV0JKHN257Un1BZLwcolSS7F6U6jj5uEmQM,40824
|
91
92
|
pyegeria/platform_services.py,sha256=nwuQxnnuf0bpV4LOTAdvpFUKAIUlqtYeXETMsOzFHRg,41710
|
92
|
-
pyegeria/project_manager_omvs.py,sha256=
|
93
|
+
pyegeria/project_manager_omvs.py,sha256=v71B_SOTuaUDiVaC-xhH4v8lDb6cEo53oyVLTycCfY4,74469
|
93
94
|
pyegeria/registered_info.py,sha256=QcOpQUZaM_6sAvdXM09Plxx-tBSJuNq9aD_yoqnL_Zg,6293
|
94
95
|
pyegeria/runtime_manager_omvs.py,sha256=pXsywkzAO85WCp1bqskmeG6kLHdAg12xVmjGG2WMq08,35288
|
95
96
|
pyegeria/server_operations.py,sha256=mtl3P6D9LdquBrOzvPr1zapDxSJ-97RerPUJn_NiAto,16722
|
96
97
|
pyegeria/utils.py,sha256=pkVmS3RrbjaS9yz7FtOCwaOfV5FMqz-__Rt5koCnd9c,5374
|
97
98
|
pyegeria/valid_metadata_omvs.py,sha256=3NjdRkcKWQclGcELJIJPtz7RuenjoVWOXazgU70uCrY,36115
|
98
|
-
pyegeria-0.8.
|
99
|
-
pyegeria-0.8.
|
100
|
-
pyegeria-0.8.
|
101
|
-
pyegeria-0.8.
|
102
|
-
pyegeria-0.8.
|
99
|
+
pyegeria-0.8.4.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
100
|
+
pyegeria-0.8.4.1.dist-info/METADATA,sha256=1X7E_OEQ-HEoW2HIBDkCYE9RoS4A1o3Y41LC8NlCiBU,2819
|
101
|
+
pyegeria-0.8.4.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
102
|
+
pyegeria-0.8.4.1.dist-info/entry_points.txt,sha256=5Q9bDxIqPgdhd3lDnzdRSCYy9hZtNm_BL49bcmbBpGQ,3808
|
103
|
+
pyegeria-0.8.4.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|