Skip to content

Commit bdf0dde

Browse files
CCM-12616: Add SSM and validation into MESH Poll diagrams (#134)
* CCM-12616: Add SSM and validation into MESH Poll diagrams CCM-12616: Add senderId into MESHInboxMessageReceived event --------- Co-authored-by: lapenna-bjss <[email protected]>
1 parent 575f302 commit bdf0dde

File tree

7 files changed

+39
-26
lines changed

7 files changed

+39
-26
lines changed

docs/assets/aws-icons-mermaid.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3530,6 +3530,9 @@
35303530
"res-amazon-eventbridge-event": {
35313531
"body": "<g id=\"Icon-Resource/Application-Integration/Res_Amazon-EventBridge-Event_48\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><path d=\"M30.58,10.58 L28.74,9.795 L31.538,3.237 L33.378,4.022 L30.58,10.58 Z M36.295,15.605 L35.094,14.006 L40.831,9.698 L42.032,11.298 L36.295,15.605 Z M38.447,20.802 L45.587,19.898 L45.839,21.883 L38.699,22.786 L38.447,20.802 Z M37.907,28.354 L44.538,31.098 L43.773,32.945 L37.143,30.202 L37.907,28.354 Z M33.625,34.644 L37.968,40.3 L36.382,41.518 L32.039,35.863 L33.625,34.644 Z M26.743,37.995 L27.635,45.046 L25.65,45.296 L24.759,38.245 L26.743,37.995 Z M17.259,36.716 L19.099,37.501 L16.301,44.059 L14.461,43.274 L17.259,36.716 Z M11.544,31.69 L12.745,33.29 L7.008,37.598 L5.807,35.998 L11.544,31.69 Z M9.392,26.494 L2.252,27.398 L2,25.414 L9.14,24.51 L9.392,26.494 Z M9.932,18.941 L3.302,16.198 L4.065,14.351 L10.696,17.094 L9.932,18.941 Z M14.214,12.651 L9.871,6.997 L11.457,5.778 L15.8,11.433 L14.214,12.651 Z M21.096,9.301 L20.204,2.25 L22.188,2 L23.08,9.051 L21.096,9.301 Z M28.039,30.999 L19.379,30.999 L15.048,23.499 L19.379,15.999 L28.039,15.999 L32.369,23.499 L28.039,30.999 Z M34.39,22.999 L29.482,14.499 C29.304,14.189 28.974,13.999 28.616,13.999 L18.802,13.999 C18.444,13.999 18.114,14.189 17.935,14.499 L13.027,22.999 C12.849,23.309 12.849,23.689 13.027,23.999 L17.935,32.499 C18.114,32.809 18.444,32.999 18.802,32.999 L28.616,32.999 C28.974,32.999 29.304,32.809 29.482,32.499 L34.39,23.999 C34.568,23.689 34.568,23.309 34.39,22.999 L34.39,22.999 Z\" id=\"Icon-Resource/48/Amazon-EventBridge-Event\" fill=\"#E7157B\" /></g>"
35323532
},
3533+
"res-aws-systems-manager-parameter-store": {
3534+
"body": "<g id=\"Icon-Resource/Management-Governance/Res_AWS-Systems-Manager_Parameter-Store_48\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><path d=\"M35.5886,36.7588 C35.5886,37.1338 35.8946,37.4408 36.2696,37.4408 L36.2706,37.4408 C36.4516,37.4408 36.6226,37.3698 36.7506,37.2418 C36.8796,37.1128 36.9506,36.9418 36.9506,36.7588 L36.9506,36.7568 C36.9506,36.5758 36.8806,36.4048 36.7526,36.2778 C36.6236,36.1488 36.4526,36.0768 36.2706,36.0768 L36.2696,36.0768 C36.0876,36.0768 35.9166,36.1478 35.7886,36.2768 C35.6596,36.4048 35.5886,36.5758 35.5886,36.7588 L35.5886,36.7588 Z M33.5886,36.7578 C33.5896,36.0408 33.8686,35.3678 34.3746,34.8618 C34.8806,34.3558 35.5536,34.0768 36.2686,34.0768 L36.2716,34.0768 C36.9876,34.0768 37.6616,34.3568 38.1686,34.8638 C38.6746,35.3718 38.9526,36.0448 38.9506107,36.7608 C38.9496,37.4778 38.6706,38.1508 38.1646,38.6558 C37.9046,38.9158 37.6006,39.1128 37.2696,39.2458 L37.2706,42.0428 L35.2706,42.0428 L35.2696,39.2428 C34.2856,38.8458 33.5886,37.8828 33.5886,36.7578 L33.5886,36.7578 Z M43.1156,32.7748 L29.4286,32.7688 L29.4246,43.8378 L43.1096,43.8448 L43.1156,32.7748 Z M32.9016,30.7708 L39.614618,30.7728 L39.614618,28.3028 C39.6206,26.2818 38.1276,24.6358 36.2866,24.6298 L36.2756,24.6298 C35.3936,24.6298 34.5606,24.9978 33.9276,25.6658 C33.2766,26.3548 32.9166,27.2758 32.9136,28.2598 L32.9016,30.7708 Z M45.1156,31.7748 L45.1096,44.8448 C45.1096,45.3978 44.6616,45.8448 44.1096,45.8448 L28.4246,45.8378 C27.8716,45.8378 27.4246,45.3898 27.4246,44.8378 L27.4286,31.7688 C27.4286,31.5028 27.5336,31.2488 27.7216,31.0618 C27.9086,30.8738 28.1636,30.7688 28.4286,30.7688 L30.9016,30.7698 L30.9136,28.2518 C30.9186,26.7588 31.4726,25.3518 32.4746,24.2918 C33.4886,23.2198 34.8386,22.6298 36.2756,22.6298 L36.2926,22.6298 C39.2366,22.6398 41.6246,25.1858 41.6146,28.3058 L41.6146,30.7738 L44.1156,30.7748 C44.3816,30.7748 44.6356,30.8798 44.8226,31.0678 C45.0106,31.2548 45.1156,31.5098 45.1156,31.7748 L45.1156,31.7748 Z M14.4756,31.0248 L21.4496,31.0248 L21.4496,29.0248 L14.4756,29.0248 L14.4756,31.0248 Z M14.4756,27.5378 L21.4496,27.5378 L21.4496,25.5378 L14.4756,25.5378 L14.4756,27.5378 Z M14.4756,24.0508 L21.4496,24.0508 L21.4496,22.0508 L14.4756,22.0508 L14.4756,24.0508 Z M12.9056,33.3838 L23.1096,33.3838 L23.1096,19.6928 L12.9056,19.6928 L12.9056,33.3838 Z M25.1096,18.6928 L25.1096,34.3838 C25.1096,34.9368 24.6626,35.3838 24.1096,35.3838 L11.9056,35.3838 C11.3536,35.3838 10.9056,34.9368 10.9056,34.3838 L10.9056,18.6928 C10.9056,18.1398 11.3536,17.6928 11.9056,17.6928 L24.1096,17.6928 C24.6626,17.6928 25.1096,18.1398 25.1096,18.6928 L25.1096,18.6928 Z M5.9406,8.9748 L30.0166,8.9748 L26.4706,3.9998 L9.4856,3.9998 L5.9406,8.9748 Z M3.1106,10.4328 C2.9396,10.0998 2.9686,9.6988 3.1856,9.3948 L8.1556,2.4198 C8.3436,2.1558 8.6476,1.9998 8.9706,1.9998 L26.9856,1.9998 C27.3096,1.9998 27.6126,2.1558 27.8006,2.4198 L32.7716,9.3948 C32.9876,9.6988 33.0176,10.0998 32.8456,10.4328 C32.6746,10.7658 32.3306,10.9748 31.9566,10.9748 L3.9996,10.9748 C3.6256,10.9748 3.2816,10.7658 3.1106,10.4328 L3.1106,10.4328 Z M5.0496,39.4868 L24.9376,39.4868 L24.9376,41.4868 L4.0496,41.4868 C3.4966,41.4868 3.0496,41.0388 3.0496,40.4868 L3.0496,13.4618 C3.0496,12.9088 3.4966,12.4618 4.0496,12.4618 L31.9546,12.4618 C32.5076,12.4618 32.9546,12.9088 32.9546,13.4618 L32.9546,22.1788 L30.9546,22.1788 L30.9546,14.4618 L5.0496,14.4618 L5.0496,39.4868 Z\" id=\"AWS-System-Manager_Parameter-Store_Resource-Icon_light-bg\" fill=\"#E7157B\" /></g>"
3535+
},
35333536
"reserved-instance-reporting": {
35343537
"body": "<g id=\"Icon-Architecture/48/Arch_Reserved-Instance-Reporting_48\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><g id=\"Icon-Architecture-BG/48/AWS-Cost-Management\" fill=\"#7AA116\"><rect id=\"Rectangle\" x=\"0\" y=\"0\" width=\"64\" height=\"64\" /></g><path d=\"M44.77,43.372 L38.708,37.294 L37.292,38.706 L43.347,44.777 L32.005,49.478 L20.622,44.767 L26.707,38.708 L25.294,37.291 L19.221,43.339 L14.521,32.004 L19.221,20.65 L25.294,26.708 L26.707,25.292 L20.631,19.232 L31.996,14.521 L43.341,19.218 L37.291,25.294 L38.709,26.705 L44.764,20.623 L49.48,31.996 L44.77,43.372 Z M54,33 L54,31 L51.232,31 L46.293,19.087 L48.655,16.716 L47.237,15.305 L44.868,17.685 L33,12.772 L33,10 L31,10 L31,12.769 L19.097,17.703 L16.691,15.302 L15.279,16.718 L17.689,19.122 L12.773,31 L10,31 L10,33 L12.769,33 L17.688,44.865 L15.279,47.264 L16.691,48.681 L19.086,46.296 L31,51.227 L31,54 L33,54 L33,51.231 L44.875,46.309 L47.238,48.678 L48.654,47.266 L46.3,44.906 L51.228,33 L54,33 Z M32,36.28 C29.64,36.28 27.72,34.36 27.72,32 C27.72,29.64 29.64,27.72 32,27.72 C34.361,27.72 36.281,29.64 36.281,32 C36.281,34.36 34.361,36.28 32,36.28 L32,36.28 Z M32,25.72 C28.538,25.72 25.72,28.537 25.72,32 C25.72,35.463 28.538,38.28 32,38.28 C35.463,38.28 38.281,35.463 38.281,32 C38.281,28.537 35.463,25.72 32,25.72 L32,25.72 Z\" id=\"Reserved-Instance-Reporting_Icon_48_Squid\" fill=\"#FFFFFF\" /></g>",
35353538
"height": 64,
@@ -3997,9 +4000,6 @@
39974000
"systems-manager-opscenter": {
39984001
"body": "<g id=\"Icon-Resource/Management-Governance/Res_AWS-Systems-Manager_OpsCenter_48\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><path d=\"M14.4093,14.748 L12.9953,16.162 L20.8003,23.967 L37.3023,3.797 L35.7533,2.531 L20.6513,20.99 L14.4093,14.748 Z M43.0083,37.685 L38.2393,33.26 L33.0923,38.407 L37.8473,42.805 C39.2813,44.198 41.5473,44.167 42.9223,42.755 C44.3433,41.363 44.3733,39.097 43.0083,37.685 L43.0083,37.685 Z M30.6283,36.128 L31.6233,37.048 L36.7733,31.897 L35.8533,31.044 C35.2163,31.969 34.4993,32.849 33.6883,33.66 C32.7483,34.602 31.7193,35.42 30.6283,36.128 L30.6283,36.128 Z M44.3393,44.167 C43.2583,45.277 41.8133,45.836 40.3653,45.836 C38.9633,45.836 37.5573,45.312 36.4733,44.259 L28.8013,37.162 C26.2713,38.419 23.4753,39.102 20.5693,39.103 L20.5573,39.103 C15.6043,39.103 10.9483,37.177 7.4433,33.676 C3.9363,30.173 2.0033,25.514 2.00025985,20.557 C1.9953,18.141 2.4573,15.782 3.3753,13.548 L5.2243,14.308 C4.5343,15.988 4.1513,17.752 4.0463,19.556 L9.1453,19.556 L9.1453,21.556 L4.0493,21.556 C4.2923,25.602 5.9663,29.373 8.8563,32.261 C11.7463,35.146 15.5163,36.814 19.5583,37.055 L19.5583,31.969 L21.5583,31.969 L21.5583,37.055 C25.6073,36.813 29.3833,35.141 32.2733,32.247 C35.1573,29.36 36.8253,25.594 37.0673,21.556 L31.9713,21.556 L31.9713,19.556 L37.0813,19.556 C36.9133,16.744 36.0393,14.024 34.5173,11.639 L36.2033,10.562 C38.1063,13.547 39.1143,16.995 39.1163,20.534 C39.1183,23.646 38.3563,26.643 36.9243,29.31 L44.4073,36.258 C46.5733,38.494 46.5253,42.025 44.3393,44.167 L44.3393,44.167 Z M9.7983,8.005 L8.4933,6.489 C6.8573,7.897 5.4893,9.567 4.4293,11.453 L6.1713,12.434 C7.1183,10.752 8.3393,9.262 9.7983,8.005 L9.7983,8.005 Z M11.5673,6.646 L10.4813,4.967 C16.5673,1.031 24.4463,1.01 30.5523,4.911 L29.4753,6.597 C27.0553,5.05 24.3233,4.198 21.5583,4.032 L21.5583,9.143 L19.5583,9.143 L19.5583,4.035 C16.7643,4.203 14.0053,5.07 11.5673,6.646 L11.5673,6.646 Z\" id=\"AWS-System-Manager_OpsCenter_Resource-Icon_light-bg\" fill=\"#E7157B\" /></g>"
39994002
},
4000-
"systems-manager-parameter-store": {
4001-
"body": "<g id=\"Icon-Resource/Management-Governance/Res_AWS-Systems-Manager_Parameter-Store_48\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><path d=\"M35.5886,36.7588 C35.5886,37.1338 35.8946,37.4408 36.2696,37.4408 L36.2706,37.4408 C36.4516,37.4408 36.6226,37.3698 36.7506,37.2418 C36.8796,37.1128 36.9506,36.9418 36.9506,36.7588 L36.9506,36.7568 C36.9506,36.5758 36.8806,36.4048 36.7526,36.2778 C36.6236,36.1488 36.4526,36.0768 36.2706,36.0768 L36.2696,36.0768 C36.0876,36.0768 35.9166,36.1478 35.7886,36.2768 C35.6596,36.4048 35.5886,36.5758 35.5886,36.7588 L35.5886,36.7588 Z M33.5886,36.7578 C33.5896,36.0408 33.8686,35.3678 34.3746,34.8618 C34.8806,34.3558 35.5536,34.0768 36.2686,34.0768 L36.2716,34.0768 C36.9876,34.0768 37.6616,34.3568 38.1686,34.8638 C38.6746,35.3718 38.9526,36.0448 38.9506107,36.7608 C38.9496,37.4778 38.6706,38.1508 38.1646,38.6558 C37.9046,38.9158 37.6006,39.1128 37.2696,39.2458 L37.2706,42.0428 L35.2706,42.0428 L35.2696,39.2428 C34.2856,38.8458 33.5886,37.8828 33.5886,36.7578 L33.5886,36.7578 Z M43.1156,32.7748 L29.4286,32.7688 L29.4246,43.8378 L43.1096,43.8448 L43.1156,32.7748 Z M32.9016,30.7708 L39.614618,30.7728 L39.614618,28.3028 C39.6206,26.2818 38.1276,24.6358 36.2866,24.6298 L36.2756,24.6298 C35.3936,24.6298 34.5606,24.9978 33.9276,25.6658 C33.2766,26.3548 32.9166,27.2758 32.9136,28.2598 L32.9016,30.7708 Z M45.1156,31.7748 L45.1096,44.8448 C45.1096,45.3978 44.6616,45.8448 44.1096,45.8448 L28.4246,45.8378 C27.8716,45.8378 27.4246,45.3898 27.4246,44.8378 L27.4286,31.7688 C27.4286,31.5028 27.5336,31.2488 27.7216,31.0618 C27.9086,30.8738 28.1636,30.7688 28.4286,30.7688 L30.9016,30.7698 L30.9136,28.2518 C30.9186,26.7588 31.4726,25.3518 32.4746,24.2918 C33.4886,23.2198 34.8386,22.6298 36.2756,22.6298 L36.2926,22.6298 C39.2366,22.6398 41.6246,25.1858 41.6146,28.3058 L41.6146,30.7738 L44.1156,30.7748 C44.3816,30.7748 44.6356,30.8798 44.8226,31.0678 C45.0106,31.2548 45.1156,31.5098 45.1156,31.7748 L45.1156,31.7748 Z M14.4756,31.0248 L21.4496,31.0248 L21.4496,29.0248 L14.4756,29.0248 L14.4756,31.0248 Z M14.4756,27.5378 L21.4496,27.5378 L21.4496,25.5378 L14.4756,25.5378 L14.4756,27.5378 Z M14.4756,24.0508 L21.4496,24.0508 L21.4496,22.0508 L14.4756,22.0508 L14.4756,24.0508 Z M12.9056,33.3838 L23.1096,33.3838 L23.1096,19.6928 L12.9056,19.6928 L12.9056,33.3838 Z M25.1096,18.6928 L25.1096,34.3838 C25.1096,34.9368 24.6626,35.3838 24.1096,35.3838 L11.9056,35.3838 C11.3536,35.3838 10.9056,34.9368 10.9056,34.3838 L10.9056,18.6928 C10.9056,18.1398 11.3536,17.6928 11.9056,17.6928 L24.1096,17.6928 C24.6626,17.6928 25.1096,18.1398 25.1096,18.6928 L25.1096,18.6928 Z M5.9406,8.9748 L30.0166,8.9748 L26.4706,3.9998 L9.4856,3.9998 L5.9406,8.9748 Z M3.1106,10.4328 C2.9396,10.0998 2.9686,9.6988 3.1856,9.3948 L8.1556,2.4198 C8.3436,2.1558 8.6476,1.9998 8.9706,1.9998 L26.9856,1.9998 C27.3096,1.9998 27.6126,2.1558 27.8006,2.4198 L32.7716,9.3948 C32.9876,9.6988 33.0176,10.0998 32.8456,10.4328 C32.6746,10.7658 32.3306,10.9748 31.9566,10.9748 L3.9996,10.9748 C3.6256,10.9748 3.2816,10.7658 3.1106,10.4328 L3.1106,10.4328 Z M5.0496,39.4868 L24.9376,39.4868 L24.9376,41.4868 L4.0496,41.4868 C3.4966,41.4868 3.0496,41.0388 3.0496,40.4868 L3.0496,13.4618 C3.0496,12.9088 3.4966,12.4618 4.0496,12.4618 L31.9546,12.4618 C32.5076,12.4618 32.9546,12.9088 32.9546,13.4618 L32.9546,22.1788 L30.9546,22.1788 L30.9546,14.4618 L5.0496,14.4618 L5.0496,39.4868 Z\" id=\"AWS-System-Manager_Parameter-Store_Resource-Icon_light-bg\" fill=\"#E7157B\" /></g>"
4002-
},
40034003
"systems-manager-patch-manager": {
40044004
"body": "<g id=\"Icon-Resource/Management-Governance/Res_AWS-Systems-Manager_Patch-Manager_48\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><path d=\"M24.027,2 L19.856,6.172 L21.269,7.585 L24.027,4.829 L28.465,9.266 L29.879,7.852 L24.027,2 Z M30.744,17.169 L32.744,17.169 L32.744,4.306 L30.744,4.306 L30.744,17.169 Z M34.174,20.598 L36.174,20.598 L36.174,7.736 L34.174,7.736 L34.174,20.598 Z M11.165,10.45 L24.027,10.45 L24.027,8.45 L11.165,8.45 L11.165,10.45 Z M37.604,24.028 L39.604,24.028 L39.604,11.166 L37.604,11.166 L37.604,24.028 Z M7.735,13.88 L20.596,13.88 L20.596,11.88 L7.735,11.88 L7.735,13.88 Z M4.305,17.31 L17.166,17.31 L17.166,15.31 L4.305,15.31 L4.305,17.31 Z M2,24.028 L6.171,28.199 L7.585,26.784 L4.828,24.028 L9.265,19.59 L7.851,18.176 L2,24.028 Z M40.468,21.271 L43.227,24.028 L38.788,28.465 L40.202,29.879 L46.055,24.028 L41.883,19.857 L40.468,21.271 Z M8.45,36.889 L10.45,36.889 L10.45,24.027 L8.45,24.027 L8.45,36.889 Z M11.88,40.318 L13.88,40.318 L13.88,27.457 L11.88,27.457 L11.88,40.318 Z M30.029,32.745 L42.89,32.745 L42.89,30.744 L30.029,30.744 L30.029,32.745 Z M15.31,43.749 L17.31,43.749 L17.31,30.887 L15.31,30.887 L15.31,43.749 Z M26.599,36.174 L39.461,36.174 L39.461,34.174 L26.599,34.174 L26.599,36.174 Z M23.169,39.604 L36.031,39.604 L36.031,37.604 L23.169,37.604 L23.169,39.604 Z M18.174,40.203 L24.027,46.055 L28.198,41.884 L26.784,40.47 L24.027,43.227 L19.588,38.789 L18.174,40.203 Z\" id=\"AWS-System-Manager_patch-manager_Resource-Icon_light-bg\" fill=\"#E7157B\" /></g>"
40054005
},

docs/collections/_diagrams/c4code-mesh-poller.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ architecture-beta
1010
service meshDownloaded(aws:res-amazon-eventbridge-event)[MeshPollerTimerExpired Event]
1111
service pdmSaved(aws:res-amazon-eventbridge-event)[MESHInboxMessageReceived Event]
1212
service meshPollLambda(logos:aws-lambda)[MeshPoll] in meshPoller
13+
service clientConfig(aws:res-aws-systems-manager-parameter-store)[Client Configuration] in meshPoller
1314
service mesh(server)[MESH]
1415
1516
meshDownloaded:R -- L:meshPollLambda
16-
meshPollLambda:T --> B:mesh
17+
clientConfig:B --> T:meshPollLambda
18+
meshPollLambda:B --> T:mesh
1719
meshPollLambda:R --> L:pdmSaved
1820
```

docs/collections/_diagrams/sequence-mesh-download.md

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,27 @@ title: v
77
```mermaid
88
99
sequenceDiagram
10-
participant meshMailbox as MESH<br/>Mailbox
10+
actor trust as Trust
1111
participant eventBus as EventBus
12-
participant sqs as SQS<br/>MeshRetrieveQueue
13-
participant meshRetrieve as Lambda<br/>MESHRetrieve
12+
participant sqs as SQS<br/>MeshDownloadQueue
13+
participant meshDownload as Lambda<br/>MESHDownload
14+
participant meshMailbox as MESH<br/>Mailbox
1415
participant s3 as S3 Bucket<br/>DigitalLetters
1516
16-
eventBus -) sqs: MESHInboxMessageReceived(meshFileId)
17-
sqs -) meshRetrieve: MESHInboxMessageReceived(meshFileId)
18-
activate meshRetrieve
19-
meshRetrieve ->> meshMailbox: Retrieve file(meshFileId)
17+
eventBus -) sqs: MESHInboxMessageReceived(meshMessageId, senderId)
18+
sqs -) meshDownload: MESHInboxMessageReceived(meshMessageId, senderId)
19+
activate meshDownload
20+
meshDownload ->> meshMailbox: Retrieve file(meshMessageId)
2021
activate meshMailbox
21-
meshMailbox -->> meshRetrieve: File
22+
meshMailbox -->> meshDownload: File
2223
deactivate meshMailbox
23-
meshRetrieve ->> s3: Upload file
24-
meshRetrieve -) eventBus: MESHInboxMessageDownloaded(S3FileId) Event
25-
deactivate meshRetrieve
24+
meshDownload ->> s3: Upload file
25+
activate s3
26+
s3 -->> meshDownload: messageUri
27+
deactivate s3
28+
meshDownload -) eventBus: MESHInboxMessageDownloaded(senderId, messageReference, messageUri) Event
29+
meshDownload -) meshMailbox: Ack
30+
meshMailbox ->> meshMailbox: Delete(meshMessageId)
31+
meshDownload -) trust: Ack
32+
deactivate meshDownload
2633
```

docs/collections/_diagrams/sequence-mesh-poll.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,21 @@ sequenceDiagram
1010
actor trust as Trust
1111
participant meshMailbox as MESH<br/>Mailbox
1212
participant meshPoll as Lambda<br/>MESHPoll
13+
participant clientConfig as SSM<br/>Client Config
1314
participant eventBus as EventBus
1415
1516
trust ->> meshMailbox: MESH (DocumentReference)
16-
activate meshMailbox
17-
meshMailbox ->> trust: MESH Ack
18-
deactivate meshMailbox
1917
20-
Loop Interval TBC
18+
Loop 5 min interval
2119
eventBus -) meshPoll: Scheduled event
2220
activate meshPoll
2321
end
2422
meshPoll ->> meshMailbox: Check for new files
25-
meshPoll -) eventBus: MESHInboxMessageReceived Event(meshFileId)
23+
meshPoll ->> clientConfig: GetClientConfig(mailboxId)
24+
activate clientConfig
25+
clientConfig -->> meshPoll: ClientConfig
26+
deactivate clientConfig
27+
meshPoll -) eventBus: MESHInboxMessageReceived Event<br/>(meshMessageId, senderId)
2628
deactivate meshPoll
2729
2830
```

