mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-10-31 18:48:35 +00:00 
			
		
		
		
	 f8b588e6f0
			
		
	
	
		f8b588e6f0
		
			
		
	
	
	
	
		
			
			* feat: security service initial code * support secrity type for service from ui * refactor: added missing java files for security service and require json files * refactor: added doc file, oneOf java changes for ranger * Merge branch 'main' of https://github.com/open-metadata/OpenMetadata into issue-20145 * update the security services schema to have domains instead of domain * fix: added security service metadata pipeline * Make changes for security service UI * Update missing translation * update type * Fix the java checkstyle * fix: added ingestionRunner in security service json * Hide security service for OSS * fix: reverse metadata documentation * refactor: added securityConnection in test connection * fix: documentation and ts file changes * fix: deleted __init__ file and added SSISConnection again in the workflowclassconverter.java * fix: convert domain to domains * fix: added new file for basicAuth for ranger and change in rangerConnectionClassConverter.java file * fix: java checkstyle * fix: mysql security service sql * fix: security service index mapping * fix: moved migrations in new version and fix classConverterFactory --------- Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> Co-authored-by: Aniket Katkar <aniketkatkar97@gmail.com>
		
			
				
	
	
		
			27 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			SQL
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			SQL
		
	
	
	
	
	
| -- Create table for tracking index mapping versions
 | |
| CREATE TABLE IF NOT EXISTS index_mapping_versions (
 | |
|     entityType VARCHAR(256) NOT NULL,
 | |
|     mappingHash VARCHAR(32) COLLATE ascii_bin NOT NULL,
 | |
|     mappingJson JSON NOT NULL,
 | |
|     version VARCHAR(36) NOT NULL,
 | |
|     updatedAt BIGINT UNSIGNED NOT NULL,
 | |
|     updatedBy VARCHAR(256) NOT NULL,
 | |
|     PRIMARY KEY (entityType),
 | |
|     INDEX idx_version (version),
 | |
|     INDEX idx_updatedAt (updatedAt)
 | |
| 
 | |
| ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
 | |
| 
 | |
| -- remove old reset link email template
 | |
| DELETE from doc_store where name = 'reset-link' and entityType = 'EmailTemplate';
 | |
| 
 | |
| -- In case 1.7.3 migrations executed , with --force , remove it from server_logs as it is covered in this migration
 | |
| DELETE FROM SERVER_CHANGE_LOG WHERE version = '1.7.3';
 | |
| 
 | |
| -- Update ingestion pipeline configurations to set markDeletedSchemas and markDeletedDatabases to false
 | |
| UPDATE ingestion_pipeline_entity
 | |
| SET json = JSON_SET(
 | |
|     JSON_SET(json, '$.sourceConfig.config.markDeletedSchemas', false),
 | |
|     '$.sourceConfig.config.markDeletedDatabases', false
 | |
| )
 | |
| WHERE JSON_EXTRACT(json, '$.sourceConfig.config.type') = 'DatabaseMetadata'; |