api_refactor: refactor serviceoffering apis

- Fix refactored apis, mappings in commands*.in
- Fix comments etc.

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
Rohit Yadav 2012-12-04 00:27:19 -08:00
parent 73d1099c76
commit 28df57ec75
7 changed files with 7 additions and 4 deletions

View File

@ -19,6 +19,7 @@ package com.cloud.api.commands;
import java.util.ArrayList;
import java.util.List;
import org.apache.cloudstack.api.user.serviceoffering.command.ListServiceOfferingsCmd;
import org.apache.log4j.Logger;
import org.apache.cloudstack.api.ApiConstants;

View File

@ -47,7 +47,7 @@ import com.cloud.api.commands.ListPodsByCmd;
import com.cloud.api.commands.ListPublicIpAddressesCmd;
import com.cloud.api.commands.ListRoutersCmd;
import org.apache.cloudstack.api.user.ssh.command.ListSSHKeyPairsCmd;
import com.cloud.api.commands.ListServiceOfferingsCmd;
import org.apache.cloudstack.api.user.serviceoffering.command.ListServiceOfferingsCmd;
import com.cloud.api.commands.ListStoragePoolsCmd;
import com.cloud.api.commands.ListSystemVMsCmd;
import org.apache.cloudstack.api.user.vmgroup.command.ListVMGroupsCmd;

View File

@ -14,7 +14,7 @@
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.
package com.cloud.api.commands;
package org.apache.cloudstack.api.user.serviceoffering.command;
import java.util.ArrayList;
import java.util.List;

View File

@ -110,7 +110,7 @@ listOsCategories=org.apache.cloudstack.api.user.guest.command.ListGuestOsCategor
createServiceOffering=com.cloud.api.commands.CreateServiceOfferingCmd;1
deleteServiceOffering=com.cloud.api.commands.DeleteServiceOfferingCmd;1
updateServiceOffering=com.cloud.api.commands.UpdateServiceOfferingCmd;1
listServiceOfferings=com.cloud.api.commands.ListServiceOfferingsCmd;15
listServiceOfferings=org.apache.cloudstack.api.user.serviceoffering.command.ListServiceOfferingsCmd;15
#### disk offering commands
createDiskOffering=com.cloud.api.commands.CreateDiskOfferingCmd;1

View File

@ -19,6 +19,7 @@ package com.cloud.api.commands;
import java.util.ArrayList;
import java.util.List;
import org.apache.cloudstack.api.user.serviceoffering.command.ListServiceOfferingsCmd;
import org.apache.log4j.Logger;
import org.apache.cloudstack.api.ApiConstants;

View File

@ -19,6 +19,7 @@ package com.cloud.api.commands;
import java.util.ArrayList;
import java.util.List;
import org.apache.cloudstack.api.user.serviceoffering.command.ListServiceOfferingsCmd;
import org.apache.log4j.Logger;
import org.apache.cloudstack.api.ApiConstants;

View File

@ -46,6 +46,7 @@ import org.apache.cloudstack.api.user.guest.command.ListGuestOsCategoriesCmd;
import org.apache.cloudstack.api.user.guest.command.ListGuestOsCmd;
import org.apache.cloudstack.api.user.iso.command.ListIsosCmd;
import org.apache.cloudstack.api.user.job.command.ListAsyncJobsCmd;
import org.apache.cloudstack.api.user.serviceoffering.command.ListServiceOfferingsCmd;
import org.apache.cloudstack.api.user.ssh.command.DeleteSSHKeyPairCmd;
import org.apache.cloudstack.api.user.ssh.command.RegisterSSHKeyPairCmd;
import org.apache.cloudstack.api.user.template.command.ListTemplatesCmd;
@ -83,7 +84,6 @@ import com.cloud.api.commands.ListPodsByCmd;
import com.cloud.api.commands.ListPublicIpAddressesCmd;
import com.cloud.api.commands.ListRoutersCmd;
import org.apache.cloudstack.api.user.ssh.command.ListSSHKeyPairsCmd;
import com.cloud.api.commands.ListServiceOfferingsCmd;
import com.cloud.api.commands.ListStoragePoolsCmd;
import com.cloud.api.commands.ListSystemVMsCmd;
import com.cloud.api.commands.ListVlanIpRangesCmd;