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

fix: ensure performed by is set for activities #628

Merged
merged 19 commits into from
Apr 22, 2024

Conversation

arealmaas
Copy link
Collaborator

@arealmaas arealmaas commented Apr 12, 2024

Before refactoring more, let's do a review on this if this is the best approach or not..

Description

  • Adds a new function to get the long names of the organization
  • Caches the result with a new cache key

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)

Documentation

  • Documentation is updated (either in docs-directory, Altinnpedia or a separate linked PR in altinn-studio-docs., if applicable)

@arealmaas arealmaas requested a review from a team as a code owner April 12, 2024 09:50
@@ -7,6 +7,7 @@ namespace Digdir.Domain.Dialogporten.Application.Common;
public interface IUserOrganizationRegistry
Copy link
Member

Choose a reason for hiding this comment

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

Ikke innført i denne PR-en, men jeg synes at bruken av "organization" blir misvisende, siden det er snakk om tjenesteeiere (som vi ellers kaller "service owners") og ikke bare hvilken som helst organisasjon. Har eksperimentert litt i en branch, som jeg mener har en bedre oppdeling mht externals-servicene og "current user"-servicene, som altså er sammenstillingene av IUser og externals-ene (implementasjonen har dog andre problemer som er knyttet til usertype, så den er ikke brukanes pt)

…/Common/DialogApplication.cs

Co-authored-by: Ole Jørgen Skogstad <skogstad@softis.net>
arealmaas and others added 6 commits April 17, 2024 12:20
…V1/ServiceOwner/Dialogs/Commands/Create/CreateDialogCommand.cs

Co-authored-by: Magnus Sandgren <5285192+MagnusSandgren@users.noreply.github.com>
…V1/ServiceOwner/Dialogs/Commands/Update/UpdateDialogCommand.cs

Co-authored-by: Magnus Sandgren <5285192+MagnusSandgren@users.noreply.github.com>
Copy link

Quality Gate Passed Quality Gate passed

Issues
2 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@arealmaas arealmaas merged commit 1adf075 into main Apr 22, 2024
14 checks passed
@arealmaas arealmaas deleted the fix/ensure-performed-by-is-set branch April 22, 2024 08:55
oskogstad pushed a commit that referenced this pull request May 7, 2024
🤖 I have created a release *beep* *boop*
---


##
[1.6.0](v1.5.0...v1.6.0)
(2024-05-07)


### Features

* Add authorization caching
([#591](#591))
([2f86d7e](2f86d7e))
* Add GraphQL POC
([#636](#636))
([c779eac](c779eac))
* Add support for apps as serviceresource
([#658](#658))
([adf91ce](adf91ce))
* Authorized parties endpoint in enduser API
([#661](#661))
([050ccbb](050ccbb))


### Bug Fixes

* Accept app references with urn:altinn:resource prefix
([#685](#685))
([c9a5606](c9a5606))
* ensure performed by is set for activities
([#628](#628))
([1adf075](1adf075))
* Use HttpClient wrappers that ensure success to match FusionCache
expectations ([#684](#684))
([7c1e966](7c1e966))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
arealmaas added a commit that referenced this pull request Jun 5, 2024
<!--- Provide a general summary of your changes in the Title above -->

## Description

<!--- Describe your changes in detail -->

## Related Issue(s)

- #760 
- Reverting #628
- Changing PerformedBy to be a string value

## Verification

- [X] **Your** code builds clean without any errors or warnings
- [X] Manual testing done (required)
- [x] Relevant automated test added (if you find this hard, leave it and
we'll help out)

## Documentation

- [ ] Documentation is updated (either in `docs`-directory, Altinnpedia
or a separate linked PR in
[altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if
applicable)

---------

Co-authored-by: Ole Jørgen Skogstad <skogstad@softis.net>
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.

4 participants