api: Refactor and move VPN related api cmd classes to command.user.vpn

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
Rohit Yadav 2012-12-21 19:43:25 -08:00
parent a15da04937
commit 2140ff55ea
7 changed files with 9 additions and 9 deletions

View File

@ -18,7 +18,7 @@ package com.cloud.network.vpn;
import java.util.List;
import org.apache.cloudstack.api.command.user.user.ListVpnUsersCmd;
import org.apache.cloudstack.api.command.user.vpn.ListVpnUsersCmd;
import org.apache.cloudstack.api.command.user.vpn.ListRemoteAccessVpnsCmd;
import com.cloud.exception.NetworkRuleConflictException;
import com.cloud.exception.ResourceUnavailableException;

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 org.apache.cloudstack.api.command.user.user;
package org.apache.cloudstack.api.command.user.vpn;
import org.apache.log4j.Logger;

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 org.apache.cloudstack.api.command.user.user;
package org.apache.cloudstack.api.command.user.vpn;
import java.util.ArrayList;
import java.util.List;

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 org.apache.cloudstack.api.command.user.user;
package org.apache.cloudstack.api.command.user.vpn;
import org.apache.log4j.Logger;

View File

@ -19,7 +19,7 @@ package src.com.cloud.api.commands.test;
import junit.framework.Assert;
import junit.framework.TestCase;
import org.apache.cloudstack.api.command.user.user.AddVpnUserCmd;
import org.apache.cloudstack.api.command.user.vpn.AddVpnUserCmd;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;

View File

@ -298,9 +298,9 @@ createRemoteAccessVpn=org.apache.cloudstack.api.command.user.vpn.CreateRemoteAcc
deleteRemoteAccessVpn=org.apache.cloudstack.api.command.user.vpn.DeleteRemoteAccessVpnCmd;15
listRemoteAccessVpns=org.apache.cloudstack.api.command.user.vpn.ListRemoteAccessVpnsCmd;15
addVpnUser=org.apache.cloudstack.api.command.user.user.AddVpnUserCmd;15
removeVpnUser=org.apache.cloudstack.api.command.user.user.RemoveVpnUserCmd;15
listVpnUsers=org.apache.cloudstack.api.command.user.user.ListVpnUsersCmd;15
addVpnUser=org.apache.cloudstack.api.command.user.vpn.AddVpnUserCmd;15
removeVpnUser=org.apache.cloudstack.api.command.user.vpn.RemoveVpnUserCmd;15
listVpnUsers=org.apache.cloudstack.api.command.user.vpn.ListVpnUsersCmd;15
#### network offering commands
createNetworkOffering=org.apache.cloudstack.api.command.admin.network.CreateNetworkOfferingCmd;1

View File

@ -23,7 +23,7 @@ import java.util.Map;
import javax.ejb.Local;
import javax.naming.ConfigurationException;
import org.apache.cloudstack.api.command.user.user.ListVpnUsersCmd;
import org.apache.cloudstack.api.command.user.vpn.ListVpnUsersCmd;
import org.apache.log4j.Logger;
import org.apache.cloudstack.api.command.user.vpn.ListRemoteAccessVpnsCmd;