src/cloudevents/domains/digital-letters/2025-10-draft/data/digital-letters-mesh-inbox-message-received-data.schema.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,8 @@ additionalProperties: false
66
properties:
77
meshMessageId:
88
$ref: ../defs/mesh.schema.yaml#/properties/meshMessageId
9+
senderId:
10+
$ref: ../defs/requests.schema.yaml#/properties/senderId
911
required:
1012
- meshMessageId
13+
- senderId

src/cloudevents/domains/digital-letters/2025-10-draft/events/uk.nhs.notify.digital.letters.reporting.report.sent.v1.schema.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ allOf:
66
properties:
77
type:
88
type: string
9-
const: uk.nhs.notify.digital.letters.reporting.report.generated.v1
9+
const: uk.nhs.notify.digital.letters.reporting.report.sent.v1
1010
description: Concrete versioned event type string for this event (.vN suffix).
1111
source:
1212
type: string
@@ -15,10 +15,9 @@ properties:
1515

1616
dataschema:
1717
type: string
18-
const: ../data/digital-letter-base-data.schema.yaml
18+
const: ../data/digital-letters-reporting-report-sent-data.schema.yaml
1919
description: Canonical URI of the event's data schema.
2020
examples:
21-
- digital-letter-base-data.schema.yaml
21+
- digital-letters-reporting-report-sent-data.schema.yaml
2222
data:
23-
$ref: ../data/digital-letter-base-data.schema.yaml
24-
description: Example payload wrapper containing notify-payload.
23+
$ref: ../data/digital-letters-reporting-report-sent-data.schema.yaml

src/cloudevents/readme-index.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# To regenerate, run: make update-readme
44
# To customize labels and purposes, edit: readme-metadata.yaml
55

6-
generated: '2025-11-21T12:22:19.666Z'
6+
generated: '2025-11-26T12:32:47.898Z'
77
common: null
88
domains:
99
- name: digital-letters

0 commit comments

Comments
 (0)