Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
2b8c401
progress: split server/client connectionm handking based on uri
brendanobra May 5, 2025
a0d15ad
}
brendanobra May 8, 2025
2054c35
chore: refactor modules
brendanobra May 9, 2025
2371146
feat: callback to broker
brendanobra May 9, 2025
6447b01
checkpont
brendanobra May 12, 2025
67db56b
chore: ssda as submodules
brendanobra May 19, 2025
9eea692
chore: merge from main
brendanobra May 19, 2025
973692a
chore: adding ssda dirs
brendanobra May 20, 2025
ca330d3
removing rules engine (moved to sdk)
brendanobra May 20, 2025
e953074
fix: move rules engine
brendanobra May 20, 2025
f6954cc
chore: ssda as directory
brendanobra May 20, 2025
515eb5a
chore: refactor based on feedback
brendanobra May 20, 2025
f622173
chores: fix tests, satisfy clippy
brendanobra May 20, 2025
eaf1c22
chore: cleanup unwraps + printlns
brendanobra May 20, 2025
2d21eb8
feat: adding a few tests
brendanobra May 20, 2025
f53906b
feat: client backoff
brendanobra May 20, 2025
9ab765b
feat: local_dev load from etc, checkpoint before merge from main
brendanobra Jun 4, 2025
4d3a1ce
chore: merge from main
brendanobra Jun 9, 2025
caf27fc
chore: merge from main
brendanobra Jun 9, 2025
8ea335f
chore: merge from main
brendanobra Jun 9, 2025
5a15a99
feat: ripple_sdk as standalone crate
Jun 13, 2025
8a474dc
chore: export jsonrpsee
Jun 14, 2025
9ff3f5f
latest
Jun 16, 2025
7c594aa
iteration
Jun 16, 2025
c9ad909
checkpoint
Jun 20, 2025
4d15106
checkpoint
Jun 20, 2025
a70e6a4
feat: correcting rpc param types
Jun 25, 2025
3e7a48a
feat: convert RpcReqest to JsonRpcApiRequest
Jun 25, 2025
2ad2bdc
type converter
Jun 25, 2025
f25f977
feat: jsonrpcapiresponse from value
Jun 26, 2025
35a60d4
more
Jun 30, 2025
a9d9004
json map parsing fix
Jun 30, 2025
1b367d0
feat: send metrics to t2 service
Jul 1, 2025
6ddfb19
checkpoint: before 2nd attempt at ripple_sdk modularity
Jul 3, 2025
78aa84e
feat: ssda into ripple monorepo for ease of use
Jul 3, 2025
74dc9ba
chore: merge from main
Jul 3, 2025
66e772a
chore: more cleanup
Jul 3, 2025
d11317b
feat: unit tests
Jul 4, 2025
63cbe93
feat: unit tests
Jul 4, 2025
4f33c9c
chore: test refactor
Jul 7, 2025
30fd12d
chore: clippy
Jul 7, 2025
6c04dee
chore: clippy
Jul 7, 2025
7f597f6
chore: clippy
Jul 7, 2025
5dc0abe
chore: adding better wildcard miss handling
brendanobra Jul 9, 2025
48501cd
fix: tests
brendanobra Jul 9, 2025
016725f
fix: better wildcard error messaging
brendanobra Jul 10, 2025
8c07121
feat: conditional new t2 telemetry
brendanobra Jul 10, 2025
e76778d
Merge branch 'main' of github.com:rdkcentral/Ripple into ssda
brendanobra Jul 11, 2025
6ee55fc
fix: bad merge fix
brendanobra Jul 11, 2025
a028a3f
chore: merge from upstream
brendanobra Aug 18, 2025
8e45840
chore: merge cleanup
brendanobra Aug 19, 2025
a1867e1
chore: more merge drama
brendanobra Aug 19, 2025
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
2,300 changes: 1,826 additions & 474 deletions Cargo.lock

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,16 @@ members = [
"device/thunder_ripple_sdk",
"core/main",
"device/mock_device",
"openrpc_validator"]
"openrpc_validator",
"ssda/ssda_types",
"ssda/ssda_client",
"ssda/ssda_service"]

[workspace.package]
version = "1.1.0"

