2019-01-01ãã1å¹´éã®è¨äºä¸è¦§
Spring Boot2ç³»ã«ãããã¨ãã«ãã£ããã¨ãã¾ã¨ãããã¨æãã¾ããï¼é¢é£è¨äºï¼ ä»åã¯ãFlywayã®è©±ã§ãããã¼ã¸ã§ã³ã¢ããå¾ã®Spring Bootã®ãã¼ã¸ã§ã³ã¯2.0.9.RELEASEã§ãã2.2対å¿ã¯ã¾ããã¤ãæ¸ãã¾ãã Flywayã¨Spring Boot Flywayã¯ããã¼ã¿ãã¼ã¹ãã¤â¦
Spring Boot2ç³»ã«ãããã¨ãã«ãã£ããã¨ãã¾ã¨ãããã¨æãã¾ããé¢é£è¨äº ä»åã¯Gradleã®è©±ã§ããUpgrading your build from Gradle 4.x to 5.0ãåèã«ä½æ¥ãã¾ããã ããã ããããªãã£ãã¨æãã®ã§ãæãåºããã追è¨ãã¾ããããGradle 6åºã¦ãããã§â¦
Spring Cloud Contractã触ã£ã¦ã¿ããã¨æã£ããã£ããã¯ãä¼ç¤¾ã§ã® Swaggerã§APIä»æ§æ¸ãæ¸ã -> ã¬ãã¥ã¼ -> å®è£ ã¨ããéçºããã¼åé¡ãæãã¦ããããã§ãã ãã®ããã¼ã«ã¯ 1.å®è£ ã¨APIä»æ§æ¸ã§ä¹é¢ãã¦ãã¾ãæãããã ã 2.ãã¡ãã¡APIä»æ§æ¸ãæ¸ãâ¦
ããæ°å¹´ã§ä½åãã¶ã¡å½ãã£ã¦ããã¨ã解決ããã®ã§åå¿é²ã¨ãã¦ãå 容ã¯ã¿ã¤ãã«ã®éãã§ãã @SpringBootTest ã使ã£ã¦ãã¹ãæ¸ãã°è¨å®ãã¡ã¤ã«ãèªã¿è¾¼ãã§ãããã®ã§æ©ãå¿ è¦ã¯ãªããã§ããã©ã大人ã®äºæ ã§ãããããã¨ãã§ããªãå ´åãããã¾ããããâ¦
ãã¹ãæ¸ãã¦ã¾ããï¼ç§ã¯å¥½ãã§ãï¼å«ããªäººã¯å¤ãã¿ããã§ããã©... Springã®ãã¹ãé¨åã®ãªãã¡ã¬ã³ã¹èªãã§å¿ããªããã¡ã«ã¾ã¨ãããç²¾ç¥ãåããã®ã§æ¸ãã¾ãã ä»åã¯ã@DataJpaTestã¨ããã¬ãã¸ããªã®ãã¹ããæ¸ãããã®ã¢ããã¼ã·ã§ã³ãç´¹ä»ãã¾ããâ¦
第3ç« Javaããã©ã¼ãã³ã¹ã®ãã¼ã«ããã¯ã¹ ããã©ã¼ãã³ã¹åæã¯å¯è¦åã¨è¡¨è£ä¸ä½ã§ããã¢ããªã±ã¼ã·ã§ã³ã®å é¨ãããã®å®è¡ç°å¢ã§èµ·ãã£ã¦ãããã¨ãç¥ãã®ãããã©ã¼ãã³ã¹åæã§ãå¯è¦åã«ã¯ãã¼ã«ãä¸å¯æ¬ ã§ãã ãªãã¬ã¼ãã£ã³ã°ã·ã¹ãã ä»å±ã®ãã¼ã«â¦
第ï¼ç« ã¬ãã¼ã¸ã³ã¬ã¯ã·ã§ã³ã®åºç¤ ã¬ãã¼ã¸ã³ã¬ã¯ã·ã§ã³ã®æ¦è¦ Javaè¨èªã®æãé åçãªç¹å¾´ã®1ã¤ã«ãéçºè ããªãã¸ã§ã¯ãã®ã©ã¤ããµã¤ã¯ã«ã管çããªãã¦ãããã¨ããç¹ãããã¾ããã¬ãã¼ã¸ã³ã¬ã¯ã·ã§ã³ã¨ã¯åºæ¬çã«ã使ãããªããªã£ããªãã¸ã§ã¯ããæ¢â¦
第7ç« ãã¼ãã®ãã¹ããã©ã¯ãã£ã¹ ä¸è¬çã«ã¯ããªãã¸ã§ã¯ããçæããåæ°ãæ¸ãããå¿ è¦ãªããªã£ããããã«å»æ£ãã¹ãã¨ããã«ã¼ã«ããããä¸æ¹ãåã種é¡ã®ãªãã¸ã§ã¯ãããªãã©ãçæããã®ã¯å ¨ä½ã¨ãã¦ã®ããã©ã¼ãã³ã¹ã®æªåã«ç¹ããã¾ãããã®ãããªâ¦
第2ç« ããã©ã¼ãã³ã¹ãã¹ãã®ã¢ããã¼ã å®ã¢ããªã±ã¼ã·ã§ã³ã§ãã¹ããã ããã©ã¼ãã³ã¹ãã¹ãã«å©ç¨ã§ããã³ã¼ãã¯ããã¤ã¯ããã³ããã¼ã¯ããã¯ããã³ããã¼ã¯ãã¡ã¾ãã³ããã¼ã¯ã®ï¼ç¨®é¡ã«ã«ãã´ã©ã¤ãºã§ããã ãã¤ã¯ããã³ããã¼ã¯ ããã¯ãã¨ã¦ãå°â¦
ä»äºã§Micrometer使ãæ©ä¼ãåºæ¥ãã®ã§è§¦ã£ã¦ã¿ã¾ããã Micrometerã¨ã¯ï¼ Micrometerã¨ã¯ãPivotal社ãä½ã£ã¦ããJVMãã¼ã¹ã®ã¢ããªã±ã¼ã·ã§ã³ã®ããã®ã¡ããªã¯ã¹ã©ã¤ãã©ãªã§ããã¡ããªã¯ã¹ã®åéã¨ã¢ãã¿ãªã³ã°ã·ã¹ãã ã¸ã®éç¥ãè¡ãã¾ãã ã¡ããªã¯ã¹ã®â¦
AssertJ 3.12.0ã2019/2/14ã«ãªãªã¼ã¹ããã¾ãããããã«ä¼´ã£ã¦ã¦ã¼ã¶ã¬ã¤ãããªãã¥ã¼ã¢ã«ããã¾ããã æ°æ©è½ããã¤ã試ãã¦ã¿ã¾ããã ãã¹ããããªãã¸ã§ã¯ãã®æ¤è¨¼ AbstractObjectAssert#usingRecursiveComparison() ãå¼ã¶ãã¨ã§ãã¹ããããªãã¸ã§ã¯â¦
ã¿ãªããã¯ãDBã¢ã¯ã»ã¹ã®ãã¹ãã¯ã©ãæ¸ãã¦ãã¾ããï¼DBãã¢ãã¯ã«ãã¦ãã¾ããï¼å®éã«DBãç¨æãã¦ãã¹ããã¦ãã¾ããï¼ ç§ã¯ãã ãããH2ãç¨ãã¦ãã¹ããæ¸ãã¦ãã¾ããH2ã使ã£ã¦ããã¨DDLåé¡ã«ç´é¢ãã¦ãã¾ãã¾ããæ¬çªã§ã¯MySQLãPostgresã使ã£ã¦â¦
ã¿ã¤ãã«ã®ã¨ããããWeb API The Good Partsããèªãã§ã®ã¾ã¨ãã§ãã 第ï¼ç« Web APIã¨ã¯ä½ã ãã®æ¬ã§ããWeb APIã¯ãHTTPãããã³ã«ãå©ç¨ãã¦ãããã¯ã¼ã¯è¶ãã«å¼ã³åºãAPIã Web APIãç¾ããè¨è¨ããéè¦æ§Web APIãç¾ããè¨è¨ããæ¹ãè¯ãçç±ã¯4ã¤â¦
ã³ã¤ãã¼ã®ããã¯ã¨ã³ããã¼ã ã§Tech Dayãåéå¬ãã¾ããï¼ Tech Dayã¨ã¯ããæ¥ã ã®ããã¸ã§ã¯ãã«ãªã½ã¼ã¹ãåããã¦ãæè¡ç²å¾ããã£ã¬ã³ã¸ãã§ããç¥ç好å¥å¿ãæºããã¦ããªããã¨æãããªã¼ãã¼ãï¼åæã«ï¼ä¼ç»ãã¦ãããã¨ã¦ããããããæ¥ã§ãã2é±â¦