...
Code Block |
---|
## 어플리케이션 호출 [root@workspace-vm sanse-reactive-link-shortener-sample-app]# curl -XPOST http://localhost:8080/link -H "Content-Type: application/json" -d '{"link":"http://wiki.thesanse.com"}' 2019-05-07 12:30:14.689 INFO 39968 --- [-server-epoll-6] io.lettuce.core.EpollProvider : Starting with epoll library 2019-05-07 12:30:14.691 INFO 39968 --- [-server-epoll-6] io.lettuce.core.KqueueProvider : Starting without optional kqueue library {"shortenedLink":"http://localhost:8080/kRqbye"} |
Code Block |
---|
## 어플리케이션 종료
[root@workspace-vm sanse-reactive-link-shortener-sample-app]# ps -eaf | grep java
root 39968 34937 0 12:29 pts/0 00:00:08 java -jar target/demo-0.0.1-SNAPSHOT.jar
root 41676 34937 0 12:47 pts/0 00:00:00 grep --color=auto java
[root@workspace-vm sanse-reactive-link-shortener-sample-app]# kill -9 39968
[root@workspace-vm sanse-reactive-link-shortener-sample-app]#
[1]+ Killed java -jar target/demo-0.0.1-SNAPSHOT.jar
[root@workspace-vm sanse-reactive-link-shortener-sample-app]#
[root@workspace-vm sanse-reactive-link-shortener-sample-app]# |