pyegeria 5.3.3.10.dev9__py3-none-any.whl → 5.3.3.11__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.
- pyegeria/__init__.py +4 -3
- pyegeria/commands/tech/list_information_supply_chains.py +151 -0
- pyegeria/commands/tech/list_isolution_blueprints.py +166 -0
- pyegeria/commands/tech/list_isolution_blueprints2.py +164 -0
- pyegeria/commands/tech/work/mermaid_graphs/Clinical Trial Subject Onboarding.mmd +49 -0
- pyegeria/commands/tech/work/mermaid_graphs/Clinical Trial Treatment Validation.mmd +129 -0
- pyegeria/commands/tech/work/mermaid_graphs/Employee Expense Payment.mmd +40 -0
- pyegeria/commands/tech/work/mermaid_graphs/New Drug Product Information Distribution.mmd +55 -0
- pyegeria/commands/tech/work/mermaid_graphs/New Employee Onboarding.mmd +52 -0
- pyegeria/commands/tech/work/mermaid_graphs/Personalized Treatment Ordering.mmd +57 -0
- pyegeria/commands/tech/work/mermaid_graphs/Physical Inventory Tracking.mmd +92 -0
- pyegeria/commands/tech/work/mermaid_graphs/Sustainability Reporting.mmd +117 -0
- pyegeria/commands/tech/work/mermaid_graphs/{{displayName}}.mmd +29 -0
- pyegeria/egeria_client.py +5 -0
- pyegeria/egeria_tech_client.py +5 -2
- pyegeria/mermaid_utilities.py +31 -1
- pyegeria/solution_architect_omvs.py +8 -1
- {pyegeria-5.3.3.10.dev9.dist-info → pyegeria-5.3.3.11.dist-info}/METADATA +1 -1
- {pyegeria-5.3.3.10.dev9.dist-info → pyegeria-5.3.3.11.dist-info}/RECORD +22 -11
- {pyegeria-5.3.3.10.dev9.dist-info → pyegeria-5.3.3.11.dist-info}/entry_points.txt +1 -1
- pyegeria/commands/cat/get_information_supply_chains.py +0 -207
- {pyegeria-5.3.3.10.dev9.dist-info → pyegeria-5.3.3.11.dist-info}/LICENSE +0 -0
- {pyegeria-5.3.3.10.dev9.dist-info → pyegeria-5.3.3.11.dist-info}/WHEEL +0 -0
@@ -0,0 +1,40 @@
|
|
1
|
+
|
2
|
+
<!DOCTYPE html>
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
|
6
|
+
</head>
|
7
|
+
<body>
|
8
|
+
<div class="mermaid">
|
9
|
+
---
|
10
|
+
title: Information Supply Chain - Employee Expense Payment [79d1d83f-6a37-4c32-bf3f-eb8b4358027c]
|
11
|
+
---
|
12
|
+
flowchart TD
|
13
|
+
%%{init: {"flowchart": {"htmlLabels": false}} }%%
|
14
|
+
|
15
|
+
79d1d83f-6a37-4c32-bf3f-eb8b4358027c@{ shape: flip-tri, label: "*Information Supply Chain*
|
16
|
+
**Employee Expense Payment**"}
|
17
|
+
c881415f-b4fb-487b-a229-3d1e766f6a8d@{ shape: text, label: "*Description*
|
18
|
+
**Managing the collection of expense data, its approval and the subsequent payment authorization flows.**"}
|
19
|
+
79d1d83f-6a37-4c32-bf3f-eb8b4358027c~~~c881415f-b4fb-487b-a229-3d1e766f6a8d
|
20
|
+
61808fb3-5eb6-46a5-b205-ba3730d4754a@{ shape: text, label: "*Purpose*
|
21
|
+
**Ensure employees are reimbursed for their expenses in a timely manner.**"}
|
22
|
+
c881415f-b4fb-487b-a229-3d1e766f6a8d~~~61808fb3-5eb6-46a5-b205-ba3730d4754a
|
23
|
+
88c42780-6fb1-49e2-a584-8af90cdc7728@{ shape: rounded, label: "*Software Server*
|
24
|
+
**System:coco-hrim**"}
|
25
|
+
ad8eab54-c2f7-494d-82d0-bf5985e5a58d@{ shape: rounded, label: "*Software Server*
|
26
|
+
**System:coco-expenses**"}
|
27
|
+
88c42780-6fb1-49e2-a584-8af90cdc7728-->|"payment authorization [Data Flow]"|ad8eab54-c2f7-494d-82d0-bf5985e5a58d
|
28
|
+
style ad8eab54-c2f7-494d-82d0-bf5985e5a58d color:#000000, fill:#e0ab18, stroke:#004563
|
29
|
+
style 61808fb3-5eb6-46a5-b205-ba3730d4754a color:#000000, fill:#F9F7ED, stroke:#b7c0c7
|
30
|
+
style 79d1d83f-6a37-4c32-bf3f-eb8b4358027c color:#FFFFFF, fill:#004563, stroke:#b7c0c7
|
31
|
+
style 88c42780-6fb1-49e2-a584-8af90cdc7728 color:#000000, fill:#e0ab18, stroke:#004563
|
32
|
+
style c881415f-b4fb-487b-a229-3d1e766f6a8d color:#000000, fill:#F9F7ED, stroke:#b7c0c7
|
33
|
+
|
34
|
+
</div>
|
35
|
+
|
36
|
+
<script>
|
37
|
+
mermaid.initialize({startOnLoad:true});
|
38
|
+
</script>
|
39
|
+
</body>
|
40
|
+
</html>
|
@@ -0,0 +1,55 @@
|
|
1
|
+
|
2
|
+
<!DOCTYPE html>
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
|
6
|
+
</head>
|
7
|
+
<body>
|
8
|
+
<div class="mermaid">
|
9
|
+
---
|
10
|
+
title: Information Supply Chain - New Drug Product Information Distribution [b0491fd4-6324-4ed8-9a1c-7cbd9892e21b]
|
11
|
+
---
|
12
|
+
flowchart TD
|
13
|
+
%%{init: {"flowchart": {"htmlLabels": false}} }%%
|
14
|
+
|
15
|
+
b0491fd4-6324-4ed8-9a1c-7cbd9892e21b@{ shape: flip-tri, label: "*Information Supply Chain*
|
16
|
+
**New Drug Product Information Distribution**"}
|
17
|
+
11aeaf3c-b24c-4e80-8006-8b2c083e67d3@{ shape: text, label: "*Description*
|
18
|
+
**Managing the distribution of information about a new product.**"}
|
19
|
+
b0491fd4-6324-4ed8-9a1c-7cbd9892e21b~~~11aeaf3c-b24c-4e80-8006-8b2c083e67d3
|
20
|
+
02d4db48-8671-43b2-98e7-563b16f2d2b0@{ shape: text, label: "*Purpose*
|
21
|
+
**Ensuring information about a new product is distributed to all of the appropriate system so that it is visible for ordering, manufacturing and invoicing.**"}
|
22
|
+
11aeaf3c-b24c-4e80-8006-8b2c083e67d3~~~02d4db48-8671-43b2-98e7-563b16f2d2b0
|
23
|
+
c24e9ea0-171a-46d8-a5d8-3fedcfe97aa4@{ shape: rounded, label: "*Software Server*
|
24
|
+
**System:MFCTRL9482**"}
|
25
|
+
987df321-d940-4ce5-9ae1-8258736f0445@{ shape: rounded, label: "*Software Server*
|
26
|
+
**System:KCDEPOT01**"}
|
27
|
+
c24e9ea0-171a-46d8-a5d8-3fedcfe97aa4-->|"order ready [Data Flow]"|987df321-d940-4ce5-9ae1-8258736f0445
|
28
|
+
afefd870-5616-4f35-a557-774b88b96bef@{ shape: rounded, label: "*Software Server*
|
29
|
+
**System:EDDEPOT01**"}
|
30
|
+
c24e9ea0-171a-46d8-a5d8-3fedcfe97aa4-->|"order ready [Data Flow]"|afefd870-5616-4f35-a557-774b88b96bef
|
31
|
+
c7b1467a-dea2-4288-95e5-8e1bc3ab2ed3@{ shape: rounded, label: "*Software Server*
|
32
|
+
**System:WINCHDEPOT01**"}
|
33
|
+
c24e9ea0-171a-46d8-a5d8-3fedcfe97aa4-->|"order ready [Data Flow]"|c7b1467a-dea2-4288-95e5-8e1bc3ab2ed3
|
34
|
+
dd424526-24e9-4a10-a575-0700dfb8743a@{ shape: rounded, label: "*Software Server*
|
35
|
+
**System:cocoProducts**"}
|
36
|
+
a2e43afa-386a-4acd-ba1d-7773b368c34a@{ shape: rounded, label: "*Software Server*
|
37
|
+
**System:globalCRM**"}
|
38
|
+
dd424526-24e9-4a10-a575-0700dfb8743a-->|"new product offering [Data Flow]"|a2e43afa-386a-4acd-ba1d-7773b368c34a
|
39
|
+
style b0491fd4-6324-4ed8-9a1c-7cbd9892e21b color:#FFFFFF, fill:#004563, stroke:#b7c0c7
|
40
|
+
style c24e9ea0-171a-46d8-a5d8-3fedcfe97aa4 color:#000000, fill:#e0ab18, stroke:#004563
|
41
|
+
style a2e43afa-386a-4acd-ba1d-7773b368c34a color:#000000, fill:#e0ab18, stroke:#004563
|
42
|
+
style 11aeaf3c-b24c-4e80-8006-8b2c083e67d3 color:#000000, fill:#F9F7ED, stroke:#b7c0c7
|
43
|
+
style 02d4db48-8671-43b2-98e7-563b16f2d2b0 color:#000000, fill:#F9F7ED, stroke:#b7c0c7
|
44
|
+
style 987df321-d940-4ce5-9ae1-8258736f0445 color:#000000, fill:#e0ab18, stroke:#004563
|
45
|
+
style c7b1467a-dea2-4288-95e5-8e1bc3ab2ed3 color:#000000, fill:#e0ab18, stroke:#004563
|
46
|
+
style dd424526-24e9-4a10-a575-0700dfb8743a color:#000000, fill:#e0ab18, stroke:#004563
|
47
|
+
style afefd870-5616-4f35-a557-774b88b96bef color:#000000, fill:#e0ab18, stroke:#004563
|
48
|
+
|
49
|
+
</div>
|
50
|
+
|
51
|
+
<script>
|
52
|
+
mermaid.initialize({startOnLoad:true});
|
53
|
+
</script>
|
54
|
+
</body>
|
55
|
+
</html>
|
@@ -0,0 +1,52 @@
|
|
1
|
+
|
2
|
+
<!DOCTYPE html>
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
|
6
|
+
</head>
|
7
|
+
<body>
|
8
|
+
<div class="mermaid">
|
9
|
+
---
|
10
|
+
title: Information Supply Chain - New Employee Onboarding [022009d9-53cb-4469-afeb-16ee81d8f9bc]
|
11
|
+
---
|
12
|
+
flowchart TD
|
13
|
+
%%{init: {"flowchart": {"htmlLabels": false}} }%%
|
14
|
+
|
15
|
+
022009d9-53cb-4469-afeb-16ee81d8f9bc@{ shape: flip-tri, label: "*Information Supply Chain*
|
16
|
+
**New Employee Onboarding**"}
|
17
|
+
5dc47e24-5264-45f4-8431-02f6c0b1f2ca@{ shape: text, label: "*Description*
|
18
|
+
**Adding information about a new employee to all appropriate systems and directories.**"}
|
19
|
+
022009d9-53cb-4469-afeb-16ee81d8f9bc~~~5dc47e24-5264-45f4-8431-02f6c0b1f2ca
|
20
|
+
09cf46b0-6780-4f3d-9e08-03a350c71de6@{ shape: text, label: "*Purpose*
|
21
|
+
**Ensure a new employee is productive and engaged in a timely manner.**"}
|
22
|
+
5dc47e24-5264-45f4-8431-02f6c0b1f2ca~~~09cf46b0-6780-4f3d-9e08-03a350c71de6
|
23
|
+
88c42780-6fb1-49e2-a584-8af90cdc7728@{ shape: rounded, label: "*Software Server*
|
24
|
+
**System:coco-hrim**"}
|
25
|
+
ae0c7768-c01e-4bd1-8a47-fbacfccf2f63@{ shape: rounded, label: "*Software Server*
|
26
|
+
**System:Netherlands payroll**"}
|
27
|
+
88c42780-6fb1-49e2-a584-8af90cdc7728-->|"payment authorization [Data Flow]"|ae0c7768-c01e-4bd1-8a47-fbacfccf2f63
|
28
|
+
a47906f0-67f0-46ed-890d-85cb049ffa60@{ shape: rounded, label: "*Software Server*
|
29
|
+
**System:cocopages**"}
|
30
|
+
88c42780-6fb1-49e2-a584-8af90cdc7728-->|"employee directory [Data Flow]"|a47906f0-67f0-46ed-890d-85cb049ffa60
|
31
|
+
35bef6c5-25d7-47b1-91db-f9bce0238612@{ shape: rounded, label: "*Software Server*
|
32
|
+
**System:Canadian payroll**"}
|
33
|
+
88c42780-6fb1-49e2-a584-8af90cdc7728-->|"payment authorization [Data Flow]"|35bef6c5-25d7-47b1-91db-f9bce0238612
|
34
|
+
12c9d1a4-2a5d-4e7c-a640-97f206270425@{ shape: rounded, label: "*Software Server*
|
35
|
+
**System:UK payroll**"}
|
36
|
+
88c42780-6fb1-49e2-a584-8af90cdc7728-->|"payment authorization [Data Flow]"|12c9d1a4-2a5d-4e7c-a640-97f206270425
|
37
|
+
style 022009d9-53cb-4469-afeb-16ee81d8f9bc color:#FFFFFF, fill:#004563, stroke:#b7c0c7
|
38
|
+
style 09cf46b0-6780-4f3d-9e08-03a350c71de6 color:#000000, fill:#F9F7ED, stroke:#b7c0c7
|
39
|
+
style ae0c7768-c01e-4bd1-8a47-fbacfccf2f63 color:#000000, fill:#e0ab18, stroke:#004563
|
40
|
+
style 88c42780-6fb1-49e2-a584-8af90cdc7728 color:#000000, fill:#e0ab18, stroke:#004563
|
41
|
+
style 12c9d1a4-2a5d-4e7c-a640-97f206270425 color:#000000, fill:#e0ab18, stroke:#004563
|
42
|
+
style 5dc47e24-5264-45f4-8431-02f6c0b1f2ca color:#000000, fill:#F9F7ED, stroke:#b7c0c7
|
43
|
+
style a47906f0-67f0-46ed-890d-85cb049ffa60 color:#000000, fill:#e0ab18, stroke:#004563
|
44
|
+
style 35bef6c5-25d7-47b1-91db-f9bce0238612 color:#000000, fill:#e0ab18, stroke:#004563
|
45
|
+
|
46
|
+
</div>
|
47
|
+
|
48
|
+
<script>
|
49
|
+
mermaid.initialize({startOnLoad:true});
|
50
|
+
</script>
|
51
|
+
</body>
|
52
|
+
</html>
|
@@ -0,0 +1,57 @@
|
|
1
|
+
|
2
|
+
<!DOCTYPE html>
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
|
6
|
+
</head>
|
7
|
+
<body>
|
8
|
+
<div class="mermaid">
|
9
|
+
---
|
10
|
+
title: Information Supply Chain - Personalized Treatment Ordering [adbae740-57a3-41b8-a722-266b895794e6]
|
11
|
+
---
|
12
|
+
flowchart TD
|
13
|
+
%%{init: {"flowchart": {"htmlLabels": false}} }%%
|
14
|
+
|
15
|
+
adbae740-57a3-41b8-a722-266b895794e6@{ shape: flip-tri, label: "*Information Supply Chain*
|
16
|
+
**Personalized Treatment Ordering**"}
|
17
|
+
c5661e96-b7a7-41c9-a13f-406f3a3d26ad@{ shape: text, label: "*Description*
|
18
|
+
**Delivering information about a new personalized medicine order so that it fulfilled and invoiced.**"}
|
19
|
+
adbae740-57a3-41b8-a722-266b895794e6~~~c5661e96-b7a7-41c9-a13f-406f3a3d26ad
|
20
|
+
531cd87f-24e3-4697-a653-f5bdebaa3f0c@{ shape: text, label: "*Purpose*
|
21
|
+
**Ensuring orders are fulfilled effectively.**"}
|
22
|
+
c5661e96-b7a7-41c9-a13f-406f3a3d26ad~~~531cd87f-24e3-4697-a653-f5bdebaa3f0c
|
23
|
+
bdf60c10-e8f8-4b49-9f92-e0c6a40b0d7b@{ shape: rounded, label: "*Software Server*
|
24
|
+
**System:ed-mfg-control**"}
|
25
|
+
25e2e56d-2e2f-4f6f-a1ed-019dd76d589a@{ shape: rounded, label: "*Software Server*
|
26
|
+
**System:manufacturing-planning**"}
|
27
|
+
bdf60c10-e8f8-4b49-9f92-e0c6a40b0d7b-->|"manufacturing complete [Data Flow]"|25e2e56d-2e2f-4f6f-a1ed-019dd76d589a
|
28
|
+
c24e9ea0-171a-46d8-a5d8-3fedcfe97aa4@{ shape: rounded, label: "*Software Server*
|
29
|
+
**System:MFCTRL9482**"}
|
30
|
+
c24e9ea0-171a-46d8-a5d8-3fedcfe97aa4-->|"manufacturing complete [Data Flow]"|25e2e56d-2e2f-4f6f-a1ed-019dd76d589a
|
31
|
+
0f59833f-8a8a-488b-808a-9ea24618bb6c@{ shape: rounded, label: "*Software Server*
|
32
|
+
**System:winch-mfg-control**"}
|
33
|
+
0f59833f-8a8a-488b-808a-9ea24618bb6c-->|"manufacturing complete [Data Flow]"|25e2e56d-2e2f-4f6f-a1ed-019dd76d589a
|
34
|
+
a2e43afa-386a-4acd-ba1d-7773b368c34a@{ shape: rounded, label: "*Software Server*
|
35
|
+
**System:globalCRM**"}
|
36
|
+
11071e76-23a8-4f3d-bd07-3b9aa9781bda@{ shape: rounded, label: "*Software Server*
|
37
|
+
**System:coco-ledgers**"}
|
38
|
+
a2e43afa-386a-4acd-ba1d-7773b368c34a-->|"new sales [Data Flow]"|11071e76-23a8-4f3d-bd07-3b9aa9781bda
|
39
|
+
a2e43afa-386a-4acd-ba1d-7773b368c34a-->|"new orders [Data Flow]"|25e2e56d-2e2f-4f6f-a1ed-019dd76d589a
|
40
|
+
25e2e56d-2e2f-4f6f-a1ed-019dd76d589a-->|"manufacturing request [Data Flow]"|c24e9ea0-171a-46d8-a5d8-3fedcfe97aa4
|
41
|
+
style c5661e96-b7a7-41c9-a13f-406f3a3d26ad color:#000000, fill:#F9F7ED, stroke:#b7c0c7
|
42
|
+
style c24e9ea0-171a-46d8-a5d8-3fedcfe97aa4 color:#000000, fill:#e0ab18, stroke:#004563
|
43
|
+
style a2e43afa-386a-4acd-ba1d-7773b368c34a color:#000000, fill:#e0ab18, stroke:#004563
|
44
|
+
style adbae740-57a3-41b8-a722-266b895794e6 color:#FFFFFF, fill:#004563, stroke:#b7c0c7
|
45
|
+
style bdf60c10-e8f8-4b49-9f92-e0c6a40b0d7b color:#000000, fill:#e0ab18, stroke:#004563
|
46
|
+
style 11071e76-23a8-4f3d-bd07-3b9aa9781bda color:#000000, fill:#e0ab18, stroke:#004563
|
47
|
+
style 0f59833f-8a8a-488b-808a-9ea24618bb6c color:#000000, fill:#e0ab18, stroke:#004563
|
48
|
+
style 531cd87f-24e3-4697-a653-f5bdebaa3f0c color:#000000, fill:#F9F7ED, stroke:#b7c0c7
|
49
|
+
style 25e2e56d-2e2f-4f6f-a1ed-019dd76d589a color:#000000, fill:#e0ab18, stroke:#004563
|
50
|
+
|
51
|
+
</div>
|
52
|
+
|
53
|
+
<script>
|
54
|
+
mermaid.initialize({startOnLoad:true});
|
55
|
+
</script>
|
56
|
+
</body>
|
57
|
+
</html>
|
@@ -0,0 +1,92 @@
|
|
1
|
+
|
2
|
+
<!DOCTYPE html>
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
|
6
|
+
</head>
|
7
|
+
<body>
|
8
|
+
<div class="mermaid">
|
9
|
+
---
|
10
|
+
title: Information Supply Chain - Physical Inventory Tracking [7480a3b1-8d6c-4062-ae59-f3b81e146ed0]
|
11
|
+
---
|
12
|
+
flowchart TD
|
13
|
+
%%{init: {"flowchart": {"htmlLabels": false}} }%%
|
14
|
+
|
15
|
+
7480a3b1-8d6c-4062-ae59-f3b81e146ed0@{ shape: flip-tri, label: "*Information Supply Chain*
|
16
|
+
**Physical Inventory Tracking**"}
|
17
|
+
f19268f1-b2aa-425b-a8e2-a0c94935d7e0@{ shape: text, label: "*Description*
|
18
|
+
**Managing information take tracks physical goods from suppliers, to depot and manufacturing.**"}
|
19
|
+
7480a3b1-8d6c-4062-ae59-f3b81e146ed0~~~f19268f1-b2aa-425b-a8e2-a0c94935d7e0
|
20
|
+
c65f691e-804b-4882-a6b0-bb70cbe9f3bd@{ shape: text, label: "*Purpose*
|
21
|
+
**Ensuring effective management of physical inventory.**"}
|
22
|
+
f19268f1-b2aa-425b-a8e2-a0c94935d7e0~~~c65f691e-804b-4882-a6b0-bb70cbe9f3bd
|
23
|
+
e5d0634d-e50c-425f-ac81-1e1d96b729b6@{ shape: text, label: "*Purpose*
|
24
|
+
**Ensuring hazardous materials are properly identified, reported and managed.**"}
|
25
|
+
c65f691e-804b-4882-a6b0-bb70cbe9f3bd~~~e5d0634d-e50c-425f-ac81-1e1d96b729b6
|
26
|
+
db144477-e6cb-4fd1-9521-4a577de9af04@{ shape: rounded, label: "*Software Server*
|
27
|
+
**System:procurement03**"}
|
28
|
+
11071e76-23a8-4f3d-bd07-3b9aa9781bda@{ shape: rounded, label: "*Software Server*
|
29
|
+
**System:coco-ledgers**"}
|
30
|
+
db144477-e6cb-4fd1-9521-4a577de9af04-->|"invoice [Data Flow]"|11071e76-23a8-4f3d-bd07-3b9aa9781bda
|
31
|
+
c24e9ea0-171a-46d8-a5d8-3fedcfe97aa4@{ shape: rounded, label: "*Software Server*
|
32
|
+
**System:MFCTRL9482**"}
|
33
|
+
9e29ee1f-01d3-482c-9d1b-8b3f36ce62d2@{ shape: rounded, label: "*Software Server*
|
34
|
+
**System:aus-inventory**"}
|
35
|
+
c24e9ea0-171a-46d8-a5d8-3fedcfe97aa4-->|"goods received [Data Flow]"|9e29ee1f-01d3-482c-9d1b-8b3f36ce62d2
|
36
|
+
23fb5e33-11c9-4eb6-91d6-f2e873f8da68@{ shape: rounded, label: "*Software Server*
|
37
|
+
**System:procurement04**"}
|
38
|
+
9e29ee1f-01d3-482c-9d1b-8b3f36ce62d2-->|"procurement request [Data Flow]"|23fb5e33-11c9-4eb6-91d6-f2e873f8da68
|
39
|
+
bdf60c10-e8f8-4b49-9f92-e0c6a40b0d7b@{ shape: rounded, label: "*Software Server*
|
40
|
+
**System:ed-mfg-control**"}
|
41
|
+
467dd9a0-89d6-4796-a058-c079bf54b6c7@{ shape: rounded, label: "*Software Server*
|
42
|
+
**System:coco-inventory**"}
|
43
|
+
bdf60c10-e8f8-4b49-9f92-e0c6a40b0d7b-->|"goods received [Data Flow]"|467dd9a0-89d6-4796-a058-c079bf54b6c7
|
44
|
+
a5abdf72-0e5f-4366-8072-fac3bbb41ea6@{ shape: rounded, label: "*Software Server*
|
45
|
+
**System:procurement05**"}
|
46
|
+
467dd9a0-89d6-4796-a058-c079bf54b6c7-->|"procurement request [Data Flow]"|a5abdf72-0e5f-4366-8072-fac3bbb41ea6
|
47
|
+
23fb5e33-11c9-4eb6-91d6-f2e873f8da68-->|"invoice [Data Flow]"|11071e76-23a8-4f3d-bd07-3b9aa9781bda
|
48
|
+
cbe8c0bb-0e27-4d2a-825f-f017ee939028@{ shape: rounded, label: "*Software Server*
|
49
|
+
**System:procurement01**"}
|
50
|
+
467dd9a0-89d6-4796-a058-c079bf54b6c7-->|"procurement request [Data Flow]"|cbe8c0bb-0e27-4d2a-825f-f017ee939028
|
51
|
+
0f59833f-8a8a-488b-808a-9ea24618bb6c@{ shape: rounded, label: "*Software Server*
|
52
|
+
**System:winch-mfg-control**"}
|
53
|
+
0f59833f-8a8a-488b-808a-9ea24618bb6c-->|"goods request [Data Flow]"|467dd9a0-89d6-4796-a058-c079bf54b6c7
|
54
|
+
a5abdf72-0e5f-4366-8072-fac3bbb41ea6-->|"goods in [Data Flow]"|467dd9a0-89d6-4796-a058-c079bf54b6c7
|
55
|
+
cbe8c0bb-0e27-4d2a-825f-f017ee939028-->|"invoice [Data Flow]"|11071e76-23a8-4f3d-bd07-3b9aa9781bda
|
56
|
+
bdf60c10-e8f8-4b49-9f92-e0c6a40b0d7b-->|"goods request [Data Flow]"|467dd9a0-89d6-4796-a058-c079bf54b6c7
|
57
|
+
a5abdf72-0e5f-4366-8072-fac3bbb41ea6-->|"invoice [Data Flow]"|11071e76-23a8-4f3d-bd07-3b9aa9781bda
|
58
|
+
cbe8c0bb-0e27-4d2a-825f-f017ee939028-->|"goods in [Data Flow]"|467dd9a0-89d6-4796-a058-c079bf54b6c7
|
59
|
+
c24e9ea0-171a-46d8-a5d8-3fedcfe97aa4-->|"goods request [Data Flow]"|9e29ee1f-01d3-482c-9d1b-8b3f36ce62d2
|
60
|
+
0f59833f-8a8a-488b-808a-9ea24618bb6c-->|"goods received [Data Flow]"|467dd9a0-89d6-4796-a058-c079bf54b6c7
|
61
|
+
db144477-e6cb-4fd1-9521-4a577de9af04-->|"goods in [Data Flow]"|467dd9a0-89d6-4796-a058-c079bf54b6c7
|
62
|
+
467dd9a0-89d6-4796-a058-c079bf54b6c7-->|"procurement request [Data Flow]"|db144477-e6cb-4fd1-9521-4a577de9af04
|
63
|
+
bdf60c10-e8f8-4b49-9f92-e0c6a40b0d7b-->|"goods produced [Data Flow]"|467dd9a0-89d6-4796-a058-c079bf54b6c7
|
64
|
+
c24e9ea0-171a-46d8-a5d8-3fedcfe97aa4-->|"goods produced [Data Flow]"|9e29ee1f-01d3-482c-9d1b-8b3f36ce62d2
|
65
|
+
0f59833f-8a8a-488b-808a-9ea24618bb6c-->|"goods produced [Data Flow]"|467dd9a0-89d6-4796-a058-c079bf54b6c7
|
66
|
+
23fb5e33-11c9-4eb6-91d6-f2e873f8da68-->|"goods in [Data Flow]"|9e29ee1f-01d3-482c-9d1b-8b3f36ce62d2
|
67
|
+
25e2e56d-2e2f-4f6f-a1ed-019dd76d589a@{ shape: rounded, label: "*Software Server*
|
68
|
+
**System:manufacturing-planning**"}
|
69
|
+
25e2e56d-2e2f-4f6f-a1ed-019dd76d589a-->|"planned orders [Data Flow]"|467dd9a0-89d6-4796-a058-c079bf54b6c7
|
70
|
+
style a5abdf72-0e5f-4366-8072-fac3bbb41ea6 color:#000000, fill:#e0ab18, stroke:#004563
|
71
|
+
style c24e9ea0-171a-46d8-a5d8-3fedcfe97aa4 color:#000000, fill:#e0ab18, stroke:#004563
|
72
|
+
style bdf60c10-e8f8-4b49-9f92-e0c6a40b0d7b color:#000000, fill:#e0ab18, stroke:#004563
|
73
|
+
style f19268f1-b2aa-425b-a8e2-a0c94935d7e0 color:#000000, fill:#F9F7ED, stroke:#b7c0c7
|
74
|
+
style 9e29ee1f-01d3-482c-9d1b-8b3f36ce62d2 color:#000000, fill:#e0ab18, stroke:#004563
|
75
|
+
style 7480a3b1-8d6c-4062-ae59-f3b81e146ed0 color:#FFFFFF, fill:#004563, stroke:#b7c0c7
|
76
|
+
style db144477-e6cb-4fd1-9521-4a577de9af04 color:#000000, fill:#e0ab18, stroke:#004563
|
77
|
+
style 11071e76-23a8-4f3d-bd07-3b9aa9781bda color:#000000, fill:#e0ab18, stroke:#004563
|
78
|
+
style cbe8c0bb-0e27-4d2a-825f-f017ee939028 color:#000000, fill:#e0ab18, stroke:#004563
|
79
|
+
style 25e2e56d-2e2f-4f6f-a1ed-019dd76d589a color:#000000, fill:#e0ab18, stroke:#004563
|
80
|
+
style e5d0634d-e50c-425f-ac81-1e1d96b729b6 color:#000000, fill:#F9F7ED, stroke:#b7c0c7
|
81
|
+
style c65f691e-804b-4882-a6b0-bb70cbe9f3bd color:#000000, fill:#F9F7ED, stroke:#b7c0c7
|
82
|
+
style 467dd9a0-89d6-4796-a058-c079bf54b6c7 color:#000000, fill:#e0ab18, stroke:#004563
|
83
|
+
style 23fb5e33-11c9-4eb6-91d6-f2e873f8da68 color:#000000, fill:#e0ab18, stroke:#004563
|
84
|
+
style 0f59833f-8a8a-488b-808a-9ea24618bb6c color:#000000, fill:#e0ab18, stroke:#004563
|
85
|
+
|
86
|
+
</div>
|
87
|
+
|
88
|
+
<script>
|
89
|
+
mermaid.initialize({startOnLoad:true});
|
90
|
+
</script>
|
91
|
+
</body>
|
92
|
+
</html>
|
@@ -0,0 +1,117 @@
|
|
1
|
+
|
2
|
+
<!DOCTYPE html>
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
|
6
|
+
</head>
|
7
|
+
<body>
|
8
|
+
<div class="mermaid">
|
9
|
+
---
|
10
|
+
title: Information Supply Chain - Sustainability Reporting [dd15b286-a38d-4f03-8625-aaded8596048]
|
11
|
+
---
|
12
|
+
flowchart TD
|
13
|
+
%%{init: {"flowchart": {"htmlLabels": false}} }%%
|
14
|
+
|
15
|
+
dd15b286-a38d-4f03-8625-aaded8596048@{ shape: flip-tri, label: "*Information Supply Chain*
|
16
|
+
**Sustainability Reporting**"}
|
17
|
+
7f68bd61-bb98-4b99-9366-0340cfa8f15d@{ shape: text, label: "*Description*
|
18
|
+
**Delivering information to the sustainability reporting tools.**"}
|
19
|
+
dd15b286-a38d-4f03-8625-aaded8596048~~~7f68bd61-bb98-4b99-9366-0340cfa8f15d
|
20
|
+
0343a86a-43ea-4805-ad74-616e628ea756@{ shape: text, label: "*Purpose*
|
21
|
+
**Ensuring sustainability reporting is accurate.**"}
|
22
|
+
7f68bd61-bb98-4b99-9366-0340cfa8f15d~~~0343a86a-43ea-4805-ad74-616e628ea756
|
23
|
+
af07dc2b-ae07-442b-9b06-43d4ef52138a@{ shape: hex, label: "*Information Supply Chain Segment*
|
24
|
+
**Sustainability Report Delivery**"}
|
25
|
+
a491accc-aaaa-455b-893e-b6f7b0bf0afb@{ shape: hex, label: "*Information Supply Chain Segment*
|
26
|
+
**Sustainability Assessment**"}
|
27
|
+
a491accc-aaaa-455b-893e-b6f7b0bf0afb-->|"publish report,
|
28
|
+
[Information Supply Chain Link]"|af07dc2b-ae07-442b-9b06-43d4ef52138a
|
29
|
+
9fb47e51-4121-495d-be31-f766a1f70856@{ shape: hex, label: "*Information Supply Chain Segment*
|
30
|
+
**Sustainability Data Gathering**"}
|
31
|
+
9fb47e51-4121-495d-be31-f766a1f70856-->|"deliver data,
|
32
|
+
[Information Supply Chain Link]"|a491accc-aaaa-455b-893e-b6f7b0bf0afb
|
33
|
+
d50a6f1f-49d2-47c3-a55e-5844464bd26f@{ shape: rect, label: "*Solution Component*
|
34
|
+
**SolutionComponent:Sustainability Dashboards:V1.0**"}
|
35
|
+
fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4@{ shape: rect, label: "*Solution Component*
|
36
|
+
**SolutionComponent:Sustainability Operational Data Store (ODS):V1.0**"}
|
37
|
+
fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4-->|"travel inventory,
|
38
|
+
[Solution Linking Wire]"|d50a6f1f-49d2-47c3-a55e-5844464bd26f
|
39
|
+
06edd666-06fd-43ef-b7bd-22e2651c334f@{ shape: rect, label: "*Solution Component*
|
40
|
+
**SolutionComponent:Sustainability Calculators:V1.0**"}
|
41
|
+
06edd666-06fd-43ef-b7bd-22e2651c334f-->|"results publishing,
|
42
|
+
[Solution Linking Wire]"|fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
|
43
|
+
fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4-->|"raw data request,
|
44
|
+
[Solution Linking Wire]"|06edd666-06fd-43ef-b7bd-22e2651c334f
|
45
|
+
2c0f5a4e-bb02-4081-a80e-3072ca99a1aa@{ shape: rect, label: "*Solution Component*
|
46
|
+
**SolutionComponent:Accounting ledgers:V1.0**"}
|
47
|
+
2c0f5a4e-bb02-4081-a80e-3072ca99a1aa-->|"spending types,
|
48
|
+
[Solution Linking Wire]"|fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
|
49
|
+
25fd5be7-692d-4752-9dc7-30068a7d665e@{ shape: rect, label: "*Solution Component*
|
50
|
+
**SolutionComponent:Hazardous Materials (HazMat) Inventory:V1.0**"}
|
51
|
+
25fd5be7-692d-4752-9dc7-30068a7d665e-->|"publish hazmat levels,
|
52
|
+
[Solution Linking Wire]"|fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
|
53
|
+
50768e61-43b6-4241-96a3-4c413582ec1f@{ shape: rect, label: "*Solution Component*
|
54
|
+
**SolutionComponent:Goods Inventory:V1.0**"}
|
55
|
+
50768e61-43b6-4241-96a3-4c413582ec1f-->|"goods movement,
|
56
|
+
[Solution Linking Wire]"|fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
|
57
|
+
02cdce9a-7630-479a-90de-fd7698d098f1@{ shape: rect, label: "*Solution Component*
|
58
|
+
**SolutionComponent:Employee Expense Tool:V1.0**"}
|
59
|
+
02cdce9a-7630-479a-90de-fd7698d098f1-->|"travel inventory,
|
60
|
+
[Solution Linking Wire]"|fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4
|
61
|
+
8a578f0d-f7ae-4255-b4a5-236241fa5449@{ shape: rounded, label: "*Software Server*
|
62
|
+
**System:coco-sus**"}
|
63
|
+
5a2927f3-eed6-4509-bceb-2c29aa415090@{ shape: rounded, label: "*Software Server*
|
64
|
+
**System:coco-sus-dashboards**"}
|
65
|
+
8a578f0d-f7ae-4255-b4a5-236241fa5449-->|"data request [Data Flow]"|5a2927f3-eed6-4509-bceb-2c29aa415090
|
66
|
+
11071e76-23a8-4f3d-bd07-3b9aa9781bda@{ shape: rounded, label: "*Software Server*
|
67
|
+
**System:coco-ledgers**"}
|
68
|
+
11071e76-23a8-4f3d-bd07-3b9aa9781bda-->|"spending types [Data Flow]"|8a578f0d-f7ae-4255-b4a5-236241fa5449
|
69
|
+
ad8eab54-c2f7-494d-82d0-bf5985e5a58d@{ shape: rounded, label: "*Software Server*
|
70
|
+
**System:coco-expenses**"}
|
71
|
+
ad8eab54-c2f7-494d-82d0-bf5985e5a58d-->|"travel inventory [Data Flow]"|8a578f0d-f7ae-4255-b4a5-236241fa5449
|
72
|
+
047691ac-8628-472d-aca0-82bedc947ef4@{ shape: rounded, label: "*Software Server*
|
73
|
+
**System:austin-haz-mat**"}
|
74
|
+
047691ac-8628-472d-aca0-82bedc947ef4-->|"publish hazmat [Data Flow]"|8a578f0d-f7ae-4255-b4a5-236241fa5449
|
75
|
+
3dbe7e96-c9e5-4336-a29a-9342258e50f8@{ shape: rounded, label: "*Software Server*
|
76
|
+
**System:coco-sus-calculators**"}
|
77
|
+
3dbe7e96-c9e5-4336-a29a-9342258e50f8-->|"results publishing [Data Flow]"|8a578f0d-f7ae-4255-b4a5-236241fa5449
|
78
|
+
9e29ee1f-01d3-482c-9d1b-8b3f36ce62d2@{ shape: rounded, label: "*Software Server*
|
79
|
+
**System:aus-inventory**"}
|
80
|
+
9e29ee1f-01d3-482c-9d1b-8b3f36ce62d2-->|"goods movement [Data Flow]"|8a578f0d-f7ae-4255-b4a5-236241fa5449
|
81
|
+
8a578f0d-f7ae-4255-b4a5-236241fa5449-->|"data request [Data Flow]"|3dbe7e96-c9e5-4336-a29a-9342258e50f8
|
82
|
+
6e786315-ae54-445b-b516-f3c1f0e5f289@{ shape: rounded, label: "*Software Server*
|
83
|
+
**System:coco-haz-mat**"}
|
84
|
+
6e786315-ae54-445b-b516-f3c1f0e5f289-->|"publish hazmat [Data Flow]"|8a578f0d-f7ae-4255-b4a5-236241fa5449
|
85
|
+
467dd9a0-89d6-4796-a058-c079bf54b6c7@{ shape: rounded, label: "*Software Server*
|
86
|
+
**System:coco-inventory**"}
|
87
|
+
467dd9a0-89d6-4796-a058-c079bf54b6c7-->|"goods movement [Data Flow]"|8a578f0d-f7ae-4255-b4a5-236241fa5449
|
88
|
+
style dd15b286-a38d-4f03-8625-aaded8596048 color:#FFFFFF, fill:#004563, stroke:#b7c0c7
|
89
|
+
style ad8eab54-c2f7-494d-82d0-bf5985e5a58d color:#000000, fill:#e0ab18, stroke:#004563
|
90
|
+
style 9e29ee1f-01d3-482c-9d1b-8b3f36ce62d2 color:#000000, fill:#e0ab18, stroke:#004563
|
91
|
+
style 11071e76-23a8-4f3d-bd07-3b9aa9781bda color:#000000, fill:#e0ab18, stroke:#004563
|
92
|
+
style 8a578f0d-f7ae-4255-b4a5-236241fa5449 color:#000000, fill:#e0ab18, stroke:#004563
|
93
|
+
style fc55ef2d-a88d-44ee-94cb-3fca9b9af8b4 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
|
94
|
+
style 25fd5be7-692d-4752-9dc7-30068a7d665e color:#FFFFFF, fill:#838cc7, stroke:#3079ab
|
95
|
+
style 3dbe7e96-c9e5-4336-a29a-9342258e50f8 color:#000000, fill:#e0ab18, stroke:#004563
|
96
|
+
style 06edd666-06fd-43ef-b7bd-22e2651c334f color:#FFFFFF, fill:#838cc7, stroke:#3079ab
|
97
|
+
style 02cdce9a-7630-479a-90de-fd7698d098f1 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
|
98
|
+
style af07dc2b-ae07-442b-9b06-43d4ef52138a color:#004563, fill:#b7c0c7, stroke:#004563
|
99
|
+
style 047691ac-8628-472d-aca0-82bedc947ef4 color:#000000, fill:#e0ab18, stroke:#004563
|
100
|
+
style 0343a86a-43ea-4805-ad74-616e628ea756 color:#000000, fill:#F9F7ED, stroke:#b7c0c7
|
101
|
+
style d50a6f1f-49d2-47c3-a55e-5844464bd26f color:#FFFFFF, fill:#838cc7, stroke:#3079ab
|
102
|
+
style 7f68bd61-bb98-4b99-9366-0340cfa8f15d color:#000000, fill:#F9F7ED, stroke:#b7c0c7
|
103
|
+
style 6e786315-ae54-445b-b516-f3c1f0e5f289 color:#000000, fill:#e0ab18, stroke:#004563
|
104
|
+
style 467dd9a0-89d6-4796-a058-c079bf54b6c7 color:#000000, fill:#e0ab18, stroke:#004563
|
105
|
+
style 50768e61-43b6-4241-96a3-4c413582ec1f color:#FFFFFF, fill:#838cc7, stroke:#3079ab
|
106
|
+
style a491accc-aaaa-455b-893e-b6f7b0bf0afb color:#004563, fill:#b7c0c7, stroke:#004563
|
107
|
+
style 5a2927f3-eed6-4509-bceb-2c29aa415090 color:#000000, fill:#e0ab18, stroke:#004563
|
108
|
+
style 2c0f5a4e-bb02-4081-a80e-3072ca99a1aa color:#FFFFFF, fill:#838cc7, stroke:#3079ab
|
109
|
+
style 9fb47e51-4121-495d-be31-f766a1f70856 color:#004563, fill:#b7c0c7, stroke:#004563
|
110
|
+
|
111
|
+
</div>
|
112
|
+
|
113
|
+
<script>
|
114
|
+
mermaid.initialize({startOnLoad:true});
|
115
|
+
</script>
|
116
|
+
</body>
|
117
|
+
</html>
|
@@ -0,0 +1,29 @@
|
|
1
|
+
|
2
|
+
<!DOCTYPE html>
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
|
6
|
+
</head>
|
7
|
+
<body>
|
8
|
+
<div class="mermaid">
|
9
|
+
---
|
10
|
+
title: Information Supply Chain - {{displayName}} [ba3ab0dd-3ec5-4ec5-9db9-f3dc56e3a732]
|
11
|
+
---
|
12
|
+
flowchart TD
|
13
|
+
%%{init: {"flowchart": {"htmlLabels": false}} }%%
|
14
|
+
|
15
|
+
ba3ab0dd-3ec5-4ec5-9db9-f3dc56e3a732@{ shape: flip-tri, label: "*Information Supply Chain*
|
16
|
+
**{{displayName}}**"}
|
17
|
+
f3470059-c239-4a1c-be93-51ef1eae0dd1@{ shape: text, label: "*Description*
|
18
|
+
**{{description}}**"}
|
19
|
+
ba3ab0dd-3ec5-4ec5-9db9-f3dc56e3a732~~~f3470059-c239-4a1c-be93-51ef1eae0dd1
|
20
|
+
style f3470059-c239-4a1c-be93-51ef1eae0dd1 color:#000000, fill:#F9F7ED, stroke:#b7c0c7
|
21
|
+
style ba3ab0dd-3ec5-4ec5-9db9-f3dc56e3a732 color:#FFFFFF, fill:#004563, stroke:#b7c0c7
|
22
|
+
|
23
|
+
</div>
|
24
|
+
|
25
|
+
<script>
|
26
|
+
mermaid.initialize({startOnLoad:true});
|
27
|
+
</script>
|
28
|
+
</body>
|
29
|
+
</html>
|
pyegeria/egeria_client.py
CHANGED
@@ -29,6 +29,7 @@ from pyegeria import (
|
|
29
29
|
FullServerConfig,
|
30
30
|
EgeriaConfig,
|
31
31
|
MetadataExplorer,
|
32
|
+
SolutionArchitect
|
32
33
|
)
|
33
34
|
|
34
35
|
|
@@ -50,6 +51,7 @@ class Egeria(
|
|
50
51
|
# TemplateManager,
|
51
52
|
ValidMetadataManager,
|
52
53
|
MetadataExplorer,
|
54
|
+
SolutionArchitect,
|
53
55
|
):
|
54
56
|
"""
|
55
57
|
Client to issue Runtime status requests.
|
@@ -115,3 +117,6 @@ class Egeria(
|
|
115
117
|
ValidMetadataManager.__init__(
|
116
118
|
self, view_server, platform_url, user_id, user_pwd, token
|
117
119
|
)
|
120
|
+
SolutionArchitect.__init__(
|
121
|
+
self, view_server, platform_url, user_id, user_pwd, token
|
122
|
+
)
|
pyegeria/egeria_tech_client.py
CHANGED
@@ -23,7 +23,8 @@ from pyegeria import (
|
|
23
23
|
RuntimeManager,
|
24
24
|
TEMPLATE_GUIDS,
|
25
25
|
INTEGRATION_GUIDS,
|
26
|
-
MetadataExplorer,
|
26
|
+
MetadataExplorer,
|
27
|
+
SolutionArchitect,
|
27
28
|
)
|
28
29
|
|
29
30
|
|
@@ -88,7 +89,9 @@ class EgeriaTech(
|
|
88
89
|
MetadataExplorer.__init__(
|
89
90
|
self, view_server, platform_url, user_id, user_pwd, token
|
90
91
|
)
|
91
|
-
|
92
|
+
SolutionArchitect.__init__(
|
93
|
+
self, view_server, platform_url, user_id, user_pwd, token
|
94
|
+
)
|
92
95
|
|
93
96
|
if __name__ == "__main__":
|
94
97
|
print("Main-Tech Client")
|
pyegeria/mermaid_utilities.py
CHANGED
@@ -40,7 +40,7 @@ EGERIA_USER = os.environ.get("EGERIA_USER", "erinoverview")
|
|
40
40
|
EGERIA_USER_PASSWORD = os.environ.get("EGERIA_USER_PASSWORD", "secret")
|
41
41
|
EGERIA_JUPYTER = bool(os.environ.get("EGERIA_JUPYTER", "False"))
|
42
42
|
EGERIA_WIDTH = int(os.environ.get("EGERIA_WIDTH", "200"))
|
43
|
-
|
43
|
+
EGERIA_MERMAID_FOLDER = os.environ.get("EGERIA_MERMAID_FOLDER", "./work/mermaid_graphs")
|
44
44
|
|
45
45
|
# Check Mermaid.js version
|
46
46
|
# def check_mermaid_version():
|
@@ -110,6 +110,36 @@ def render_mermaid(mermaid_code):
|
|
110
110
|
"""
|
111
111
|
display(HTML(mermaid_html))
|
112
112
|
|
113
|
+
def save_mermaid_graph(title, mermaid_code, folder:str = EGERIA_MERMAID_FOLDER):
|
114
|
+
"""Save a Mermaid diagram to a file"""
|
115
|
+
if not os.path.exists(folder):
|
116
|
+
os.makedirs(folder)
|
117
|
+
mermaid_file = os.path.join(folder, title + ".mmd")
|
118
|
+
mermaid_code = f"""
|
119
|
+
<!DOCTYPE html>
|
120
|
+
<html>
|
121
|
+
<head>
|
122
|
+
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
|
123
|
+
</head>
|
124
|
+
<body>
|
125
|
+
<div class="mermaid">
|
126
|
+
{mermaid_code}
|
127
|
+
</div>
|
128
|
+
""" \
|
129
|
+
+ \
|
130
|
+
"""
|
131
|
+
<script>
|
132
|
+
mermaid.initialize({startOnLoad:true});
|
133
|
+
</script>
|
134
|
+
</body>
|
135
|
+
</html>
|
136
|
+
"""
|
137
|
+
|
138
|
+
with open(mermaid_file, "w") as f:
|
139
|
+
f.write(mermaid_code)
|
140
|
+
return mermaid_file
|
141
|
+
|
142
|
+
|
113
143
|
|
114
144
|
def generate_process_graph(
|
115
145
|
process_guid: str,
|
@@ -13,6 +13,9 @@ from httpx import Response
|
|
13
13
|
|
14
14
|
from pyegeria import body_slimmer
|
15
15
|
from pyegeria._client import Client, max_paging_size
|
16
|
+
import sys
|
17
|
+
import os
|
18
|
+
sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))
|
16
19
|
|
17
20
|
NO_ELEMENTS_FOUND = "No Elements Found"
|
18
21
|
|
@@ -97,6 +100,7 @@ class SolutionArchitect(Client):
|
|
97
100
|
|
98
101
|
async def _async_find_information_supply_chains(self,
|
99
102
|
filter: str = "*",
|
103
|
+
add_implementation: bool = True,
|
100
104
|
starts_with: bool = True,
|
101
105
|
ends_with: bool = False,
|
102
106
|
ignore_case: bool = False,
|
@@ -112,6 +116,8 @@ class SolutionArchitect(Client):
|
|
112
116
|
----------
|
113
117
|
filter : str
|
114
118
|
- search_filter string to search for.
|
119
|
+
add_implementation : bool, [default=True], optional
|
120
|
+
- add_implementation flag to include information supply chain implementations details..
|
115
121
|
starts_with : bool, [default=False], optional
|
116
122
|
Starts with the supplied string.
|
117
123
|
ends_with : bool, [default=False], optional
|
@@ -143,6 +149,7 @@ class SolutionArchitect(Client):
|
|
143
149
|
("startsWith", starts_with),
|
144
150
|
("endsWith", ends_with),
|
145
151
|
("ignoreCase", ignore_case),
|
152
|
+
("addImplementation", add_implementation),
|
146
153
|
]
|
147
154
|
)
|
148
155
|
|
@@ -628,7 +635,7 @@ class SolutionArchitect(Client):
|
|
628
635
|
"""Retrieve a list of all solution component elements
|
629
636
|
https://egeria-project.org/concepts/solution-components
|
630
637
|
"""
|
631
|
-
return
|
638
|
+
return self.find_solution_components('*', start_from = start_from, page_size = page_size )
|
632
639
|
|
633
640
|
|
634
641
|
|