/***************************** BEGIN LICENSE BLOCK ***************************

The contents of this file are subject to the Mozilla Public License, v. 2.0.
If a copy of the MPL was not distributed with this file, You can obtain one
at http://mozilla.org/MPL/2.0/.

Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
for the specific language governing rights and limitations under the License.
 
Copyright (C) 2012-2015 Sensia Software LLC. All Rights Reserved.
 
******************************* END LICENSE BLOCK ***************************/

package org.sensorhub.impl.persistence.es;

import org.sensorhub.api.module.IModule;
import org.sensorhub.api.module.IModuleProvider;
import org.sensorhub.api.module.ModuleConfig;

/**
 * <p>
 * Descriptor of ES observation storage module.
 * This is needed for automatic discovery by the ModuleRegistry.
 * </p>
 *
 * @author Mathieu Dhainaut <mathieu.dhainaut@gmail.com>
 * @since 2017
 */
public class ESObsStorageDescriptor implements IModuleProvider{

	@Override
	public String getModuleName() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String getModuleDescription() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String getModuleVersion() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String getProviderName() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Class<? extends IModule<?>> getModuleClass() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Class<? extends ModuleConfig> getModuleConfigClass() {
		// TODO Auto-generated method stub
		return null;
	}

}

@@ -1142,56 +1142,51 @@
 %7B%0A%09%09
-// TODO Auto-generated method stub%0A%09%09return null
+ return %22ElasticSearch Observation Storage%22
 ;%0A%09%7D
@@ -1244,56 +1244,91 @@
 %7B%0A%09%09
-// TODO Auto-generated method stub%0A%09%09return null
+return %22Generic implementation of observation storage using ElasticSearch Database%22
 ;%0A%09%7D
@@ -1380,45 +1380,8 @@
 ) %7B%0A
-%09%09// TODO Auto-generated method stub%0A
 %09%09re
@@ -1377,36 +1377,37 @@
 on() %7B%0A%09%09return 
-null
+%220.5%22
 ;%0A%09%7D%0A%0A%09@Override
@@ -1448,56 +1448,36 @@
 %7B%0A%09%09
-// TODO Auto-generated method stub%0A%09%09return null
+return %22Sensia Software LLC%22
 ;%0A%09%7D
@@ -1550,56 +1550,37 @@
 %7B%0A%09%09
-// TODO Auto-generated method stub%0A%09%09return null
+return ESObsStorageImpl.class
 ;%0A%09%7D
@@ -1661,56 +1661,36 @@
 %7B%0A%09%09
-// TODO Auto-generated method stub%0A%09%09return null
+return ESStorageConfig.class
 ;%0A%09%7D

Implement ES storage descriptor