Skip to content

Commit dd198ff

Browse files
author
Alex Huang
committed
Added a war for cloud-engine
1 parent 23a35db commit dd198ff

5 files changed

Lines changed: 77 additions & 3 deletions

File tree

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
package org.apache.cloudstack.compute;
20+
21+
import com.cloud.vm.VirtualMachineProfile;
22+
23+
/**
24+
* ComputeGuru understands everything about the hypervisor.
25+
*
26+
*/
27+
public interface ComputeGuru {
28+
String getVersion();
29+
String getHypervisor();
30+
void start(VirtualMachineProfile vm);
31+
void stop(VirtualMachineProfile vm);
32+
33+
34+
}

engine/pom.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
12
<!--
23
Licensed to the Apache Software Foundation (ASF) under one
34
or more contributor license agreements. See the NOTICE file
@@ -15,8 +16,7 @@
1516
KIND, either express or implied. See the License for the
1617
specific language governing permissions and limitations
1718
under the License.
18-
-->
19-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
19+
--><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2020
<modelVersion>4.0.0</modelVersion>
2121
<artifactId>cloud-engine</artifactId>
2222
<name>Apache CloudStack Cloud Engine</name>
@@ -40,5 +40,6 @@
4040
<module>components-api</module>
4141
<module>schema</module>
4242
<module>network</module>
43+
<module>service</module>
4344
</modules>
44-
</project>
45+
</project>

engine/service/pom.xml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?xml version="1.0"?>
2+
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4+
<modelVersion>4.0.0</modelVersion>
5+
<parent>
6+
<groupId>org.apache.cloudstack</groupId>
7+
<artifactId>cloud-engine</artifactId>
8+
<version>4.1.0-SNAPSHOT</version>
9+
</parent>
10+
<groupId>org.apache.cloudstack</groupId>
11+
<artifactId>cloud-engine-service</artifactId>
12+
<version>4.1.0-SNAPSHOT</version>
13+
<packaging>war</packaging>
14+
<name>service Maven Webapp</name>
15+
<url>http://maven.apache.org</url>
16+
<dependencies>
17+
<dependency>
18+
<groupId>junit</groupId>
19+
<artifactId>junit</artifactId>
20+
<version>3.8.1</version>
21+
<scope>test</scope>
22+
</dependency>
23+
</dependencies>
24+
<build>
25+
<finalName>service</finalName>
26+
</build>
27+
</project>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<!DOCTYPE web-app PUBLIC
2+
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
3+
"http://java.sun.com/dtd/web-app_2_3.dtd" >
4+
5+
<web-app>
6+
<display-name>Archetype Created Web Application</display-name>
7+
</web-app>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<html>
2+
<body>
3+
<h2>Hello World!</h2>
4+
</body>
5+
</html>

0 commit comments

Comments
 (0)