-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add UserSelected and Version to resource tag (#4591)
* First commit: Add userSelected and version to ResourceTag and ResourceHistoryTag. Add migration step to migration tasks. For some reason SchemaMigrationTest is failing. * Fix nullability, update constructors, truncate versions over 30 chars. * yay we're done just cleanup * Checkpoint for recent changes. * Last commit before pausing work. * Fix bad code to find the version, tweak unit test pid ID to versionless and add TODO about why is update part of the test not passing? * Fix bad code in extractTagsRi(): Make it leverage the IBaseCoding variable already in the for loop. Fix bad code in populateResourceMetadataRi(). Leverage the existing BaseTag and use it to populate the IBaseCoding tag instance instead. Add more and better assertions in the unit test. * Merge rel_6_4 in * Current state for pairing * Fix CodingDt.getUserSelected method return code in tinder * Complete migration task and cleanup * Remove missed fixme * Bump version temporarily to use it for building core lib * Use primitive for compatibility with tinder generated CodingDt * Copyright updates * Hack to bypass NPE generated by bogus tinder-generated code * Simplify by removing temporary deprecations as version bump is needed anyway because of TagDefinition entity changes * Adjust tests * Fix migration task * Add test to show problem with tinder generated BooleanDt * More test adjustments * Improve BooleanDt NPE avoidance * Update core dep * Reverse Juan CVE VersionEnumTest changes. * Fix unit test. --------- Co-authored-by: Ken Stevens <ken@smilecdr.com> Co-authored-by: juan.marchionatto <juan.marchionatto@smilecdr.com> Co-authored-by: Tadgh <garygrantgraham@gmail.com>
- Loading branch information
1 parent
ce46f4d
commit 9d70dbd
Showing
15 changed files
with
359 additions
and
63 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
6 changes: 6 additions & 0 deletions
6
...og/6_4_0/4204-default-config-meta-tags-user-selected-and-version-missing-in-database.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
type: fix | ||
issue: 4204 | ||
jira: SMILE-4688 | ||
title: "With default configuration, Resource meta.tag properties: `userSelected` and `version`, were not stored in the database. | ||
This is now fixed." |
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.