mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-11-04 00:02:37 +01:00 
			
		
		
		
	Move mysql ha strategy to a plugin. Activate this plugin using the mysqlha profile or the noredist flag
This commit is contained in:
		
							parent
							
								
									bb6fddf434
								
							
						
					
					
						commit
						a0f932437c
					
				@ -718,6 +718,21 @@
 | 
				
			|||||||
        </dependency>
 | 
					        </dependency>
 | 
				
			||||||
      </dependencies>
 | 
					      </dependencies>
 | 
				
			||||||
    </profile>
 | 
					    </profile>
 | 
				
			||||||
 | 
					    <profile>
 | 
				
			||||||
 | 
					      <id>mysqlha</id>
 | 
				
			||||||
 | 
					      <activation>
 | 
				
			||||||
 | 
					        <property>
 | 
				
			||||||
 | 
					          <name>noredist</name>
 | 
				
			||||||
 | 
					        </property>
 | 
				
			||||||
 | 
					      </activation>
 | 
				
			||||||
 | 
					      <dependencies>
 | 
				
			||||||
 | 
					        <dependency>
 | 
				
			||||||
 | 
					          <groupId>org.apache.cloudstack</groupId>
 | 
				
			||||||
 | 
					          <artifactId>cloud-plugin-database-myqslha</artifactId>
 | 
				
			||||||
 | 
					          <version>${project.version}</version>
 | 
				
			||||||
 | 
					        </dependency>
 | 
				
			||||||
 | 
					      </dependencies>
 | 
				
			||||||
 | 
					    </profile>
 | 
				
			||||||
    <profile>
 | 
					    <profile>
 | 
				
			||||||
      <id>quickcloud</id>
 | 
					      <id>quickcloud</id>
 | 
				
			||||||
      <activation>
 | 
					      <activation>
 | 
				
			||||||
 | 
				
			|||||||
@ -48,11 +48,6 @@
 | 
				
			|||||||
      <artifactId>cloud-utils</artifactId>
 | 
					      <artifactId>cloud-utils</artifactId>
 | 
				
			||||||
      <version>${project.version}</version>
 | 
					      <version>${project.version}</version>
 | 
				
			||||||
    </dependency>
 | 
					    </dependency>
 | 
				
			||||||
    <dependency>
 | 
					 | 
				
			||||||
      <groupId>mysql</groupId>
 | 
					 | 
				
			||||||
      <artifactId>mysql-connector-java</artifactId>
 | 
					 | 
				
			||||||
      <scope>provided</scope>
 | 
					 | 
				
			||||||
    </dependency>
 | 
					 | 
				
			||||||
  </dependencies>
 | 
					  </dependencies>
 | 
				
			||||||
  <build>
 | 
					  <build>
 | 
				
			||||||
    <plugins>
 | 
					    <plugins>
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										28
									
								
								plugins/database/mysql-ha/pom.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								plugins/database/mysql-ha/pom.xml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,28 @@
 | 
				
			|||||||
 | 
					<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor 
 | 
				
			||||||
 | 
					  license agreements. See the NOTICE file distributed with this work for additional 
 | 
				
			||||||
 | 
					  information regarding copyright ownership. The ASF licenses this file to you under 
 | 
				
			||||||
 | 
					  the Apache License, Version 2.0 (the "License"); you may not use this file except 
 | 
				
			||||||
 | 
					  in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 
 | 
				
			||||||
 | 
					  Unless required by applicable law or agreed to in writing, software distributed under 
 | 
				
			||||||
 | 
					  the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 
 | 
				
			||||||
 | 
					  OF ANY KIND, either express or implied. See the License for the specific language 
 | 
				
			||||||
 | 
					  governing permissions and limitations under the License. -->
 | 
				
			||||||
 | 
					<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 | 
				
			||||||
 | 
					  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 | 
				
			||||||
 | 
					  <modelVersion>4.0.0</modelVersion>
 | 
				
			||||||
 | 
					  <artifactId>cloud-plugin-database-mysqlha</artifactId>
 | 
				
			||||||
 | 
					  <name>Apache CloudStack Plugin - MySQL HA Strategy</name>
 | 
				
			||||||
 | 
					  <parent>
 | 
				
			||||||
 | 
					    <groupId>org.apache.cloudstack</groupId>
 | 
				
			||||||
 | 
					    <artifactId>cloudstack-plugins</artifactId>
 | 
				
			||||||
 | 
					    <version>4.4.0-SNAPSHOT</version>
 | 
				
			||||||
 | 
					    <relativePath>../pom.xml</relativePath>
 | 
				
			||||||
 | 
					  </parent>
 | 
				
			||||||
 | 
					  <dependencies>
 | 
				
			||||||
 | 
					    <dependency>
 | 
				
			||||||
 | 
					      <groupId>mysql</groupId>
 | 
				
			||||||
 | 
					      <artifactId>mysql-connector-java</artifactId>
 | 
				
			||||||
 | 
					      <scope>provided</scope>
 | 
				
			||||||
 | 
					    </dependency>
 | 
				
			||||||
 | 
					  </dependencies>
 | 
				
			||||||
 | 
					</project>
 | 
				
			||||||
@ -173,6 +173,17 @@
 | 
				
			|||||||
        <module>network-elements/cisco-vnmc</module>
 | 
					        <module>network-elements/cisco-vnmc</module>
 | 
				
			||||||
      </modules>
 | 
					      </modules>
 | 
				
			||||||
    </profile>
 | 
					    </profile>
 | 
				
			||||||
 | 
					    <profile>
 | 
				
			||||||
 | 
					      <id>mysqlha</id>
 | 
				
			||||||
 | 
					      <activation>
 | 
				
			||||||
 | 
					        <property>
 | 
				
			||||||
 | 
					          <name>noredist</name>
 | 
				
			||||||
 | 
					        </property>
 | 
				
			||||||
 | 
					      </activation>
 | 
				
			||||||
 | 
					      <modules>
 | 
				
			||||||
 | 
					        <module>database/mysql-ha</module>
 | 
				
			||||||
 | 
					      </modules>
 | 
				
			||||||
 | 
					    </profile>
 | 
				
			||||||
    <profile>
 | 
					    <profile>
 | 
				
			||||||
      <id>simulator</id>
 | 
					      <id>simulator</id>
 | 
				
			||||||
      <activation>
 | 
					      <activation>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user