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 v5 #605

Merged
merged 99 commits into from
Jul 1, 2024
Merged

Release v5 #605

merged 99 commits into from
Jul 1, 2024

Conversation

tnotheis
Copy link
Member

Readiness checklist

  • I added/updated unit tests.
  • I added/updated integration tests.
  • I ensured that the PR title is good enough for the changelog.
  • I labeled the PR.

* chore: move entities to Aggregates folder

* feat: creation of Relationship and remove Changes related stuff

* test: split into two tests

* feat: acceptance of creation

* feat: reject creation

* feat: revoke creation

* test: split relationship tests into multiple files

* feat: allow multiple relationships as long as there is only one active

* chore: remove redundant parameter

* refactor: make RelationshipTemplatesRepository.Find return null instead of throwing

* feat: add Handler

* feat: add and use expressions

* chore: don't use AutoMapper and add more tests

* feat: reject relationship

* feat: AcceptRelationshipCommand

* feat: RevokeRelationshipCommand

* feat: add AuditLog to DTOs

* feat: add CreationContent property to RelationshipDTO

* feat: add additional properties to RelationshipCreatedIntegrationEvent and RelationshipStatusChangedIntegrationEvent

* feat: handle new integration events in Synchronization module

* chore: formatting

* test: fix tests

* feat: replace integration events in quotas module with new ones

* feat: add migration

* feat: add controller methods

* chore: fix/ignore compiler warnings

* refactor: cleanup error codes

* feat: add insomnia workspace

* feat: add openapi.yml

* fix: add RelationshipMetadataDTO type and add creationContent property to RelationshipDTO

* refactor: rename Content to CreationContent in request to create a relationship

* chore: update InsomniaWorkspace and openapi.yml

* chore: rename RelationshipStatus "Accepted" to "Active"

* chore: fix merge conflicts

* chore: remove redundant whitespace

* feat: add AcceptanceContent

* fix: avoid error on creation of RelationshipsOverview view when RelationshipChanges table does not exist

* feat: (WIP!!): update Admin API RelationshipOverviews view

* feat: add AcceptanceContent to DTO

* fix: pass AcceptanceContent to AcceptRelationshipCommand

* chore: use postgres in Admin CLI launchSettings.json

* fix: relationships overview migration

* feat: update revamped relationships overview view with audit log

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Daniel Almeida <[email protected]>
@tnotheis tnotheis added the enhancement New feature or request label Apr 16, 2024
Copy link

coderabbitai bot commented Apr 16, 2024

Important

Review skipped

Auto reviews are limited to specific labels.

Labels to auto review (1)
  • dependencies

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Tip

Early access features: enabled

We are currently testing the following features in early access:

  • OpenAI gpt-4o model for code reviews and chat: OpenAI claims that this model is better at understanding and generating code than the previous models. We seek your feedback over the next few weeks before making it generally available.

Note:

  • You can enable or disable early access features from the CodeRabbit UI or by updating the CodeRabbit configuration file.
  • Please join our Discord Community to provide feedback and report issues.
  • OSS projects are currently opted into early access features by default.

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

NikolaVetnic and others added 7 commits April 17, 2024 10:15
* chore: move entities to Aggregates folder

* feat: creation of Relationship and remove Changes related stuff

* test: split into two tests

* feat: acceptance of creation

* feat: reject creation

* feat: revoke creation

* test: split relationship tests into multiple files

* feat: allow multiple relationships as long as there is only one active

* chore: remove redundant parameter

* refactor: make RelationshipTemplatesRepository.Find return null instead of throwing

* feat: add Handler

* feat: add and use expressions

* chore: don't use AutoMapper and add more tests

* feat: reject relationship

* feat: AcceptRelationshipCommand

* feat: RevokeRelationshipCommand

* feat: add AuditLog to DTOs

* feat: add CreationContent property to RelationshipDTO

* feat: add additional properties to RelationshipCreatedIntegrationEvent and RelationshipStatusChangedIntegrationEvent

* feat: handle new integration events in Synchronization module

* chore: formatting

* test: fix tests

* feat: replace integration events in quotas module with new ones

* feat: add migration

* feat: add controller methods

* chore: fix/ignore compiler warnings

* refactor: cleanup error codes

