We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am trying java code given in the example on m1 machine:
try ( OPAModule om = new OPAModule("/Users/rehmanmuradali/code/bayzat-be-kt/bayzat-backend/hrcore/src/main/kotlin/com/bayzat/hrcore/policy/rego/bundle/policy.wasm"); ) { String input = "{\"user\": \"john\"}"; String data = "{\"role\":{\"john\":\"admin\"}}"; om.setData(data); String result = om.evaluate(input, "example/allowed"); System.out.println("result=" + result); } catch (Exception e) { e.printStackTrace(); }
The text was updated successfully, but these errors were encountered:
It looks like wasmtime-java issue.
Refer kawamuray/wasmtime-java#36.
Compiling a subproject(JNI based) of a wasmtime-java is required.
I don't have any M1 machine, so I can't test the issue right now.
Sorry, something went wrong.
See https://github.com/sangkeon/java-opa-wasm/blob/main/FOR_APPLE_SILICON_USERS.md.
No branches or pull requests
I am trying java code given in the example on m1 machine:
The text was updated successfully, but these errors were encountered: