package org.sirpigal.slack.init;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;

/**
 * @author lperumalm
 *
 */
@EnableAutoConfiguration
public class SirpigalSlackApplication {
	/**
	 * Entry point of the application. Run this method to start the slack
	 * applications
	 * 
	 * @param args
	 */
	public static void main(String[] args) {
		SpringApplication.run(SirpigalSlackApplication.class, args);
	}

}

@@ -148,16 +148,142 @@
 uration;
+%0Aimport org.springframework.web.bind.annotation.RequestMapping;%0Aimport org.springframework.web.bind.annotation.RestController;
 %0A%0A/**%0A *
@@ -308,16 +308,32 @@
 %0A *%0A */%0A
+@RestController%0A
 @EnableA
@@ -615,12 +615,105 @@
 rgs);%0A%09%7D
+%0A%09%0A%09@RequestMapping(%22/%22)%0A%09public String index() %7B%0A%09%09return %22Greetings from Sirpigal Bot!%22;%0A%09%7D
 %0A%0A%7D%0A

Test root added