# shantanu26-acg/l4-azure architecture

> Architecture diagram of the GitHub repository shantanu26-acg/l4-azure, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-05). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/shantanu26-acg/l4-azure
- Repository: https://github.com/shantanu26-acg/l4-azure

## Overview

This repository is a collection of Selenium automation scripts for managing an ACG life-sciences web portal. The principal workflow is spreadsheet-driven: scripts sign in, enter product, location, serial-template, user, or role data into portal forms, and serial-number scripts can request downloads. Each script appears to run independently rather than through a shared application layer. The excerpts show browser interactions and some workbook reads; no README describes the product, and download and several newer scripts were not sampled in detail.

Main entry points: [`Create_Location_new.py`](https://github.com/shantanu26-acg/l4-azure/blob/main/Create_Location_new.py) (Create location new), [`Create_Location.py`](https://github.com/shantanu26-acg/l4-azure/blob/main/Create_Location.py) (Create location), [`Create_Product.py`](https://github.com/shantanu26-acg/l4-azure/blob/main/Create_Product.py) (Create product), [`Create_product_new.py`](https://github.com/shantanu26-acg/l4-azure/blob/main/Create_product_new.py) (Create product new)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_master["Master data"]
  node_location["Create location<br/>[Create_Location.py]"]
  node_location_new["Create location new"]
  node_product["Create product<br/>[Create_Product.py]"]
  node_product_new["Create product new"]
  node_product_sng["Create product SNG"]
  node_product_combo["Create product + SNG"]
end

subgraph group_serial["Serial operations"]
  node_sscc_template["Create SSCC template"]
  node_sscc_template_new["Create SSCC template new"]
  node_serial_template["Create serial template"]
  node_serial_template_new["Create serial template new"]
  node_download_sng["Download SNG<br/>[Download_SNG.py]"]
  node_download_sscc["Download SSCC<br/>[Download_SSCC.py]"]
end

subgraph group_access["Access control"]
  node_role["Create role<br/>[Create_Role.py]"]
  node_role_new["Create role new<br/>[Create_role_new.py]"]
  node_user["Create user<br/>[Create_User.py]"]
  node_user_new["Create user new<br/>[Create_User_new.py]"]
end

subgraph group_inputs["Workbook inputs"]
  node_workbook["ACG workbook"]
end

node_operator(("Operator"))
node_portal["ACG portal"]

node_operator -.->|"runs script"| node_location
node_operator -.->|"runs script"| node_location_new
node_operator -.->|"runs script"| node_product
node_operator -.->|"runs script"| node_product_new
node_operator -.->|"runs script"| node_product_sng
node_operator -.->|"runs script"| node_product_combo
node_operator -.->|"runs script"| node_serial_template
node_operator -.->|"runs script"| node_serial_template_new
node_operator -.->|"runs script"| node_sscc_template
node_operator -.->|"runs script"| node_sscc_template_new
node_operator -.->|"runs script"| node_download_sng
node_operator -.->|"runs script"| node_download_sscc
node_operator -.->|"runs script"| node_role
node_operator -.->|"runs script"| node_role_new
node_operator -.->|"runs script"| node_user
node_operator -.->|"runs script"| node_user_new
node_workbook -->|"provides rows"| node_location_new
node_location -->|"submits forms"| node_portal
node_location_new -->|"submits forms"| node_portal
node_product -->|"submits forms"| node_portal
node_product_new -->|"submits forms"| node_portal
node_product_sng -->|"submits forms"| node_portal
node_product_combo -->|"submits forms"| node_portal
node_serial_template -->|"submits forms"| node_portal
node_serial_template_new -->|"submits forms"| node_portal
node_download_sng -->|"requests downloads"| node_portal
node_role -->|"submits forms"| node_portal
node_user -->|"submits forms"| node_portal

click node_workbook "https://github.com/shantanu26-acg/l4-azure/blob/main/ACG_Common_Workbook.xlsx"
click node_location "https://github.com/shantanu26-acg/l4-azure/blob/main/Create_Location.py"
click node_location_new "https://github.com/shantanu26-acg/l4-azure/blob/main/Create_Location_new.py"
click node_product "https://github.com/shantanu26-acg/l4-azure/blob/main/Create_Product.py"
click node_product_new "https://github.com/shantanu26-acg/l4-azure/blob/main/Create_product_new.py"
click node_product_sng "https://github.com/shantanu26-acg/l4-azure/blob/main/Create_Product_SNG.py"
click node_product_combo "https://github.com/shantanu26-acg/l4-azure/blob/main/Create_Product%2BSNG.py"
click node_sscc_template "https://github.com/shantanu26-acg/l4-azure/blob/main/Create_SSCC_template.py"
click node_sscc_template_new "https://github.com/shantanu26-acg/l4-azure/blob/main/Create_SSCC_Template_new.py"
click node_serial_template "https://github.com/shantanu26-acg/l4-azure/blob/main/Create_Serial_Template.py"
click node_serial_template_new "https://github.com/shantanu26-acg/l4-azure/blob/main/Create_Serial_Template_New.py"
click node_download_sng "https://github.com/shantanu26-acg/l4-azure/blob/main/Download_SNG.py"
click node_download_sscc "https://github.com/shantanu26-acg/l4-azure/blob/main/Download_SSCC.py"
click node_role "https://github.com/shantanu26-acg/l4-azure/blob/main/Create_Role.py"
click node_role_new "https://github.com/shantanu26-acg/l4-azure/blob/main/Create_role_new.py"
click node_user "https://github.com/shantanu26-acg/l4-azure/blob/main/Create_User.py"
click node_user_new "https://github.com/shantanu26-acg/l4-azure/blob/main/Create_User_new.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_location,node_location_new,node_product,node_product_new,node_product_sng,node_product_combo toneBlue
class node_sscc_template,node_sscc_template_new,node_serial_template,node_serial_template_new,node_download_sng,node_download_sscc toneAmber
class node_role,node_role_new,node_user,node_user_new toneMint
class node_workbook toneRose
class node_operator,node_portal toneIndigo
```

## Components

### Master data

- [Create location](https://github.com/shantanu26-acg/l4-azure/blob/main/Create_Location.py): `Create_Location.py`
- [Create location new](https://github.com/shantanu26-acg/l4-azure/blob/main/Create_Location_new.py): `Create_Location_new.py`
- [Create product](https://github.com/shantanu26-acg/l4-azure/blob/main/Create_Product.py): `Create_Product.py`
- [Create product new](https://github.com/shantanu26-acg/l4-azure/blob/main/Create_product_new.py): `Create_product_new.py`
- [Create product SNG](https://github.com/shantanu26-acg/l4-azure/blob/main/Create_Product_SNG.py): `Create_Product_SNG.py`
- [Create product + SNG](https://github.com/shantanu26-acg/l4-azure/blob/main/Create_Product%2BSNG.py): `Create_Product+SNG.py`

### Serial operations

- [Create SSCC template](https://github.com/shantanu26-acg/l4-azure/blob/main/Create_SSCC_template.py): `Create_SSCC_template.py`
- [Create SSCC template new](https://github.com/shantanu26-acg/l4-azure/blob/main/Create_SSCC_Template_new.py): `Create_SSCC_Template_new.py`
- [Create serial template](https://github.com/shantanu26-acg/l4-azure/blob/main/Create_Serial_Template.py): `Create_Serial_Template.py`
- [Create serial template new](https://github.com/shantanu26-acg/l4-azure/blob/main/Create_Serial_Template_New.py): `Create_Serial_Template_New.py`
- [Download SNG](https://github.com/shantanu26-acg/l4-azure/blob/main/Download_SNG.py): `Download_SNG.py`
- [Download SSCC](https://github.com/shantanu26-acg/l4-azure/blob/main/Download_SSCC.py): `Download_SSCC.py`

### Access control

- [Create role](https://github.com/shantanu26-acg/l4-azure/blob/main/Create_Role.py): `Create_Role.py`
- [Create role new](https://github.com/shantanu26-acg/l4-azure/blob/main/Create_role_new.py): `Create_role_new.py`
- [Create user](https://github.com/shantanu26-acg/l4-azure/blob/main/Create_User.py): `Create_User.py`
- [Create user new](https://github.com/shantanu26-acg/l4-azure/blob/main/Create_User_new.py): `Create_User_new.py`

### Workbook inputs

- [ACG workbook](https://github.com/shantanu26-acg/l4-azure/blob/main/ACG_Common_Workbook.xlsx): `ACG_Common_Workbook.xlsx`

### Other components

- **Operator**
- **ACG portal**

## Connections

- Operator → Create location: runs script
- Operator → Create location new: runs script
- Operator → Create product: runs script
- Operator → Create product new: runs script
- Operator → Create product SNG: runs script
- Operator → Create product + SNG: runs script
- Operator → Create serial template: runs script
- Operator → Create serial template new: runs script
- Operator → Create SSCC template: runs script
- Operator → Create SSCC template new: runs script
- Operator → Download SNG: runs script
- Operator → Download SSCC: runs script
- Operator → Create role: runs script
- Operator → Create role new: runs script
- Operator → Create user: runs script
- Operator → Create user new: runs script
- ACG workbook → Create location new: provides rows (evidence: `Create_Location_new.py`)
- Create location → ACG portal: submits forms (evidence: `Create_Location.py`)
- Create location new → ACG portal: submits forms (evidence: `Create_Location_new.py`)
- Create product → ACG portal: submits forms (evidence: `Create_Product.py`)
- Create product new → ACG portal: submits forms (evidence: `Create_product_new.py`)
- Create product SNG → ACG portal: submits forms (evidence: `Create_Product_SNG.py`)
- Create product + SNG → ACG portal: submits forms (evidence: `Create_Product+SNG.py`)
- Create serial template → ACG portal: submits forms (evidence: `Create_Serial_Template.py`)
- Create serial template new → ACG portal: submits forms (evidence: `Create_Serial_Template_New.py`)
- Download SNG → ACG portal: requests downloads (evidence: `Download_SNG.py`)
- Create role → ACG portal: submits forms (evidence: `Create_Role.py`)
- Create user → ACG portal: submits forms (evidence: `Create_User.py`)