[workspace.dependencies]
base64ct= {version = "=1.7.3"}
base64 = { version = "0.22.1", default-features = false, features=["alloc"] }
chrono = { version = "0.4", default-features = false, features = ["clock"] }
futures = { version = "0.3.21", default-features = false }
Expand All @@ -39,7 +43,7 @@ serde_json = { version = "1.0", default-features = false}
serde = { version = "1.0", features = ["derive"], default-features = false }
tokio = { version = "1.44.1", default-features = false }
tokio-tungstenite = { version = "0.20.1", default-features = false }
url = { version = "=2.5.0", default-features = false}
url = { version = "=2.5.4", default-features = false}
urlencoding = { version = "2.1.0", default-features = false}
uuid = { version = "1.13.1", default-features = false }
ripple_sdk = { path = "./core/sdk" }
Expand Down
11 changes: 9 additions & 2 deletions core/main/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,12 @@ contract_tests = [
"websocket_contract_tests",
]
tdk=[]
ssda=[]
[dependencies]
base64.workspace = true
ripple_sdk = { workspace = true, features = ["full"] }
ripple_sdk = { path = "../sdk" }


jsonrpsee = { workspace = true, features = ["macros"] }
futures-channel.workspace = true
futures.workspace = true
Expand All @@ -71,6 +74,10 @@ strum_macros = "0.24"

openrpc_validator = { path = "../../openrpc_validator" }
proc-macro2.workspace = true
ssda_service = { path="../../ssda/ssda_service" }
ssda_types= { path = "../../ssda/ssda_types"}



[build-dependencies]
vergen = "1"
Expand All @@ -81,4 +88,4 @@ rstest = "0.18.0"
# serial_test is used to provide determinism around monotonic counter generation
# using AtomicU64
serial_test = "3"
httpmock = "0.7.0"
httpmock = "0.7.0"
6 changes: 4 additions & 2 deletions core/main/src/bootstrap/start_communication_broker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ impl Bootstep<BootstrapState> for StartCommunicationBroker {
}
// Setup the endpoints from the manifests
let mut endpoint_state = ps.clone().endpoint_state;
endpoint_state.build_thunder_endpoint(Some(state.platform_state.clone()));
endpoint_state.build_thunder_endpoint().await;
Ok(())
}
}
Expand All @@ -67,7 +67,9 @@ impl Bootstep<BootstrapState> for StartOtherBrokers {
}
// Setup the endpoints from the manifests
let mut endpoint_state = ps.clone().endpoint_state;
endpoint_state.build_other_endpoints(ps.clone(), ps.session_state.get_account_session());
endpoint_state
.build_other_endpoints(ps.clone(), ps.session_state.get_account_session())
.await;
Ok(())
}
}
23 changes: 21 additions & 2 deletions core/main/src/bootstrap/start_ws_step.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,38 @@ impl Bootstep<BootstrapState> for StartWsStep {
let ws_enabled = manifest.get_web_socket_enabled();
let internal_ws_enabled = manifest.get_internal_ws_enabled();
let iai_c = iai.clone();

if ws_enabled {
let api_gateway_state_ws = state.platform_state.services_gateway_api.clone();
let ws_addr = manifest.get_ws_gateway_host();
let state_for_ws = state.platform_state.clone();

tokio::spawn(async move {
FireboltWs::start(ws_addr.as_str(), state_for_ws, true, iai.clone()).await;
FireboltWs::start(
ws_addr.as_str(),
state_for_ws,
true,
iai.clone(),
api_gateway_state_ws,
)
.await;
});
}

if internal_ws_enabled {
let api_gateway_state_internal_ws = state.platform_state.services_gateway_api.clone();

let ws_addr = manifest.get_internal_gateway_host();
let state_for_ws = state.platform_state;
tokio::spawn(async move {
FireboltWs::start(ws_addr.as_str(), state_for_ws, false, iai_c).await;
FireboltWs::start(
ws_addr.as_str(),
state_for_ws,
false,
iai_c,
api_gateway_state_internal_ws,
)
.await;
});
}

Expand Down
12 changes: 4 additions & 8 deletions core/main/src/broker/broker_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,9 @@ impl BrokerUtils {
if let Some(app_id) = app_id {
rpc_request.ctx.app_id = app_id.to_owned();
}
state.endpoint_state.handle_brokerage(
rpc_request,
None,
callback,
Vec::new(),
None,
Vec::new(),
)
state
.endpoint_state
.handle_brokerage(rpc_request, None, callback, Vec::new(), None, Vec::new())
.await
}
}
Loading
Loading