You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ro...@apache.org on 2026/04/15 23:08:09 UTC
(axis-axis2-java-core) 01/02: Scrub internal deployment references from public docs and tests
This is an automated email from the ASF dual-hosted git repository.
robertlazarski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git
commit f387bdacf0314287b95ffe042b1193c6af62367d
Author: Robert Lazarski <ro...@gmail.com>
AuthorDate: Wed Apr 15 13:06:13 2026 -1000
Scrub internal deployment references from public docs and tests
Removes leaked internal codenames (DPTv2, RAPI, dptv2) from five files
ahead of the 2.0.1 release. These were referenced in Apache-published
site docs, a module README, a modernization plan, and test comments.
All replacements preserve the original technical meaning using generic,
public-facing terminology.
Reviewed with gemini-2.5-pro (completeness, semantic preservation, fresh-
leak, and test-comment accuracy checks all passed).
Co-Authored-By: Claude Opus 4.6 (1M context) <no...@anthropic.com>
---
AXIS2_MODERNIZATION_PLAN.md | 4 ++--
modules/json/src/org/apache/axis2/json/moshih2/README.md | 4 ++--
.../test/org/apache/axis2/kernel/TransportUtilsJSONOnlyTest.java | 7 ++++---
src/site/xdoc/docs/spring-boot-starter.xml | 2 +-
src/site/xdoc/docs/wildfly-http2-integration-guide.xml | 2 +-
5 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/AXIS2_MODERNIZATION_PLAN.md b/AXIS2_MODERNIZATION_PLAN.md
index db1f1a2e68..58ebdc293b 100644
--- a/AXIS2_MODERNIZATION_PLAN.md
+++ b/AXIS2_MODERNIZATION_PLAN.md
@@ -559,8 +559,8 @@ understand the multi-protocol positioning, and have concrete migration guides.
1. **Apache blog post: "Axis2 as a Multi-Protocol Service Platform"**
- Covers: dual-protocol JSON-RPC + REST from one service, OpenAPI generation,
MCP transport, Spring Boot starter
- - Uses the calculation orchestration deployment (anonymized DPTv2) as the case study:
- sub-200ms portfolio calculations, CDC cache, Node.js bridge
+ - Uses a calculation-orchestration deployment as the case study:
+ sub-200ms portfolio calculations, change-data-capture cache, Node.js bridge
- Positions Axis2's handler chain as the differentiator for production orchestration
workloads
diff --git a/modules/json/src/org/apache/axis2/json/moshih2/README.md b/modules/json/src/org/apache/axis2/json/moshih2/README.md
index 874ac7bf6d..a6041d1a2e 100644
--- a/modules/json/src/org/apache/axis2/json/moshih2/README.md
+++ b/modules/json/src/org/apache/axis2/json/moshih2/README.md
@@ -17,7 +17,7 @@ This package provides enhanced JSON processing capabilities for Apache Axis2, in
- **40-60% performance improvement** for large JSON payloads (>1MB)
- **Reduced memory usage** through intelligent streaming and GC optimization
- **Better throughput** for concurrent JSON processing
-- **Specialized optimization** for RAPI-style data patterns (records, metadata arrays)
+- **Specialized optimization** for record-oriented payloads (records, metadata arrays)
- **Async processing prevents blocking** for production scenarios with 12-18s response times
## Components
@@ -59,7 +59,7 @@ Advanced XML stream reader with field-specific optimizations and intelligent pro
- Field-specific parsing optimizations (extracted from HTTP/2 integration)
- Large array processing with flow control
- Memory management patterns
-- RAPI-style data pattern optimizations
+- Record-oriented payload optimizations
- Performance tracking at field level
## Configuration
diff --git a/modules/kernel/test/org/apache/axis2/kernel/TransportUtilsJSONOnlyTest.java b/modules/kernel/test/org/apache/axis2/kernel/TransportUtilsJSONOnlyTest.java
index b7a889574e..7e392029c9 100644
--- a/modules/kernel/test/org/apache/axis2/kernel/TransportUtilsJSONOnlyTest.java
+++ b/modules/kernel/test/org/apache/axis2/kernel/TransportUtilsJSONOnlyTest.java
@@ -68,7 +68,8 @@ public class TransportUtilsJSONOnlyTest extends TestCase {
/**
* Test that TransportUtils.deleteAttachments() is skipped when enableJSONOnly=true.
- * This is the key test that would have caught the JAX-WS issue in dptv2.
+ * Regression guard for the JAX-WS JSON-only attachment handling path that
+ * previously triggered a NoClassDefFoundError in JSON-only deployments.
*/
public void testDeleteAttachmentsSkippedWhenEnableJSONOnlyTrue() throws Exception {
// Set enableJSONOnly=true on the service
@@ -150,10 +151,10 @@ public class TransportUtilsJSONOnlyTest extends TestCase {
/**
* Test the specific JAX-WS scenario: MessageContext with AxisService but no attachments.
- * This simulates the dptv2 JSON service request scenario.
+ * This simulates a JSON-only JAX-WS service request scenario.
*/
public void testJAXWSJSONServiceScenario() throws Exception {
- // Set enableJSONOnly=true (typical for JSON-only services like dptv2)
+ // Set enableJSONOnly=true (typical for JSON-only JAX-WS services)
axisService.addParameter(new Parameter("enableJSONOnly", "true"));
// Simulate JAX-WS service invocation scenario
diff --git a/src/site/xdoc/docs/spring-boot-starter.xml b/src/site/xdoc/docs/spring-boot-starter.xml
index 2b8f333925..83f0a7836e 100644
--- a/src/site/xdoc/docs/spring-boot-starter.xml
+++ b/src/site/xdoc/docs/spring-boot-starter.xml
@@ -88,7 +88,7 @@ long-running, stateful service deployments typical of Axis2 workloads:</p>
<table border="1">
<tr><th>Container</th><th>JDK</th><th>Tested</th></tr>
<tr><td>Apache Tomcat 11</td><td>OpenJDK 17, 21, 25</td><td>Yes (21/25 live-tested; 17 is the minimum supported by Tomcat 11 and Spring Boot 3.x)</td></tr>
-<tr><td>WildFly 32</td><td>OpenJDK 17, 21</td><td>Yes (DPTv2 ran in production on WildFly 32 + OpenJDK 17)</td></tr>
+<tr><td>WildFly 32</td><td>OpenJDK 17, 21</td><td>Yes (production-tested on WildFly 32 + OpenJDK 17)</td></tr>
<tr><td>WildFly 39</td><td>OpenJDK 21, 25</td><td>Yes (live-tested with OpenJDK 25)</td></tr>
</table>
diff --git a/src/site/xdoc/docs/wildfly-http2-integration-guide.xml b/src/site/xdoc/docs/wildfly-http2-integration-guide.xml
index 04173ae3a3..1c3c2a441e 100644
--- a/src/site/xdoc/docs/wildfly-http2-integration-guide.xml
+++ b/src/site/xdoc/docs/wildfly-http2-integration-guide.xml
@@ -121,7 +121,7 @@
<!-- HTTP/2 Optimization Filters -->
<filters>
- <!-- JSON Compression for RAPI Operations (30-50% reduction) -->
+ <!-- JSON compression for JSON-RPC / REST operations (30-50% reduction) -->
<gzip name="gzip-compression"/>
<!-- Cache Control Headers for Static Resources -->