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

12696 automatically add payment data type to applicationmetadata when adding payment task #12776

Conversation

standeren
Copy link
Contributor

Description

Add dataType to appmetadata when adding payment and signing tasks to bpmn process.
Use custom prefix id paymentInformation- and signatureInformation- and 4 characters random identifier as suffix.
Remove same dataType when deleting using the same dataTypeId as identifier for backend.

Related Issue(s)

  • #{issue number}

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)

@github-actions github-actions bot added area/process Area: Related to app process (e.g. signing, receipt, fill inn, payment, etc). solution/studio/designer Issues related to the Altinn Studio Designer solution. quality/testing Tests that are missing, needs to be created or could be improved. labels May 7, 2024
@standeren standeren force-pushed the 12696-automatically-add-payment-data-type-to-applicationmetadata-when-adding-payment-task branch 4 times, most recently from 79cd8a0 to b1fa767 Compare May 7, 2024 11:03
Copy link

codecov bot commented May 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.26%. Comparing base (10c7c04) to head (4ce9dff).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #12776      +/-   ##
==========================================
+ Coverage   90.24%   90.26%   +0.02%     
==========================================
  Files        1318     1320       +2     
  Lines       18914    18953      +39     
  Branches     2310     2313       +3     
==========================================
+ Hits        17068    17107      +39     
  Misses       1582     1582              
  Partials      264      264              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@standeren standeren force-pushed the 12696-automatically-add-payment-data-type-to-applicationmetadata-when-adding-payment-task branch from b1fa767 to a7679f9 Compare May 7, 2024 11:15
@standeren standeren marked this pull request as ready for review May 7, 2024 13:20
Copy link
Member

@nkylstad nkylstad left a comment

Choose a reason for hiding this comment

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

Great work! I have a couple of suggestions to consider 😊

@standeren standeren force-pushed the 12696-automatically-add-payment-data-type-to-applicationmetadata-when-adding-payment-task branch 2 times, most recently from df4d27c to 02d8bcc Compare May 13, 2024 06:59
Copy link
Member

@nkylstad nkylstad left a comment

Choose a reason for hiding this comment

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

Looks great! :shipit:
Frontend unit tests pipeline seems to be failing 🤔

@standeren standeren force-pushed the 12696-automatically-add-payment-data-type-to-applicationmetadata-when-adding-payment-task branch from 02d8bcc to 4ce9dff Compare May 13, 2024 08:42
@standeren standeren merged commit b477008 into main May 13, 2024
16 checks passed
@standeren standeren deleted the 12696-automatically-add-payment-data-type-to-applicationmetadata-when-adding-payment-task branch May 13, 2024 09:45
Jondyr pushed a commit that referenced this pull request Jun 10, 2024
… adding payment task (#12776)

* Add/delete dataType when taskType is payment or signing

* Support multiple data types for multiple payment or signing tasks

* Fix PR comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/process Area: Related to app process (e.g. signing, receipt, fill inn, payment, etc). quality/testing Tests that are missing, needs to be created or could be improved. solution/studio/designer Issues related to the Altinn Studio Designer solution.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automatically add payment data type to applicationMetadata when adding payment task
2 participants