ApiDiscoveryService: Move refactor, interface should be in plugins and not in cloud-api
Signed-off-by: Rohit Yadav <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/c6d9877d Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/c6d9877d Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/c6d9877d Branch: refs/heads/api_limit Commit: c6d9877d6445d36e2677c7b4ac7deec6a668a053 Parents: 1b8e172 Author: Rohit Yadav <[email protected]> Authored: Thu Jan 10 10:59:13 2013 -0800 Committer: Rohit Yadav <[email protected]> Committed: Thu Jan 10 10:59:38 2013 -0800 ---------------------------------------------------------------------- .../cloudstack/discovery/ApiDiscoveryService.java | 25 --------------- .../cloudstack/discovery/ApiDiscoveryService.java | 25 +++++++++++++++ 2 files changed, 25 insertions(+), 25 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/c6d9877d/api/src/org/apache/cloudstack/discovery/ApiDiscoveryService.java ---------------------------------------------------------------------- diff --git a/api/src/org/apache/cloudstack/discovery/ApiDiscoveryService.java b/api/src/org/apache/cloudstack/discovery/ApiDiscoveryService.java deleted file mode 100644 index 96ea3ee..0000000 --- a/api/src/org/apache/cloudstack/discovery/ApiDiscoveryService.java +++ /dev/null @@ -1,25 +0,0 @@ -// 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.discovery; - -import com.cloud.utils.component.PluggableService; -import org.apache.cloudstack.api.BaseResponse; -import org.apache.cloudstack.api.response.ListResponse; - -public interface ApiDiscoveryService extends PluggableService { - ListResponse<? extends BaseResponse> listApis(); -} http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/c6d9877d/plugins/api/discovery/src/org/apache/cloudstack/discovery/ApiDiscoveryService.java ---------------------------------------------------------------------- diff --git a/plugins/api/discovery/src/org/apache/cloudstack/discovery/ApiDiscoveryService.java b/plugins/api/discovery/src/org/apache/cloudstack/discovery/ApiDiscoveryService.java new file mode 100644 index 0000000..96ea3ee --- /dev/null +++ b/plugins/api/discovery/src/org/apache/cloudstack/discovery/ApiDiscoveryService.java @@ -0,0 +1,25 @@ +// 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.discovery; + +import com.cloud.utils.component.PluggableService; +import org.apache.cloudstack.api.BaseResponse; +import org.apache.cloudstack.api.response.ListResponse; + +public interface ApiDiscoveryService extends PluggableService { + ListResponse<? extends BaseResponse> listApis(); +}
