mirror of
https://github.com/apache/cloudstack
synced 2026-08-02 13:35:41 +00:00
Squashed commit of the following: commitdef0861d5aAuthor: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Thu May 9 10:53:09 2013 -0700 Inernallb: added internalLbVm to the list of network elements for nonoss build commit56d94fc074Merge:d828c158f9a42eAuthor: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Thu May 9 09:51:36 2013 -0700 Merge branch 'master' into internallb1 Conflicts: plugins/network-elements/netscaler/src/com/cloud/network/element/NetscalerElement.java server/src/com/cloud/network/vpc/VpcManagerImpl.java commitd828c154fdAuthor: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Wed May 8 14:58:22 2013 -0700 internallb: Fixed nonoss build commit1b8a6986a6Merge:9e74fa9738d35aAuthor: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Wed May 8 13:20:07 2013 -0700 Merge branch 'master' into internallb1 Conflicts: api/src/com/cloud/async/AsyncJob.java api/src/com/cloud/network/NetworkModel.java api/src/com/cloud/network/rules/LoadBalancerContainer.java api/src/org/apache/cloudstack/api/BaseCmd.java api/src/org/apache/cloudstack/api/ResponseGenerator.java api/src/org/apache/cloudstack/network/lb/ApplicationLoadBalancerContainer.java client/tomcatconf/commands.properties.in engine/schema/src/com/cloud/network/dao/LoadBalancerDaoImpl.java server/src/com/cloud/api/ApiResponseHelper.java server/src/com/cloud/network/NetworkManagerImpl.java server/src/com/cloud/network/NetworkModelImpl.java server/src/com/cloud/network/NetworkServiceImpl.java server/src/com/cloud/server/ManagementServerImpl.java server/test/com/cloud/network/MockNetworkModelImpl.java server/test/com/cloud/vpc/MockNetworkManagerImpl.java server/test/com/cloud/vpc/MockNetworkModelImpl.java server/test/resources/appLoadBalancer.xml setup/db/db/schema-410to420.sql test/integration/component/test_multiple_ip_ranges.py test/integration/smoke/test_guest_vlan_range.py tools/marvin/marvin/integration/lib/base.py commit9e74fa9406Author: Prasanna Santhanam <tsp@apache.org> Date: Thu May 9 00:11:40 2013 +0530 marvin changes for internallbvm provider - changed the simulator context to load the internallb bean - fixed deployDataCenter to use the additional provider by default - fixed the sandbox script and the setup script for simulator checkin tests Signed-off-by: Prasanna Santhanam <tsp@apache.org> commit0a2d49301bAuthor: Jessica Wang <jessicawang@apache.org> Date: Tue May 7 15:50:41 2013 -0700 Internal LB - UI - zone wizard - advanced zone - enable internal LB element, enable internal LB provider. commit43e1667f90Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Tue May 7 13:26:53 2013 -0700 Moved all DAOs and VOs to the cloud-engine-schema project commit2fd94c8bbeAuthor: Radhika PC <radhika.puthiyetath@citrix.com> Date: Tue May 7 18:26:08 2013 +0530 CLOUDSTACK-893 api commit12b64d6c00Author: Prasanna Santhanam <tsp@apache.org> Date: Tue May 7 17:06:15 2013 +0530 Fixing the gmaven configuration for marvin/pom.xml For the marvin checkin test custom properties had a typo when run for the *nix environment. Signed-off-by: Prasanna Santhanam <tsp@apache.org> commit1e4274dd9fAuthor: Prasanna Santhanam <tsp@apache.org> Date: Tue May 7 15:28:43 2013 +0530 Renaming TesDedicateVlanRange -> TestDedicateVlanRange Signed-off-by: Prasanna Santhanam <tsp@apache.org> commit9264ac526fAuthor: Prasanna Santhanam <tsp@apache.org> Date: Tue May 7 15:28:20 2013 +0530 Adding isolation method to the zone creation of marvin Signed-off-by: Prasanna Santhanam <tsp@apache.org> commit3a0dc67de0Author: Prasanna Santhanam <tsp@apache.org> Date: Tue May 7 15:27:26 2013 +0530 adding ACL for dedicateGuestVlanRange set of APIs Signed-off-by: Prasanna Santhanam <tsp@apache.org> commit79f6e11368Author: Prasanna Santhanam <tsp@apache.org> Date: Tue May 7 15:26:48 2013 +0530 add debug logs when access checkers fail to find API When the access checkers fail for api discovery, we fail silently. instead record a debug message. Signed-off-by: Prasanna Santhanam <tsp@apache.org> commit92cb7d3e0fAuthor: Hugo Trippaers <trippie@gmail.com> Date: Tue May 7 11:44:23 2013 +0200 commite0d8f01ecdenabled all tests. Fix AWSAPI build by removing broken tests and excluding failing tests. commit4a391464c7Author: Hugo Trippaers <htrippaers@schubergphilis.com> Date: Tue May 7 10:57:23 2013 +0200 commite0d8f01ecdenabled all tests, but the tests in vmware-base are horribly broken and will not compile with the current CloudStack. Removing the tests to fix the nonoss build and they are so broken they should be rewritten from scratch anyway. commit2ca03a8513Author: Prasanna Santhanam <tsp@apache.org> Date: Tue May 7 13:51:34 2013 +0530 moving test data to top level dictionary Signed-off-by: Prasanna Santhanam <tsp@apache.org> commitceaa4e1b0dAuthor: Prasanna Santhanam <tsp@apache.org> Date: Tue May 7 13:50:56 2013 +0530 Adding tracelogs to the API discovery service Signed-off-by: Prasanna Santhanam <tsp@apache.org> commita3f5f01c7eAuthor: Prasanna Santhanam <tsp@apache.org> Date: Tue May 7 13:50:12 2013 +0530 dedicateGuestVlanRange is admin only API Adding ACL for the dedicateGuestVlanRange API. Signed-off-by: Prasanna Santhanam <tsp@apache.org> commit1c4c80fe91Author: Hugo Trippaers <htrippaers@schubergphilis.com> Date: Tue May 7 09:58:16 2013 +0200 Recent pom switcharoo caused the client to lose the dependecy on console-proxy, which it needs to include the systemvm commit8103f3c386Author: Radhika PC <radhika.puthiyetath@citrix.com> Date: Tue May 7 11:30:17 2013 +0530 CLOUDSTACK-893 first cut commit67d0411d73Author: Dave Cahill <dcahill@midokura.com> Date: Fri Apr 19 17:31:44 2013 +0900 Add docs for MidoNet networking plugin [CLOUDSTACK-996] Signed-off-by: Dave Cahill <dcahill@midokura.com> commitc745e6d28eAuthor: Alex Huang <alex.huang@gmail.com> Date: Mon May 6 16:34:03 2013 -0700 Fixed up the simulator to run with windows paths in cygwin commitbe91c03702Author: Alex Huang <alex.huang@gmail.com> Date: Mon May 6 10:34:22 2013 -0700 Moved over the VLAN daos commitdcc09f8472Author: Alex Huang <alex.huang@gmail.com> Date: Mon May 6 06:31:47 2013 -0700 Missing file and updated .gitignore commite9953cd1a8Author: Alex Huang <alex.huang@gmail.com> Date: Mon May 6 06:29:59 2013 -0700 Fixed up unit testing to use only an in class TestConfiguration commit6727571403Author: Alex Huang <alex.huang@gmail.com> Date: Thu May 2 15:20:49 2013 -0700 Fixed an incorrect unit test for affinity group. Removed some useless pom.xml. commitd015fb3520Author: Alex Huang <alex.huang@gmail.com> Date: Thu May 2 06:50:38 2013 -0700 Moved most of the VOs and DAOs from server package into engine-schema as well commit77547a58dfAuthor: Alex Huang <alex.huang@gmail.com> Date: Wed May 1 15:15:57 2013 -0700 Removed files that are no longer used and further separated out the files in the core project commit345f3d3482Author: Alex Huang <alex.huang@gmail.com> Date: Wed May 1 05:46:15 2013 -0700 Moved agent commands to core and out of api commite91ca00571Author: Alex Huang <alex.huang@gmail.com> Date: Tue Apr 30 19:06:20 2013 -0700 Removed framework-api which is completely useless. Changed framework-ipc to reference gson itself. Move VOs into engine-schema. commitf64564e490Author: Dennis Lawler <dlawler@gmail.com> Date: Mon Apr 29 15:10:09 2013 -0700 Removing filterwin2k option Signed-off-by: Chiradeep Vittal <chiradeep@apache.org> commit944a7ea5d6Author: Wei Zhou <w.zhou@leaseweb.com> Date: Mon May 6 20:57:02 2013 +0100 CLOUDSTACK-2319: fix "unable to add egress rules" in SecurityGroup Signed-off-by: Chip Childers <chip.childers@gmail.com> commitff7f8ba362Author: Wei Zhou <w.zhou@leaseweb.com> Date: Mon May 6 20:56:06 2013 +0100 CLOUDSTACK-2322: update network.gateway to fix deployVm error on SharedNetwork after ipv6 support Signed-off-by: Chip Childers <chip.childers@gmail.com> commita153373c7eAuthor: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Mon May 6 11:45:19 2013 -0700 CLOUDSTACK-129: added new API - listNetworkIsolationMethods - for displaying isolation methods supported by the cloudStack commit46f59cd49eAuthor: Prasanna Santhanam <tsp@apache.org> Date: Mon May 6 20:39:36 2013 +0530 Fixed the incorrect assertion in noncontiguous_vlan test The assertion fails if the VLAN is found in which case find returns a positive number. So here the assertion should infact assert < 0 result. Signed-off-by: Prasanna Santhanam <tsp@apache.org> commitbd1dcc10b3Author: Prasanna Santhanam <tsp@apache.org> Date: Mon May 6 19:53:42 2013 +0530 Affinity Groups requires multiple storage pools Fixing the affinity group test which would fail to find the appropriate storage pool to satisfy the anti-affinity group of the second VM Signed-off-by: Prasanna Santhanam <tsp@apache.org> commit7f853cdb8fAuthor: Prasanna Santhanam <tsp@apache.org> Date: Mon May 6 19:16:15 2013 +0530 fixing double calls to VM deploy This fixes regression introduced in commit2f40a90cthat made duplicate calls to deployVirtualMachine. Signed-off-by: Prasanna Santhanam <tsp@apache.org> commit646e810fcfAuthor: Prasanna Santhanam <tsp@apache.org> Date: Mon May 6 18:51:53 2013 +0530 fixing wildcard imports Signed-off-by: Prasanna Santhanam <tsp@apache.org> commitb29b6e8525Author: Hugo Trippaers <htrippaers@schubergphilis.com> Date: Fri May 3 14:03:53 2013 +0200 BigSwitch should only respond if it is the actual provider on the network. This fixes an NPE during the release call. commit6fcc9b009bAuthor: Hugo Trippaers <htrippaers@schubergphilis.com> Date: Thu May 2 17:38:27 2013 +0200 Prevent Nicira NVP tags from exceeding the 40 character limit. commitd8e61a1c0aAuthor: Sanjay Tripathi <sanjay.tripathi@citrix.com> Date: Thu May 2 13:45:39 2013 +0530 CLOUDSTACK-2188 : Parsing error with Download Monitor while checking the health of downloaded templates Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org> commit5b6e1140f9Author: Sebastien Goasguen <runseb@gmail.com> Date: Mon May 6 05:35:58 2013 -0400 CLOUDSTACK-2339: Adding libcloud example commit7be62d2374Author: Sebastien Goasguen <runseb@gmail.com> Date: Mon May 6 05:35:19 2013 -0400 CLOUDSTACK-2338: Adding example of how to sign api requests in python commit156fd68902Author: Talluri <Srikanteswararao.Talluri@citrix.com> Date: Fri May 3 23:11:56 2013 +0530 CLOUDSTACK-2323: fix test scripts to conform with library changes Signed-off-by: Prasanna Santhanam <tsp@apache.org> commit33ff5e9107Author: sanjeevneelarapu <sanjeev.neelarapu@citrix.com> Date: Tue Apr 30 20:09:46 2013 +0530 CLOUDSTACK-702: Tests for Multiple IP Ranges 1.Deleting IP Range from the existing CIDR 2.Add non-contiguous guest IP range in new CIDR 3.Add overlapped guest IP range in existing CIDR Signed-off-by: sanjeevneelarapu <sanjeev.neelarapu@citrix.com> Signed-off-by: Prasanna Santhanam <tsp@apache.org> commit33059d1f66Author: Pranav Saxena <pranav.saxena@citrix.com> Date: Mon May 6 14:08:40 2013 +0530 scaleUp VM response change corresponding UI changes commit92e18d8106Author: Pranav Saxena <pranav.saxena@citrix.com> Date: Mon May 6 13:45:32 2013 +0530 CLOUDSTACK-2337:Resize button available for root/domain admin and normal users commitd5cd3f7e00Author: Likitha Shetty <likitha.shetty@citrix.com> Date: Wed May 1 13:47:26 2013 +0530 Dedicate guest vlan range to account commit12c79c8377Author: Pranav Saxena <pranav.saxena@citrix.com> Date: Sun May 5 12:02:32 2013 +0530 scale up virtual machine response change in the backend commit94bac27622Author: Rohit Yadav <bhaisaab@apache.org> Date: Sun May 5 09:58:04 2013 +0530 appliance: Upgrade systemvm appliance from rc1 to Debian7 GA Signed-off-by: Rohit Yadav <bhaisaab@apache.org> commitc598bb0038Author: Isaac Chiang <isaacchiang@gmail.com> Date: Sun May 5 01:57:35 2013 +0530 CLOUDSTACK-2076:Listview widget infinte scrolling error commitd0615ea9a1Author: Pranav Saxena <pranav.saxena@citrix.com> Date: Sun May 5 01:15:14 2013 +0530 CLOUDSTACK-2274:Detail view loading problem when deleting a zone commit733b513c3aAuthor: Isaac Chiang <isaacchiang@gmail.com> Date: Sat May 4 13:41:02 2013 +0530 CLOUDSTACK-2160:Refresh button functionality for security groups and statistics tab commit418d75d7a4Author: Marcus Sorensen <marcus@betterservers.com> Date: Fri May 3 14:09:52 2013 -0600 Summary: Release old DHCP entries Detail: Refresh dnsmasq with updated entries live, no outage BUG-ID: CLOUDSTACK-2299 Submitted-by: Dennis Lawler <dlawler@gmail.com> Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1367611792 -0600 commitb3dce64577Author: Kelven Yang <kelveny@gmail.com> Date: Tue May 7 10:57:19 2013 -0700 fix unitest commitb17885f0f6Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Tue May 7 09:55:47 2013 -0700 InternalLb: some fixes to the unittest commit1cff609347Merge:053e184a3a5c13Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Fri May 3 11:23:08 2013 -0700 Merge branch 'master' into internallb1 Conflicts: server/src/com/cloud/network/NetworkModelImpl.java server/src/com/cloud/network/NetworkServiceImpl.java server/src/com/cloud/server/ManagementServerImpl.java server/test/com/cloud/network/MockNetworkManagerImpl.java server/test/com/cloud/vpc/MockNetworkManagerImpl.java commit053e18454dAuthor: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Fri May 3 11:07:07 2013 -0700 InternalLB: marvin integration test for internal lb feature commit2e8e2f98f5Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Wed May 1 13:53:20 2013 -0700 InternalLB: don't allow to upgrade the network from the network offering with internal LB to the offering with public LB, and vice versa commitc773d204c8Author: Chiradeep Vittal <chiradeep@apache.org> Date: Wed May 1 13:21:52 2013 -0700 Internal LB: if we detect that we are inside an internal lb vm, call out to the ilb script to perform LB configuration Signed-off-by: Chiradeep Vittal <chiradeep@apache.org> commit8c8845bf77Merge:7e95545471ca30Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Wed May 1 10:14:06 2013 -0700 Merge branch 'master' into internallb1 commit7e9554596fAuthor: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Wed May 1 10:01:16 2013 -0700 InternalLb: boot args parameters cleanup for the internal lb vm commitb7cf870074Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Tue Apr 30 10:31:28 2013 -0700 InternalLb: more unittests for internal lb element commit63bb98ebe2Author: Chiradeep Vittal <chiradeep@apache.org> Date: Mon Apr 29 18:29:25 2013 -0700 allow ssh on eth1 Signed-off-by: Chiradeep Vittal <chiradeep@apache.org> commitca1c313c29Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Mon Apr 29 17:58:45 2013 -0700 InternalLb: DB upgrade - update existing physical networks with InternalLbVm provider commited50caa01cAuthor: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Mon Apr 29 17:48:36 2013 -0700 InternalLbVM: handle the scenario when sourceIpAddress is not passed when create internal Lb rule commit4c22c911a9Author: Chiradeep Vittal <chiradeep@apache.org> Date: Mon Apr 29 15:56:00 2013 -0700 backend support for Internal LB Signed-off-by: Chiradeep Vittal <chiradeep@apache.org> commit7b24a7640cMerge:440e848a0dbf89Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Mon Apr 29 15:49:48 2013 -0700 Merge branch 'master' into internallb1 Conflicts: server/src/com/cloud/api/ApiResponseHelper.java server/src/com/cloud/api/query/QueryManagerImpl.java server/src/com/cloud/configuration/ConfigurationManagerImpl.java server/src/com/cloud/network/NetworkManagerImpl.java server/src/com/cloud/network/firewall/FirewallManagerImpl.java setup/db/db/schema-410to420.sql commit440e8484d6Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Mon Apr 29 13:27:06 2013 -0700 InternalLB: unittests for InternalLoadBalancerVMManager commit63babe4b7eAuthor: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Fri Apr 26 13:44:01 2013 -0700 InternalLb: 1) Added unittests for InternalLoadBalancerVMService 2) Added unittests for InternalLoadBalancerElementService commit4f9c47ce54Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Thu Apr 25 14:46:42 2013 -0700 InternalLb: create internal lb vm specific service offering commit408ee59d1fAuthor: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Wed Apr 24 17:08:08 2013 -0700 Internallb: new set of Web services APIs for managing Internal LB VMs commit7680e1cc10Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Wed Apr 24 17:08:08 2013 -0700 Internallb: 1) InternalLb and PublicLb can't be enabled on the same network offering 2) Can have internalLb only on VPC tier commitd73ca7ef73Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Wed Apr 24 13:02:32 2013 -0700 InternalLb: 1) fixed the bug when the guest nic on internal lb vm wasnt set to be default 2) Don't send the rules to the internal lb vm if its in Stopped state commitca2fc30655Merge:805756704a2b2dAuthor: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Tue Apr 23 16:56:11 2013 -0700 Merge branch 'master' into internallb1 Conflicts: server/src/com/cloud/network/vpc/VpcManagerImpl.java server/src/com/cloud/server/ManagementServerImpl.java setup/db/db/schema-410to420.sql commit8057567aaaAuthor: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Tue Apr 23 13:15:36 2013 -0700 Internallb: more unittests for ApplicationLoadBalancerService commit35c0273b85Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Fri Apr 19 16:17:45 2013 -0700 InternalLb: unittests for ApplicationLoadBalancerService commit69b23f7003Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Thu Apr 18 14:01:10 2013 -0700 InternalLb: create/configure/listInternalLoadBalancerElement - fixes to the API response commita3321ce617Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Thu Apr 18 13:31:16 2013 -0700 Internal LB : renamed the classes responsible for managing internal lb elements. Now the names are InternalLoadBalancerVMManager, InternalLoadBalancerVMService and InternalLoadBalancerVMManagerImpl commit2baf7c365cAuthor: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Thu Apr 18 10:02:17 2013 -0700 Internallb: verify requested IP for LB rule (if specified) against guest network cidr commit0cfe96bd00Merge:501f2ff11162f5Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Wed Apr 17 15:41:51 2013 -0700 Merge branch 'master' into internallb1 Conflicts: api/src/com/cloud/network/IpAddress.java server/src/com/cloud/network/NetworkServiceImpl.java setup/db/db/schema-410to420.sql commit501f2ffa0bAuthor: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Tue Apr 16 17:03:50 2013 -0700 InternalLb: validate source ip network as a part of LB rule creation commit4d9a7dfd85Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Tue Apr 16 16:03:32 2013 -0700 InternalLB: in VPC, restrict public LB to one tier only. Internal LB can be supported on multiple tiers commit8689bf9eb3Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Tue Apr 16 15:59:56 2013 -0700 Internal LB: added internal lb vm to the list of supported providers in VPC default offering commitb7709b89ffAuthor: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Tue Apr 16 11:04:22 2013 -0700 Internal Lb: added 2 boolean fields - internal_lb and public_lb - to the network offering. Define if internal or public LB service is supported. In the current release it's either one or another; in the future releases we might support both on the same network commit014689e45eMerge:b3b16ba90e8158Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Tue Apr 16 09:55:45 2013 -0700 Merge branch 'master' into internallb1 Conflicts: api/src/com/cloud/network/Network.java plugins/network-elements/f5/src/com/cloud/network/element/F5ExternalLoadBalancerElement.java server/src/com/cloud/network/NetworkManagerImpl.java server/src/com/cloud/network/NetworkServiceImpl.java server/test/com/cloud/network/MockNetworkManagerImpl.java server/test/com/cloud/vpc/MockNetworkManagerImpl.java setup/db/db/schema-410to420.sql commitb3b16bae48Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Mon Apr 15 17:00:31 2013 -0700 InternalLB: allow to specify more than one provider for the LB service when create network offering as diff providers can support internal and public LB for the same network commita4fc1d7d65Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Mon Apr 15 13:45:25 2013 -0700 Internal LB: 1) Added network_offering_details DB table and corresponding VO/DAO objects. Change createNetworkOffering web services api to accept the map of key/value pairs as details. 2) Allow to have multiple providers for the same service for the network to support the case when LB service can have separate providers for Internal LB and Public LB commit4530cebf2bAuthor: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Mon Apr 15 10:06:10 2013 -0700 InternalLbVm: support for start/stop Internal lb vm commitae69f0ae56Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Fri Apr 12 17:25:02 2013 -0700 InternalLb: fixed prepare() in InternalLbElement - have to prepare nics of User vms only commit888a83c221Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Fri Apr 12 15:58:27 2013 -0700 InternalLb: Start/deploy internal LB vms for the existing LB rules as a part of network implement commit3b41d5bee1Merge:bb735314b1a9f1Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Fri Apr 12 15:32:40 2013 -0700 Merge branch 'master' into internallb1 Conflicts: server/src/com/cloud/network/NetworkModelImpl.java server/src/com/cloud/server/ManagementServerImpl.java commitbb73531fedAuthor: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Fri Apr 12 15:13:55 2013 -0700 Internal Lb: list internal lb vms as a part of listRouters response. Introduced new parameter - role (can be virtual_router or internal_lb_vm) commitc113ea184bAuthor: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Fri Apr 12 12:00:09 2013 -0700 Add Internal Lb Provider/Element as a part of adding a physical network commit78c9db79daAuthor: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Fri Apr 12 10:05:28 2013 -0700 InternalLbVm: destroy the internal lb vm when the last rule for the ip is being revoked commitaf6201257bAuthor: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Thu Apr 11 16:55:37 2013 -0700 Internal LB: fixed some bugs in internal lb vm startup process commit1db240c2b6Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Thu Apr 11 14:23:55 2013 -0700 InternalLb: fixed searchCriteria constructor in ApplicationLoadBalancerDaoImpl commit3795048fccMerge:f4c2b535f8a278Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Thu Apr 11 14:09:31 2013 -0700 Merge branch 'master' into internallb1 Conflicts: api/src/com/cloud/async/AsyncJob.java api/src/org/apache/cloudstack/api/ApiConstants.java api/src/org/apache/cloudstack/api/BaseCmd.java api/src/org/apache/cloudstack/api/ResponseGenerator.java client/tomcatconf/commands.properties.in server/src/com/cloud/api/ApiDBUtils.java server/src/com/cloud/api/ApiResponseHelper.java server/src/com/cloud/server/ManagementServerImpl.java setup/db/db/schema-410to420.sql commitf4c2b53c21Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Thu Apr 11 13:46:47 2013 -0700 InternalLB: modified InternalLbElement to start the Internal Lb vm for each ip address (if not already started) commit76a4b1cf81Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Thu Apr 11 11:41:47 2013 -0700 InternalLB: added logic for acquiring guest ip address for the Internal LB rule commit915e39fbaaAuthor: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Thu Apr 11 10:19:18 2013 -0700 Removed unused methods doing ipAllocation from GuestNetworkGuru and NetworkServiceImpl. The correct method is located in NetworkModelImpl commit3f2a62c7f6Merge:20beb7aa0b5ebcAuthor: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Wed Apr 10 17:16:07 2013 -0700 Merge branch 'master' into internallb1 commit20beb7a16cAuthor: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Wed Apr 10 15:28:12 2013 -0700 Internal LB: applyLoadBalancerRules - put not null check for sourceIpAddressId (can be null when Schema is not Public) commit87e5f5b9a6Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Wed Apr 10 15:17:58 2013 -0700 Internal LB: intermediate checkin - added InternalLBAppliance manager and managerImpl commit53b9c0d142Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Tue Apr 9 17:55:10 2013 -0700 Internal LB: added @Since to API docs for Internal LB related commands commit867b305ea8Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Tue Apr 9 17:51:19 2013 -0700 Internal LB: Made InternalLbElement to extend the ip deployer as the LB service implements IPDeployerRequester commit7b9af28094Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Tue Apr 9 15:45:30 2013 -0700 InternalLb: new set of Web Services APIs to add InternalLB as a network element to the cloudStack (the element is packaged as an independent plugin). New APIs: 1) configureInternalLoadBalancerElement 2) createInternalLoadBalancerElement 3) listInternalLoadBalancerElements commit039e303d4aAuthor: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Tue Apr 9 14:01:11 2013 -0700 InternalLB: Modified pluggable service VirtualRouterElementService to accept only VirtualRouter and VpcVirtualRouter as a VirtualRouterProvider type when add/configure elements. Other VirtualRouterProviderTypes are are taken care by elb/internal lb plugins. commitf0018b4512Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Tue Apr 9 12:56:42 2013 -0700 Internal LB: 1)Added InternalLoadBalancerManager and corresponding Impl 2)Add InternalLbVm as a default CS provider. DB upgrade is covered as well commite344cf250aAuthor: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Mon Apr 8 16:57:47 2013 -0700 InternalLB - removed unused code from LoadBalancerDao commit3588f46848Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Mon Apr 8 16:23:03 2013 -0700 Internal LB - added network-element plugin for internal lb service commit76325e6168Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Mon Apr 8 13:58:08 2013 -0700 Internal Lb: 1) When network has both kinds of LB rules - Public and Internal - never send them in the same set to the provider 2) Added extra checks on the provider side to validate if the schema - Public or Internal - is supported. commit56c2fe1d37Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Mon Apr 8 12:34:59 2013 -0700 InternalLB: 1) Added new capability for the LB service - LbSchemes. Can take 2 values - Internal and Public. 2) F5 and Netscaler LB providers - changes all LB related methods to accept LoadBalancingRule instead of ? extends FirewallRule. commit34bcb2d026Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Mon Apr 8 12:11:11 2013 -0700 InternalLB: implemented list/delete/create web services API commands that will be used for Internal LB creation commit9ab31e11f7Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Fri Apr 5 15:59:55 2013 -0700 InternalLB: change LoadBalancingRule - reference sourceIpAddress of th load balancer by its value, not DB id commit08f855d4e4Author: Alena Prokharchyk <alena.prokharchyk@citrix.com> Date: Thu Apr 4 09:26:21 2013 -0700 InternalLB: 1) Added new set of Interfaces - including the new VO - for the internal load balancer 2) DB change - added source_ip_address/source_ip_address_network_id/scheme (Internal/Public) fields to the load_balancer table
665 lines
25 KiB
XML
665 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-network-internallb</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>
|
|
<dependency>
|
|
<groupId>org.apache.cloudstack</groupId>
|
|
<artifactId>cloud-console-proxy</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}">
|
|
<replaceregexp
|
|
file="${basedir}/target/generated-webapp/WEB-INF/web.xml"
|
|
match="classpath:componentContext.xml"
|
|
replace="classpath:nonossComponentContext.xml" byline="true" />
|
|
<copy overwrite="true" todir="${basedir}/target/generated-webapp/WEB-INF/classes/scripts">
|
|
<fileset dir="${basedir}/../plugins/network-elements/cisco-vnmc/scripts">
|
|
<include name="**/*" />
|
|
</fileset>
|
|
</copy>
|
|
</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>
|