package example;

import com.github.seratch.jslack.lightning.App;
import com.github.seratch.jslack.lightning.response.Response;
import com.github.seratch.jslack.lightning.servlet.SlackAppServlet;

import javax.servlet.annotation.WebServlet;
import java.io.IOException;

@WebServlet("/slack/events")
public class QuarkusSlackApp extends SlackAppServlet {

    public QuarkusSlackApp() throws IOException {
        super(initSlackApp());
    }

    public QuarkusSlackApp(App app) {
        super(app);
    }

    private static App initSlackApp() throws IOException {
        // src/main/appConfig.json
        App app = new App(AppConfigLoader.load());
        app.command("/hello", (ctx, req) -> {
            return Response.ok("Thanks!");
        });
        app.start();
        return app;
    }
}

@@ -552,32 +552,157 @@
 s IOException %7B%0A
+//        // export SLACK_BOT_TOKEN=xoxb-xxx-yyy%0A//        // export SLACK_SIGNING_SECRET=zzz%0A//        App app = new App();%0A
         // src/m
@@ -705,16 +705,26 @@
 rc/main/
+resources/
 appConfi

Fix Quarkus example