* feat: add insomnia workspace

* feat: add openapi.yml

* fix: add RelationshipMetadataDTO type and add creationContent property to RelationshipDTO

* refactor: rename Content to CreationContent in request to create a relationship

* chore: update InsomniaWorkspace and openapi.yml

* feat: implement domain part of relationship termination

* feat: implement application part of relationship termination

* feat: implement relationship termination controller

* feat: disable creating new relationship while terminated one exists

* feat: disable sending messages when relationship is terminated

* test: add relationship termination domain and handler tests

* chore: rename RelationshipStatus "Accepted" to "Active"

* feat: trigger external event

* chore: fix formatting

* chore: fix merge conflicts

* chore: remove redundant whitespace

* fix: add missing directive

* fix: update Content to CreationContent

* chore: update files prior to making PR ready for review

* chore: fix formatting

* feat: add AcceptanceContent

* fix: avoid error on creation of RelationshipsOverview view when RelationshipChanges table does not exist

* feat: (WIP!!): update Admin API RelationshipOverviews view

* feat: add AcceptanceContent to DTO

* fix: pass AcceptanceContent to AcceptRelationshipCommand

* chore: use postgres in Admin CLI launchSettings.json

* feat: implement PR change requests

* feat: implement PR change requests

* chore: fix formatting

* feat: implement PR change requests

* fix: relationships overview migration

* feat: update revamped relationships overview view with audit log

* test: add relationship tests

* chore: fix formatting and remove redundant overload

* chore: fix formatting

* feat: implement PR change requests

* feat: implement PR change requests

* chore: remove redundant Relationship statuses

* fix: update condition

* fix: re-introduce Terminated status

* chore: remove unused method

* refactor: combine checks for other relationships

---------

Co-authored-by: Timo Notheisen <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Timo Notheisen <[email protected]>
Co-authored-by: Daniel Almeida <[email protected]>
…#613)

* feat: rename field to CreationResponseContent

* feat: update AcceptRelationshipRequest property

* feat: update Content property when revoking and rejecting

* fix: update method calls with additional parameter

* fix: update method calls

* chore: remove unnecessarily added property

