Skip to content

Commit 03df2fa

Browse files
author
Mice Xia
committed
CLOUDSTACK-50 build-apidocs ClassNotFoundException: com.cloud.api.commands.DeleteCiscoNexusVSMCmd
1 parent d50ebaf commit 03df2fa

3 files changed

Lines changed: 39 additions & 30 deletions

File tree

‎build/developer.xml‎

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -398,21 +398,17 @@
398398

399399

400400
<target name="build-apidocs" description="Generate api documentation" depends="build-all">
401-
<property name="commands.file" location="${dist.dir}/client/conf/commands.properties" />
402-
<property name="commands.ext.file" location="${dist.dir}/client/conf/commands-ext.properties" />
403-
<property name="commands.f5.file" location="${dist.dir}/client/conf/f5bigip_commands.properties" />
404-
<property name="commands.juniper.file" location="${dist.dir}/client/conf/junipersrx_commands.properties" />
405-
<property name="commands.cisco.file" location="${dist.dir}/client/conf/cisconexusvsm_commands.properties" />
406-
<property name="commands.netscaler.file" location="${dist.dir}/client/conf/netscalerloadbalancer_commands.properties" />
407-
<property name="commands.vr.file" location="${dist.dir}/client/conf/virtualrouter_commands.properties" />
401+
<property name="commands.file" location="${dist.dir}/client/conf/commands.properties" />
402+
<property name="commands.ext.file" location="${dist.dir}/client/conf/commands-ext.properties" />
403+
<property name="commands.vr.file" location="${dist.dir}/client/conf/virtualrouter_commands.properties" />
408404

409-
<echo message="build-apidocs" />
405+
<echo message="build-apidocs" />
410406
<exec dir="${apidoc.scripts.dir}" executable="bash" failonerror="true">
411407
<arg value="build-apidoc.sh" />
412408
<arg value="${target.dir}/jar" />
413409
<arg value="${deps.dir}" />
414410
<arg value="${dist.dir}" />
415-
<arg value="-f ${commands.cisco.file},${commands.file},${commands.ext.file},${commands.f5.file},${commands.juniper.file},${commands.netscaler.file},${commands.vr.file}" />
411+
<arg value="-f ${commands.file},${commands.ext.file},${commands.vr.file}" />
416412
</exec>
417413
<echo message="Result locates at ${dist.dir}/commands.xml" />
418414

‎client/tomcatconf/commands-ext.properties.in‎

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,7 @@ generateUsageRecords=com.cloud.api.commands.GenerateUsageRecordsCmd;1
2020
listUsageRecords=com.cloud.api.commands.GetUsageRecordsCmd;1
2121
listUsageTypes=com.cloud.api.commands.ListUsageTypesCmd;1
2222

23-
#### external firewall commands
24-
addExternalFirewall=com.cloud.api.commands.AddExternalFirewallCmd;1
25-
deleteExternalFirewall=com.cloud.api.commands.DeleteExternalFirewallCmd;1
26-
listExternalFirewalls=com.cloud.api.commands.ListExternalFirewallsCmd;1
2723

28-
#### external loadbalancer commands
29-
addExternalLoadBalancer=com.cloud.api.commands.AddExternalLoadBalancerCmd;1
30-
deleteExternalLoadBalancer=com.cloud.api.commands.DeleteExternalLoadBalancerCmd;1
31-
listExternalLoadBalancers=com.cloud.api.commands.ListExternalLoadBalancersCmd;1
3224

3325
### Network Devices commands
3426
addNetworkDevice=com.cloud.api.commands.AddNetworkDeviceCmd;1
@@ -40,16 +32,4 @@ addTrafficMonitor=com.cloud.api.commands.AddTrafficMonitorCmd;1
4032
deleteTrafficMonitor=com.cloud.api.commands.DeleteTrafficMonitorCmd;1
4133
listTrafficMonitors=com.cloud.api.commands.ListTrafficMonitorsCmd;1
4234

43-
####Netapp integration commands
44-
createVolumeOnFiler=com.cloud.api.commands.netapp.CreateVolumeOnFilerCmd;15
45-
destroyVolumeOnFiler=com.cloud.api.commands.netapp.DestroyVolumeOnFilerCmd;15
46-
listVolumesOnFiler=com.cloud.api.commands.netapp.ListVolumesOnFilerCmd;15
47-
createLunOnFiler=com.cloud.api.commands.netapp.CreateLunCmd;15
48-
destroyLunOnFiler=com.cloud.api.commands.netapp.DestroyLunCmd;15
49-
listLunsOnFiler=com.cloud.api.commands.netapp.ListLunsCmd;15
50-
associateLun=com.cloud.api.commands.netapp.AssociateLunCmd;15
51-
dissociateLun=com.cloud.api.commands.netapp.DissociateLunCmd;15
52-
createPool=com.cloud.api.commands.netapp.CreateVolumePoolCmd;15
53-
deletePool=com.cloud.api.commands.netapp.DeleteVolumePoolCmd;15
54-
modifyPool=com.cloud.api.commands.netapp.ModifyVolumePoolCmd;15
55-
listPools=com.cloud.api.commands.netapp.ListVolumePoolsCmd;15
35+
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
### bitmap of permissions at the end of each classname, 1 = ADMIN, 2 = RESOURCE_DOMAIN_ADMIN, 4 = DOMAIN_ADMIN, 8 = USER
19+
### Please standardize naming conventions to camel-case (even for acronyms).
20+
21+
####Netapp integration commands
22+
createVolumeOnFiler=com.cloud.api.commands.netapp.CreateVolumeOnFilerCmd;15
23+
destroyVolumeOnFiler=com.cloud.api.commands.netapp.DestroyVolumeOnFilerCmd;15
24+
listVolumesOnFiler=com.cloud.api.commands.netapp.ListVolumesOnFilerCmd;15
25+
createLunOnFiler=com.cloud.api.commands.netapp.CreateLunCmd;15
26+
destroyLunOnFiler=com.cloud.api.commands.netapp.DestroyLunCmd;15
27+
listLunsOnFiler=com.cloud.api.commands.netapp.ListLunsCmd;15
28+
associateLun=com.cloud.api.commands.netapp.AssociateLunCmd;15
29+
dissociateLun=com.cloud.api.commands.netapp.DissociateLunCmd;15
30+
createPool=com.cloud.api.commands.netapp.CreateVolumePoolCmd;15
31+
deletePool=com.cloud.api.commands.netapp.DeleteVolumePoolCmd;15
32+
modifyPool=com.cloud.api.commands.netapp.ModifyVolumePoolCmd;15
33+
listPools=com.cloud.api.commands.netapp.ListVolumePoolsCmd;15

0 commit comments

Comments
 (0)