uich / clova-cek-sdk-java

SDK of the Clova CEK for Java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clova CEK SDK Java

Build Status Maven Central javadoc.io

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.0.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.0.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

About

SDK of the Clova CEK for Java

License:Apache License 2.0


Languages

Language:Java 100.0%