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

Introduce additional attribute json properties option #420

Merged
merged 6 commits into from
Jan 20, 2025

Conversation

PasinduYeshan
Copy link
Contributor

@PasinduYeshan PasinduYeshan commented Jan 19, 2025

Purpose

The current implementation of the scim2/Schemas response supports only string-based additional properties. To enhance flexibility and allow the inclusion of more complex data structures, this update introduces the ability to add JSON objects as first-class properties to the Schemas endpoint. This is particularly useful for returning properties such as attribute profiles, which require a structured JSON format.

image

Related Issues

Copy link

codecov bot commented Jan 19, 2025

Codecov Report

Attention: Patch coverage is 83.33333% with 2 lines in your changes missing coverage. Please review.

Project coverage is 28.66%. Comparing base (1bba3ae) to head (4d1aa7b).
Report is 7 commits behind head on master.

Files with missing lines Patch % Lines
...va/org/wso2/charon3/core/attributes/Attribute.java 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #420      +/-   ##
============================================
+ Coverage     28.40%   28.66%   +0.26%     
- Complexity      919      931      +12     
============================================
  Files           133      133              
  Lines         13007    13042      +35     
  Branches       2504     2505       +1     
============================================
+ Hits           3695     3739      +44     
+ Misses         8839     8830       -9     
  Partials        473      473              
Flag Coverage Δ
unit 27.85% <83.33%> (+0.27%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@PasinduYeshan PasinduYeshan marked this pull request as ready for review January 19, 2025 19:16
sadilchamishka
sadilchamishka previously approved these changes Jan 20, 2025
sadilchamishka
sadilchamishka previously approved these changes Jan 20, 2025
@jenkins-is-staging
Copy link

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/12861245257

@jenkins-is-staging
Copy link

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/12861245257
Status: success

Copy link

@jenkins-is-staging jenkins-is-staging left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving the pull request based on the successful pr build https://github.com/wso2/product-is/actions/runs/12861245257

@PasinduYeshan PasinduYeshan merged commit d9b2322 into wso2:master Jan 20, 2025
4 checks passed
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.

5 participants