-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
issue #1777 - do not store temporary/internal param values
In the previous commit, we started extracting all compartment inclusion criteria search parameters, even in cases where they are filtered out via config. Although the filtered out parameters would not be searchable, we were still storing these non-searchable parameter values in the db (once with the inclusion criteria name and once with the corresponding ibm-internal-x-compartment search parameter name). This commit updates the search extraction implementation to avoid storing these intermediate inclusion criteria parameters to the db. To accomplish this, we now: 1. Add a DO_NOT_STORE extension on the intermediate search parameters that are used to extract compartment membership information prior to collecting those values for the ibm-internal-x-compartment search params 2. Propagate that information to the ExtractedParameterValues 3. Filter out parameter values that are not for storage before computing the extract search parameters hash and returning ExtractedSearchParameters Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>
- Loading branch information
Showing
7 changed files
with
88 additions
and
265 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.