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

User tenant service filter #54

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

AdilSDE
Copy link
Contributor

@AdilSDE AdilSDE commented Aug 23, 2023

Description

  1. Filter Feature added in User Tenant Services ,so that a user can consume apis by passing filter in request param to get the filter data.

Filter eg to pass in request param and it should be URL encoded
( {
"or":[ {"id":{"ne":"3b6c3207-26a8-139b-b1b7-c405a81b19a1" }},{"id":"29045908-f36d-79a0-5798-d6ac8bb30982"}]
}
)

URL Encoded format :
%7B%0A%20%20%22or%22%3A%5B%20%7B%22id%22%3A%7B%22ne%22%3A%223b6c3207-26a8-139b-b1b7-c405a81b19a1%22%20%7D%7D%2C%7B%22id%22%3A%2229045908-f36d-79a0-5798-d6ac8bb30982%22%7D%5D%0A%20%20%7D

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Intermediate change (work in progress)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

Checklist:

  • Performed a self-review of my own code
  • npm test passes on your machine
  • New tests added or existing tests modified to cover all changes
  • Code conforms with the style guide
  • API Documentation in code was updated
  • Any dependent changes have been merged and published in downstream modules

@AdilSDE AdilSDE self-assigned this Aug 23, 2023
@AdilSDE AdilSDE added the enhancement New feature or request label Aug 23, 2023
@sonarcloud
Copy link

sonarcloud bot commented Aug 23, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

0.0% 0.0% Coverage
0.0% 0.0% Duplication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants