Home

Awesome

apis-log

Introduction

apis-log is software for receiving data from apis-main by multicast via a communication line and storing that information in a database in JSON format.

キャプチャ

Installation

Here is how to install apis-log individually.
git, maven, groovy and JDK must be installed in advance.

$ git clone https://github.com/SonyCSL/apis-bom.git
$ cd apis-bom
$ mvn install
$ cd ../
$ git clone https://github.com/SonyCSL/apis-common.git
$ cd apis-common
$ mvn install
$ cd ../
$ git cone https://github.com/SonyCSL/apis-log.git
$ cd apis-log
$ mvn package

Running

Here is how to run apis-log individually.

$ cd exe
$ bash start.sh

Stopping

Here is how to stop apis-log individually.

$ cd exe
$ bash stop.sh

Parameter Setting

Set the following parameters in the exe folder as necessary.
Refer to "Chapter 6, Configuration Files" in the apis-log_specification for more information.

 config.json
   - communityId  (default : oss_communityId)
   - clusterId  (default : oss_clusterId)

 start.sh
   -conf   (default : ./config.json)
   -cluster-host   (default : 127.0.0.1)

<a id="anchor1"></a>

Documentation

apis-mian_log_specification(EN)
apis-mian_log_specification(JP)

API Specification

An example of creating an API specification using the Javadoc command is shown below.
(For Ubuntu18.04)

$ export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64/  
$ cd apis-log  
$ mvn javadoc:javadoc  

The API specification is created in apis-log/target/site/apidocs/.

License

Apache License Version 2.0

Notice

Notice