3313 Commits

Author SHA1 Message Date
espent1004
f5f871fc94 TenantId added to all events in main flow 2020-02-08 22:24:24 +01:00
espent1004
24949c2baf Changing implementation to not get the actualEventBus if it is system-wide event. 2020-02-05 22:17:46 +01:00
espent1004
748a0596d3 Implementing IMultiEventBus in all baseline microservices. Still need to ensure that tenantId is set for all events. 2020-02-05 22:15:48 +01:00
espent1004
2a42053817 Implementing MultiEventBusRabbitMQ to allow for multiple connections to multiple virtual hosts in RabbitMQ, where it is intended to have one virtual host per tenant to achieve tenant isolation.
TODO: Implement in all microservices, and fix selection of actualEventBus in the Publish method in MultiEventBusRabbitMQ
2020-02-04 23:25:10 +01:00
espent1004
d940d9a65d WIP 2020-02-04 19:50:01 +01:00
Espen Tønnessen Nordli
1f040cb19a Work in progress to implement multiple connections to RabbitMQ with one virtual host per tenant in the application. Each tenant specific microservice would then only be given the credentials for their own channel, while the baseline product would have to create connections to all the different virtual hosts in RabbitMQ, and also have awareness of which connection should be used for publishing an event. 2020-02-03 18:57:52 +01:00
Espent1004
bbc84c6b1b
Merge pull request #5 from Espent1004/tenantManagerExpansion
Adding the customisationUrl to the tenantManager rather than hardcodi…
2020-02-02 20:00:05 +01:00
espent1004
341023decd Adding the customisationUrl to the tenantManager rather than hardcoding into the eventBus implementation. 2020-02-02 19:59:00 +01:00
Espent1004
098a75363a
Merge pull request #4 from Espent1004/eventBusImprovements
Refactoring eventBusRabbitMQ implementation to make use of a dictiona…
2020-02-02 18:27:18 +01:00
espent1004
0898363cbf Refactoring eventBusRabbitMQ implementation to make use of a dictionary to check whether an event belongs to the current handler 2020-02-02 18:01:13 +01:00
Espent1004
4f2bb08d25
Merge pull request #3 from Espent1004/identityApiExtension
Identity api extension
2020-02-02 00:59:27 +01:00
espent1004
b55c59a490 Implementing TenantId in events: UserCheckoutAcceptedIntegrationEvent, OrderStartedIntegrationEvent, OrderStatusChangedToSubmittedIntegrationEvent, GracePeriodConfirmedIntegrationEvent, OrderStatusChangedToAwaitingValidationIntegrationEvent.
Additionally the TenantId in the events are made use of the EventBusRabbitMQ implementation, where it checks wether the event should be sent to the tenant specific microservice, or handled normally. In addition it is made use of to ensure that events that do not belong to the tenant is not sent to their tenant specific microservice.
2020-02-02 00:58:35 +01:00
espent1004
069baa2aad Adding tenant_id to claims, so that it can be retrieved from HttpContext.User 2020-02-01 20:51:39 +01:00
espent1004
48e795fda2 Checking tenantId in MVC to only display customisations if tenantId equals 1 2020-02-01 19:52:31 +01:00
espent1004
0365b52e66 Extended identity api so that the AspNetUsers table also contains a column called TenantId, so that this can be used to check what tenant a user belongs to. 2020-02-01 19:47:35 +01:00
Espent1004
71e52e9f89
Merge pull request #2 from Espent1004/eventHandlingCustomisation
Event handling customisation
2020-02-01 00:41:13 +01:00
espent1004
e6296df5d1 Added RFID use case, and support for events being saved in the tenants microservice. The tenant manager is responsible whether a certain event is customised for a certain tenant. 2020-02-01 00:39:23 +01:00
espent1004
63cc274360 Implementing the shipping info, and most of the rfid use case 2020-01-31 20:41:44 +01:00
espent1004
07e2d6ef7e Endpoint 2020-01-20 10:14:10 +01:00
espent1004
6f2a89481a Fix 2020-01-19 23:09:11 +01:00
espent1004
c3f6bf3698 Progress 2020-01-19 22:41:44 +01:00
Espen Tønnessen Nordli
f1328f721e Revert ".."
This reverts commit 02c644f79a0e61dbaaf954d857aebc31195561d0.
2019-12-03 11:31:35 +01:00
espent1004
02c644f79a .. 2019-11-20 11:18:50 +01:00
espent1004
89c5addfe8 FF 2019-11-19 22:39:48 +01:00
espent1004
2be714234b More stuff 2019-11-19 20:44:48 +01:00
Espen Tønnessen Nordli
b697de1f2a Fixes 2019-11-17 16:17:07 +01:00
espent1004
dc8fed53f9 More setup 2019-10-27 22:52:18 +01:00
espent1004
a804a53f8c Adding project 2019-10-27 22:45:23 +01:00
espent1004
50bf07c8c0 Work in progress 2019-10-27 22:25:00 +01:00
Espent1004
af3167ee83
Merge pull request #1 from Espent1004/tenantManager
Adding tenantManger project
2019-10-27 19:09:34 +01:00
espent1004
64e063b9a0 Adding tenantManger project 2019-10-27 19:06:47 +01:00
Miguel Veloso
6308cdcbf3 Remove docs folder 2019-10-25 17:10:02 +01:00
Miguel Veloso
eaaa049d25 Merge branch 'fix/remove-obsolete-package' into dev 2019-10-23 17:04:25 +01:00
Miguel Veloso
c0eb481f8e Remove obsolote package 2019-10-23 17:03:11 +01:00
Nish Anil
cd7d2d464a
Update README.md 2019-10-21 17:24:46 +05:30
Miguel Veloso
8dc2d70024 Add note about work in progress going on in features/migration-dotnet3 2019-10-17 15:45:14 +01:00
Maira Wenzel
9dae52f80b update link
(cherry picked from commit 2d5fbc92379777bf19ea2e61196d03a86a86403a)
2019-10-09 17:26:26 +01:00
Miguel Veloso
86f7d53683 Merge branch 'clean-up/move-ebooks' into dev 2019-09-26 15:15:23 +01:00
Miguel Veloso
5070038733 e-books moved to https://github.com/dotnet-architecture/eBooks 2019-09-26 15:14:38 +01:00
Miguel Veloso
1403387a12 Merge branch 'enhancement/expose-internal-services' into dev 2019-08-21 11:18:57 +01:00
Miguel Veloso
da04d6df88 Add nodeports to expose sql and rabbitmq admin ports 2019-08-21 11:17:27 +01:00
David Britch
8351983b25 Downgraded xunit.runner.devices on UWP.
Also removed xunit.runner.console from unit test project.
2019-08-19 16:06:00 +01:00
Miguel Veloso
974c1c0716
Merge pull request #1122 from beefsteak/dev
Fix OrderPaymentSuccededIntergrationEvent naming rule
2019-08-16 21:22:46 +01:00
Miguel Veloso
b4ea8bcdfd Merge branch 'enhancement/improve-dockerfiles' into dev 2019-08-16 20:02:10 +01:00
Miguel Veloso
faa7546e17 Add option to use local images for k8s deployment 2019-08-16 19:58:27 +01:00
Miguel Veloso
17ab5170f1 Add view to display current configuration in WebStatus 2019-08-16 19:57:22 +01:00
Miguel Veloso
038b3caffa Update Dockerfiles to improve local build time 2019-08-16 19:56:30 +01:00
David Britch
ddff0ce19e Update to Xamarin.Forms 4.1, with package refs. 2019-08-16 17:11:54 +01:00
Miguel Veloso
b6032b139b
Merge pull request #1103 from Karql/fix-web-status
Fix WebStatus HealthChecks replacement
2019-08-16 16:48:49 +01:00
David Britch
856bad834d Bumped Android projects to v9.0, and min API to 19 2019-08-15 17:16:43 +01:00