mirror of
https://github.com/apache/cloudstack
synced 2026-08-05 00:19:31 +00:00
commit7ce45ea108Author: Koushik Das <koushik.das@citrix.com> Date: Mon Apr 15 18:36:33 2013 +0530 Fixed indentation and line ending commit0232048f90Merge:735c4c897911e9Author: Koushik Das <koushik.das@citrix.com> Date: Mon Apr 15 17:05:59 2013 +0530 Merge branch 'master' into cisco-vnmc-api-integration Conflicts: api/src/org/apache/cloudstack/api/ApiConstants.java client/tomcatconf/commands.properties.in setup/db/db/schema-410to420.sql tools/marvin/marvin/integration/lib/base.py commit735c4c8955Author: Koushik Das <koushik.das@citrix.com> Date: Mon Apr 15 15:20:37 2013 +0530 Fixed unit tests based on recent changes in the Vnmc resource code commitf166f2d0bfAuthor: Koushik Das <koushik.das@citrix.com> Date: Mon Apr 15 14:50:25 2013 +0530 added tests to register vnmc and asa appliance in cloudstack commitf38be4810eAuthor: Koushik Das <koushik.das@citrix.com> Date: Mon Apr 8 18:42:06 2013 +0530 Removed unwanted files commit902ce426c1Author: Koushik Das <koushik.das@citrix.com> Date: Mon Apr 8 17:59:30 2013 +0530 Fixed auto-wiring of components for Cisco Vnmc commit08467ee307Author: Koushik Das <koushik.das@citrix.com> Date: Mon Apr 8 16:04:54 2013 +0530 Fixed compilation issues, incorrect merges from last commit commit67f11d46adMerge:3422ceec9c68e1Author: Koushik Das <koushik.das@citrix.com> Date: Mon Apr 8 15:11:10 2013 +0530 Merge branch 'master' into cisco-vnmc-api-integration commit3422ceefb6Author: Koushik Das <koushik.das@citrix.com> Date: Mon Apr 8 14:42:32 2013 +0530 Correctly associating nat, acl policy sets to edge security profile in VNMC commit9c1e193fcaAuthor: Koushik Das <koushik.das@citrix.com> Date: Sun Apr 7 21:22:22 2013 +0530 Passing correct subnet mask while creating edge firewall in VNMC commit05e3d04b55Author: Koushik Das <koushik.das@citrix.com> Date: Tue Apr 2 17:50:57 2013 +0530 Added changes related to icmp commitbcecb589deAuthor: Koushik Das <koushik.das@citrix.com> Date: Mon Apr 1 13:57:21 2013 +0530 Some xml file renames commit9c1ee93f2eAuthor: Koushik Das <koushik.das@citrix.com> Date: Sat Mar 30 15:54:25 2013 +0530 Fixed PF and static NAT rule creation in VNMC commit7e6159fa05Author: Koushik Das <koushik.das@citrix.com> Date: Wed Mar 27 18:53:49 2013 +0530 Added more unit tests for Cisco Vnmc element commitfc0ed9adb6Author: Koushik Das <koushik.das@citrix.com> Date: Wed Mar 27 16:48:28 2013 +0530 Cleaning up VNMC config as part of network shutdown commit5a427d48e2Author: Koushik Das <koushik.das@citrix.com> Date: Wed Mar 27 02:22:54 2013 +0530 Added unit test for Vnmc network element implement() method commit48cbf34d3bAuthor: Koushik Das <koushik.das@citrix.com> Date: Wed Mar 27 02:20:45 2013 +0530 Passing correct gateway ip while creating vservice node and guest port profile in Nexus commit2c386c61efAuthor: Koushik Das <koushik.das@citrix.com> Date: Fri Mar 22 13:50:52 2013 +0530 Nexus 1000v fix commit4d2168bfa9Author: Koushik Das <koushik.das@citrix.com> Date: Fri Mar 22 00:30:01 2013 +0530 Egress firewall rule commite81ab3a2f4Author: Koushik Das <koushik.das@citrix.com> Date: Thu Mar 21 10:50:29 2013 +0530 More tests for VnmcResource class commit9e9c179212Author: Koushik Das <koushik.das@citrix.com> Date: Thu Mar 21 00:25:10 2013 +0530 Fixed build issue from master merge commitf0c1af2b5cMerge:4f305c2873ec27Author: Koushik Das <koushik.das@citrix.com> Date: Wed Mar 20 16:20:10 2013 +0530 Merge branch 'master' into cisco-vnmc-api-integration Conflicts: api/src/com/cloud/network/Network.java api/src/org/apache/cloudstack/api/ApiConstants.java client/tomcatconf/components-nonoss.xml.in client/tomcatconf/nonossComponentContext.xml.in plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/manager/VmwareManagerImpl.java plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java setup/db/db/schema-410to420.sql vmware-base/src/com/cloud/hypervisor/vmware/mo/HypervisorHostHelper.java commit4f305c2bebAuthor: Koushik Das <koushik.das@citrix.com> Date: Wed Mar 20 15:09:34 2013 +0530 Initial set of tests, will add more in subsequent commits commit50bfcc1f75Author: Koushik Das <koushik.das@citrix.com> Date: Wed Mar 20 15:02:14 2013 +0530 Updated pom to copy xmls to target location during build commit45bc92b826Author: Koushik Das <koushik.das@citrix.com> Date: Wed Mar 20 14:58:59 2013 +0530 Fixed cpmpilation issue as missed out adding this file commit2ce7cdc756Author: Koushik Das <koushik.das@citrix.com> Date: Sun Mar 17 17:02:25 2013 +0530 Creating vservice node and associating it with port profile in nexus for guest VMs commit387545caffAuthor: Koushik Das <koushik.das@citrix.com> Date: Sat Mar 16 11:14:43 2013 +0530 Added license headers to XML files commit43e2997421Author: Koushik Das <koushik.das@citrix.com> Date: Wed Mar 13 11:51:59 2013 +0530 Changes related to instantiating the dao components commit99e88ecbf9Author: Koushik Das <koushik.das@citrix.com> Date: Tue Mar 12 23:40:35 2013 +0530 Fix build errors after merge from master commit7c20b120c2Author: Koushik Das <koushik.das@citrix.com> Date: Tue Mar 12 23:31:46 2013 +0530 Fixing poms and other xmls commitee868759a8Merge:9c94b6da1b33caAuthor: Koushik Das <koushik.das@citrix.com> Date: Tue Mar 12 14:44:59 2013 +0530 Merge branch 'master' into cisco-vnmc-api-integration Conflicts: api/src/com/cloud/network/Network.java api/src/org/apache/cloudstack/api/ApiConstants.java plugins/pom.xml setup/db/create-schema.sql commit9c94b6d231Author: Koushik Das <koushik.das@citrix.com> Date: Fri Mar 8 22:20:23 2013 +0530 Fixed XML to create static route in VNMC correctly commitef069b3323Author: Koushik Das <koushik.das@citrix.com> Date: Fri Mar 8 15:26:26 2013 +0530 Added logic for revoking ACL, PF and Static NAT rules commit4c65b70668Author: Koushik Das <koushik.das@citrix.com> Date: Fri Mar 8 13:51:37 2013 +0530 Renamed delete-acl-rule -> delete-rule commitaa94eca516Author: Koushik Das <koushik.das@citrix.com> Date: Fri Mar 8 00:38:52 2013 +0530 - Creating static routes in VNMC as part of edge firewall configuration - Passing order parameter while creating rules so that they are evaluated in a specific order - Added methods in VnmcResource for listing acl policies and rules belonging to variouos policies. This is used to compute order while creation of various rules in VNMC commitcc824e8585Author: Koushik Das <koushik.das@citrix.com> Date: Thu Mar 7 12:16:29 2013 +0530 Adding appropriate ACL rules for PF and static NAT commitfb23c50365Author: Koushik Das <koushik.das@citrix.com> Date: Fri Mar 1 17:21:45 2013 +0530 Added logic for deleting various VNMC artifacts. Added/updated relevant xmls as well. commit970c21a9a3Author: Koushik Das <koushik.das@citrix.com> Date: Fri Mar 1 01:54:10 2013 +0530 Added implementation for delete of asa and vnmc apis commit22e1455142Author: Koushik Das <koushik.das@citrix.com> Date: Fri Mar 1 01:19:43 2013 +0530 List asa api to return guest network if associated. From this it can be inferred if asa is available or not commit32223736c9Author: Koushik Das <koushik.das@citrix.com> Date: Fri Mar 1 00:50:55 2013 +0530 Added Vmware cluster info along with asa1kv appliance. This is used to select the correct n1kv vsm for configuring the guest network commitdeed3cc951Author: Koushik Das <koushik.das@citrix.com> Date: Mon Feb 25 18:03:59 2013 +0530 Added support for static NAT rules. - Xmls for creating static nat rules in VNMC - applyStaticNats implementation in VNMC network element - handler for static nat in resource class commit681f0b7b50Author: Koushik Das <koushik.das@citrix.com> Date: Mon Feb 25 10:44:13 2013 +0530 Added implementation for firewall and port forwarding rules in Cisco VNMC element class commit66b01a6589Author: Koushik Das <koushik.das@citrix.com> Date: Fri Feb 22 19:19:44 2013 +0530 VNMC xml for deleting NAT policy commit5d98686768Author: Koushik Das <koushik.das@citrix.com> Date: Fri Feb 22 19:16:41 2013 +0530 Added support for PF/DNAT rules. Created methods in VNMCConnection class to create PF rules. Also moved out common code for PF and source NAT in methods. Updated the corresponding VNMC resource class. commit8db2fbeb8fAuthor: Koushik Das <koushik.das@citrix.com> Date: Fri Feb 22 18:21:45 2013 +0530 Added xml for creating NAT policy set in VNMC commitf2da0d50caAuthor: Koushik Das <koushik.das@citrix.com> Date: Fri Feb 22 18:17:53 2013 +0530 Added VNMC XMLs for supporting PF/DNAT rules. Also moved out some XMLs related to source NAT to common files so that these can be used for both source NAT and DNAT commit124a48819dAuthor: Koushik Das <koushik.das@citrix.com> Date: Thu Feb 21 17:53:12 2013 +0530 Separated out creation of ACL policy set and policy in VNMC commit1e38515f35Author: Koushik Das <koushik.das@citrix.com> Date: Thu Feb 21 11:54:44 2013 +0530 Added changes to create ingress fw rules in VNMC commitcb2fba9e7cAuthor: Koushik Das <koushik.das@citrix.com> Date: Thu Feb 14 16:23:05 2013 +0530 Source NAT in VNMC commit720fe2f908Author: Koushik Das <koushik.das@citrix.com> Date: Wed Feb 13 14:16:47 2013 +0530 Fix Vnmc test file commitd6dbe790c6Author: Koushik Das <koushik.das@citrix.com> Date: Wed Feb 13 12:07:03 2013 +0530 Added db. tables for asa1kv devices and their mapping with guest network commit3fd7e30f6eAuthor: Koushik Das <koushik.das@citrix.com> Date: Wed Feb 13 11:52:12 2013 +0530 Changes: - Added implementation for add/list asa1kv APIs - Added agent command for associating asa1kv appliance with logical edge firewall in VNMC - Added handler for the above agent command in VNMC resource class - Updated VNMC element class to support the above commitd08e2a1fafAuthor: Koushik Das <koushik.das@citrix.com> Date: Wed Feb 13 11:40:58 2013 +0530 Added lifecycle APIs for Cisco Asa 1000v appliance. Added corresponding Dao and VO classes. Also added mapping Dao and VO for guest netwok and asa appliance commit6b999ec867Author: Koushik Das <koushik.das@citrix.com> Date: Tue Feb 12 00:05:39 2013 +0530 Changes: a. Added handlers for CreateLogicalEdgeFirewall and ConfigureNexusVSMForASA commands b. Logic for add/list vnmc device API c. Partial implementation for network element implement() commit0656250308Author: Koushik Das <koushik.das@citrix.com> Date: Mon Feb 11 23:48:19 2013 +0530 Moved VNMC provider creation to Network.java. The plugin code would have been the ideal place to keep it but current state of the code doesn't allow it. commitdc402eaa7aAuthor: Koushik Das <koushik.das@citrix.com> Date: Mon Feb 11 23:35:19 2013 +0530 Added new commands for the following: a. Logical edge firewall creation in VNMC b. Asa1kv vservice node creation and updating asa1kv inside port profile with guest network vlan id in n1kv VSM commitd6cdfe35f8Author: Koushik Das <koushik.das@citrix.com> Date: Mon Feb 11 23:06:36 2013 +0530 Added helper method to create port profile in n1kv VSM with additional parameters VDC tenant and edge security profile Added helper method to create a vservice node in n1kv VSM commitdb42da17e9Author: Koushik Das <koushik.das@citrix.com> Date: Mon Feb 11 22:44:01 2013 +0530 Added database table for storing VNMC devices commitf991436335Author: Koushik Das <koushik.das@citrix.com> Date: Fri Feb 8 16:00:15 2013 +0530 Added support for network offering creation with VNMC as provider for firewall, port forwarding, source nat commit74de210359Author: Koushik Das <koushik.das@citrix.com> Date: Fri Feb 8 15:06:11 2013 +0530 Added name attribute for the VNMC lifecycle commands commit6ce25ef11dAuthor: Chiradeep Vittal <chiradeep@apache.org> Date: Wed Jan 16 16:44:28 2013 -0800 Fix licensing commit392cd8ed63Author: Chiradeep Vittal <chiradeep@apache.org> Date: Wed Jan 16 16:38:19 2013 -0800 cisco-vnmc: Fix api to use new conventions commit6b142bbaabAuthor: Chiradeep Vittal <chiradeep@apache.org> Date: Wed Jan 16 15:33:33 2013 -0800 WIP: configure ASA port profile Signed-off-by: Chiradeep Vittal <chiradeep@apache.org> commit1ae21ea49aAuthor: Chiradeep Vittal <chiradeep@apache.org> Date: Wed Jan 16 15:33:01 2013 -0800 WIP rename device to resource to better reflect nature of VNMC Signed-off-by: Chiradeep Vittal <chiradeep@apache.org> commit84d218f972Author: Chiradeep Vittal <chiradeep@apache.org> Date: Wed Jan 16 15:32:54 2013 -0800 WIP: fixes for associating ASA1000v to tenant Signed-off-by: Chiradeep Vittal <chiradeep@apache.org> commitd74c6a9ac2Author: Chiradeep Vittal <chiradeep@apache.org> Date: Wed Jan 16 15:32:45 2013 -0800 WIP: fixes for associating ASA1000v to tenant Signed-off-by: Chiradeep Vittal <chiradeep@apache.org> commit9350d10849Author: Chiradeep Vittal <chiradeep@apache.org> Date: Wed Jan 16 15:32:29 2013 -0800 WIP: admin commands for adding / listing VNMC Signed-off-by: Chiradeep Vittal <chiradeep@apache.org> commita8031a0cfeAuthor: Chiradeep Vittal <chiradeep@apache.org> Date: Wed Jan 16 15:30:41 2013 -0800 WIP ASA 1000v listing" Signed-off-by: Chiradeep Vittal <chiradeep@apache.org> commitf9cc674b9cAuthor: Chiradeep Vittal <chiradeep@apache.org> Date: Wed Jan 16 15:30:36 2013 -0800 WIP : edge firewall Signed-off-by: Chiradeep Vittal <chiradeep@apache.org> commit6a0964af00Author: Chiradeep Vittal <chiradeep@apache.org> Date: Wed Jan 16 15:30:30 2013 -0800 WIP : edge security policy Signed-off-by: Chiradeep Vittal <chiradeep@apache.org> commite32295e8cfAuthor: Chiradeep Vittal <chiradeep@apache.org> Date: Wed Jan 16 15:30:24 2013 -0800 WIP : dhcp server policy Signed-off-by: Chiradeep Vittal <chiradeep@apache.org> commit446a9b8491Author: Chiradeep Vittal <chiradeep@apache.org> Date: Wed Jan 16 15:30:18 2013 -0800 WIP : dhcp server policy Signed-off-by: Chiradeep Vittal <chiradeep@apache.org> commite35e0eb59bAuthor: Chiradeep Vittal <chiradeep@apache.org> Date: Wed Jan 16 15:30:14 2013 -0800 Move unit test Signed-off-by: Chiradeep Vittal <chiradeep@apache.org> commit2b43a3e74eAuthor: Chiradeep Vittal <chiradeep@apache.org> Date: Wed Jan 16 15:30:08 2013 -0800 Move unit test Signed-off-by: Chiradeep Vittal <chiradeep@apache.org> commit11b804a894Author: Chiradeep Vittal <chiradeep@apache.org> Date: Wed Jan 16 15:29:54 2013 -0800 WIP: XML control of VNMC Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
656 lines
25 KiB
XML
656 lines
25 KiB
XML
<!-- 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-client-ui</artifactId>
|
|
<name>Apache CloudStack Client UI</name>
|
|
<packaging>war</packaging>
|
|
<parent>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloudstack</artifactId>
|
|
<version>4.2.0-SNAPSHOT</version>
|
|
</parent>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-server</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-acl-static-role-based</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-api-limit-account-based</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-api-discovery</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-user-authenticator-ldap</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-user-authenticator-md5</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-user-authenticator-plaintext</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-user-authenticator-sha256salted</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-network-nvp</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-network-ovs</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-network-elb</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-network-vns</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-network-midonet</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-hypervisor-xen</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-hypervisor-baremetal</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-hypervisor-ovm</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-hypervisor-kvm</artifactId>
|
|
<version>${project.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
<artifactId>servlet-api</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-storage-allocator-random</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-planner-user-dispersing</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-planner-user-concentrated-pod</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-host-allocator-random</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-mom-rabbitmq</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<version>${cs.mysql.version}</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-framework-ipc</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-framework-rest</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-engine-api</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-engine-components-api</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-engine-compute</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-engine-network</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-engine-orchestration</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-engine-schema</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-engine-storage</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-engine-storage-backup</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-engine-storage-image</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-engine-storage-imagemotion</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-engine-storage-snapshot</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-engine-storage-volume</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-hypervisor-simulator</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-storage-volume-default</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-syslog-alerts</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-snmp-alerts</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-host-anti-affinity</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<defaultGoal>install</defaultGoal>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<version>2.3</version>
|
|
<configuration>
|
|
<webXml>./target/generated-webapp/WEB-INF/web.xml</webXml>
|
|
<warSourceDirectory>./target/generated-webapp</warSourceDirectory>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
<artifactId>maven-jetty-plugin</artifactId>
|
|
<version>6.1.26</version>
|
|
<configuration>
|
|
<connectors>
|
|
<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
|
|
<port>8080</port>
|
|
<maxIdleTime>60000</maxIdleTime>
|
|
</connector>
|
|
</connectors>
|
|
<webXml>${project.build.directory}/${project.build.finalName}/WEB-INF/web.xml</webXml>
|
|
<webAppSourceDirectory>${project.build.directory}/${project.build.finalName}</webAppSourceDirectory>
|
|
<webAppConfig>
|
|
<contextPath>/client</contextPath>
|
|
<extraClasspath>${project.build.directory}/utilities/scripts/db/;${project.build.directory}/utilities/scripts/db/db/</extraClasspath>
|
|
</webAppConfig>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.tomcat.maven</groupId>
|
|
<artifactId>tomcat7-maven-plugin</artifactId>
|
|
<configuration>
|
|
<path>/client</path>
|
|
<tomcatWebXml>${basedir}/WEB-INF/web.xml</tomcatWebXml>
|
|
<warSourceDirectory>${project.build.directory}/generated-webapp/</warSourceDirectory>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<version>1.7</version>
|
|
<executions>
|
|
<!-- Copy the systemvm in the package phase as it is generated
|
|
by console-proxy in the package phase.
|
|
-->
|
|
<execution>
|
|
<id>copy-systemvm</id>
|
|
<phase>process-resources</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
<configuration>
|
|
<target>
|
|
<copy todir="${basedir}/target/generated-webapp/WEB-INF/classes/vms">
|
|
<fileset dir="${basedir}/../services/console-proxy/server/dist">
|
|
<include name="systemvm.zip" />
|
|
<include name="systemvm.iso" />
|
|
</fileset>
|
|
</copy>
|
|
</target>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>generate-resource</id>
|
|
<phase>generate-resources</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
<configuration>
|
|
<target>
|
|
<copy todir="${basedir}/target/generated-webapp/WEB-INF/classes/scripts">
|
|
<fileset dir="${basedir}/../scripts" />
|
|
</copy>
|
|
<!-- CLOUDSTACK-1304 -->
|
|
<chmod perm="755" >
|
|
<fileset dir="${basedir}/target/generated-webapp/WEB-INF/classes/scripts" />
|
|
</chmod>
|
|
<copy
|
|
todir="${basedir}/target/generated-webapp/WEB-INF/">
|
|
<fileset dir="${basedir}/WEB-INF/">
|
|
<include name="web.xml" />
|
|
</fileset>
|
|
</copy>
|
|
<copy
|
|
todir="${basedir}/target/generated-webapp/WEB-INF/classes">
|
|
<fileset dir="${basedir}/WEB-INF/classes">
|
|
<include name="resources/**/*" />
|
|
</fileset>
|
|
</copy>
|
|
<copy todir="${basedir}/target/generated-webapp">
|
|
<fileset dir="${basedir}/../ui" />
|
|
</copy>
|
|
<copy overwrite="true"
|
|
todir="${basedir}/target/generated-webapp/WEB-INF/classes">
|
|
<fileset dir="${basedir}/tomcatconf">
|
|
<include name="*.in" />
|
|
</fileset>
|
|
<globmapper from="*.in" to="*" />
|
|
<filterchain>
|
|
<filterreader
|
|
classname="org.apache.tools.ant.filters.ReplaceTokens">
|
|
<param type="propertiesfile"
|
|
value="${cs.replace.properties}" />
|
|
</filterreader>
|
|
</filterchain>
|
|
</copy>
|
|
<copy overwrite="true" todir="${basedir}/target/generated-webapp/WEB-INF/classes">
|
|
<fileset dir="${basedir}/tomcatconf">
|
|
<include name="*.in" />
|
|
</fileset>
|
|
<globmapper from="*.in" to="*" />
|
|
<filterchain>
|
|
<filterreader classname="org.apache.tools.ant.filters.ReplaceTokens">
|
|
<param type="propertiesfile" value="${cs.replace.properties}" />
|
|
</filterreader>
|
|
</filterchain>
|
|
</copy>
|
|
<copy overwrite="true" todir="${basedir}/target/utilities/bin">
|
|
<fileset dir="${basedir}/../setup/bindir">
|
|
<include name="*.in" />
|
|
</fileset>
|
|
<globmapper from="*.in" to="*" />
|
|
<filterchain>
|
|
<filterreader classname="org.apache.tools.ant.filters.ReplaceTokens">
|
|
<param type="propertiesfile" value="${cs.replace.properties}" />
|
|
</filterreader>
|
|
</filterchain>
|
|
</copy>
|
|
<copy overwrite="true" todir="${basedir}/target/utilities/bin">
|
|
<fileset dir="${basedir}/bindir">
|
|
<include name="*.in" />
|
|
</fileset>
|
|
<globmapper from="*.in" to="*" />
|
|
<filterchain>
|
|
<filterreader classname="org.apache.tools.ant.filters.ReplaceTokens">
|
|
<param type="propertiesfile" value="${cs.replace.properties}" />
|
|
</filterreader>
|
|
</filterchain>
|
|
</copy>
|
|
<copy overwrite="true" todir="${basedir}/target/utilities/scripts/db">
|
|
<fileset dir="${basedir}/../setup/db">
|
|
<include name="**/*" />
|
|
</fileset>
|
|
<filterchain>
|
|
<filterreader classname="org.apache.tools.ant.filters.ReplaceTokens">
|
|
<param type="propertiesfile" value="${cs.replace.properties}" />
|
|
</filterreader>
|
|
</filterchain>
|
|
</copy>
|
|
<copy overwrite="true" todir="${basedir}/target/conf">
|
|
<fileset dir="${basedir}/tomcatconf">
|
|
<include name="*.in" />
|
|
</fileset>
|
|
<globmapper from="*.in" to="*" />
|
|
<filterchain>
|
|
<filterreader classname="org.apache.tools.ant.filters.ReplaceTokens">
|
|
<param type="propertiesfile" value="${cs.replace.properties}" />
|
|
</filterreader>
|
|
</filterchain>
|
|
</copy>
|
|
<copy overwrite="true" todir="${basedir}/target/conf">
|
|
<fileset dir="${basedir}/tomcatconf">
|
|
<exclude name="*.in" />
|
|
</fileset>
|
|
</copy>
|
|
</target>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>process-nonoss</id>
|
|
<phase>process-resources</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
<configuration>
|
|
<target if="${nonoss}">
|
|
<echo>test</echo>
|
|
<replaceregexp
|
|
file="${basedir}/target/generated-webapp/WEB-INF/classes/environment.properties"
|
|
match="cloud-stack-components-specification=.*"
|
|
replace="cloud-stack-components-specification=components-nonoss.xml" byline="true"/>
|
|
</target>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>process-simulator-context</id>
|
|
<phase>process-resources</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
<configuration>
|
|
<target if="${simulator}">
|
|
<echo>test</echo>
|
|
<replaceregexp
|
|
file="${basedir}/target/generated-webapp/WEB-INF/web.xml"
|
|
match="classpath:componentContext.xml"
|
|
replace="classpath:simulatorComponentContext.xml" byline="true" />
|
|
</target>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>process-nonoss-spring-context</id>
|
|
<phase>process-resources</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
<configuration>
|
|
<target if="${nonoss}">
|
|
<echo>test</echo>
|
|
<replaceregexp
|
|
file="${basedir}/target/generated-webapp/WEB-INF/web.xml"
|
|
match="classpath:componentContext.xml"
|
|
replace="classpath:nonossComponentContext.xml" byline="true" />
|
|
<exec executable="cp">
|
|
<arg value="-r" />
|
|
<arg value="${basedir}/../plugins/network-elements/cisco-vnmc/scripts" />
|
|
<arg value="${basedir}/target/generated-webapp/WEB-INF/classes/" />
|
|
</exec>
|
|
</target>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>process-quickcloud-spring-context</id>
|
|
<phase>process-resources</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
<configuration>
|
|
<target if="${quickcloud}">
|
|
<echo>quickcloud</echo>
|
|
<replaceregexp
|
|
file="${basedir}/target/generated-webapp/WEB-INF/classes/applicationContext.xml"
|
|
match="com.cloud.consoleproxy.ConsoleProxyManagerImpl"
|
|
replace="com.cloud.consoleproxy.StaticConsoleProxyManager" byline="true" />
|
|
</target>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!-- there are the jasypt libs requires by some of the python scripts -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>2.5.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>copy</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>copy</goal>
|
|
</goals>
|
|
<configuration>
|
|
<artifactItems>
|
|
<artifactItem>
|
|
<groupId>org.jasypt</groupId>
|
|
<artifactId>jasypt</artifactId>
|
|
<version>1.9.0</version>
|
|
<overWrite>false</overWrite>
|
|
<outputDirectory>${project.build.directory}/pythonlibs</outputDirectory>
|
|
</artifactItem>
|
|
<artifactItem>
|
|
<groupId>org.jasypt</groupId>
|
|
<artifactId>jasypt</artifactId>
|
|
<version>1.8</version>
|
|
<overWrite>false</overWrite>
|
|
<outputDirectory>${project.build.directory}/pythonlibs</outputDirectory>
|
|
</artifactItem>
|
|
</artifactItems>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<!--This plugin's configuration is used to store Eclipse m2e settings
|
|
only. It has no influence on the Maven build itself. -->
|
|
<plugin>
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
<artifactId>lifecycle-mapping</artifactId>
|
|
<version>1.0.0</version>
|
|
<configuration>
|
|
<lifecycleMappingMetadata>
|
|
<pluginExecutions>
|
|
<pluginExecution>
|
|
<pluginExecutionFilter>
|
|
<groupId>
|
|
org.apache.maven.plugins
|
|
</groupId>
|
|
<artifactId>
|
|
maven-antrun-plugin
|
|
</artifactId>
|
|
<versionRange>[1.7,)</versionRange>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</pluginExecutionFilter>
|
|
<action>
|
|
<ignore />
|
|
</action>
|
|
</pluginExecution>
|
|
</pluginExecutions>
|
|
</lifecycleMappingMetadata>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
<profiles>
|
|
<profile>
|
|
<id>developer</id>
|
|
<activation>
|
|
<property>
|
|
<name>simulator</name>
|
|
</property>
|
|
</activation>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-hypervisor-simulator</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
<profile>
|
|
<id>netapp</id>
|
|
<activation>
|
|
<property>
|
|
<name>nonoss</name>
|
|
</property>
|
|
</activation>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-netapp</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
<profile>
|
|
<id>f5</id>
|
|
<activation>
|
|
<property>
|
|
<name>nonoss</name>
|
|
</property>
|
|
</activation>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-network-f5</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
<profile>
|
|
<id>netscaler</id>
|
|
<activation>
|
|
<property>
|
|
<name>nonoss</name>
|
|
</property>
|
|
</activation>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-network-netscaler</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
<profile>
|
|
<id>srx</id>
|
|
<activation>
|
|
<property>
|
|
<name>nonoss</name>
|
|
</property>
|
|
</activation>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-network-srx</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
<profile>
|
|
<id>vmware</id>
|
|
<activation>
|
|
<property>
|
|
<name>nonoss</name>
|
|
</property>
|
|
</activation>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-hypervisor-vmware</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-vmware-base</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-plugin-network-cisco-vnmc</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|