From 97e4504218942899997bc0ddc38f7d7698091fba Mon Sep 17 00:00:00 2001 From: Takayuki Uchida <157561926+tisuchida@users.noreply.github.com> Date: Wed, 8 May 2024 21:54:31 +0900 Subject: [PATCH 1/3] =?UTF-8?q?=E3=81=84=E3=81=8F=E3=81=A4=E3=81=8B?= =?UTF-8?q?=E3=81=AEAPI=E3=82=92=E5=85=AC=E9=96=8BAPI=E5=8C=96=E3=81=97?= =?UTF-8?q?=E3=81=BE=E3=81=97=E3=81=9F=20(#43)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: 公開APIの追加 * refactor: インスペクション警告の対応 --- .../integration/jaxrs/jackson/Jackson2BodyConverter.java | 2 ++ .../jaxrs/jackson/JacksonBodyConverterSupport.java | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/nablarch-jackson-adaptor/src/main/java/nablarch/integration/jaxrs/jackson/Jackson2BodyConverter.java b/nablarch-jackson-adaptor/src/main/java/nablarch/integration/jaxrs/jackson/Jackson2BodyConverter.java index b4bc94e..99e06f7 100644 --- a/nablarch-jackson-adaptor/src/main/java/nablarch/integration/jaxrs/jackson/Jackson2BodyConverter.java +++ b/nablarch-jackson-adaptor/src/main/java/nablarch/integration/jaxrs/jackson/Jackson2BodyConverter.java @@ -5,6 +5,7 @@ import com.fasterxml.jackson.databind.ObjectMapper; +import nablarch.core.util.annotation.Published; import nablarch.fw.jaxrs.BodyConverter; /** @@ -12,6 +13,7 @@ * * @author Kiyohito Itoh */ +@Published(tag = "architect") public class Jackson2BodyConverter extends JacksonBodyConverterSupport { /** {@link ObjectMapper} */ diff --git a/nablarch-jackson-adaptor/src/main/java/nablarch/integration/jaxrs/jackson/JacksonBodyConverterSupport.java b/nablarch-jackson-adaptor/src/main/java/nablarch/integration/jaxrs/jackson/JacksonBodyConverterSupport.java index a1309b9..b75ee19 100644 --- a/nablarch-jackson-adaptor/src/main/java/nablarch/integration/jaxrs/jackson/JacksonBodyConverterSupport.java +++ b/nablarch-jackson-adaptor/src/main/java/nablarch/integration/jaxrs/jackson/JacksonBodyConverterSupport.java @@ -2,6 +2,7 @@ import nablarch.core.log.Logger; import nablarch.core.log.LoggerManager; +import nablarch.core.util.annotation.Published; import nablarch.fw.ExecutionContext; import nablarch.fw.jaxrs.BodyConverterSupport; import nablarch.fw.jaxrs.JaxRsContext; @@ -16,12 +17,13 @@ /** * Jackson用の{@link nablarch.fw.jaxrs.BodyConverter}の実装をサポートするクラス。 - * + *

* このConverterは、メディアタイプが{@code application/json}で始まっている場合に * リクエスト/レスポンスを変換する。(大文字、小文字は問わない) * * @author Kiyohito Itoh */ +@Published(tag = "architect") public abstract class JacksonBodyConverterSupport extends BodyConverterSupport { /** ロガー */ From 1a481cbb5213dc0d88b1ef2d300281c7c243f2af Mon Sep 17 00:00:00 2001 From: Takayuki Uchida <157561926+tisuchida@users.noreply.github.com> Date: Mon, 20 May 2024 15:28:24 +0900 Subject: [PATCH 2/3] =?UTF-8?q?refactor:=20=E3=82=B5=E3=83=96=E3=83=A2?= =?UTF-8?q?=E3=82=B8=E3=83=A5=E3=83=BC=E3=83=AB=E3=81=AE=E3=83=90=E3=83=BC?= =?UTF-8?q?=E3=82=B8=E3=83=A7=E3=83=B3=E3=82=92=E8=A6=AA=E3=81=AB=E8=BF=BD?= =?UTF-8?q?=E9=9A=8F=E3=81=95=E3=81=9B=E3=82=8B=20(#45)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nablarch-jackson-adaptor/pom.xml | 2 -- nablarch-jersey-adaptor/pom.xml | 2 -- nablarch-resteasy-adaptor/pom.xml | 2 -- 3 files changed, 6 deletions(-) diff --git a/nablarch-jackson-adaptor/pom.xml b/nablarch-jackson-adaptor/pom.xml index c1e89a2..2c78802 100644 --- a/nablarch-jackson-adaptor/pom.xml +++ b/nablarch-jackson-adaptor/pom.xml @@ -3,9 +3,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 4.0.0 - com.nablarch.integration nablarch-jackson-adaptor - 5-NEXT-SNAPSHOT com.nablarch.integration diff --git a/nablarch-jersey-adaptor/pom.xml b/nablarch-jersey-adaptor/pom.xml index 4f99c4b..5666ac1 100644 --- a/nablarch-jersey-adaptor/pom.xml +++ b/nablarch-jersey-adaptor/pom.xml @@ -2,9 +2,7 @@ 4.0.0 - com.nablarch.integration nablarch-jersey-adaptor - 5-NEXT-SNAPSHOT com.nablarch.integration diff --git a/nablarch-resteasy-adaptor/pom.xml b/nablarch-resteasy-adaptor/pom.xml index fc75746..9f9c942 100644 --- a/nablarch-resteasy-adaptor/pom.xml +++ b/nablarch-resteasy-adaptor/pom.xml @@ -2,9 +2,7 @@ 4.0.0 - com.nablarch.integration nablarch-resteasy-adaptor - 5-NEXT-SNAPSHOT com.nablarch.integration From c9d5b11b291526cc4ebd9fd0d850172003b67674 Mon Sep 17 00:00:00 2001 From: Takayuki Uchida Date: Tue, 17 Sep 2024 15:42:12 +0900 Subject: [PATCH 3/3] =?UTF-8?q?=E3=83=AA=E3=83=AA=E3=83=BC=E3=82=B9?= =?UTF-8?q?=E3=83=90=E3=83=BC=E3=82=B8=E3=83=A7=E3=83=B3=E3=81=AE=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nablarch-jackson-adaptor/pom.xml | 2 +- nablarch-jersey-adaptor/pom.xml | 4 ++-- nablarch-resteasy-adaptor/pom.xml | 4 ++-- pom.xml | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/nablarch-jackson-adaptor/pom.xml b/nablarch-jackson-adaptor/pom.xml index 2c78802..c960e80 100644 --- a/nablarch-jackson-adaptor/pom.xml +++ b/nablarch-jackson-adaptor/pom.xml @@ -8,7 +8,7 @@ com.nablarch.integration nablarch-jaxrs-adaptor - 5-NEXT-SNAPSHOT + 1.1.0 diff --git a/nablarch-jersey-adaptor/pom.xml b/nablarch-jersey-adaptor/pom.xml index 5666ac1..5cee652 100644 --- a/nablarch-jersey-adaptor/pom.xml +++ b/nablarch-jersey-adaptor/pom.xml @@ -7,14 +7,14 @@ com.nablarch.integration nablarch-jaxrs-adaptor - 5-NEXT-SNAPSHOT + 1.1.0 com.nablarch.integration nablarch-jackson-adaptor - 5-NEXT-SNAPSHOT + 1.1.0 com.fasterxml.jackson.core diff --git a/nablarch-resteasy-adaptor/pom.xml b/nablarch-resteasy-adaptor/pom.xml index 9f9c942..b949eb7 100644 --- a/nablarch-resteasy-adaptor/pom.xml +++ b/nablarch-resteasy-adaptor/pom.xml @@ -7,14 +7,14 @@ com.nablarch.integration nablarch-jaxrs-adaptor - 5-NEXT-SNAPSHOT + 1.1.0 com.nablarch.integration nablarch-jackson-adaptor - 5-NEXT-SNAPSHOT + 1.1.0 com.fasterxml.jackson.core diff --git a/pom.xml b/pom.xml index 196962b..3aff738 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.nablarch.integration nablarch-jaxrs-adaptor - 5-NEXT-SNAPSHOT + 1.1.0 pom @@ -18,7 +18,7 @@ com.nablarch nablarch-parent - 5-NEXT-SNAPSHOT + 5u25