Clova CEK SDK Java
This repository contains Java libraries for development of Clova extensions using the Clova Extensions Kit(CEK).
How to Develop
clova-extension-boot-web is a library for development using Spring Boot.
Develop using this library.
Set Up
Project Creation
Create a Spring Boot project to develop a generic web application.
This can be created easily using Spring Initializr.
Installation
Install clova-extension-boot-web.
Installing with Maven
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>
Installing with Gradle
Add as a dependency to build.gradle
as follows.
dependencies {
compile('com.linecorp.clova:clova-extension-boot-web:1.2.0')
}
Develop
Prepare a Handler that handles CEK requests.
For more information on Handler, see Sample Extensions.
e.g.) echo
's Handler
No Controller is required.
Run
$ ./mvnw spring-boot:run