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

Bugfixes storage postgres interface and added repo integration tests #285

Merged
merged 70 commits into from
Dec 12, 2023

Conversation

HenningNormann
Copy link
Contributor

@HenningNormann HenningNormann commented Dec 5, 2023

Contains #254

Description

  • Repo integration tests
  • Storage.readallformultipledataelement parameter fix
  • TelemetryClient nullability fix
  • GetAllAppTitles - removed trailing semicolon (is present in Cosmos implementation)
  • DeleteAllInstanceEvents, changed from nonquery to scalar
  • GetHardDeletedDataElements: made org test case insensitive

Related Issue(s)

Verification

  • Your code builds clean without any errors or warnings
  • Manual testing done (required)
  • Relevant automated test added (if you find this hard, leave it and we'll help out)
  • All tests run green

Documentation

  • User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

- storage.readinstancefromquery fixes
- Removed postgres stuff from InstanceQueryHelper
- Rewrite of GetInstancesFromQuery
- Restored db functions removed by mistake
- Added /fileScanResult av valid property when updating data element
…ting cosmos cleanup and reuse of existing code.
- Renamed GetHardDeletedElements -> GetHardDeletedDataElements
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

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

38.2% 38.2% Coverage
0.9% 0.9% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

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

38.3% 38.3% Coverage
0.9% 0.9% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

- Moved variables closer to use
- Made test data more consistent
- Removed unused code
Copy link

sonarqubecloud bot commented Dec 11, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

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

38.6% 38.6% Coverage
0.9% 0.9% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@HenningNormann HenningNormann merged commit 3381a7a into main Dec 12, 2023
9 of 10 checks passed
@HenningNormann HenningNormann deleted the feature/191-postgresql-poc-5 branch December 12, 2023 07:27
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.

3 participants