Skip to content

Conversation

@EGKangaroo
Copy link
Contributor

make service calls to the mail service when a package is created and when a package route is finished

@Sverrevg Sverrevg self-requested a review June 4, 2021 09:17
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jun 4, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@Sverrevg Sverrevg enabled auto-merge (squash) June 4, 2021 13:19
@Sverrevg Sverrevg merged commit b3a0f84 into develop Jun 4, 2021
@Sverrevg Sverrevg deleted the task/#423-mail-service-calls branch June 4, 2021 13:19
JeapfromtheLake added a commit that referenced this pull request Jun 4, 2021
* Merge master in develop (#27)

* Develop into master (#26)

* Task/#257 controller skeleton

* Task/#263 koppeling pakket service

* cors (#5)

* dockerfile added local file

* Add license (#6)

* Update README.md

* Create LICENSE

* Update README.md

Co-authored-by: Heesakkers,Aron A.P.H.M <aron.heesakkers@student.fontys.nl>

* Build (#11)

Co-authored-by: Aron Heesakkers <aron.heesakkers@via.nl>

* Hardcoded values to appsettings (#12)

Co-authored-by: Aron Heesakkers <aron.heesakkers@via.nl>

* Update README.md (#13)

* Develop (#7)

* Task/#257 controller skeleton

* Task/#263 koppeling pakket service

* cors (#5)

* dockerfile added local file

* Add license (#6)

* Update README.md

* Create LICENSE

* Update README.md

Co-authored-by: Heesakkers,Aron A.P.H.M <aron.heesakkers@student.fontys.nl>

Co-authored-by: Wieling,Kevin C.F.J <k.wieling@student.fontys.nl>
Co-authored-by: Gompel,Sverre S. van <sverre.vangompel@student.fontys.nl>
Co-authored-by: Heesakkers,Aron A.P.H.M <aron.heesakkers@student.fontys.nl>
Co-authored-by: EGKangaroo <EGKangaroo@yahoo.com>

* Update README.md

Co-authored-by: Wieling,Kevin C.F.J <k.wieling@student.fontys.nl>
Co-authored-by: Gompel,Sverre S. van <sverre.vangompel@student.fontys.nl>
Co-authored-by: Heesakkers,Aron A.P.H.M <aron.heesakkers@student.fontys.nl>
Co-authored-by: EGKangaroo <EGKangaroo@yahoo.com>

* Update README.md

* Gateway fix (#16)

* Changes

* gateway fix, same request model as package service

* created at action bug fixed

Co-authored-by: Aron Heesakkers <aron.heesakkers@via.nl>
Co-authored-by: EGKangaroo <EGKangaroo@yahoo.com>

* Task/#264 koppeling locatieservice (#18)

* added locationservice url

* added models

* location controller

* fixed room requestmodel

* fix endpoints and constants

* more model fixes

* getpackage conversion fix

* Story/#333 pakketgegevens (#20)

* personeel-service toegevoegd

* start error handling. persoon toegevoegd aan GetPackage(id)

* sender is receiverid bugfix

* collectionpoint ophalen bij GetPackage{id}

* 400 - 404 errors allowed. getpackages haalt nu ook locatie en ontvanger op

* merge fix

* Story/#16 edit locations (#23)

* Docker Local Appsettings

* README update

* Update methods finished

* Changed name

Co-authored-by: Aron Heesakkers <aron.heesakkers@via.nl>

* #358 delete endpoints (#24)

* all calls make use of flurl extension and return ObjectResults

* Delete endpoints toegevoegd aan locatiecontroller

* Error handling voor delete endpoints

* conflict httpstatus added

* Small formatting fix in locatiecontroller

Co-authored-by: JaapvanderMeer <43168682+JeapfromtheLake@users.noreply.github.com>

Co-authored-by: Wieling,Kevin C.F.J <k.wieling@student.fontys.nl>
Co-authored-by: Gompel,Sverre S. van <sverre.vangompel@student.fontys.nl>
Co-authored-by: Heesakkers,Aron A.P.H.M <aron.heesakkers@student.fontys.nl>
Co-authored-by: EGKangaroo <EGKangaroo@yahoo.com>
Co-authored-by: Shady^ <36726909+ShadyDL@users.noreply.github.com>
Co-authored-by: Aron Heesakkers <aron.heesakkers@via.nl>
Co-authored-by: Sverre <43172180+Sverrevg@users.noreply.github.com>

* Update docker-publish.yml

* Update appsettings.json

* Update appsettings.json

* Rename appsettings.Docker.json to tmp

* Rename tmp to appsettings.Docker.json

* Add kestral

* gethealth call

Co-authored-by: Jaap van der Meer <43168682+JeapfromtheLake@users.noreply.github.com>
Co-authored-by: Wieling,Kevin C.F.J <k.wieling@student.fontys.nl>
Co-authored-by: Gompel,Sverre S. van <sverre.vangompel@student.fontys.nl>
Co-authored-by: Heesakkers,Aron A.P.H.M <aron.heesakkers@student.fontys.nl>
Co-authored-by: EGKangaroo <EGKangaroo@yahoo.com>
Co-authored-by: Shady^ <36726909+ShadyDL@users.noreply.github.com>
Co-authored-by: Aron Heesakkers <aron.heesakkers@via.nl>

* #433 api call url refactor (#29)

* Develop into master (#26)

* Task/#257 controller skeleton

* Task/#263 koppeling pakket service

* cors (#5)

* dockerfile added local file

* Add license (#6)

* Update README.md

* Create LICENSE

* Update README.md

Co-authored-by: Heesakkers,Aron A.P.H.M <aron.heesakkers@student.fontys.nl>

* Build (#11)

Co-authored-by: Aron Heesakkers <aron.heesakkers@via.nl>

* Hardcoded values to appsettings (#12)

Co-authored-by: Aron Heesakkers <aron.heesakkers@via.nl>

* Update README.md (#13)

* Develop (#7)

* Task/#257 controller skeleton

* Task/#263 koppeling pakket service

* cors (#5)

* dockerfile added local file

* Add license (#6)

* Update README.md

* Create LICENSE

* Update README.md

Co-authored-by: Heesakkers,Aron A.P.H.M <aron.heesakkers@student.fontys.nl>

Co-authored-by: Wieling,Kevin C.F.J <k.wieling@student.fontys.nl>
Co-authored-by: Gompel,Sverre S. van <sverre.vangompel@student.fontys.nl>
Co-authored-by: Heesakkers,Aron A.P.H.M <aron.heesakkers@student.fontys.nl>
Co-authored-by: EGKangaroo <EGKangaroo@yahoo.com>

* Update README.md

Co-authored-by: Wieling,Kevin C.F.J <k.wieling@student.fontys.nl>
Co-authored-by: Gompel,Sverre S. van <sverre.vangompel@student.fontys.nl>
Co-authored-by: Heesakkers,Aron A.P.H.M <aron.heesakkers@student.fontys.nl>
Co-authored-by: EGKangaroo <EGKangaroo@yahoo.com>

* Update README.md

* Gateway fix (#16)

* Changes

* gateway fix, same request model as package service

* created at action bug fixed

Co-authored-by: Aron Heesakkers <aron.heesakkers@via.nl>
Co-authored-by: EGKangaroo <EGKangaroo@yahoo.com>

* Task/#264 koppeling locatieservice (#18)

* added locationservice url

* added models

* location controller

* fixed room requestmodel

* fix endpoints and constants

* more model fixes

* getpackage conversion fix

* Story/#333 pakketgegevens (#20)

* personeel-service toegevoegd

* start error handling. persoon toegevoegd aan GetPackage(id)

* sender is receiverid bugfix

* collectionpoint ophalen bij GetPackage{id}

* 400 - 404 errors allowed. getpackages haalt nu ook locatie en ontvanger op

* merge fix

* Story/#16 edit locations (#23)

* Docker Local Appsettings

* README update

* Update methods finished

* Changed name

Co-authored-by: Aron Heesakkers <aron.heesakkers@via.nl>

* #358 delete endpoints (#24)

* all calls make use of flurl extension and return ObjectResults

* Delete endpoints toegevoegd aan locatiecontroller

* Error handling voor delete endpoints

* conflict httpstatus added

* Small formatting fix in locatiecontroller

Co-authored-by: JaapvanderMeer <43168682+JeapfromtheLake@users.noreply.github.com>

Co-authored-by: Wieling,Kevin C.F.J <k.wieling@student.fontys.nl>
Co-authored-by: Gompel,Sverre S. van <sverre.vangompel@student.fontys.nl>
Co-authored-by: Heesakkers,Aron A.P.H.M <aron.heesakkers@student.fontys.nl>
Co-authored-by: EGKangaroo <EGKangaroo@yahoo.com>
Co-authored-by: Shady^ <36726909+ShadyDL@users.noreply.github.com>
Co-authored-by: Aron Heesakkers <aron.heesakkers@via.nl>
Co-authored-by: Sverre <43172180+Sverrevg@users.noreply.github.com>

* Update docker-publish.yml

* Update appsettings.json

* Update appsettings.json

* Rename appsettings.Docker.json to tmp

* Rename tmp to appsettings.Docker.json

* Add kestral

* gethealth call

* Updated urls in location controller and refactored a little but for clarity

* Refactored packagecontroller and fixed urls

Co-authored-by: Jaap van der Meer <43168682+JeapfromtheLake@users.noreply.github.com>
Co-authored-by: Wieling,Kevin C.F.J <k.wieling@student.fontys.nl>
Co-authored-by: Gompel,Sverre S. van <sverre.vangompel@student.fontys.nl>
Co-authored-by: Heesakkers,Aron A.P.H.M <aron.heesakkers@student.fontys.nl>
Co-authored-by: EGKangaroo <EGKangaroo@yahoo.com>
Co-authored-by: Shady^ <36726909+ShadyDL@users.noreply.github.com>
Co-authored-by: Aron Heesakkers <aron.heesakkers@via.nl>

* merge fix

* #436 sonarcloud integration (#30)

* Develop into master (#26)

* Task/#257 controller skeleton

* Task/#263 koppeling pakket service

* cors (#5)

* dockerfile added local file

* Add license (#6)

* Update README.md

* Create LICENSE

* Update README.md

Co-authored-by: Heesakkers,Aron A.P.H.M <aron.heesakkers@student.fontys.nl>

* Build (#11)

Co-authored-by: Aron Heesakkers <aron.heesakkers@via.nl>

* Hardcoded values to appsettings (#12)

Co-authored-by: Aron Heesakkers <aron.heesakkers@via.nl>

* Update README.md (#13)

* Develop (#7)

* Task/#257 controller skeleton

* Task/#263 koppeling pakket service

* cors (#5)

* dockerfile added local file

* Add license (#6)

* Update README.md

* Create LICENSE

* Update README.md

Co-authored-by: Heesakkers,Aron A.P.H.M <aron.heesakkers@student.fontys.nl>

Co-authored-by: Wieling,Kevin C.F.J <k.wieling@student.fontys.nl>
Co-authored-by: Gompel,Sverre S. van <sverre.vangompel@student.fontys.nl>
Co-authored-by: Heesakkers,Aron A.P.H.M <aron.heesakkers@student.fontys.nl>
Co-authored-by: EGKangaroo <EGKangaroo@yahoo.com>

* Update README.md

Co-authored-by: Wieling,Kevin C.F.J <k.wieling@student.fontys.nl>
Co-authored-by: Gompel,Sverre S. van <sverre.vangompel@student.fontys.nl>
Co-authored-by: Heesakkers,Aron A.P.H.M <aron.heesakkers@student.fontys.nl>
Co-authored-by: EGKangaroo <EGKangaroo@yahoo.com>

* Update README.md

* Gateway fix (#16)

* Changes

* gateway fix, same request model as package service

* created at action bug fixed

Co-authored-by: Aron Heesakkers <aron.heesakkers@via.nl>
Co-authored-by: EGKangaroo <EGKangaroo@yahoo.com>

* Task/#264 koppeling locatieservice (#18)

* added locationservice url

* added models

* location controller

* fixed room requestmodel

* fix endpoints and constants

* more model fixes

* getpackage conversion fix

* Story/#333 pakketgegevens (#20)

* personeel-service toegevoegd

* start error handling. persoon toegevoegd aan GetPackage(id)

* sender is receiverid bugfix

* collectionpoint ophalen bij GetPackage{id}

* 400 - 404 errors allowed. getpackages haalt nu ook locatie en ontvanger op

* merge fix

* Story/#16 edit locations (#23)

* Docker Local Appsettings

* README update

* Update methods finished

* Changed name

Co-authored-by: Aron Heesakkers <aron.heesakkers@via.nl>

* #358 delete endpoints (#24)

* all calls make use of flurl extension and return ObjectResults

* Delete endpoints toegevoegd aan locatiecontroller

* Error handling voor delete endpoints

* conflict httpstatus added

* Small formatting fix in locatiecontroller

Co-authored-by: JaapvanderMeer <43168682+JeapfromtheLake@users.noreply.github.com>

Co-authored-by: Wieling,Kevin C.F.J <k.wieling@student.fontys.nl>
Co-authored-by: Gompel,Sverre S. van <sverre.vangompel@student.fontys.nl>
Co-authored-by: Heesakkers,Aron A.P.H.M <aron.heesakkers@student.fontys.nl>
Co-authored-by: EGKangaroo <EGKangaroo@yahoo.com>
Co-authored-by: Shady^ <36726909+ShadyDL@users.noreply.github.com>
Co-authored-by: Aron Heesakkers <aron.heesakkers@via.nl>
Co-authored-by: Sverre <43172180+Sverrevg@users.noreply.github.com>

* Update docker-publish.yml

* Update appsettings.json

* Update appsettings.json

* Rename appsettings.Docker.json to tmp

* Rename tmp to appsettings.Docker.json

* Add kestral

* gethealth call

* Create sonarcloud.yml

* Updated name of workflow

* Fixed indentation

* Updated pull request triggers

Co-authored-by: Jaap van der Meer <43168682+JeapfromtheLake@users.noreply.github.com>
Co-authored-by: Wieling,Kevin C.F.J <k.wieling@student.fontys.nl>
Co-authored-by: Gompel,Sverre S. van <sverre.vangompel@student.fontys.nl>
Co-authored-by: Heesakkers,Aron A.P.H.M <aron.heesakkers@student.fontys.nl>
Co-authored-by: EGKangaroo <EGKangaroo@yahoo.com>
Co-authored-by: Shady^ <36726909+ShadyDL@users.noreply.github.com>
Co-authored-by: Aron Heesakkers <aron.heesakkers@via.nl>
Co-authored-by: Sverre <43172180+Sverrevg@users.noreply.github.com>
Co-authored-by: Sverre van Gompel <sverrevangompel@hotmail.com>

* #20 pakket levering (#31)

* package/ticket response and requests updated. added to converter and changed controller logic

* postticket added and ticketresponse update

* ticketmodel now has complete location model

* duplicate code fix

* Task/#423 mail service calls (#33)

* Update PackageController.cs

* get persons and rooms when posting

* fixed exception error by correctly awaiting response

* GetAllpersons and GetAllRooms added to packageresponsemodel

Co-authored-by: Sverre <43172180+Sverrevg@users.noreply.github.com>
Co-authored-by: Wieling,Kevin C.F.J <k.wieling@student.fontys.nl>
Co-authored-by: Gompel,Sverre S. van <sverre.vangompel@student.fontys.nl>
Co-authored-by: Heesakkers,Aron A.P.H.M <aron.heesakkers@student.fontys.nl>
Co-authored-by: EGKangaroo <EGKangaroo@yahoo.com>
Co-authored-by: Shady^ <36726909+ShadyDL@users.noreply.github.com>
Co-authored-by: Aron Heesakkers <aron.heesakkers@via.nl>
Co-authored-by: FIPostAdmin <82575254+FIPostAdmin@users.noreply.github.com>
Co-authored-by: Sverre van Gompel <sverrevangompel@hotmail.com>
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.

3 participants