여러개의 플랫폼 연동 서비스를 제공하기 위한 이벤트 수신 및 전달 전용 브릿지
application.dat
파일이 존재해야 합니다.이 프로젝트는 Maven 혹은 gradle 프로젝트가 아니기 때문에 dependency를 등록할 수 가 없습니다. buildpath를 통해 라이브러리를 등록하세요.
서비스명 | Event 포트 |
---|---|
Kakao | 2222 |
kt | 2224 |
추후예정 | |
UPLUS | 추후예정 |
LGE | 추후예정 |
SAMSUNG | 추후예정 |
AMAZON | 추후예정 |
APPLE | 추후예정 |
/service/bridge
에 export한 bridge.jar
파일과 application.dat
파일을 업로드 합니다.서비스를 등록합니다.
$ cd /etc/systemd/system
$ sudo vi bridge.service
[Unit]
Description=Event Bridge
[Service]
Type=simple
User=valley
ExecStart=/usr/bin/java -jar /service/bridge/bridge.jar
WorkingDirectory=/service
[Install]
WantedBy=multi-user.target
서비스 데몬을 새로고침 합니다.
$ sudo systemctl daemon-reload
sh
$ sudo systemctl start bridge.service