This repository contains Java libraries for development of Clova extensions using the Clova Extensions Kit(CEK).
clova-extension-boot-web is a library for development using Spring Boot.
Develop using this library.
Create a Spring Boot project to develop a generic web application.
This can be created easily using Spring Initializr.
Install clova-extension-boot-web.
Add as a dependency to pom.xml
as follows.
<dependency>
<groupId>com.linecorp.clova</groupId>
<artifactId>clova-extension-boot-web</artifactId>
<version>1.2.0</version>
</dependency>
Add as a dependency to build.gradle
as follows.
dependencies {
compile('com.linecorp.clova:clova-extension-boot-web:1.2.0')
}
Prepare a Handler that handles CEK requests.
For more information on Handler, see Sample Extensions.
e.g.) echo
's Handler
No Controller is required.
$ ./mvnw spring-boot:run