Skip to content

WB3Tech-Microgrid/hyphae-apis-log

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/hyphae/apis-bom.git
$ cd apis-bom
$ mvn install
$ cd ../
$ git clone https://github.com/hyphae/apis-common.git
$ cd apis-common
$ mvn install
$ cd ../
$ git cone https://github.com/hyphae/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)

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 90.2%
  • Shell 6.9%
  • Groovy 2.8%
  • Makefile 0.1%