File tree Expand file tree Collapse file tree
com/cloud/storage/snapshot
org/apache/cloudstack/api/user/snapshot/command
server/src/com/cloud/storage/snapshot Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818
1919import java .util .List ;
2020
21- import com . cloud . api .commands .CreateSnapshotPolicyCmd ;
22- import com . cloud . api .commands .DeleteSnapshotPoliciesCmd ;
21+ import org . apache . cloudstack . api .user . snapshot . command .CreateSnapshotPolicyCmd ;
22+ import org . apache . cloudstack . api .user . snapshot . command .DeleteSnapshotPoliciesCmd ;
2323import com .cloud .api .commands .ListRecurringSnapshotScheduleCmd ;
24- import com . cloud . api .commands .ListSnapshotPoliciesCmd ;
25- import com . cloud . api .commands .ListSnapshotsCmd ;
24+ import org . apache . cloudstack . api .user . snapshot . command .ListSnapshotPoliciesCmd ;
25+ import org . apache . cloudstack . api .user . snapshot . command .ListSnapshotsCmd ;
2626import com .cloud .exception .PermissionDeniedException ;
2727import com .cloud .exception .ResourceAllocationException ;
2828import com .cloud .storage .Snapshot ;
Original file line number Diff line number Diff line change 1414// KIND, either express or implied. See the License for the
1515// specific language governing permissions and limitations
1616// under the License.
17- package com . cloud . api .commands ;
17+ package org . apache . cloudstack . api .user . snapshot . command ;
1818
1919import org .apache .log4j .Logger ;
2020
Original file line number Diff line number Diff line change 1414// KIND, either express or implied. See the License for the
1515// specific language governing permissions and limitations
1616// under the License.
17- package com . cloud . api .commands ;
17+ package org . apache . cloudstack . api .user . snapshot . command ;
1818
1919import org .apache .log4j .Logger ;
2020
Original file line number Diff line number Diff line change 1414// KIND, either express or implied. See the License for the
1515// specific language governing permissions and limitations
1616// under the License.
17- package com . cloud . api .commands ;
17+ package org . apache . cloudstack . api .user . snapshot . command ;
1818
1919import org .apache .log4j .Logger ;
2020
Original file line number Diff line number Diff line change 1414// KIND, either express or implied. See the License for the
1515// specific language governing permissions and limitations
1616// under the License.
17- package com . cloud . api .commands ;
17+ package org . apache . cloudstack . api .user . snapshot . command ;
1818
1919import java .util .List ;
2020
Original file line number Diff line number Diff line change 1414// KIND, either express or implied. See the License for the
1515// specific language governing permissions and limitations
1616// under the License.
17- package com . cloud . api .commands ;
17+ package org . apache . cloudstack . api .user . snapshot . command ;
1818
1919import java .util .ArrayList ;
2020import java .util .List ;
Original file line number Diff line number Diff line change 1414// KIND, either express or implied. See the License for the
1515// specific language governing permissions and limitations
1616// under the License.
17- package com . cloud . api .commands ;
17+ package org . apache . cloudstack . api .user . snapshot . command ;
1818
1919import java .util .ArrayList ;
2020import java .util .List ;
Original file line number Diff line number Diff line change @@ -70,12 +70,12 @@ migrateVirtualMachine=org.apache.cloudstack.api.admin.vm.command.MigrateVMCmd;1
7070recoverVirtualMachine=org.apache.cloudstack.api.admin.vm.command.RecoverVMCmd;7
7171
7272#### snapshot commands
73- createSnapshot=com.cloud. api.commands .CreateSnapshotCmd;15
74- listSnapshots=com.cloud. api.commands .ListSnapshotsCmd;15
75- deleteSnapshot=com.cloud. api.commands .DeleteSnapshotCmd;15
76- createSnapshotPolicy=com.cloud. api.commands .CreateSnapshotPolicyCmd;15
77- deleteSnapshotPolicies=com.cloud. api.commands .DeleteSnapshotPoliciesCmd;15
78- listSnapshotPolicies=com.cloud. api.commands .ListSnapshotPoliciesCmd;15
73+ createSnapshot=org.apache.cloudstack. api.user.snapshot.command .CreateSnapshotCmd;15
74+ listSnapshots=org.apache.cloudstack. api.user.snapshot.command .ListSnapshotsCmd;15
75+ deleteSnapshot=org.apache.cloudstack. api.user.snapshot.command .DeleteSnapshotCmd;15
76+ createSnapshotPolicy=org.apache.cloudstack. api.user.snapshot.command .CreateSnapshotPolicyCmd;15
77+ deleteSnapshotPolicies=org.apache.cloudstack. api.user.snapshot.command .DeleteSnapshotPoliciesCmd;15
78+ listSnapshotPolicies=org.apache.cloudstack. api.user.snapshot.command .ListSnapshotPoliciesCmd;15
7979
8080
8181#### template commands
Original file line number Diff line number Diff line change 2525import javax .ejb .Local ;
2626import javax .naming .ConfigurationException ;
2727
28+ import org .apache .cloudstack .api .user .snapshot .command .*;
2829import org .apache .log4j .Logger ;
2930
3031import com .cloud .agent .AgentManager ;
3940import com .cloud .agent .api .downloadSnapshotFromSwiftCommand ;
4041import com .cloud .agent .api .to .SwiftTO ;
4142import com .cloud .alert .AlertManager ;
42- import com .cloud .api .commands .CreateSnapshotPolicyCmd ;
43- import com .cloud .api .commands .DeleteSnapshotPoliciesCmd ;
43+ import org .apache .cloudstack .api .user .snapshot .command .DeleteSnapshotPoliciesCmd ;
4444import com .cloud .api .commands .ListRecurringSnapshotScheduleCmd ;
45- import com .cloud .api .commands .ListSnapshotPoliciesCmd ;
46- import com .cloud .api .commands .ListSnapshotsCmd ;
45+ import org .apache .cloudstack .api .user .snapshot .command .ListSnapshotPoliciesCmd ;
4746import com .cloud .configuration .Config ;
4847import com .cloud .configuration .Resource .ResourceType ;
4948import com .cloud .configuration .dao .ConfigurationDao ;
Original file line number Diff line number Diff line change 2626import javax .ejb .Local ;
2727import javax .naming .ConfigurationException ;
2828
29+ import org .apache .cloudstack .api .user .snapshot .command .CreateSnapshotCmd ;
2930import org .apache .log4j .Logger ;
3031
3132import org .apache .cloudstack .api .ApiConstants ;
3233import com .cloud .api .ApiDispatcher ;
3334import com .cloud .api .ApiGsonHelper ;
34- import com .cloud .api .commands .CreateSnapshotCmd ;
3535import com .cloud .user .Account ;
3636import com .cloud .async .AsyncJobManager ;
3737import com .cloud .async .AsyncJobResult ;
You can’t perform that action at this time.
0 commit comments