* fix: update ctor to fix the compiler error

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
@tnotheis tnotheis changed the title Release v5 (#576) Release v5 Apr 23, 2024
tnotheis and others added 19 commits April 23, 2024 16:27
…Event when establishing a new Relationship (#615)

* refactor: remove relationship created event

* refactor: remove tests

* refactor: remove using directives

* refactor: remove relationship created form Quotas module

* refactor: remove external event type, RelationshipCreated

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
#711)

* refactor: change identity address database type and generate postgres migrations

* fix: postgres migrations and add sql server migrations
* Make C# build fail in case of nullability warnings (#690)

* chore: make compiler treat nullability warnings as errors

* chore: add more warnings

* Consumer API: Prevent messages to identities to be deleted (#685)

* feat: add find all method with possible identity address collection filter

* test: unit test find all identities handler

* feat: ensure message is only sent if none of the recipients has an identity to be deleted

* refactor: add status filter to list identities query to prevent pulling too many instances into memory

* test: exclude consumer api projects from arch unit tests

* test: add integration tests for messages controller (send messages)

* refactor: use expression for identitiy filtering

* fix: arch unit tests

* test: try to make deserialization of data reusable

* test: make PeersToBeDeleted property required and rename class

* chore: formatting

* fix: update npm packages with vulnerabilties

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Timo Notheisen <[email protected]>

* Update npm package with vulnerability in Tokens performance tests (#694)

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Integrate domain events into Domain (remaining modules) (#679)

* chore: Challenges: Make entities subclasses of Entity

* chore: Devices: Make entities subclasses of Entity

* chore: Correct namespace of DatawalletModifiedDomainEventHandler

* chore: Correct namespace of DatawalletModifiedDomainEvent

* chore: Devices: Integrate IdentityDeletionProcessStartedDomainEvent

* chore: Devices: Integrate IdentityCreatedDomainEvent

* chore: Devices: Integrate IdentityDeletionProcessStatusChangedDomainEvent

* fix: Remove unused event bus parameter

* chore: Integrate FileUploadedDomainEvent into domain

* chore: Messages: Make entities subclasses of Entity

* chore: Integrate MessageCreatedDomainEvent into domain

* test: Messages: Add domain test for MessageCreatedDomainEvent

* chore: Relationships: Make entities subclasses of Entity

* chore: Relationships: Integrate RelationshipChangeCreatedDomainEvent into domain

* chore: Relationships: Integrate RelationshipChangeCompletedDomainEvent into domain

* chore: Relationships: Integrate RelationshipTemplateCreatedDomainEvent into domain

* test: Relationships: Write domain tests and remove handler tests for the domain events

* chore: Tokens: Make entities subclasses of Entity

* chore: Tokens: Integrate TokenCreatedDomainEvent into domain

* test: Tokens: Add domain test for TokenCreatedDomainEvent

* fix: Fix formatting

* fix: Make Test classes subclasses of AbstractTestsBase

* chore: Add todos

* chore: Rename test classes and tests

* chore: Fix formatting

* chore: Remove comments

* chore: Use factory methods

* chore: Don't use factory methods

* fix: Fix "Start of week, last monday" bug

* fix: Import missing dependency

* chore: Remove event bus call from handler and tests

* chore: Raise TierOfIdentityChangedDomainEvent automatically when changing the Tier Id

* chore: Raise IdentityDeletionProcessStatusChangedDomainEvent automatically when changing status (wip)

* fix: Remove double raises of TierOfIdentityChangedDomainEvent

* chore: Rename CancelDeletionProcessTests class to CancelDeletionProcessAsOwnerTests

* fix: Fix formatting

* test: Add three unit tests for the ChangeTier method

* test: StartOfWeek on Monday returns same day

* test: Add test for successful path

* chore: Unify test names

* chore: Raise more IdentityDeletionProcessStatusChangedDomainEvents

* chore: Rework TestDataGenerator, remove unused Factory method

* fix: Use TierId property in constructor and rewrite null check

* chore: Remove comments

* fix: Implement custom save methods manually

* chore: fix nullability warning in Identity.cs

* test: refactor TestDataGenerator.cs

* test: don't assert for NotThrow

* test: dont use the word "triggers" in tests; use "raises" instead

* chore: Remove commented out code, fix typo

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Daniel Silva <[email protected]>
Co-authored-by: Timo Notheisen <[email protected]>

* chore: fix build errors upon initial merge

* chore: update sdk with new relationships api

* test: update helper methods with new sdk changes

* chore: remove unnecessary unit tests

* Push support for Connectors via server sent events (#691)

* feat: add SseServer project

* fix: don't raise domain event in FinalizeSyncRun Handler

* feat: only trigger one DatawalletModifiedDomainEvent, no matter how many modifications were added

* fix: use string for properties in DatawalletModifiedDomainEvent

* chore: move TraceIdMiddleware.cs to BuildingBlocks.API

* chore: formatting

* feat: add JwtSigningCertificate to ConsumerApi appsettings.override.json

* chore: remove RequestResponseTimeMiddleware ResponseDurationMiddleware from ConsumerApi and use the ones from BuildingBlocks isntead

* feat: implement SseServer

* feat: add SseConnector

* chore: throw NotSupportedException instead of NotImplementedException in various places

* chore: cleanup Configuration.cs

* chore: formatting

* feat: make JwtSigningCertificate config required

* refactor: extract method to get push notification name into extension method

* feat: catch exception during send in SseServerClient

* feat: only send event name

* chore: enable SSE for local development

* refactor: extract extension method

* chore: improve folder structure

* fix: don't add success if there is no success

* refactor: add ISseServerClient

* test: add SseConnectorTests.cs

* test: introduce BeEquivalentToJson extension method

* refactor: extract request building logic into SseMessageBuilder

* chore: introduce log event ids

* refactor: rename SseConnector to ServerSentEventsConnector

* chore: move SseServer project to "SseServer/src" folder

* test: add tests for EventQueue

* chore: rename database health checks from "<moduleName>" to "<moduleName>Database"

* feat: add health check to SseServer

* feat: add SseServer health check to Consumer API health check

* feat: add Dockerfile for SseServer

* chore: add SseServer to Backbone.run.xml

* ci: add sse server to build and publish pipelines

* chore: make buildContainerImage.js script executable

* chore: fix formatting

* test: fix test

* feat: add sseserver to helm chart

* ci: add sse server to docker-compose.test.yml

* chore: minor changes

* feat: only enable sse health check if sse is enabled

* ci: add JwtSigningCertificate to pipeline configs

* feat: only create sse resources if sse provider is enabled in config

* test: import FluentAssertions.Json in StringAssertionsExtensions to make the tests work

* test: cleanup

* test: remove unused code

* chore: add local logging overrides for eventhandlerservice

* chore: explicitly AllowAnonymous for "/{address}/events" route

* chore: remove redundant configuration from sseserver's appsettings.json

* feat: make Modules property in SseServer's configuration required

* chore: remove commented out code

* chore: add explaining comments to the call of the UpdateDeviceRegistrationCommand

* ci: fix job name

* fix: remove publishing of TierOfIdentityChangedDomainEvent from Handlers

* chore: Make RelationshipAuditLogEntry an Entity

* chore: Integrate RelationshipStatusChangedDomainEvent into Domain

* chore: Integrate RelationshipReactivationRequestedDomainEvent into Domain

* chore: Integrate RelationshipReactivationCompletedDomainEvent into Domain

* test: Make all domain event tests domain tests instead of handler tests

* Update NuGet dependencies (#703)

* Build(deps): Bump the update-nuget-dependencies group with 10 updates

Bumps the update-nuget-dependencies group with 10 updates:

| Package | From | To |
| --- | --- | --- |
| [FluentValidation](https://github.com/JeremySkinner/fluentvalidation) | `11.9.1` | `11.9.2` |
| [FluentValidation.DependencyInjectionExtensions](https://github.com/JeremySkinner/fluentvalidation) | `11.9.1` | `11.9.2` |
| [NetEscapades.AspNetCore.SecurityHeaders](https://github.com/andrewlock/NetEscapades.AspNetCore.SecurityHeaders) | `0.21.0` | `0.22.0` |
| [Serilog.Sinks.Debug](https://github.com/serilog/serilog-sinks-debug) | `2.0.0` | `3.0.0` |
| [GitHubActionsTestLogger](https://github.com/Tyrrrz/GitHubActionsTestLogger) | `2.3.3` | `2.4.1` |
| [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) | `17.8.0` | `17.10.0` |
| [NJsonSchema.NewtonsoftJson](https://github.com/RicoSuter/NJsonSchema) | `11.0.0` | `11.0.1` |
| [xunit](https://github.com/xunit/xunit) | `2.5.3` | `2.8.1` |
| [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) | `2.5.3` | `2.8.1` |
| [coverlet.collector](https://github.com/coverlet-coverage/coverlet) | `6.0.0` | `6.0.2` |


Updates `FluentValidation` from 11.9.1 to 11.9.2
- [Release notes](https://github.com/JeremySkinner/fluentvalidation/releases)
- [Changelog](https://github.com/FluentValidation/FluentValidation/blob/main/Changelog.txt)
- [Commits](FluentValidation/FluentValidation@11.9.1...11.9.2)

Updates `FluentValidation.DependencyInjectionExtensions` from 11.9.1 to 11.9.2
- [Release notes](https://github.com/JeremySkinner/fluentvalidation/releases)
- [Changelog](https://github.com/FluentValidation/FluentValidation/blob/main/Changelog.txt)
- [Commits](FluentValidation/FluentValidation@11.9.1...11.9.2)

Updates `FluentValidation` from 11.9.1 to 11.9.2
- [Release notes](https://github.com/JeremySkinner/fluentvalidation/releases)
- [Changelog](https://github.com/FluentValidation/FluentValidation/blob/main/Changelog.txt)
- [Commits](FluentValidation/FluentValidation@11.9.1...11.9.2)

Updates `NetEscapades.AspNetCore.SecurityHeaders` from 0.21.0 to 0.22.0
- [Changelog](https://github.com/andrewlock/NetEscapades.AspNetCore.SecurityHeaders/blob/master/CHANGELOG.md)
- [Commits](andrewlock/NetEscapades.AspNetCore.SecurityHeaders@v0.21.0...v0.22.0)

Updates `Serilog.Sinks.Debug` from 2.0.0 to 3.0.0
- [Release notes](https://github.com/serilog/serilog-sinks-debug/releases)
- [Commits](serilog/serilog-sinks-debug@v2.0.0...v3.0.0)

Updates `GitHubActionsTestLogger` from 2.3.3 to 2.4.1
- [Release notes](https://github.com/Tyrrrz/GitHubActionsTestLogger/releases)
- [Commits](Tyrrrz/GitHubActionsTestLogger@2.3.3...2.4.1)

Updates `Microsoft.NET.Test.Sdk` from 17.8.0 to 17.10.0
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](microsoft/vstest@v17.8.0...v17.10.0)

Updates `NJsonSchema.NewtonsoftJson` from 11.0.0 to 11.0.1
- [Release notes](https://github.com/RicoSuter/NJsonSchema/releases)
- [Commits](RicoSuter/NJsonSchema@v11.0.0...v11.0.1)

Updates `xunit` from 2.5.3 to 2.8.1
- [Commits](xunit/xunit@2.5.3...2.8.1)

Updates `xunit.runner.visualstudio` from 2.5.3 to 2.8.1
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](xunit/visualstudio.xunit@2.5.3...2.8.1)

Updates `coverlet.collector` from 6.0.0 to 6.0.2
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases)
- [Commits](coverlet-coverage/coverlet@v6.0.0...v6.0.2)

---
updated-dependencies:
- dependency-name: FluentValidation
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: update-nuget-dependencies
- dependency-name: FluentValidation.DependencyInjectionExtensions
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: update-nuget-dependencies
- dependency-name: FluentValidation
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: update-nuget-dependencies
- dependency-name: NetEscapades.AspNetCore.SecurityHeaders
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: update-nuget-dependencies
- dependency-name: Serilog.Sinks.Debug
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: update-nuget-dependencies
- dependency-name: GitHubActionsTestLogger
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: update-nuget-dependencies
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: update-nuget-dependencies
- dependency-name: NJsonSchema.NewtonsoftJson
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: update-nuget-dependencies
- dependency-name: xunit
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: update-nuget-dependencies
- dependency-name: xunit.runner.visualstudio
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: update-nuget-dependencies
- dependency-name: coverlet.collector
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: update-nuget-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>

* ci: use includeNotFoundTests=false in tests

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Timo Notheisen <[email protected]>

* Admin UI: Update npm dependencies (#702)

Bumps the update-npm-dependencies group in /AdminApi/src/AdminApi/ClientApp with 15 updates:

| Package | From | To |
| --- | --- | --- |
| [@angular/animations](https://github.com/angular/angular/tree/HEAD/packages/animations) | `18.0.2` | `18.0.3` |
| [@angular/cdk](https://github.com/angular/components) | `18.0.2` | `18.0.3` |
| [@angular/common](https://github.com/angular/angular/tree/HEAD/packages/common) | `18.0.2` | `18.0.3` |
| [@angular/compiler](https://github.com/angular/angular/tree/HEAD/packages/compiler) | `18.0.2` | `18.0.3` |
| [@angular/core](https://github.com/angular/angular/tree/HEAD/packages/core) | `18.0.2` | `18.0.3` |
| [@angular/forms](https://github.com/angular/angular/tree/HEAD/packages/forms) | `18.0.2` | `18.0.3` |
| [@angular/material](https://github.com/angular/components) | `18.0.2` | `18.0.3` |
| [@angular/platform-browser](https://github.com/angular/angular/tree/HEAD/packages/platform-browser) | `18.0.2` | `18.0.3` |
| [@angular/platform-browser-dynamic](https://github.com/angular/angular/tree/HEAD/packages/platform-browser-dynamic) | `18.0.2` | `18.0.3` |
| [@angular/platform-server](https://github.com/angular/angular/tree/HEAD/packages/platform-server) | `18.0.2` | `18.0.3` |
| [@angular/router](https://github.com/angular/angular/tree/HEAD/packages/router) | `18.0.2` | `18.0.3` |
| [@angular-devkit/build-angular](https://github.com/angular/angular-cli) | `18.0.3` | `18.0.4` |
| [@angular/cli](https://github.com/angular/angular-cli) | `18.0.3` | `18.0.4` |
| [@angular/compiler-cli](https://github.com/angular/angular/tree/HEAD/packages/compiler-cli) | `18.0.2` | `18.0.3` |
| [prettier](https://github.com/prettier/prettier) | `3.3.1` | `3.3.2` |


Updates `@angular/animations` from 18.0.2 to 18.0.3
- [Release notes](https://github.com/angular/angular/releases)
- [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md)
- [Commits](https://github.com/angular/angular/commits/18.0.3/packages/animations)

Updates `@angular/cdk` from 18.0.2 to 18.0.3
- [Release notes](https://github.com/angular/components/releases)
- [Changelog](https://github.com/angular/components/blob/main/CHANGELOG.md)
- [Commits](angular/components@18.0.2...18.0.3)

Updates `@angular/common` from 18.0.2 to 18.0.3
- [Release notes](https://github.com/angular/angular/releases)
- [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md)
- [Commits](https://github.com/angular/angular/commits/18.0.3/packages/common)

Updates `@angular/compiler` from 18.0.2 to 18.0.3
- [Release notes](https://github.com/angular/angular/releases)
- [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md)
- [Commits](https://github.com/angular/angular/commits/18.0.3/packages/compiler)

Updates `@angular/core` from 18.0.2 to 18.0.3
- [Release notes](https://github.com/angular/angular/releases)
- [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md)
- [Commits](https://github.com/angular/angular/commits/18.0.3/packages/core)

Updates `@angular/forms` from 18.0.2 to 18.0.3
- [Release notes](https://github.com/angular/angular/releases)
- [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md)
- [Commits](https://github.com/angular/angular/commits/18.0.3/packages/forms)

Updates `@angular/material` from 18.0.2 to 18.0.3
- [Release notes](https://github.com/angular/components/releases)
- [Changelog](https://github.com/angular/components/blob/main/CHANGELOG.md)
- [Commits](angular/components@18.0.2...18.0.3)

Updates `@angular/platform-browser` from 18.0.2 to 18.0.3
- [Release notes](https://github.com/angular/angular/releases)
- [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md)
- [Commits](https://github.com/angular/angular/commits/18.0.3/packages/platform-browser)

Updates `@angular/platform-browser-dynamic` from 18.0.2 to 18.0.3
- [Release notes](https://github.com/angular/angular/releases)
- [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md)
- [Commits](https://github.com/angular/angular/commits/18.0.3/packages/platform-browser-dynamic)

Updates `@angular/platform-server` from 18.0.2 to 18.0.3
- [Release notes](https://github.com/angular/angular/releases)
- [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md)
- [Commits](https://github.com/angular/angular/commits/18.0.3/packages/platform-server)

Updates `@angular/router` from 18.0.2 to 18.0.3
- [Release notes](https://github.com/angular/angular/releases)
- [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md)
- [Commits](https://github.com/angular/angular/commits/18.0.3/packages/router)

Updates `@angular-devkit/build-angular` from 18.0.3 to 18.0.4
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Changelog](https://github.com/angular/angular-cli/blob/main/CHANGELOG.md)
- [Commits](angular/angular-cli@18.0.3...18.0.4)

Updates `@angular/cli` from 18.0.3 to 18.0.4
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Changelog](https://github.com/angular/angular-cli/blob/main/CHANGELOG.md)
- [Commits](angular/angular-cli@18.0.3...18.0.4)

Updates `@angular/compiler-cli` from 18.0.2 to 18.0.3
- [Release notes](https://github.com/angular/angular/releases)
- [Changelog](https://github.com/angular/angular/blob/main/CHANGELOG.md)
- [Commits](https://github.com/angular/angular/commits/18.0.3/packages/compiler-cli)

Updates `prettier` from 3.3.1 to 3.3.2
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@3.3.1...3.3.2)

---
updated-dependencies:
- dependency-name: "@angular/animations"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: update-npm-dependencies
- dependency-name: "@angular/cdk"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: update-npm-dependencies
- dependency-name: "@angular/common"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: update-npm-dependencies
- dependency-name: "@angular/compiler"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: update-npm-dependencies
- dependency-name: "@angular/core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: update-npm-dependencies
- dependency-name: "@angular/forms"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: update-npm-dependencies
- dependency-name: "@angular/material"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: update-npm-dependencies
- dependency-name: "@angular/platform-browser"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: update-npm-dependencies
- dependency-name: "@angular/platform-browser-dynamic"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: update-npm-dependencies
- dependency-name: "@angular/platform-server"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: update-npm-dependencies
- dependency-name: "@angular/router"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: update-npm-dependencies
- dependency-name: "@angular-devkit/build-angular"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: update-npm-dependencies
- dependency-name: "@angular/cli"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: update-npm-dependencies
- dependency-name: "@angular/compiler-cli"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: update-npm-dependencies
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: update-npm-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Timo Notheisen <[email protected]>

* Update dotnet/sdk image in Dockerfiles (#701)

Bumps the update-docker-dependencies group with 1 update in the /DatabaseMigrator directory: dotnet/sdk.
Bumps the update-docker-dependencies group with 1 update in the /EventHandlerService/src/EventHandlerService directory: dotnet/sdk.
Bumps the update-docker-dependencies group with 1 update in the /Jobs/src/Job.IdentityDeletion directory: dotnet/sdk.
Bumps the update-docker-dependencies group with 1 update in the /Modules/Devices/src/Devices.AdminCli directory: dotnet/sdk.


Updates `dotnet/sdk` from 8.0.301 to 8.0.302

Updates `dotnet/sdk` from 8.0.301 to 8.0.302

Updates `dotnet/sdk` from 8.0.301 to 8.0.302

Updates `dotnet/sdk` from 8.0.301 to 8.0.302

---
updated-dependencies:
- dependency-name: dotnet/sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: update-docker-dependencies
- dependency-name: dotnet/sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: update-docker-dependencies
- dependency-name: dotnet/sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: update-docker-dependencies
- dependency-name: dotnet/sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: update-docker-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* Consumer API: Prevent creation and updates to relationships where peer is in status "ToBeDeleted" (#695)

* feat: prevent relationship commands with identities to be deleted

* test: add relationship integration tests

* fix: formatting

* refactor: rename test scenarios

* refactor: add mediatr query to retrieve relationship peer address

* test: adjust step definitions

* refactor: rename validation method

* refactor: use GetPeerOfActiveIdentityInRelationshipResponse type and adjust integration tests

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>

* AdminUI: Table with identity deletion process audit logs doesn't show up when there are no audit log entries (#706)

* fix: identity audit logs would not display

* ci: trigger pipelines

* chore: update ws version to the latest

* fix: update dependencies to fix vulnerability

---------

Co-authored-by: Timo Notheisen <[email protected]>

* Updating entities can cause errors (#707)

* fix: add empty default constructors for all entities

* test: add ArchUnit test to assert the existance of empty default constructors

* chore: merge with 'main' and resolve conflicts

* fix: add decomposition domain events

* fix: revert last change

* fix: Add private parameterless constructor for Tier class

* Updating entities can cause errors (#707)

* fix: add empty default constructors for all entities

* test: add ArchUnit test to assert the existance of empty default constructors

* fix: don't publish ExternalEventCreatedDomainEvent manually

* chore: remove AddressPrefix from appsettings.json files

* chore: add InstanceUrl to appsettings.override.json of EventHandlerService

* fix: delete QuotasDbContextSeeder, as it is not required anymore

* feat: raise TierCreatedDomainEvent in correct constructor

* fix: correctly configure InstanceUrl

* fix: trigger RelationshipStatusChangedDomainEvent in case of creation

* test: clear domain events in TestData

* fix: add method that was removed from controller

* test: add Raises_RelationshipStatusChangedDomainEvent test to creation of relationship

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Timo Notheisen <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Timo Notheisen <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mika Aaron Herrmann <[email protected]>
Co-authored-by: Daniel Silva <[email protected]>
Co-authored-by: Mika Herrmann <[email protected]>
Co-authored-by: Vladimir Vuckovic <[email protected]>
@tnotheis tnotheis marked this pull request as ready for review July 1, 2024 05:34
Copy link
Contributor

@Dannyps Dannyps left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good luck :)

@tnotheis tnotheis merged commit 5428a91 into main Jul 1, 2024
19 checks passed
@tnotheis tnotheis deleted the release/v5 branch July 1, 2024 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants