-
Notifications
You must be signed in to change notification settings - Fork 90
refactor(jans-cedarling): move the cedar mapping info fields into a json object #11772
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
Conversation
Signed-off-by: 0xtinkle <dbkey.one1@gmail.com>
🎉 Snyk checks have passed. No issues have been found so far.✅ security/snyk check is complete. No issues have been found. (View Details) |
Signed-off-by: 0xtinkle <dbkey.one1@gmail.com>
Signed-off-by: 0xtinkle <dbkey.one1@gmail.com>
Signed-off-by: 0xtinkle <dbkey.one1@gmail.com>
Signed-off-by: 0xtinkle <dbkey.one1@gmail.com>
Signed-off-by: 0xtinkle <dbkey.one1@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some documentation changes are needed. Python and Go bindings are functional but some small changes are required. Furthermore, @duttarnab needs to review the WASM, Kotlin and Java binding changes.
// Payload will be flattened into the JSON object. | ||
Payload map[string]any | ||
} | ||
|
||
type CedarEntityMapping struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The KrakenD plugin needs to be updated to reflect this. I will do it once this PR is merged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On testing the WASM binding: (branch: jans-cedarling-11709)
-
I could see
type
attribute is still used in resource object. The overall decision istrue
.
- On removing
type
attribute from resource object, I am gettingmissing field 'type'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see the comments.
- UniFFI binding in Java/Android/Swift working properly.
- Raised an bug in WASM binding.
can you try again after rebuild wasm binding? or clear browser cache? |
Signed-off-by: 0xtinkle <dbkey.one1@gmail.com>
Signed-off-by: 0xtinkle <dbkey.one1@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CedarEntityData
needs a constructor
Signed-off-by: 0xtinkle <dbkey.one1@gmail.com>
Signed-off-by: 0xtinkle <dbkey.one1@gmail.com>
Signed-off-by: 0xtinkle <dbkey.one1@gmail.com>
Signed-off-by: 0xtinkle <dbkey.one1@gmail.com>
Signed-off-by: 0xtinkle <dbkey.one1@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
Prepare
Description
Move Cedar mapping info fields into a json object
Target issue
closes #11709
Test and Document the changes
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.