Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(jans-cedarling): add WASM bindings for Cedarling #10542

Open
wants to merge 47 commits into
base: main
Choose a base branch
from

Conversation

olehbozhok
Copy link
Contributor

Prepare


Description

Target issue

link

closes #10013

Implementation Details

  • Add WASM binding
  • update memory log interface to return JSON and implement to WASM binding
  • fix generation UUD7 for logging, created own function that use time from chrono, std time cause panic
  • add unit test to work in browser
  • implement simple html page that execute Cedarling in browser

Problems that should be fixed in future

  • Some JSON logs entities serialize to {} empty JSON struct. It reproduces only in WASM.

Test and Document the changes

  • Static code analysis has been run locally and issues have been fixed
  • Relevant unit and integration tests have been added/updated
  • Relevant documentation has been updated if any (i.e. user guides, installation and configuration guides, technical design docs etc)

Please check the below before submitting your PR. The PR will not be merged if there are no commits that start with docs: to indicate documentation changes or if the below checklist is not selected.

  • I confirm that there is no impact on the docs due to the code changes in this PR.

it allows to catch some errors when made changes on different platforms

Signed-off-by: Oleh Bohzok <[email protected]>
@olehbozhok olehbozhok requested a review from moabu as a code owner January 2, 2025 20:13
@mo-auto mo-auto added area-documentation Documentation needs to change as part of issue or PR comp-jans-cedarling Touching folder /jans-cedarling kind-feature Issue or PR is a new feature request labels Jan 2, 2025
nynymike
nynymike previously approved these changes Jan 2, 2025
….toml` because it cause fail CI check

Signed-off-by: Oleh Bohzok <[email protected]>
It is already optimized if used `--release` on build

Signed-off-by: Oleh Bohzok <[email protected]>
olehbozhok and others added 4 commits January 9, 2025 04:07
Signed-off-by: Oleh Bohzok <[email protected]>
Signed-off-by: Oleh Bohzok <[email protected]>
Signed-off-by: Oleh Bohzok <[email protected]>
… client

Signed-off-by: Oleh Bohzok <[email protected]>
Signed-off-by: Oleh Bohzok <[email protected]>
Signed-off-by: Oleh Bohzok <[email protected]>
…oid misinterpreted

Signed-off-by: Oleh Bohzok <[email protected]>
Signed-off-by: Oleh Bohzok <[email protected]>
Signed-off-by: Oleh Bohzok <[email protected]>
Signed-off-by: Oleh Bohzok <[email protected]>
Signed-off-by: Oleh Bohzok <[email protected]>
Signed-off-by: Oleh Bohzok <[email protected]>
Signed-off-by: Oleh Bohzok <[email protected]>
Signed-off-by: Oleh Bohzok <[email protected]>
@olehbozhok olehbozhok enabled auto-merge (squash) January 9, 2025 14:51
djellemah
djellemah previously approved these changes Jan 10, 2025
@olehbozhok olehbozhok force-pushed the jans-cedaling-issue-10013 branch from 7509379 to 4510b9c Compare January 10, 2025 15:50
@olehbozhok olehbozhok dismissed abaghinyan’s stale review January 10, 2025 21:36

Suggesting was resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-documentation Documentation needs to change as part of issue or PR comp-jans-cedarling Touching folder /jans-cedarling kind-feature Issue or PR is a new feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat(jans-cedarling): add WASM bindings for Cedarling
8 participants