Skip to content

Commit

Permalink
Feature/7170 restructure process part1 (#7250)
Browse files Browse the repository at this point in the history
* class structure

* Some updates on logic

* Added first unit test

* updates for test

* new tests

* Update

* Updated naming

* Task updates

* Latest update

* Restructure

* Added more task types

* Added nextv2 first version

* fixed logic

* More comments

* More process updates. Added support for gateway

* Updated flow to support return

* Added more asserts

* Updates to support the new storage models

* added task

* updates

* Updated nugets

* Updated authorization

* Updated API and reneame old

* startetd on instance

* Updated simplied instansiation

* Updated logic and completed process on full post

* Removed unsused service

* code smell

* removed unused test

* Code smell fixes

* removed old implementation

* Code cleanup

* Fixed async

* removed ef tests

* Fixed logic and enabled test

* Namespace fix. Changed to App.Core

* Removed unusded code

* Added back registering event

* code smell

* Code smell

* code fix

* More namespace fix

* Code smell

* Removed duplicate events publishing

* flowtype

* Code smell

* Code smell

* Code smell

* Updated DataTask description.

* Updated ConfirmationTask description

* Updated FeedbackTask description

* Updated comments of ExclusiveGateway and its props

* feedback fixes

* Fixed missing setting of failed

* Fixed constructor with default values

* Code smell

* Fixed duplicate method

* Added some test to improve coverage

* more tests

* Code smell

* Code smell

* Updated after publish of nugets

Co-authored-by: Terje Holene <[email protected]>
  • Loading branch information
TheTechArch and SandGrainOne authored Jan 14, 2022
1 parent b98251a commit 785009a
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 1 deletion.
16 changes: 16 additions & 0 deletions TestData/Register/Org/910423185.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"OrgNumber": "910423185",
"Name": "EAS Health Consulting Svolvær",
"UnitType": "AS",
"TelephoneNumber": "12345678",
"MobileNumber": "92010000",
"FaxNumber": "92110000",
"EMailAddress": "[email protected]",
"InternetAddress": "http://eashealt.no",
"MailingAddress": "Feskslogveien 12",
"MailingPostalCode": "8400",
"MailingPostalCity": "Svolvær",
"BusinessAddress": "Feskslogveien 12",
"BusinessPostalCode": "8300",
"BusinessPostalCity": "By"
}
13 changes: 13 additions & 0 deletions TestData/Register/Party/500802.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"partyId": "500802",
"partyTypeName": 2,
"orgNumber": "910423185",
"ssn": null,
"unitType": "AS",
"name": "EAS Health Consulting Svolvær",
"isDeleted": false,
"onlyHierarchyElementWithNoAccess": false,
"person": null,
"organisation": null,
"childParties": null
}
15 changes: 14 additions & 1 deletion TestData/authorization/partylist/1337.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@
"person": null,
"organisation": null,
"childParties": null
}, {
},
{
"partyId": "500801",
"partyTypeName": 2,
"OrgNumber": "910471120",
Expand All @@ -107,5 +108,17 @@
"person": null,
"organisation": null,
"childParties": null
},
{
"partyId": "500802",
"partyTypeName": 2,
"OrgNumber": "910423185",
"unitType": "AS",
"name": "EAS Health Consulting Svolvær",
"isDeleted": false,
"onlyHierarchyElementWithNoAccess": false,
"person": null,
"organisation": null,
"childParties": null
}
]
18 changes: 18 additions & 0 deletions TestData/authorization/roles/User_1337/party_500802/roles.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[
{
"Type": "altinn",
"value": "MEDL"
},
{
"Type": "altinn",
"value": "REGNA"
},
{
"Type": "altinn",
"value": "UTINN"
},
{
"Type": "altinn",
"value": "UTOMR"
}
]

0 comments on commit 785009a

Please sign in to comment.