diff --git a/engine/components-api/src/org/apache/cloudstack/compute/ComputeGuru.java b/engine/components-api/src/org/apache/cloudstack/compute/ComputeGuru.java new file mode 100644 index 00000000000..5dbe0c6f931 --- /dev/null +++ b/engine/components-api/src/org/apache/cloudstack/compute/ComputeGuru.java @@ -0,0 +1,34 @@ +/* + * 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. + */ +package org.apache.cloudstack.compute; + +import com.cloud.vm.VirtualMachineProfile; + +/** + * ComputeGuru understands everything about the hypervisor. + * + */ +public interface ComputeGuru { + String getVersion(); + String getHypervisor(); + void start(VirtualMachineProfile vm); + void stop(VirtualMachineProfile vm); + + +} diff --git a/engine/pom.xml b/engine/pom.xml index ba8b738f57f..f35c14bbeb3 100644 --- a/engine/pom.xml +++ b/engine/pom.xml @@ -1,3 +1,4 @@ + - +--> 4.0.0 cloud-engine Apache CloudStack Cloud Engine @@ -40,5 +40,6 @@ components-api schema network + service - + \ No newline at end of file diff --git a/engine/service/pom.xml b/engine/service/pom.xml new file mode 100644 index 00000000000..b0dd6c2c5c2 --- /dev/null +++ b/engine/service/pom.xml @@ -0,0 +1,27 @@ + + + 4.0.0 + + org.apache.cloudstack + cloud-engine + 4.1.0-SNAPSHOT + + org.apache.cloudstack + cloud-engine-service + 4.1.0-SNAPSHOT + war + service Maven Webapp + http://maven.apache.org + + + junit + junit + 3.8.1 + test + + + + service + + diff --git a/engine/service/src/main/webapp/WEB-INF/web.xml b/engine/service/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 00000000000..04563ea82dc --- /dev/null +++ b/engine/service/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,7 @@ + + + + Archetype Created Web Application + diff --git a/engine/service/src/main/webapp/index.jsp b/engine/service/src/main/webapp/index.jsp new file mode 100644 index 00000000000..6f07b72e67e --- /dev/null +++ b/engine/service/src/main/webapp/index.jsp @@ -0,0 +1,5 @@ + + +

Hello World!

+ +