An open API service indexing awesome lists of open source software.

https://github.com/line/clova-cek-sdk-java

SDK of the Clova CEK for Java
https://github.com/line/clova-cek-sdk-java

cek-sdk clova clova-extensions-kit java line

Last synced: 6 months ago
JSON representation

SDK of the Clova CEK for Java

Awesome Lists containing this project

README

          

# Clova CEK SDK Java

[![Build Status](https://travis-ci.org/line/clova-cek-sdk-java.svg?branch=master)](https://travis-ci.org/line/clova-cek-sdk-java)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.linecorp.clova/clova-extension-boot-web/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.linecorp.clova/clova-extension-boot-web)
[![Javadocs](https://www.javadoc.io/badge/com.linecorp.clova/clova-extension-boot-web.svg)](https://www.javadoc.io/doc/com.linecorp.clova/clova-extension-boot-web)

This repository contains Java libraries for development of Clova extensions using the Clova Extensions Kit(CEK).

## How to Develop

[clova-extension-boot-web](clova-extension-boot-web) is a library for development using [Spring Boot](https://spring.io/projects/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](https://start.spring.io/).

#### Installation

Install [clova-extension-boot-web](clova-extension-boot-web).

#### Installing with Maven

Add as a dependency to `pom.xml` as follows.

```xml

com.linecorp.clova
clova-extension-boot-web
1.2.0

```

#### Installing with Gradle

Add as a dependency to `build.gradle` as follows.

```groovy
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](/samples).
e.g.) `echo`'s [Handler](/samples/echo/src/main/java/com/linecorp/clova/extension/sample/hello/EchoHandler.java)
No Controller is required.

### Run

```bash
$ ./mvnw spring-boot:run
```