pyegeria 0.8.2__py3-none-any.whl → 0.8.4__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
- examples/widgets/cat/list_todos.py +59 -33
- examples/widgets/my/list_my_profile.py +61 -36
- examples/widgets/my/list_my_roles.py +40 -23
- examples/widgets/my/monitor_my_todos.py +45 -23
- examples/widgets/my/monitor_open_todos.py +36 -22
- examples/widgets/my/todo_actions.py +132 -71
- pyegeria/__init__.py +1 -0
- pyegeria/_client.py +1 -9
- pyegeria/egeria_cat_client.py +2 -12
- pyegeria/egeria_client.py +108 -0
- pyegeria/egeria_my_client.py +1 -1
- pyegeria/egeria_ops_client.py +6 -2
- pyegeria/glossary_browser_omvs.py +2 -3
- pyegeria/glossary_manager_omvs.py +1 -3
- pyegeria/my_profile_omvs.py +1 -1
- pyegeria/project_manager_omvs.py +1 -2
- {pyegeria-0.8.2.dist-info → pyegeria-0.8.4.dist-info}/METADATA +1 -1
- {pyegeria-0.8.2.dist-info → pyegeria-0.8.4.dist-info}/RECORD +23 -22
- {pyegeria-0.8.2.dist-info → pyegeria-0.8.4.dist-info}/LICENSE +0 -0
- {pyegeria-0.8.2.dist-info → pyegeria-0.8.4.dist-info}/WHEEL +0 -0
- {pyegeria-0.8.2.dist-info → pyegeria-0.8.4.dist-info}/entry_points.txt +0 -0
@@ -26,33 +26,77 @@ peter_guid = "a187bc48-8154-491f-97b4-a2f3c3f1a00e"
|
|
26
26
|
tanya_guid = "26ec1614-bede-4b25-a2a3-f8ed26db3aaa"
|
27
27
|
|
28
28
|
ERIA_METADATA_STORE = os.environ.get("EGERIA_METADATA_STORE", "active-metadata-store")
|
29
|
-
EGERIA_KAFKA_ENDPOINT = os.environ.get(
|
30
|
-
EGERIA_PLATFORM_URL = os.environ.get(
|
31
|
-
EGERIA_VIEW_SERVER = os.environ.get(
|
32
|
-
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
@click.
|
46
|
-
@click.option(
|
47
|
-
|
48
|
-
|
49
|
-
@click.option(
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
@click.option(
|
54
|
-
|
55
|
-
|
29
|
+
EGERIA_KAFKA_ENDPOINT = os.environ.get("KAFKA_ENDPOINT", "localhost:9092")
|
30
|
+
EGERIA_PLATFORM_URL = os.environ.get("EGERIA_PLATFORM_URL", "https://localhost:9443")
|
31
|
+
EGERIA_VIEW_SERVER = os.environ.get("VIEW_SERVER", "view-server")
|
32
|
+
EGERIA_VIEW_SERVER_URL = os.environ.get(
|
33
|
+
"EGERIA_VIEW_SERVER_URL", "https://localhost:9443"
|
34
|
+
)
|
35
|
+
EGERIA_INTEGRATION_DAEMON = os.environ.get("INTEGRATION_DAEMON", "integration-daemon")
|
36
|
+
EGERIA_INTEGRATION_DAEMON_URL = os.environ.get(
|
37
|
+
"EGERIA_INTEGRATION_DAEMON_URL", "https://localhost:9443"
|
38
|
+
)
|
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
|
+
|
44
|
+
|
45
|
+
@click.command("create-todo")
|
46
|
+
@click.option(
|
47
|
+
"--server", default=EGERIA_VIEW_SERVER, help="Egeria metadata store to load"
|
48
|
+
)
|
49
|
+
@click.option(
|
50
|
+
"--url", default=EGERIA_VIEW_SERVER_URL, help="URL of Egeria platform to connect to"
|
51
|
+
)
|
52
|
+
@click.option("--userid", default=EGERIA_USER, help="Egeria user")
|
53
|
+
@click.option("--password", default=EGERIA_USER_PASSWORD, help="Egeria user password")
|
54
|
+
@click.option("--timeout", default=60, help="Number of seconds to wait")
|
55
|
+
@click.option("--name", prompt="Todo Name", help="Name of Todo", required=True)
|
56
|
+
@click.option(
|
57
|
+
"--description",
|
58
|
+
prompt="Description",
|
59
|
+
help="Brief description of To Do item",
|
60
|
+
required=True,
|
61
|
+
)
|
62
|
+
@click.option(
|
63
|
+
"--type", prompt="Todo Type", help="Type of Todo", required=True, default="forMe"
|
64
|
+
)
|
65
|
+
@click.option(
|
66
|
+
"--priority",
|
67
|
+
prompt="Todo Priority",
|
68
|
+
type=int,
|
69
|
+
help="Priority of Todo",
|
70
|
+
required=True,
|
71
|
+
default=0,
|
72
|
+
)
|
73
|
+
@click.option(
|
74
|
+
"--due",
|
75
|
+
prompt="Due Date",
|
76
|
+
help="Due date of Todo (yyyy-mm-dd)",
|
77
|
+
default=datetime.now().strftime("%Y-%m-%d"),
|
78
|
+
required=True,
|
79
|
+
)
|
80
|
+
@click.option(
|
81
|
+
"--assigned-to",
|
82
|
+
prompt="Assigned to",
|
83
|
+
help="Party the Todo is assigned to",
|
84
|
+
required=True,
|
85
|
+
default=peter_guid,
|
86
|
+
)
|
87
|
+
def create_todo(
|
88
|
+
server,
|
89
|
+
url,
|
90
|
+
userid,
|
91
|
+
password,
|
92
|
+
timeout,
|
93
|
+
name,
|
94
|
+
description,
|
95
|
+
type,
|
96
|
+
priority,
|
97
|
+
due,
|
98
|
+
assigned_to,
|
99
|
+
):
|
56
100
|
"""Create a new ToDo item"""
|
57
101
|
m_client = MyProfile(server, url, user_id=userid, user_pwd=password)
|
58
102
|
token = m_client.create_egeria_bearer_token()
|
@@ -66,9 +110,9 @@ def create_todo(server, url, userid, password, timeout, name, description, type,
|
|
66
110
|
"toDoType": type,
|
67
111
|
"priority": priority,
|
68
112
|
"dueTime": due,
|
69
|
-
"status": "OPEN"
|
113
|
+
"status": "OPEN",
|
70
114
|
},
|
71
|
-
"assignToActorGUID": assigned_to
|
115
|
+
"assignToActorGUID": assigned_to,
|
72
116
|
}
|
73
117
|
|
74
118
|
resp = m_client.create_to_do(body)
|
@@ -83,15 +127,19 @@ def create_todo(server, url, userid, password, timeout, name, description, type,
|
|
83
127
|
m_client.close_session()
|
84
128
|
|
85
129
|
|
86
|
-
@click.command(
|
87
|
-
@click.option(
|
88
|
-
|
89
|
-
|
90
|
-
@click.option(
|
91
|
-
|
92
|
-
|
130
|
+
@click.command("delete-todo")
|
131
|
+
@click.option(
|
132
|
+
"--server", default=EGERIA_VIEW_SERVER, help="Egeria metadata store to load"
|
133
|
+
)
|
134
|
+
@click.option(
|
135
|
+
"--url", default=EGERIA_VIEW_SERVER_URL, help="URL of Egeria platform to connect to"
|
136
|
+
)
|
137
|
+
@click.option("--userid", default=EGERIA_USER, help="Egeria user")
|
138
|
+
@click.option("--password", default=EGERIA_USER_PASSWORD, help="Egeria user password")
|
139
|
+
@click.option("--timeout", default=60, help="Number of seconds to wait")
|
140
|
+
@click.argument("todo-guid")
|
93
141
|
def delete_todo(server, url, userid, password, timeout, todo_guid):
|
94
|
-
"""Delete the todo item specified
|
142
|
+
"""Delete the todo item specified"""
|
95
143
|
m_client = MyProfile(server, url, user_id=userid, user_pwd=password)
|
96
144
|
token = m_client.create_egeria_bearer_token()
|
97
145
|
try:
|
@@ -105,26 +153,32 @@ def delete_todo(server, url, userid, password, timeout, todo_guid):
|
|
105
153
|
m_client.close_session()
|
106
154
|
|
107
155
|
|
108
|
-
@click.command(
|
109
|
-
@click.argument(
|
110
|
-
@click.option(
|
111
|
-
|
112
|
-
|
113
|
-
@click.option(
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
156
|
+
@click.command("change-todo-status")
|
157
|
+
@click.argument("todo-guid")
|
158
|
+
@click.option(
|
159
|
+
"--server", default=EGERIA_VIEW_SERVER, help="Egeria metadata store to load"
|
160
|
+
)
|
161
|
+
@click.option(
|
162
|
+
"--url", default=EGERIA_VIEW_SERVER_URL, help="URL of Egeria platform to connect to"
|
163
|
+
)
|
164
|
+
@click.option("--userid", default=EGERIA_USER, help="Egeria user")
|
165
|
+
@click.option("--password", default=EGERIA_USER_PASSWORD, help="Egeria user password")
|
166
|
+
@click.option("--timeout", default=60, help="Number of seconds to wait")
|
167
|
+
@click.option(
|
168
|
+
"--new-status",
|
169
|
+
type=click.Choice(
|
170
|
+
["OPEN", "IN_PROGRESS", "WAITING", "COMPLETE", "ABANDONED"],
|
171
|
+
case_sensitive="False",
|
172
|
+
),
|
173
|
+
help="Enter the new ToDo item status",
|
174
|
+
required=True,
|
175
|
+
)
|
118
176
|
def change_todo_status(server, url, userid, password, timeout, todo_guid, new_status):
|
119
177
|
"""Update a ToDo item status"""
|
120
178
|
m_client = MyProfile(server, url, user_id=userid, user_pwd=password)
|
121
179
|
token = m_client.create_egeria_bearer_token()
|
122
180
|
try:
|
123
|
-
|
124
|
-
body = {
|
125
|
-
"class": "ToDoProperties",
|
126
|
-
"toDoStatus": new_status
|
127
|
-
}
|
181
|
+
body = {"class": "ToDoProperties", "toDoStatus": new_status}
|
128
182
|
|
129
183
|
m_client.update_to_do(todo_guid, body, is_merge_update=True)
|
130
184
|
|
@@ -136,22 +190,26 @@ def change_todo_status(server, url, userid, password, timeout, todo_guid, new_st
|
|
136
190
|
m_client.close_session()
|
137
191
|
|
138
192
|
|
139
|
-
@click.command(
|
140
|
-
@click.option(
|
141
|
-
|
142
|
-
|
143
|
-
@click.option(
|
144
|
-
|
145
|
-
|
193
|
+
@click.command("mark-todo-complete")
|
194
|
+
@click.option(
|
195
|
+
"--server", default=EGERIA_VIEW_SERVER, help="Egeria metadata store to load"
|
196
|
+
)
|
197
|
+
@click.option(
|
198
|
+
"--url", default=EGERIA_VIEW_SERVER_URL, help="URL of Egeria platform to connect to"
|
199
|
+
)
|
200
|
+
@click.option("--userid", default=EGERIA_USER, help="Egeria user")
|
201
|
+
@click.option("--password", default=EGERIA_USER_PASSWORD, help="Egeria user password")
|
202
|
+
@click.option("--timeout", default=60, help="Number of seconds to wait")
|
203
|
+
@click.argument("todo-guid")
|
146
204
|
def mark_todo_complete(server, url, userid, password, timeout, todo_guid):
|
147
205
|
"""Mark the specified todo as complete"""
|
148
206
|
m_client = MyProfile(server, url, user_id=userid, user_pwd=password)
|
149
207
|
try:
|
150
208
|
token = m_client.create_egeria_bearer_token()
|
151
209
|
body = {
|
152
|
-
|
153
|
-
|
154
|
-
|
210
|
+
"class": "ToDoProperties",
|
211
|
+
"completionTime": time.asctime(),
|
212
|
+
"toDoStatus": "COMPLETE",
|
155
213
|
}
|
156
214
|
|
157
215
|
m_client.update_to_do(todo_guid, body, is_merge_update=True)
|
@@ -164,20 +222,23 @@ def mark_todo_complete(server, url, userid, password, timeout, todo_guid):
|
|
164
222
|
m_client.close_session()
|
165
223
|
|
166
224
|
|
167
|
-
@click.command(
|
168
|
-
@click.option(
|
169
|
-
|
170
|
-
|
171
|
-
@click.option(
|
172
|
-
|
173
|
-
|
174
|
-
@click.
|
225
|
+
@click.command("reassign-todo")
|
226
|
+
@click.option(
|
227
|
+
"--server", default=EGERIA_VIEW_SERVER, help="Egeria metadata store to load"
|
228
|
+
)
|
229
|
+
@click.option(
|
230
|
+
"--url", default=EGERIA_VIEW_SERVER_URL, help="URL of Egeria platform to connect to"
|
231
|
+
)
|
232
|
+
@click.option("--userid", default=EGERIA_USER, help="Egeria user")
|
233
|
+
@click.option("--password", default=EGERIA_USER_PASSWORD, help="Egeria user password")
|
234
|
+
@click.option("--timeout", default=60, help="Number of seconds to wait")
|
235
|
+
@click.argument("todo-guid")
|
236
|
+
@click.argument("new-actor-guid")
|
175
237
|
def reassign_todo(server, url, userid, password, timeout, todo_guid, new_actor_guid):
|
176
238
|
"""Reassign ToDo item to new actor"""
|
177
239
|
m_client = MyProfile(server, url, user_id=userid, user_pwd=password)
|
178
240
|
token = m_client.create_egeria_bearer_token()
|
179
241
|
try:
|
180
|
-
|
181
242
|
m_client.reassign_to_do(todo_guid, new_actor_guid)
|
182
243
|
|
183
244
|
click.echo(f"Reassigned Todo item {todo_guid} to {new_actor_guid}")
|
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/_client.py
CHANGED
@@ -135,15 +135,7 @@ class Client:
|
|
135
135
|
self.platform_url = platform_url
|
136
136
|
if validate_server_name(server_name):
|
137
137
|
self.server_name = server_name
|
138
|
-
# if self.sync_mode:
|
139
|
-
# self.session = httpx.Client(verify=self.ssl_verify)
|
140
|
-
# else:
|
141
|
-
# self.session = httpx.AsyncClient(verify=self.ssl_verify)
|
142
138
|
self.session = AsyncClient(verify=enable_ssl_check)
|
143
|
-
# if (len(template_guids) == 0) or (len(integration_guids) == 0):
|
144
|
-
# self.build_global_guid_lists()
|
145
|
-
# self.template_guids = template_guids
|
146
|
-
# self.integration_guids = integration_guids
|
147
139
|
|
148
140
|
def __enter__(self):
|
149
141
|
return self
|
@@ -207,7 +199,7 @@ class Client:
|
|
207
199
|
|
208
200
|
url = f"{self.platform_url}/api/token"
|
209
201
|
data = {"userId": user_id, "password": password}
|
210
|
-
async with AsyncClient(verify=
|
202
|
+
async with AsyncClient(verify=enable_ssl_check) as client:
|
211
203
|
try:
|
212
204
|
response = await client.post(url, json=data, headers=self.headers)
|
213
205
|
token = response.text
|
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,108 @@
|
|
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
|
+
):
|
46
|
+
"""
|
47
|
+
Client to issue Runtime status requests.
|
48
|
+
|
49
|
+
Attributes:
|
50
|
+
|
51
|
+
server_name: str
|
52
|
+
Name of the server to use.
|
53
|
+
platform_url : str
|
54
|
+
URL of the server platform to connect to
|
55
|
+
user_id : str
|
56
|
+
The identity of the user calling the method - this sets a default optionally used by the methods
|
57
|
+
when the user doesn't pass the user_id on a method call.
|
58
|
+
user_pwd: str
|
59
|
+
The password associated with the user_id. Defaults to None
|
60
|
+
token: str
|
61
|
+
An optional bearer token
|
62
|
+
|
63
|
+
Methods:
|
64
|
+
|
65
|
+
"""
|
66
|
+
|
67
|
+
def __init__(
|
68
|
+
self,
|
69
|
+
server_name: str,
|
70
|
+
platform_url: str,
|
71
|
+
user_id: str,
|
72
|
+
user_pwd: str = None,
|
73
|
+
token: str = None,
|
74
|
+
):
|
75
|
+
AssetCatalog.__init__(self, server_name, platform_url, user_id, user_pwd, token)
|
76
|
+
CollectionManager.__init__(
|
77
|
+
self, server_name, platform_url, user_id, user_pwd, token
|
78
|
+
)
|
79
|
+
EgeriaMy.__init__(self, server_name, platform_url, user_id, user_pwd, token)
|
80
|
+
|
81
|
+
GlossaryManager.__init__(
|
82
|
+
self, server_name, platform_url, user_id, user_pwd, token
|
83
|
+
)
|
84
|
+
|
85
|
+
ProjectManager.__init__(
|
86
|
+
self, server_name, platform_url, user_id, user_pwd, token
|
87
|
+
)
|
88
|
+
|
89
|
+
RuntimeManager.__init__(
|
90
|
+
self, server_name, platform_url, user_id, user_pwd, token=token
|
91
|
+
)
|
92
|
+
ServerOps.__init__(self, server_name, platform_url, user_id, user_pwd)
|
93
|
+
|
94
|
+
EgeriaConfig.__init__(self, server_name, platform_url, user_id, user_pwd)
|
95
|
+
|
96
|
+
ActionAuthor.__init__(self, server_name, platform_url, user_id, user_pwd, token)
|
97
|
+
AutomatedCuration.__init__(
|
98
|
+
self, server_name, platform_url, user_id, user_pwd, token
|
99
|
+
)
|
100
|
+
ClassificationManager.__init__(
|
101
|
+
self, server_name, platform_url, user_id, user_pwd, token
|
102
|
+
)
|
103
|
+
RegisteredInfo.__init__(
|
104
|
+
self, server_name, platform_url, user_id, user_pwd, token
|
105
|
+
)
|
106
|
+
ValidMetadataManager.__init__(
|
107
|
+
self, server_name, platform_url, user_id, user_pwd, token
|
108
|
+
)
|
pyegeria/egeria_my_client.py
CHANGED
@@ -41,7 +41,7 @@ class EgeriaMy(MyProfile, FeedbackManager):
|
|
41
41
|
user_pwd: str = None,
|
42
42
|
token: str = None,
|
43
43
|
):
|
44
|
-
MyProfile.__init__(self, server_name, platform_url,
|
44
|
+
MyProfile.__init__(self, server_name, platform_url, user_id, user_pwd, token)
|
45
45
|
FeedbackManager.__init__(
|
46
46
|
self, server_name, platform_url, token, user_id, user_pwd
|
47
47
|
)
|
pyegeria/egeria_ops_client.py
CHANGED
@@ -25,10 +25,11 @@ from pyegeria import (
|
|
25
25
|
ServerOps,
|
26
26
|
EgeriaConfig,
|
27
27
|
Platform,
|
28
|
+
EgeriaMy,
|
28
29
|
)
|
29
30
|
|
30
31
|
|
31
|
-
class EgeriaOps(
|
32
|
+
class EgeriaOps(RuntimeManager, EgeriaConfig, ServerOps, EgeriaMy):
|
32
33
|
"""
|
33
34
|
Client for managing Egeria operations.
|
34
35
|
|
@@ -60,8 +61,11 @@ class EgeriaOps(EgeriaConfig, Platform, RuntimeManager, ServerOps):
|
|
60
61
|
token: str = None,
|
61
62
|
):
|
62
63
|
EgeriaConfig.__init__(self, server_name, platform_url, user_id, user_pwd)
|
63
|
-
Platform.__init__(self, server_name, platform_url, user_id, user_pwd)
|
64
64
|
RuntimeManager.__init__(
|
65
65
|
self, server_name, platform_url, user_id, user_pwd, token=token
|
66
66
|
)
|
67
67
|
ServerOps.__init__(self, server_name, platform_url, user_id, user_pwd)
|
68
|
+
|
69
|
+
EgeriaMy.__init__(
|
70
|
+
self, server_name, platform_url, user_id, user_pwd, token=token
|
71
|
+
)
|
@@ -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/my_profile_omvs.py
CHANGED
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
|
@@ -15,7 +15,7 @@ examples/widgets/cat/list_glossary.py,sha256=ybHFl1qebnE48GqtYaM1Gl26Vs9f9YAPAnr
|
|
15
15
|
examples/widgets/cat/list_projects.py,sha256=Jzs-DtIpPhCH-gY4PYT6mnRBWnEf4m18TFfcw8UymNU,8011
|
16
16
|
examples/widgets/cat/list_relationships.py,sha256=U9f78cOi4HyaacqNaFSMq_7rRxVcEczvwPv468GYw3Q,5869
|
17
17
|
examples/widgets/cat/list_tech_types.py,sha256=20T4v6L5qeebSsaL1nGkFMDAIsy2W3A3SMm1RcgFoh0,4609
|
18
|
-
examples/widgets/cat/list_todos.py,sha256=
|
18
|
+
examples/widgets/cat/list_todos.py,sha256=iPxHRyW3X5tiREio4TUOwRPvNPjU0gxm3pVnUI79ir4,6542
|
19
19
|
examples/widgets/cat/list_user_ids.py,sha256=7JinL7rknPbGusIb8ikXKEaV1vvbuvx_WWtbmlfS_DY,5093
|
20
20
|
examples/widgets/cli/__init__.py,sha256=6d_R0KZBNnJy9EBz9J2xvGFlx-3j_ZPqPCxKgdvYeDQ,291
|
21
21
|
examples/widgets/cli/egeria.py,sha256=yY_7QRTH7fo4qlHfqrf2OUHuyy_MbyMWexxgCbQAPIk,28755
|
@@ -26,12 +26,12 @@ examples/widgets/cli/egeria_tech.py,sha256=B0lmlSUVcUXS426jBA71sGSqyl4dqm967wR5A
|
|
26
26
|
examples/widgets/cli/ops_config.py,sha256=m4AfPjf-fR4EBTx8Dc2mcgrfWwAxb30YGeV-v79bg4U,1450
|
27
27
|
examples/widgets/my/README.md,sha256=ZheFhj_VoPMhcWjW3pGchHB0vH_A9PklSmrSkzKdrcQ,844
|
28
28
|
examples/widgets/my/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
29
|
-
examples/widgets/my/list_my_profile.py,sha256=
|
30
|
-
examples/widgets/my/list_my_roles.py,sha256=
|
31
|
-
examples/widgets/my/monitor_my_todos.py,sha256=
|
32
|
-
examples/widgets/my/monitor_open_todos.py,sha256=
|
29
|
+
examples/widgets/my/list_my_profile.py,sha256=jJaGAHrhFv9VQR9li5pzFN3ihqhHv9LmnAVPiKvPp3U,5678
|
30
|
+
examples/widgets/my/list_my_roles.py,sha256=AhyKXSQxBPDh2QQoL90bPQPkNnu1w7whpk9kZoBxRTQ,5175
|
31
|
+
examples/widgets/my/monitor_my_todos.py,sha256=YiwyQgtA7YsfW4-Ps-1ymvFjRqp-Egubv9j8iFUMUXE,6601
|
32
|
+
examples/widgets/my/monitor_open_todos.py,sha256=KDrAjdLPP3j0K9Y3G95BIgr51ktTx3mMlKydLFDF2YQ,5466
|
33
33
|
examples/widgets/my/my_profile_actions.py,sha256=ytPBLw7_UgYCv1ljxxHtaDCNG65djKZdfMYF6wFpEtU,4138
|
34
|
-
examples/widgets/my/todo_actions.py,sha256=
|
34
|
+
examples/widgets/my/todo_actions.py,sha256=uihltirrAPtwYNygnNBAVWgfS0W7acoETz1_h3XW_4o,8369
|
35
35
|
examples/widgets/ops/README.md,sha256=PJsSDcvMv6E6og6y-cwvxFX5lhCII0UCwgKiM1T17MQ,1595
|
36
36
|
examples/widgets/ops/__init__.py,sha256=SCfzF3-aMx8EpqLWmH7JQf13gTmMAtHRbg69oseLvi8,480
|
37
37
|
examples/widgets/ops/engine_actions.py,sha256=rxtCacBTdu6qHAXIvv7KfKZIpfj9-B3Uap1Qy-x7hF4,3013
|
@@ -64,8 +64,8 @@ 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=
|
68
|
-
pyegeria/_client.py,sha256=
|
67
|
+
pyegeria/__init__.py,sha256=koiV5cFtZDddi3QKI0itvUZCrCNn6_SOWdNlluS7L10,9499
|
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
|
71
71
|
pyegeria/_globals.py,sha256=1Uc8392wjbiVN5L__RzxC1-U97RMXj77_iUsMSgeAjQ,638
|
@@ -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=RbE557kIEP8I9_OnMivHzhPIKc31ZTY_irFh1-bEn_8,3223
|
81
82
|
pyegeria/egeria_config_client.py,sha256=oJ3Q4ts9ZayFJFB2cKGHaTqDyAZmsvx0GUzc35fEhdk,1030
|
82
|
-
pyegeria/egeria_my_client.py,sha256=
|
83
|
-
pyegeria/egeria_ops_client.py,sha256=
|
83
|
+
pyegeria/egeria_my_client.py,sha256=a-KHdqEwdaTwxrdpSNDy8vjDI26iZDqGSB_UFqvdoME,1340
|
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
|
-
pyegeria/my_profile_omvs.py,sha256=
|
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.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
100
|
+
pyegeria-0.8.4.dist-info/METADATA,sha256=qX3BoBGUZoblgcMd7oVwU1ud_b8mXDNT4pVNriPnB4E,2817
|
101
|
+
pyegeria-0.8.4.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
102
|
+
pyegeria-0.8.4.dist-info/entry_points.txt,sha256=5Q9bDxIqPgdhd3lDnzdRSCYy9hZtNm_BL49bcmbBpGQ,3808
|
103
|
+
pyegeria-0.8.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|