Skip to content

VAPI-2832 Brtc java sdk#219

Open
smoghe-bw wants to merge 17 commits intomainfrom
brtc-java-sdk
Open

VAPI-2832 Brtc java sdk#219
smoghe-bw wants to merge 17 commits intomainfrom
brtc-java-sdk

Conversation

@smoghe-bw
Copy link
Copy Markdown

No description provided.

- Implemented Page model with pagination attributes including pageSize, totalElements, totalPages, and pageNumber.
- Added SipConnectionMetadata model to encapsulate SIP connection details such as ipAddress, port, credentials, and uuiHeader.
- Created SipCredentials model for managing SIP authentication with username and password fields.
- Each model includes methods for JSON serialization/deserialization and validation.
- Introduced support for additional undeclared properties in each model.
@bwappsec
Copy link
Copy Markdown
Contributor

bwappsec commented Dec 11, 2025

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

smoghe-bw and others added 3 commits March 16, 2026 13:52
- Updated CreateEndpointResponse to use CreateEndpointResponseData, Error, and Link classes.
- Refactored EndpointResponse, ErrorResponse, and ListEndpointsResponse to replace Error1 and Link1 with Error and Link.
- Added CreateEndpointResponseData class with properties and validation methods.
- Improved documentation for InboundCallback, LookupResult, MachineDetectionConfiguration, MessageRequest, RbmOpenUrlEnum, RbmWebViewEnum, and StatusCallback.
- Created new markdown documentation for CreateEndpointResponseData.
@smoghe-bw smoghe-bw changed the title Brtc java sdk VAPI-2832 Brtc java sdk Mar 16, 2026
@smoghe-bw smoghe-bw marked this pull request as ready for review March 16, 2026 18:21
@smoghe-bw smoghe-bw requested review from a team as code owners March 16, 2026 18:21
@ckoegel
Copy link
Copy Markdown
Contributor

ckoegel commented Mar 26, 2026

This is missing the BXML verbs and tests for them as well

smoghe-bw and others added 7 commits March 26, 2026 16:00
- Add Connect and Endpoint BXML verbs with tests, registered in Bxml and Response
- Create EndpointsApi unit/mock test following existing API test patterns
- Add missing model unit tests: CreateWebRtcConnectionRequest, Device,
  DeviceStatusEnum, ErrorResponse, Page, SipConnectionMetadata, SipCredentials
- Rename smoke test methods to operationId format (createEndpointTest, etc.)
- Use builder-style field initialization instead of setters
- Replace notNullValue()/hasProperty() assertions with direct field assertions
- Simplify list assertions to check first element directly
- Remove unnecessary filter-by-type test

Generated from Claude9 with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Use BW_CLIENT_ID and BW_CLIENT_SECRET from environment variables
instead of hardcoded fake credentials, matching the pattern used by
CallsApiTest and other unit tests. The OAuth token request hits the
real auth server before reaching Prism, so fake credentials cause
all 5 tests to fail with invalid_client errors.

Generated from Claude9 with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add connectionMetadata field test to CreateWebRtcConnectionRequestTest
- Add data field test to ErrorResponseTest
- Add tag and devices assertions to unit createEndpointTest and getEndpointTest
- Add tag and page assertions to unit listEndpointsTest
- Add links, page, and tag assertions to smoke listEndpointsTest
- Create standalone EndpointVerbTest for Endpoint BXML verb
- Add connectCallbackFallbackUrl, fallbackUsername, fallbackPassword tests to ConnectVerbTest

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The endpoint is created without a tag, so getTag() returns null on
listed endpoints. Use anyOf(nullValue(), instanceOf(String.class))
instead of a strict instanceOf check.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Renamed shouldThrow* methods to follow the existing *Test pattern
used by all other test methods in the file and repo.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add equalTo assertions alongside existing instanceOf checks in 12 model
test files to verify actual field values, not just types. Store
OffsetDateTime values in static final constants for timestamp assertions.
Update ErrorResponseTest to use nullValue() matcher instead of == null.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants