Skip to content
Open
Show file tree
Hide file tree
Changes from 19 commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
5f80e80
Add .mcp.json to .gitignore
kevinherron Mar 25, 2026
a5221ea
Add ReverseHello message type and transport layer support
kevinherron Mar 25, 2026
0da25f2
Add Reverse Connect support to SDK client and server APIs
kevinherron Mar 25, 2026
fae23ff
Add Reverse Connect tests and examples
kevinherron Mar 25, 2026
d3a1549
Add Reverse Connect architecture documentation
kevinherron Mar 25, 2026
cb302dd
Update docs/architecture/reverse-connect.md
kevinherron Mar 25, 2026
a05753c
Update opc-ua-stack/stack-core/src/main/java/org/eclipse/milo/opcua/s…
kevinherron Mar 25, 2026
dfb1e0e
Update opc-ua-stack/stack-core/src/main/java/org/eclipse/milo/opcua/s…
kevinherron Mar 25, 2026
60ee5b5
Handle keep-alive channel close for reverse-connect transport
kevinherron Mar 25, 2026
179c15d
Fix thread safety and deadlock in reverse connect shutdown
kevinherron Mar 25, 2026
c54e3c9
Add reverse connect unit and integration tests
kevinherron Mar 25, 2026
7003848
Document Maven module targeting flags
kevinherron Mar 25, 2026
7be168d
Fix inaccuracies in reverse connect architecture documentation
kevinherron Mar 25, 2026
3dda5de
Fire SecureChannelOpenedEvent only after successful write of OpenSecu…
Copilot Mar 25, 2026
778977d
Replace `assert` with runtime checks in TcpMessageDecoder (#1718)
Copilot Mar 25, 2026
669d136
Convert ReverseHelloMessage to a Java record
kevinherron Mar 25, 2026
940e56d
Fix bind failure handling and disconnect pending future in reverse co…
kevinherron Mar 25, 2026
b178cb2
Add connect timeout for reverse connect discovery and client flows
kevinherron Mar 25, 2026
e43b5dc
Fix thread safety and restart robustness in ReverseConnectManager
kevinherron Mar 25, 2026
6da156d
Update opc-ua-sdk/sdk-client/src/main/java/org/eclipse/milo/opcua/sdk…
kevinherron Mar 25, 2026
561679e
Update opc-ua-stack/transport/src/main/java/org/eclipse/milo/opcua/st…
kevinherron Mar 25, 2026
8191f72
Update opc-ua-sdk/sdk-server/src/main/java/org/eclipse/milo/opcua/sdk…
kevinherron Mar 25, 2026
93e4523
Update test to match per-handle removal behavior in removeReverseConnect
kevinherron Mar 25, 2026
5911667
Address PR review feedback for reverse connect cleanup and logging
kevinherron Mar 25, 2026
58dff21
Reject duplicate inbound connections during reverse connect handshake
kevinherron Mar 25, 2026
9c41b0a
Add multiplexed reverse connect transport for shared-port multi-serve…
kevinherron Mar 28, 2026
3dd49a5
Fix flaky rateLimitingHandlerInstalled test
kevinherron Mar 28, 2026
bf6e61e
Fix reverse connect timeout race and add multiplexed transport to kee…
kevinherron Mar 28, 2026
9339084
Fix ReDoS vulnerability in endpoint URL regex
kevinherron Mar 28, 2026
2da99db
Update reverse connect architecture doc
kevinherron Mar 28, 2026
745151e
Fix flaky reconnectionAfterChannelDrop secure channel race
kevinherron Mar 28, 2026
8da4b29
Clean up auto-spawned idle FSMs on reverse connect handle removal
kevinherron Mar 28, 2026
7f02fd3
Fix IntelliJ inspection warnings across reverse connect files
kevinherron Mar 28, 2026
3eaae84
Merge branch 'main' into feature/reverse-connect
kevinherron Mar 28, 2026
4dd8294
flowmark
kevinherron Mar 28, 2026
d6fd97f
Move vendor-specific client examples into subpackages
kevinherron Mar 28, 2026
b1406f1
Add self-contained reverse connect examples
kevinherron Mar 28, 2026
57bf473
Use 3-arg ExampleServer constructor in ReverseConnectExample
kevinherron Apr 2, 2026
42d2bad
Fix deadlock in ReverseConnectManager ensureIdleConnection callback
kevinherron Apr 2, 2026
6542ca3
Add null checks for type definition nodes in NodeFactory
kevinherron Apr 2, 2026
348f40e
Fix FSM race conditions in ReverseConnectChannelFsm
kevinherron Apr 2, 2026
01dfffe
Fix deadlock in OpcTcpReverseConnectTransport disconnect
kevinherron Apr 2, 2026
3b23d98
Prevent duplicate idle FSM creation in ReverseConnectManager
kevinherron Apr 2, 2026
ed5943d
Release discarded reverse connect test messages
kevinherron Apr 19, 2026
03719a5
Fail fast on ReverseHello write errors
kevinherron Apr 19, 2026
83468ed
Clean up reverse connect child sockets
kevinherron Apr 19, 2026
5bd92fd
Avoid duplicate idle spawn on handle replacement
kevinherron Apr 19, 2026
7aefba8
Guard reverse connect registration on stop
kevinherron Apr 19, 2026
6d2ee79
Honor stop during reverse connect connect
kevinherron Apr 19, 2026
6d29f03
Serialize reverse connect manager lifecycle
kevinherron Apr 19, 2026
ab30d85
Close orphaned reverse connect channels
kevinherron Apr 19, 2026
d140b26
Enforce reverse connect limit atomically
kevinherron Apr 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .claude/docs/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,43 @@ mvn -q -pl opc-ua-stack/stack-core test -Dtest=*ServiceTest
Most tests live in `opc-ua-sdk/integration-tests`, `opc-ua-stack/stack-core`, and
`opc-ua-sdk/sdk-server`.

## Module Targeting Flags

- **`-pl <module>`** — build/test only the specified module(s)
- **`-am`** (also-make) — also build modules that the `-pl` target depends on
- **`-amd`** (also-make-dependents) — also build modules that depend on the `-pl` target

### When to use each

**`-pl` alone** — the change is entirely within the module being tested:

```bash
# Changed and testing sdk-server only
mvn -q -pl opc-ua-sdk/sdk-server test -Dtest=ClassName
```

**`-pl ... -am`** — the change is in a dependency of the module being tested. This
rebuilds the dependency chain so tests run against the latest code:

```bash
# Changed stack-core, running integration-tests
mvn -q -pl opc-ua-sdk/integration-tests -am test -Dtest=ClassName
```

**`-pl ... -amd`** — the change is in a low-level module and you want to test all modules
that depend on it:

```bash
# Changed stack-core, run tests in stack-core and everything that depends on it
mvn -q -pl opc-ua-stack/stack-core -amd test
```

### Rule of thumb

If the code you changed and the tests you're running are in **different modules**, add
`-am` so the changed module gets rebuilt. Omitting `-am` in this case means tests run
against stale (previously compiled) code.

## Run All Tests

```bash
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@ CLAUDE.local.md

# External src and other files
external/

# Claude project MCP configuration
.mcp.json
3 changes: 2 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ SDK for building OPC UA applications.
| `mvn -q clean verify` | Full build with tests and formatting check |
| `mvn -q spotless:apply` | Fix code formatting issues |

For running specific tests and module targeting, see `.claude/docs/testing.md`.
Before running any tests, read `.claude/docs/testing.md` for module targeting flags and
test patterns.

## Additional Resources

Expand Down
Loading
Loading