From b2c7364f9dbeb3dc2385e6d02f5186862f2b7437 Mon Sep 17 00:00:00 2001 From: Hongwei Date: Wed, 9 Apr 2025 14:47:07 +0200 Subject: [PATCH 1/2] refactor/update default connector to rabbitmq_vOct2024 --- src/main/scala/code/snippet/ApiExplorer.scala | 2 +- src/main/webapp/index.html | 4 ---- src/main/webapp/media/css/style.css | 5 +++++ src/main/webapp/message-docs.html | 6 +----- 4 files changed, 7 insertions(+), 10 deletions(-) diff --git a/src/main/scala/code/snippet/ApiExplorer.scala b/src/main/scala/code/snippet/ApiExplorer.scala index d30d3c4c..8233e58f 100644 --- a/src/main/scala/code/snippet/ApiExplorer.scala +++ b/src/main/scala/code/snippet/ApiExplorer.scala @@ -160,7 +160,7 @@ WIP to add comments on resource docs. This code copied from Sofit. logger.info(s"transaction_id in url param is $presetTransactionId") - val presetConnector = S.param("connector").getOrElse("kafka_vSept2018") + val presetConnector = S.param("connector").getOrElse("rabbitmq_vOct2024") logger.info(s"connector in url param is $presetConnector") val queryString = S.queryString diff --git a/src/main/webapp/index.html b/src/main/webapp/index.html index 0dbc439b..a52abc0c 100644 --- a/src/main/webapp/index.html +++ b/src/main/webapp/index.html @@ -154,10 +154,6 @@

API Explorer


-
  • Glossary
  • diff --git a/src/main/webapp/media/css/style.css b/src/main/webapp/media/css/style.css index eea84c8b..b7ab577a 100644 --- a/src/main/webapp/media/css/style.css +++ b/src/main/webapp/media/css/style.css @@ -1812,4 +1812,9 @@ details > summary.api_group_item_details_summary{ width: 240px; margin-top: 10px; overflow: hidden; +} + +.inbound-message, +.outbound-message{ + white-space: pre-wrap; } \ No newline at end of file diff --git a/src/main/webapp/message-docs.html b/src/main/webapp/message-docs.html index 4aeac914..9c053073 100644 --- a/src/main/webapp/message-docs.html +++ b/src/main/webapp/message-docs.html @@ -48,10 +48,6 @@

    Message Doc Index

    Message Docs for: - - @@ -117,7 +113,7 @@

    Message Doc

    Description
    -
    Kafka/Akka
    +
    Docs
    Outbound
    Inbound
    From 96af333564f2b09e0f8f102a66494f20e264e3c0 Mon Sep 17 00:00:00 2001 From: Hongwei Date: Wed, 9 Apr 2025 15:20:21 +0200 Subject: [PATCH 2/2] refactor/add message documentation link for rabbitmq_vOct2024 --- src/main/webapp/index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/webapp/index.html b/src/main/webapp/index.html index a52abc0c..0848ce4e 100644 --- a/src/main/webapp/index.html +++ b/src/main/webapp/index.html @@ -154,6 +154,10 @@

    API Explorer


    +
  • Glossary