Altinn / altinn-register

Altinn platform microservice for handling register data
0 stars 1 forks source link

feat: reduce affordances provided by `IParties` #180

Closed Alxandr closed 3 months ago

Alxandr commented 4 months ago

This is in preparation for supporting a local development mode of register with reduced features but no dependency on Altinn 2. This commit creates a new Altinn.Register.Core project and moves and renames the IParties interface to it. It also updates the interface with more idiomatic naming of methods and ensure that they all take in CancellationTokens. Lastly, it reduced the affordances provided by the interface by limiting the size of it's outbound contract while also relaxing the input constraints.

Description

Related Issue(s)

Verification

Documentation

sonarcloud[bot] commented 3 months ago

Quality Gate Failed Quality Gate failed

Failed conditions
67.65% Condition Coverage on New Code (required ≥ 80%)
17 Duplicated Lines on New Code (required ≤ 5)

See analysis details on SonarCloud