Bug 958 - AMP - Postgres database revamp for monitor_adc_vs_url

Review Request #354 — Created July 19, 2024 and submitted — Latest diff uploaded

apoorva.sn
AMP
amp_3_7_1
958
pmurugaiyan, prajesh, shuinvy

Problem

Fix the database issues around the table:
monitor_adc_vs_url

Solution

Since monitor_adc_vs_url table is getting created during start.sh and deleted while stop.sh is executed so have made changes in monitor_db.py.
Made changes where data is inserted for the table in model/init.py

Recommitting changes for secondary error message in 3_7_1 branch

Creation of the table is tested by executing stop.sh and start.sh under extenstions/monitoring. The table was successfully created with the new columns
The insertion of the data need to be tested after proper data is passed from the UI. Will sync up with peri for testing this after his UI changes

    Loading...