rajeshnadimpalli / Azure

0 stars 0 forks source link

test (logicapp.json) #1

Open rajeshnadimpalli opened 8 months ago

rajeshnadimpalli commented 8 months ago

{ "id": "ABC-001", "customerName": "umberella corp", "contactPerson": "Rajesh", "contactPhone": "999 9999999", "address": { "city": "Tampa", "addressLine1": "5830 Memorial hwy", "postcode": "33615" } }

rajeshnadimpalli commented 8 months ago

{ "address": { "city": "", "postcode": "", "street": "" }, "externalId": "", "id": "", "name": "", "primaryContact": { "name": "", "phone": "" } }

rajeshnadimpalli commented 8 months ago

mermaid,js https://mermaid.live/edit#pako:eNqdVMlO40AQ_ZVSHzgl0hBxymGkBDMiElYWM5qDnUNhV0gLu231MmIJ_z69GcIkIMCX7q56Vf3eU7mfWNlWxMbsVmK3heukEGC_ST4Xw4WkhitSaxgOf-5SbiGat2IH03zyaCTBed2aal2IUKPMTWjyphgy0qZbB8g82_KNzldUwSVqmHckfGQAV1yY-4iazab5bJq6FU5_xGC69LF02beSWNaUhwUS1HiDimIy62oj7vKwxBiJ6oDp_0LeJk_z3xlcoNKwolsrPALOF2czz8VtoBVwIMf2M0qTjAX-jqS_q6cKw6jB1nc1ltSQ0L0DQmkUGFwIewsPco7A06VjGf2xwIXkDcqHj4SPnLY_dEzb6DviRl9XN_q8PEf0VV6ygoxrOpSXrPKEK3TsbJuy_UvWBD-8v5DX7riLzfZ98wB3Ky_jfO9j9tqH6XXw4M5JsOtlaN_JRB9cMppl871t-_PqIb0fJy829Vx9OlAuBBuwhmSDvLL_7pODFExvrWsFG9ttRRs0tS5YIZ4tFI1uswdRsrGWhgbMdBVqSjjaaWjYeIO1slGquG5lGt4D_yw8_wOWo1EW

code:

graph TD A[On-Premises] -->|Migration| B[Azure Cloud]

subgraph A[On-Premises Setup]
OShift[Red Hat OpenShift, Linux]
IIB[IBM IIB 10]
MQ[IBM MQ]
Oracle[Oracle Database]
Splunk[Splunk]
end

subgraph B[Azure Cloud]
subgraph B1[US East Region]
CP4I[IBM CP4I on Red Hat OpenShift Cluster]
AzureDB[Azure Database - Oracle Replacement]
Instana[IBM Instana - Splunk Replacement]
MQEast[IBM MQ - Primary]
end

subgraph B2[US West Region]
CP4I2[IBM CP4I on Red Hat OpenShift Cluster]
AzureDB2[Azure Database - Oracle Replacement]
Instana2[IBM Instana - Splunk Replacement]
MQWest[IBM MQ - DR Site]
end

DR[Disaster Recovery] -->|Failover| MQWest
MQEast -->|Replication| MQWest
end

OShift --> CP4I & CP4I2
IIB --> CP4I & CP4I2
Oracle --> AzureDB & AzureDB2
Splunk --> Instana & Instana2
MQ --> MQEast
rajeshnadimpalli commented 8 months ago

final mermaid.js code

graph TD subgraph B[Azure Cloud] subgraph B1[US East Region - OpenShift Cluster] CP4IMaster1[Master Node - CP4I] CP4IWorker1A[Worker Node A - CP4I] CP4IWorker1B[Worker Node B - CP4I] CP4IWorker1C[Worker Node C - CP4I] CP4IMaster1 -->|Manages| CP4IWorker1A & CP4IWorker1B & CP4IWorker1C

subgraph CP4IWorker1A
Pod1A1[Pod 1]
Pod1A2[Pod 2]
end

subgraph CP4IWorker1B
Pod1B1[Pod 1]
Pod1B2[Pod 2]
end

subgraph CP4IWorker1C
Pod1C1[Pod 1]
Pod1C2[Pod 2]
end

AzureDB1[Azure Database - Oracle Replacement - Primary]
Instana1[IBM Instana - Splunk Replacement]
MQEast[IBM MQ - Primary]
CP4I1[IBM CP4I Services]
end

