Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add supply chain context to the solution component mermaid graph #8626

Merged
merged 2 commits into from
Feb 6, 2025

Conversation

mandy-chessell
Copy link
Contributor

Description

This PR extends the mermaid graph for solution components to include the "parent" solution components and their corresponding information supply chain segments and informaiton supply chain(s). Here is an example showing the onboarding pipeline. Notice it includes the components that interact with and the information supply information that it belongs to:

---
title: Solution Component - Weekly Measurements Onboarding Pipeline [7f5dca65-50b4-4103-9ac7-3a406a09047a]
---
flowchart TD
%%{init: {"flowchart": {"htmlLabels": false}} }%%

ae59e361-2888-4c26-96f9-a098c082ac5e@{ shape: text, label: "*Description*
**Move landing area files to data lake, catalog files in data lake with lineage from the landing area and validate/certify that the data contains valid values.  The cataloguing includes lineage, retention, origin, governance zones.  The quality validation survey will add a certification to the file asset if the data contains valid values.**"}
7f5dca65-50b4-4103-9ac7-3a406a09047a@{ shape: subproc, label: "*Solution Component*
**Weekly Measurements Onboarding Pipeline**"}
07705e15-efff-4f80-8992-f04ac85e0ef1@{ shape: rect, label: "*Solution Component*
**Landing Folder Cataloguer**"}
07705e15-efff-4f80-8992-f04ac85e0ef1==>|"request onboarding,
[Solution Linking Wire]"|7f5dca65-50b4-4103-9ac7-3a406a09047a
a5d4d638-6836-47e5-99d0-fdcde637e13f@{ shape: rect, label: "*Solution Component*
**Weekly Measurements Data Lake Folder**"}
7f5dca65-50b4-4103-9ac7-3a406a09047a==>|"save new files,
[Solution Linking Wire]"|a5d4d638-6836-47e5-99d0-fdcde637e13f
f37f3735-28a1-4e03-9ff5-3fe2f137f661@{ shape: trap-t, label: "*Solution Actor Role*
**Clinical Trial Manager**"}
f37f3735-28a1-4e03-9ff5-3fe2f137f661==>|"Steward"|7f5dca65-50b4-4103-9ac7-3a406a09047a
b0290339-c96c-4b05-904f-12fc98e54e14@{ shape: trap-t, label: "*Solution Actor Role*
**Certified Data Engineer**"}
b0290339-c96c-4b05-904f-12fc98e54e14==>|"Steward"|7f5dca65-50b4-4103-9ac7-3a406a09047a
04ae768e-3816-47bc-bddb-c9ae25018684@{ shape: hex, label: "*Information Supply Chain Segment*
**Hospital Delivers Patient Weekly Readings**"}
04ae768e-3816-47bc-bddb-c9ae25018684==>|"InformationSupplyChainLink"|7f5dca65-50b4-4103-9ac7-3a406a09047a
1f71e403-1187-4f03-a1dd-ae7dc105f06f@{ shape: flip-tri, label: "*Information Supply Chain*
**Clinical Trial Treatment Validation**"}
1f71e403-1187-4f03-a1dd-ae7dc105f06f==>|"InformationSupplyChainComposition"|04ae768e-3816-47bc-bddb-c9ae25018684
style f37f3735-28a1-4e03-9ff5-3fe2f137f661 color:#FFFFFF, fill:#AA00FF, stroke:#E1D5E7
style b0290339-c96c-4b05-904f-12fc98e54e14 color:#FFFFFF, fill:#AA00FF, stroke:#E1D5E7
style 1f71e403-1187-4f03-a1dd-ae7dc105f06f color:#FFFFFF, fill:#004563, stroke:#b7c0c7
style ae59e361-2888-4c26-96f9-a098c082ac5e color:#000000, fill:#F9F7ED, stroke:#b7c0c7
style 04ae768e-3816-47bc-bddb-c9ae25018684 color:#004563, fill:#b7c0c7, stroke:#004563
style 7f5dca65-50b4-4103-9ac7-3a406a09047a color:#FFFFFF, fill:#838cc7, stroke:#3079ab
style 07705e15-efff-4f80-8992-f04ac85e0ef1 color:#FFFFFF, fill:#838cc7, stroke:#3079ab
style a5d4d638-6836-47e5-99d0-fdcde637e13f color:#FFFFFF, fill:#838cc7, stroke:#3079ab
Loading

Related Issue(s)

Testing

Release Notes & Documentation

Additional notes

@mandy-chessell mandy-chessell changed the title Add suply chain context to the solution component mermaid graph Add supply chain context to the solution component mermaid graph Feb 6, 2025
@mandy-chessell mandy-chessell merged commit 2b6152b into odpi:main Feb 6, 2025
4 checks passed
@@ -81,7 +81,7 @@
{
try
{
if (fileChanged.getAbsolutePath().startsWith(directoryToMonitor.directoryFile.getAbsolutePath()))
if (fileChanged.getCanonicalPath().startsWith(directoryToMonitor.directoryFile.getCanonicalPath()))

Check failure

Code scanning / CodeQL

Partial path traversal vulnerability Critical

Partial Path Traversal Vulnerability due to insufficient guard against path traversal.
FileAlterationListener managedListener = new FileMonitoringListener(listener);
try
{
FileAlterationObserver observer = new FileAlterationObserver(fileToMonitor.getCanonicalPath());

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
FileAlterationObserver.FileAlterationObserver
should be avoided because it has been deprecated.
FileAlterationListener managedListener = new FolderMonitoringListener(listener, false, fileFilter);
try
{
FileAlterationObserver observer = new FileAlterationObserver(directoryToMonitor.getCanonicalPath(), fileFilter);

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
FileAlterationObserver.FileAlterationObserver
should be avoided because it has been deprecated.
FileAlterationListener managedListener = new FolderMonitoringListener(listener, false, fileFilter);
try
{
FileAlterationObserver observer = new FileAlterationObserver(directoryToMonitor.getCanonicalPath(), fileFilter);

Check notice

Code scanning / CodeQL

Deprecated method or constructor invocation Note

Invoking
FileAlterationObserver.FileAlterationObserver
should be avoided because it has been deprecated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant