diff --git a/plugins/connectors/cloudian/pom.xml b/plugins/connectors/cloudian/pom.xml new file mode 100644 index 00000000000..d55377a299a --- /dev/null +++ b/plugins/connectors/cloudian/pom.xml @@ -0,0 +1,55 @@ + + + 4.0.0 + cloud-plugin-connectors-cloudian + Apache CloudStack Plugin - Cloudian Connector + + org.apache.cloudstack + cloudstack-plugins + 4.9.4.0-SNAPSHOT + ../pom.xml + + + + org.apache.cloudstack + cloud-api + ${project.version} + + + org.apache.cloudstack + cloud-utils + ${project.version} + + + + + + org.apache.maven.plugins + maven-surefire-plugin + + -Xmx1024m + + + + + diff --git a/plugins/connectors/cloudian/resources/META-INF/cloudstack/cloudian/module.properties b/plugins/connectors/cloudian/resources/META-INF/cloudstack/cloudian/module.properties new file mode 100644 index 00000000000..762c636cd3b --- /dev/null +++ b/plugins/connectors/cloudian/resources/META-INF/cloudstack/cloudian/module.properties @@ -0,0 +1,18 @@ +# 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. +name=cloudian +parent=api diff --git a/plugins/connectors/cloudian/resources/META-INF/cloudstack/cloudian/spring-cloudian-context.xml b/plugins/connectors/cloudian/resources/META-INF/cloudstack/cloudian/spring-cloudian-context.xml new file mode 100644 index 00000000000..3d62ac9f785 --- /dev/null +++ b/plugins/connectors/cloudian/resources/META-INF/cloudstack/cloudian/spring-cloudian-context.xml @@ -0,0 +1,27 @@ + + + + + + diff --git a/plugins/connectors/cloudian/src/com/cloudian/cloudstack/CloudianConnector.java b/plugins/connectors/cloudian/src/com/cloudian/cloudstack/CloudianConnector.java new file mode 100644 index 00000000000..c80e2a5a3d6 --- /dev/null +++ b/plugins/connectors/cloudian/src/com/cloudian/cloudstack/CloudianConnector.java @@ -0,0 +1,23 @@ +// 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 com.cloudian.cloudstack; + +import com.cloud.utils.component.PluggableService; + +public interface CloudianConnector extends PluggableService { +} diff --git a/plugins/connectors/cloudian/src/com/cloudian/cloudstack/CloudianConnectorImpl.java b/plugins/connectors/cloudian/src/com/cloudian/cloudstack/CloudianConnectorImpl.java new file mode 100644 index 00000000000..9447ef62096 --- /dev/null +++ b/plugins/connectors/cloudian/src/com/cloudian/cloudstack/CloudianConnectorImpl.java @@ -0,0 +1,30 @@ +// 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 com.cloudian.cloudstack; + +import com.cloud.utils.component.ComponentLifecycleBase; + +public class CloudianConnectorImpl extends ComponentLifecycleBase implements CloudianConnector { + + @Override + public List> getCommands() { + List> cmdList = new ArrayList>(); + return cmdList; + } + +} diff --git a/plugins/pom.xml b/plugins/pom.xml index 0360e939dc7..8646fd17a9b 100755 --- a/plugins/pom.xml +++ b/plugins/pom.xml @@ -106,6 +106,7 @@ network-elements/vxlan network-elements/globodns database/quota + connectors/cloudian