diff --git a/axhub-common/src/main/java/io/shinhanlife/axhub/common/integration/GlowIntegrationCall.java.template b/axhub-common/src/main/java/io/shinhanlife/axhub/common/integration/GlowIntegrationCall.java similarity index 100% rename from axhub-common/src/main/java/io/shinhanlife/axhub/common/integration/GlowIntegrationCall.java.template rename to axhub-common/src/main/java/io/shinhanlife/axhub/common/integration/GlowIntegrationCall.java diff --git a/axhub-common/src/main/java/io/shinhanlife/axhub/common/integration/dto/SampleGlowMessage.java.template b/axhub-common/src/main/java/io/shinhanlife/axhub/common/integration/dto/SampleGlowMessage.java similarity index 100% rename from axhub-common/src/main/java/io/shinhanlife/axhub/common/integration/dto/SampleGlowMessage.java.template rename to axhub-common/src/main/java/io/shinhanlife/axhub/common/integration/dto/SampleGlowMessage.java diff --git a/axhub-gateway/src/main/java/io/shinhanlife/axhub/sample/presentation/GlowSampleController.java b/axhub-gateway/src/main/java/io/shinhanlife/axhub/sample/presentation/GlowSampleController.java index c1f6f92..343b58c 100644 --- a/axhub-gateway/src/main/java/io/shinhanlife/axhub/sample/presentation/GlowSampleController.java +++ b/axhub-gateway/src/main/java/io/shinhanlife/axhub/sample/presentation/GlowSampleController.java @@ -1,16 +1,12 @@ package io.shinhanlife.axhub.sample.presentation; -import io.shinhanlife.glow.BaseResponse; -import io.shinhanlife.glow.GlowControllerId; -import io.shinhanlife.glow.GlowLogTarget; -import io.shinhanlife.glow.GlowLogger; -import io.shinhanlife.glow.ResponseUtil; import io.shinhanlife.axhub.sample.presentation.io.AppliSystNtfyPatiRequest; import io.shinhanlife.axhub.sample.presentation.io.AppliSystNtfyPatiResponse; import io.shinhanlife.axhub.sample.presentation.io.StrnTermRequest; import io.shinhanlife.axhub.sample.presentation.io.StrnTermResponse; import io.shinhanlife.axhub.sample.usecase.GlowSampleUseCase; +import io.shinhanlife.glow.*; import lombok.RequiredArgsConstructor; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.PostMapping; @@ -19,6 +15,7 @@ import org.springframework.web.bind.annotation.RestController; @RestController @RequiredArgsConstructor + public class GlowSampleController { @GlowLogTarget({GlowLogTarget.Target.CONSOLE, GlowLogTarget.Target.FILE}) private final GlowLogger log; @@ -30,6 +27,7 @@ public class GlowSampleController { return ResponseUtil.ok(glowSampleUseCase.getStrnTerms(request)); } + @GlowControllerId(value = "insertAp") @PostMapping("/insertAppliSystNtfyPati") public ResponseEntity> insertAppliSystNtfyPati(@RequestBody AppliSystNtfyPatiRequest request) {