Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

https://docs.microsoft.com/ko-kr/azure/developer/java/spring-framework/configure-spring-boot-initializer-java-app-with-redis-cache

https://docs.microsoft.com/ko-kr/azure/azure-cache-for-redis/cache-java-get-started

Info

Table of Contents

01. 실행환경 청사진

Image Added

02. 개요

03. 사전조건

Info

04. Create Azure Cache for Redis

Image Added

Image Added

Image Added

Image Added

Image Added

05. Spring Boot Application 준비

Info
titleGithub Project

https://github.com/Sanses/springboot-reactive-shorturl-webui

05-01. Git Clone

Code Block
C:\workspace$ git clone https://github.com/Sanses/springboot-reactive-shorturl-webui.git
Cloning into 'reactive-shorturl-webui'...
remote: Enumerating objects: 43, done.
remote: Counting objects: 100% (43/43), done.
remote: Compressing objects: 100% (29/29), done.
remote: Total 43 (delta 2), reused 39 (delta 1), pack-reused 0
Unpacking objects: 100% (43/43), done.
C:\workspace$ cd springboot-reactive-shorturl-webui

05-02. reactive-shorturl-webui Application  소개

Code Block
C:\workspace\springboot-reactive-shorturl-webui$ 
C:\workspace\springboot-reactive-shorturl-webui>mvnw clean package
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------< com.sansae:shorturl >-------------------------
[INFO] Building shorturl 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
~~~~~~~~~~~~~~~~~~~~ 중략 ~~~~~~~~~~~~~~~~~~
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  23.120 s
[INFO] Finished at: 2021-01-02T11:23:04+09:00
[INFO] ------------------------------------------------------------------------

C:\workspace\springboot-reactive-shorturl-webui>java -jar target/shorturl-0.0.1-SNAPSHOT.jar
2021-01-02 11:24:43.050  INFO 356 --- [           main] o.s.b.web.embedded.netty.NettyWebServer  : Netty started on port(s): 8080
2021-01-02 11:24:43.192  INFO 356 --- [           main] com.sansae.shorturl.ShorturlApplication  : Started ShorturlApplication in 10.698 seconds (JVM running for 12.343)

Image Added

05-03. Code 검토

Info
titleGithub Project

https://github.com/Sanses/springboot-reactive-shorturl-webui

06. Deploy Azure WebApp

07. IntelliJ 에서 Azure Redis Caches 확인

Image Added