mirror of
				https://github.com/ClusterCockpit/cc-backend
				synced 2025-11-04 09:35:07 +01:00 
			
		
		
		
	Update configurations and add new files
This commit is contained in:
		@@ -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 ;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
);
 | 
			
		||||
@@ -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},
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user