Update configurations and add new files

This commit is contained in:
sanjay7178
2024-02-19 19:20:23 +05:30
parent 0309720c43
commit 72c5a3dd5e
16 changed files with 849 additions and 203 deletions

View File

@@ -13,4 +13,5 @@ DROP TABLE IF EXISTS volume_groups;
DROP TABLE IF EXISTS physical_volumes;
DROP TABLE IF EXISTS lvm_storage_issuer;
DROP TABLE IF EXISTS machine_conf;
DROP TABLE IF EXISTS file_stash_url ;

View File

@@ -167,3 +167,9 @@ CREATE TABLE IF NOT EXISTS machine_conf (
folder_path VARCHAR(255) ,
FOREIGN KEY (machine_serial_number) REFERENCES machines(machine_id)
);
CREATE TABLE IF NOT EXISTS file_stash_url (
id INT AUTO_INCREMENT PRIMARY KEY,
url VARCHAR(255) NOT NULL
);

View File

@@ -45,7 +45,10 @@ var routes []Route = []Route{
{"/monitoring/node/{cluster}/{hostname}", "monitoring/node.tmpl", "Node <ID> - ClusterCockpit", false, setupNodeRoute},
{"/monitoring/analysis/{cluster}", "monitoring/analysis.tmpl", "Analysis - ClusterCockpit", true, setupAnalysisRoute},
{"/monitoring/status/{cluster}", "monitoring/status.tmpl", "Status of <ID> - ClusterCockpit", false, setupClusterRoute},
{"/partitions/systems/{cluster}", "partitions/systems.tmpl", "Cluster <ID> - ClusterCockpit", false, setupClusterRoute},
{"/monitoring/partition/{cluster}", "partitions/systems.tmpl", "Cluster <ID> - ClusterCockpit", false, setupClusterRoute},
{"/monitoring/history/", "monitoring/history.tmpl", "Cluster <ID> - ClusterCockpit", false, setupClusterRoute},
}