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

Release: 8.4.0 #2006

Merged
merged 66 commits into from
Nov 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
2a516bf
add changelog
JFriel Sep 25, 2024
53596b0
Bugfix/rdmp 253 filter ordering (#2007)
JFriel Sep 26, 2024
bfdc644
update insert
JFriel Oct 8, 2024
c2ce5d3
Merge branch 'develop' of https://github.com/HicServices/RDMP into re…
JFriel Oct 10, 2024
ca5a0b7
tidy up
JFriel Oct 10, 2024
e27fd8e
interim
JFriel Oct 11, 2024
ece04aa
style updates
JFriel Oct 11, 2024
d1bcf49
add some info
JFriel Oct 11, 2024
0506490
start of where clause
JFriel Oct 16, 2024
34457ba
improved
JFriel Oct 16, 2024
6475d5e
improved dates
JFriel Oct 16, 2024
5ce3057
improve bookends
JFriel Oct 17, 2024
6edf05b
Merge branch 'develop' of https://github.com/HicServices/RDMP into re…
JFriel Oct 22, 2024
80b03e7
Merge branch 'develop' of https://github.com/HicServices/RDMP into re…
JFriel Oct 24, 2024
7e86428
Merge branch 'release/8.4.0' of https://github.com/HicServices/RDMP i…
JFriel Oct 24, 2024
2bf9ceb
add changelog
JFriel Oct 24, 2024
d8201c5
update changelog
JFriel Oct 24, 2024
b0f3388
Merge branch 'develop' of https://github.com/HicServices/RDMP into sp…
JFriel Oct 28, 2024
cb41028
improve ui with frequency
JFriel Oct 28, 2024
9885dc9
tidy up for tests
JFriel Oct 28, 2024
656cb6c
add summary
JFriel Oct 28, 2024
1bd3e4e
rename chart
JFriel Oct 29, 2024
40dd02e
interim people
JFriel Oct 29, 2024
ffcf62b
add people label
JFriel Oct 29, 2024
80518c4
better where
JFriel Oct 29, 2024
08b2ca1
move items around
JFriel Oct 29, 2024
4fe2f66
fix up tests
JFriel Oct 29, 2024
fdd9e28
tidy up code
JFriel Oct 30, 2024
c8f89d0
tidy up
JFriel Oct 30, 2024
f005f08
made db independant
JFriel Oct 30, 2024
298739e
Merge branch 'release/8.4.0' of https://github.com/HicServices/RDMP i…
JFriel Oct 30, 2024
f40ea83
add changelog
JFriel Oct 30, 2024
23cd4c1
Merge branch 'develop' of https://github.com/HicServices/RDMP into re…
JFriel Oct 30, 2024
65792a7
add missing file
JFriel Oct 30, 2024
65c2f42
Merge pull request #2022 from HicServices/bugfix/RDMP-256-migrate-com…
rdteviotdale Nov 6, 2024
7f4223d
Bugfix/rdmp 259 delta load off by one issue (#2024)
JFriel Nov 6, 2024
dbdb2b1
check for multi-server query
JFriel Nov 8, 2024
61f6fa0
Merge branch 'develop' of https://github.com/HicServices/RDMP into bu…
JFriel Nov 11, 2024
1d793fe
Merge branch 'release/8.4.0' of https://github.com/HicServices/RDMP i…
JFriel Nov 11, 2024
c73f595
update changelog
JFriel Nov 11, 2024
9e461f7
update changelog
JFriel Nov 11, 2024
6687ab1
Merge branch 'develop' of https://github.com/HicServices/RDMP into re…
JFriel Nov 11, 2024
f146d9a
Merge pull request #2059 from HicServices/bugfix/RDMP-266-multi-db-joins
rdteviotdale Nov 11, 2024
0779ce3
Add override for RAW table date column in delta loads (#2052)
JFriel Nov 12, 2024
a81d859
update deps
JFriel Nov 19, 2024
7bd6a33
add safe ref
JFriel Nov 19, 2024
a408e8c
Merge branch 'develop' into release/8.4.0
jas88 Nov 23, 2024
145600c
Merge branch 'release/8.4.0' into spike/overview-generation
JFriel Nov 25, 2024
1ab119a
interim
JFriel Nov 25, 2024
87ff689
Merge pull request #2050 from HicServices/spike/overview-generation
rdteviotdale Nov 25, 2024
cdd92f5
working check
JFriel Nov 26, 2024
644df6e
tidy up
JFriel Nov 26, 2024
224667a
Merge branch 'release/8.4.0' of https://github.com/HicServices/RDMP i…
JFriel Nov 26, 2024
8609d65
add changelog
JFriel Nov 26, 2024
d8f5576
fix typos
JFriel Nov 26, 2024
ff96edf
update typo
JFriel Nov 26, 2024
a36338f
fix typos
JFriel Nov 26, 2024
53609ab
fix typos
JFriel Nov 26, 2024
9bdb337
Merge pull request #2075 from HicServices/task/RDMP-267-depricate-on-…
bpeacock001 Nov 26, 2024
fcaef71
Changes made to popup buttons (#2076)
JBaird00183 Nov 27, 2024
090097e
Task/rdmp 32 regex redaction (#2009)
JFriel Nov 27, 2024
a7f0471
codeql updates
JFriel Nov 27, 2024
be9abf1
update client xml
JFriel Nov 27, 2024
70cd5a5
Merge pull request #2077 from HicServices/task/minor-codeql-updates
bpeacock001 Nov 27, 2024
ee270e1
code ql updates
JFriel Nov 29, 2024
a21a256
Merge branch 'develop' into release/8.4.0
JFriel Nov 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@
btnTables.Image = CatalogueIcons.TableInfo.ImageToBitmap();
btnTables.BackgroundImage = BackColorProvider.GetBackgroundImage(btnTables.Size, RDMPCollection.Tables);

btnDataSets.Image = CatalogueIcons.Dataset.ImageToBitmap();
btnDataSets.BackgroundImage = BackColorProvider.GetBackgroundImage(btnDataSets.Size, RDMPCollection.Datasets);
btnConfiguration.Image = FamFamFamIcons.pencil_go.ImageToBitmap();
btnConfiguration.BackgroundImage = BackColorProvider.GetBackgroundImage(btnConfiguration.Size, RDMPCollection.Datasets);

btnLoads.Image = CatalogueIcons.LoadMetadata.ImageToBitmap();
btnLoads.BackgroundImage = BackColorProvider.GetBackgroundImage(btnDataSets.Size, RDMPCollection.DataLoad);
btnLoads.BackgroundImage = BackColorProvider.GetBackgroundImage(btnConfiguration.Size, RDMPCollection.DataLoad);

btnFavourites.Image = CatalogueIcons.Favourite.ImageToBitmap();
btnDeleteLayout.Image = FamFamFamIcons.delete.ImageToBitmap();
Expand Down Expand Up @@ -111,7 +111,7 @@
btnTables.ToolTipText = "Advanced features e.g. logging, credentials, dashboards etc";
btnLoads.ToolTipText = "Load configurations for reading data into your databases";
btnFavourites.ToolTipText = "Collection of all objects that you have favourited";
btnDataSets.ToolTipText = "All external datasets that have been configured for use in RDMP";
btnConfiguration.ToolTipText = "All external datasets that have been configured for use in RDMP";
}
catch (Exception e)
{
Expand Down Expand Up @@ -190,8 +190,8 @@
collectionToToggle = RDMPCollection.SavedCohorts;
else if (button == btnFavourites)
collectionToToggle = RDMPCollection.Favourites;
else if (button == btnDataSets)
collectionToToggle = RDMPCollection.Datasets;
else if (button == btnConfiguration)

Check warning

Code scanning / CodeQL

Reference equality test on System.Object Warning

Reference equality for System.Object comparisons (
this
argument has type Object).
collectionToToggle = RDMPCollection.Configurations;
else
throw new ArgumentOutOfRangeException(nameof(button));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
TgDQASA1MVpwzwAAAABJRU5ErkJggg==
</value>
</data>
<data name="btnDataSets.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<data name="btnConfiguration.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,10 @@ public PersistableToolboxDockContent Create(RDMPCollection collectionToCreate,
Image.Load<Rgba32>(CatalogueIcons.Favourite));
break;

case RDMPCollection.Datasets:
collection = new DatasetsCollectionUI();
toReturn = Show(RDMPCollection.Datasets, collection, "Datasets",
Image.Load<Rgba32>(CatalogueIcons.Dataset));
case RDMPCollection.Configurations:
collection = new ConfigurationsCollectionUI();
toReturn = Show(RDMPCollection.Configurations, collection, "Configurations",
Image.Load<Rgba32>(FamFamFamIcons.pencil_go));
break;

default: throw new ArgumentOutOfRangeException(nameof(collectionToCreate));
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [8.4.0] - Unreleased

- Add Ordering to Filters
- [MSSQL ONLY] Add ability to perform Regex redactions on data loads and existing catalogues
- Add overview page for Catalogues
- Add RAW Table Date Column Override for Delta Loads
- Fix Delta Load off by one issue
- Update Migration strategy to account for all Primary Keys when moving from staging -> live
- Fix UI issue with viewing cross-database SQL results
- Add UI Steps to deprecate old cohorts when importing a cohort
- Add instance setting to enable and disable Yes/No to all

## [8.3.1] - 2024-10-22

- Improve Performance of regenerating problems with child providers
Expand Down
44 changes: 44 additions & 0 deletions Documentation/DataLoadEngine/RegexRedactions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Regex Redactions

RDMP has the ability to redact incoming and existing catalogue data.
It uses user-defined regex to do this.
This functionality may be useful if you know about problematic data that you wish to clean before it reaches RDMP

## Setup & Configuration
To begin, a redaction configuration is required.
This can be added in the "Configurations" section of RDMP.
Each configuration has:
* A Name
* A Description
* A Regex string to match
* A Replacement value

N.B. The replacement value cannot be longer than the redacted string i.e. "string" => "myRedactedString" will not work.

Once the configuration has been saved, it can be used to redact data.

## Usage in Data Loads
Within the Data Loads mutilators, there is a mutilator named "Regex Redaction Mutilator" that can be used in the RAW or STAGING areas of the load.
This mutilator will redact based on your selected configuration.
The configuration for this mutilator requires:
* A predefined regex redaction configuration (see above)
* Either a regex to select which columns to redact, or a selection of known columns

N.B. Primary Key columns will not be redacted and this functionality is intended for string fields.

Once the configuration has been set, it will redact the desired columns during a data load.

During a run, the mutilator will replace any regex matches with the desired string and store the now known redaction in RDMP.
To view the redactions made, see the section below.


## Usage within RDMP
You can view and restore existing redactions, along with adding new redactions within RDMP.
For a Catalogue, right-click and open the "Catalogue Items" submenu.
From here, select the "Regex Redactions" option.
This will open an interface displaying existing redactions.
From here you can restore existing redactions either individually or in bulk.
You can also apply regex redactions to existing data by selecting a redaction configuration and which columns to redact.


[Catalogue](../CodeTutorials/Glossary.md#Catalogue)
1 change: 1 addition & 0 deletions Documentation/DataLoadEngine/RemoteAttachers.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ The full configuration options are
| Culture | Optionally specify a custom date format |
| Explicit Date Time Format | Optionally specify a specific datetime format
| Selected Columns | Optionally select which columns you wish to pull from the remote server (defaults to "*" )
| RawTableDateColumn | Optionally give the date column in RAW a different name than in the select statement for delta loads. This may be due to awkward joins in a custom select query

## Configuring the Remote Database Attacher
The Remote Database Attacher has a number of configuration options the required fields are:
Expand Down
5 changes: 3 additions & 2 deletions HIC.DataManagementPlatform.sln
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
CHANGELOG.md = CHANGELOG.md
deadlinksconfig.json = deadlinksconfig.json
Directory.Build.props = Directory.Build.props
.github\workflows\links.yml = .github\workflows\links.yml
Directory.Packages.props = Directory.Packages.props
.github\workflows\links.yml = .github\workflows\links.yml
NoteForNewDevelopers.md = NoteForNewDevelopers.md
Documentation\CodeTutorials\Packages.md = Documentation\CodeTutorials\Packages.md
rdmp-client.xml = rdmp-client.xml
Expand Down Expand Up @@ -55,6 +55,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Documentation", "Documentat
Documentation\CodeTutorials\Packages.md = Documentation\CodeTutorials\Packages.md
Documentation\CodeTutorials\PluginWriting.md = Documentation\CodeTutorials\PluginWriting.md
Documentation\CodeTutorials\RdmpCommandLine.md = Documentation\CodeTutorials\RdmpCommandLine.md
Documentation\DataLoadEngine\RegexRedactions.md = Documentation\DataLoadEngine\RegexRedactions.md
Documentation\CodeTutorials\Tests.md = Documentation\CodeTutorials\Tests.md
Documentation\CodeTutorials\UserInterfaceOverview.md = Documentation\CodeTutorials\UserInterfaceOverview.md
Documentation\CodeTutorials\UserManual.md = Documentation\CodeTutorials\UserManual.md
Expand Down Expand Up @@ -315,4 +316,4 @@ Global
GlobalSection(Performance) = preSolution
HasPerformanceSessions = true
EndGlobalSection
EndGlobal
EndGlobal
Loading