From 049e1f865ae91b6448e274418a13693cbddf24a2 Mon Sep 17 00:00:00 2001 From: arisnguyenit97 Date: Tue, 3 Sep 2024 22:48:12 +0700 Subject: [PATCH] :recycle: refactor: refactor codebase #2 --- libs/clarify4j-v1.0.0.jar | Bin 17755 -> 19827 bytes .../app/controllers/CommonController.java | 2 ++ 2 files changed, 2 insertions(+) diff --git a/libs/clarify4j-v1.0.0.jar b/libs/clarify4j-v1.0.0.jar index b4d93cb128db54b66e4da6e5f0dbda97238bbd41..0b292bd351fb75e47f53ce672918a78b4d2b55a1 100644 GIT binary patch delta 3130 zcmZuz2{@E%8~$c2X)MPwwrR#P#=bAv$wVO%vSg@C$Qq|CDa&MRS<>M{99xzsgt9b_ zC7hBZdn9t=KXp*{B8mR*`}B8y|M}nR`ri9`@9%z|=Y5~|xt{ACPeiT$isG=gU}DAs z02>>Cs!!#RMnm&{3wWjz;ki@+n!%eAL{N-}C3TYnUhPHcK~Q@bg=gVG)k`>WC|(^? zV*!8_3;<|@h3b5;7F0p8flGSKG;(l|mzf9E-Q$88)!*IEFDupM@L zu(2es)EdLW%Co0LC3a9uphPg0(uPrV-BaO$9qP&Uer2gf${r*p3JzUWPES^}C!L3?M5ubmirgNEs zsf!Z-yO@j5vuY1{`Qg?or<`ajEyQHj)y!&F8D`CM{_h;v{C~6R?S8)+2iC`yc_ufj zp2ED7j!osCbay&3T7E*{tgKkCnXZY-*CLf@me-oO&5!EbiM->HHERwdB=3pAuW%NH@+2H10X$G;!4_aBRw%cIgS*5s^F* z@6L}Vz3*}i73r6>a_-C>X<#ojYtIj^xi&YPh;z4SUzVbO>+Md6Ty^Vjq5 zE|z-hoGA9Gv3%hgL90nEk7Sv5D?RDGWzwm5sg&VruDMp{H%flm_U*7xw`qmJl%V7# zoj#eXO;rzWZ$>S}?E57&qC*jT(zIq&qdBI9WMzzF#|cp7%>o*VHL$cdGD6|^45`5y z3>hB=Q|o6OI^9men~~(fDbIM)?fn_M&d*_{-szn!Zd*Qa`c7lUa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nk81P=t~k{3tJF{{XNHN7(=X diff --git a/src/main/java/com/suit4j/app/controllers/CommonController.java b/src/main/java/com/suit4j/app/controllers/CommonController.java index ec6c478..99a8c89 100644 --- a/src/main/java/com/suit4j/app/controllers/CommonController.java +++ b/src/main/java/com/suit4j/app/controllers/CommonController.java @@ -2,6 +2,7 @@ import com.suit4j.app.services.CommonService; import org.clarify4j.common.annotation.ExecutorSince; +import org.clarify4j.common.annotation.SagaAuthHeader; import org.clarify4j.common.annotation.SagaHeader; import org.force4j.common.Force4j; import org.springframework.beans.factory.annotation.Autowired; @@ -36,6 +37,7 @@ public CommonController(CommonService commonService) { } @SagaHeader + @SagaAuthHeader(value = "fixed-access-token", disabled = true) @ExecutorSince @PostMapping("/health") public @ResponseBody ResponseEntity inform(@Valid @RequestBody Object request) {