subgraph B2[US West Region - OpenShift Cluster]
CP4IMaster2[Master Node - CP4I]
CP4IWorker2A[Worker Node A - CP4I]
CP4IWorker2B[Worker Node B - CP4I]
CP4IWorker2C[Worker Node C - CP4I]
CP4IMaster2 -->|Manages| CP4IWorker2A & CP4IWorker2B & CP4IWorker2C

subgraph CP4IWorker2A
Pod2A1[Pod 1]
Pod2A2[Pod 2]
end

subgraph CP4IWorker2B
Pod2B1[Pod 1]
Pod2B2[Pod 2]
end

subgraph CP4IWorker2C
Pod2C1[Pod 1]
Pod2C2[Pod 2]
end

AzureDB2[Azure Database - Oracle Replacement - Replica]
Instana2[IBM Instana - Splunk Replacement]
MQWest[IBM MQ - DR Site]
CP4I2[IBM CP4I Services - DR]
end

MQEast -.->|Replication| MQWest
MQEast -.->|Failover| MQWest
CP4I1 -.->|Failover| CP4I2
AzureDB1 -.->|Data Replication| AzureDB2

CP4IWorker1A -->|Accesses| AzureDB1 & Instana1 & CP4I1
CP4IWorker1B -->|Accesses| AzureDB1 & Instana1 & CP4I1
CP4IWorker1C -->|Accesses| AzureDB1 & Instana1 & CP4I1

CP4IWorker2A -->|Accesses| AzureDB2 & Instana2 & CP4I2
CP4IWorker2B -->|Accesses| AzureDB2 & Instana2 & CP4I2
CP4IWorker2C -->|Accesses| AzureDB2 & Instana2 & CP4I2
end

style B1 fill:#f9f,stroke:#333,stroke-width:2px
style B2 fill:#ccf,stroke:#333,stroke-width:2px
linkStyle 5 stroke:#f66,stroke-width:2px,stroke-dasharray: 5, 5
linkStyle 6 stroke:#f66,stroke-width:2px,stroke-dasharray: 5, 5
linkStyle 7 stroke:#f66,stroke-width:2px,stroke-dasharray: 5, 5
linkStyle 8 stroke:#fb0,stroke-width:2px,stroke-dasharray: 5, 5

URL https://mermaid.live/edit#pako:eNqtll1vokAUhv_KZJr0Co1zVEQuNhHcTXrh9oPdNFntxRSGSkQgw9Cttf3vHT4s4qxdTOuNzOF93_ngOYQtdmOPYRM_cJos0a_pIkLyl2b3ZcGaT54zzpAdxpl3d3iTzH876DtNBbphD0EcoQ66TFjkLANfSEuWCsYrk301uJjRvEDm5T_6KWeWjvzOnug25ispmszLi1I1OaqzGjrrqM5u6GxVVy0OdTrfXmY0og8sfWksCJ035m0O7UV0cDj71vLWVeyRCZnLP0Tu9kpQlKAqscj7KMuqjZaaZZ2UZddGW82yj2YVSEzl9CUbUyroPU3zZ3nJqRsySUMSUpetWSRk8YoHa8o3Vc5FlAp5vGR-Yc12AylykjCLVvvOSj-7zgEr1LNrJS3fTRmVXyGH8cfAZekH-5dHJKG9ZadBC22ghZbQQktooSW0cAxaaEILTWjhI2ihhhZUaOEkaKGGFlRo4SRooYYWVGjhv9BCS2jzUeDSJrTQHtocsBra6Q1yAsH2nhyo0BY6deFlA6BOVz7jalVCYvtSTaKKftAgjB8ZbyqKTjkUFCtpNnUpyY8HNWbbnd9uWY1XY87fxJV7SHMA36PO37u9Ao-o7-9PeO1TvGqz_tsNtRsqN6gN_Amvfap3vyHERpIqd-gHYWie-WNfSwWPV8w86_f71XXnb-CJpQnJU8MElcl125jCIFo5hXGIdmpf1xX1ruDRdEk5pxsTDTU0PAzRvyJk9BUhRh1y32sfgjW8ZnxNA09-LG3z0AUWS9nzC2zKS4_5NAvFAi-iVymlmYidTeRiU_CMaThLPCrYNKDydbbGpk_DVFaZF4iYz8oPsOI7TMMJjf7E8XpnlENsbvETNvVxVx8YOvTIeEzGA0PDG2wO9S7pDQwDhoQMDDIav2r4ubCTrk50IPpIN_oj6I1G8PoGGSkWyQ