4145 Commits

Author SHA1 Message Date
kct949
6d6a9c09d2 add kafka to docker compose 2023-02-15 15:18:05 +01:00
kct949
72f2968bea implement subscribe for kafka + minor fixes 2023-02-15 15:03:26 +01:00
Philipp Theyssen
08b1404dd4 Start working subscribing with Kakfa and using it in Basket service. 2023-02-15 11:38:34 +01:00
Philipp Theyssen
e1eac82289 Add logic for producing events to kafka eventbus.
For now we have a single topic for all events. Since
we use the eventname as the key for the kafka message,
we have the property that they all get assigned to the same
parition inside kafka and therefore are in-order.

Alternatively one could have multiple topics.

The code for the kafka connection is based on:

https://github.com/confluentinc/confluent-kafka-dotnet/blob/master/examples/Web/KafkaClientHandle.cs
2023-02-13 17:27:24 +01:00
Philipp Theyssen
30eb3a075e Add further details to Kafka eventbus skeleton.
So far only copied details from other eventbus implementations.
Key next steps are to implement a persistent connection abstraction (class)
for the Kafka eventbus and the publish and subscribe functions. For this
we need knowledge about how Kafka works, for example how one publishes
events topics etc.
2023-02-13 12:42:56 +01:00
Philipp Theyssen
a12e9bdbb5 Add EventBusKafka project skeleton 2023-02-13 11:23:51 +01:00
kct949
6c544eb523 add user-id header field to swagger 2023-02-11 13:08:53 +01:00
kct949
6471d25244 ensure static userIDs on db seeding 2023-02-11 13:02:03 +01:00
kct949
792866c8d5 hack: disable authorization + add fake identity service which takes userID straight from the header 2023-02-11 13:01:23 +01:00
kct949
eef41bbf8a disable authorization in Orders and Basket controllers 2023-02-11 12:38:10 +01:00
kct949
0ab118a064 disable frontend containers in docker-compose 2023-02-11 12:37:18 +01:00
kct949
e5f7d835e6 M1 fix: use Azure SQL Edge instead of SQL Server + use newer Envoy version 2023-02-11 12:31:18 +01:00
kct949
60db144c98 use mac ip 2023-02-11 12:28:00 +01:00
Tarun Jain
3e991acc50
Merge pull request #2019 from dotnet-architecture/dependabot/npm_and_yarn/src/Web/WebSPA/Client/express-4.18.2
Bump express from 4.17.2 to 4.18.2 in /src/Web/WebSPA/Client
2023-02-07 13:19:19 +05:30
Tarun Jain
fa9e955a2b
Merge pull request #2016 from dotnet-architecture/dependabot/npm_and_yarn/src/Web/WebSPA/Client/decode-uri-component-0.2.2
Bump decode-uri-component from 0.2.0 to 0.2.2 in /src/Web/WebSPA/Client
2023-02-06 18:36:42 +05:30
Tarun Jain
50d945a395
Merge pull request #2043 from dotnet-architecture/dependabot/npm_and_yarn/src/Web/WebSPA/Client/jszip-3.10.1
Bump jszip from 3.7.1 to 3.10.1 in /src/Web/WebSPA/Client
2023-02-06 18:34:49 +05:30
Tarun Jain
ea54e4482f
Merge pull request #2015 from dotnet-architecture/dependabot/npm_and_yarn/src/Web/WebSPA/Client/qs-6.5.3
Bump qs from 6.5.2 to 6.5.3 in /src/Web/WebSPA/Client
2023-02-06 18:31:56 +05:30
dependabot[bot]
e3715d0213
Bump qs from 6.5.2 to 6.5.3 in /src/Web/WebSPA/Client
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.5.2...v6.5.3)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 12:51:58 +00:00
Tarun Jain
678c80cf98
Merge pull request #2029 from dotnet-architecture/dependabot/npm_and_yarn/src/Web/WebSPA/Client/json5-1.0.2
Bump json5 from 1.0.1 to 1.0.2 in /src/Web/WebSPA/Client
2023-02-06 18:20:27 +05:30
Tarun Jain
676d138962
Merge pull request #2039 from dotnet-architecture/dependabot/npm_and_yarn/src/Web/WebSPA/Client/ua-parser-js-0.7.33
Bump ua-parser-js from 0.7.31 to 0.7.33 in /src/Web/WebSPA/Client
2023-02-06 18:18:23 +05:30
Tarun Jain
dabdcac3bd
Merge pull request #2044 from dotnet-architecture/dependabot/npm_and_yarn/src/Web/WebSPA/Client/http-cache-semantics-4.1.1
Bump http-cache-semantics from 4.1.0 to 4.1.1 in /src/Web/WebSPA/Client
2023-02-06 18:11:15 +05:30
Tarun Jain
9a914889fd
Merge pull request #2045 from erjain/net7-duende-fix
update README.md
2023-02-06 17:49:59 +05:30
Tarun Jain
ad8c8054fe updated Contributing.md 2023-02-06 16:29:19 +05:30
Tarun Jain
4119fe06dc updates the branch-guide.md 2023-02-06 16:20:32 +05:30
Tarun Jain
368952d432 update README.md 2023-02-03 14:50:35 +05:30
dependabot[bot]
72cf029258
Bump http-cache-semantics from 4.1.0 to 4.1.1 in /src/Web/WebSPA/Client
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-03 09:06:39 +00:00
Tarun Jain
e15a62270c
Merge pull request #2012 from erjain/net7-duende-fix
update to Net7 and Duende IdentityServer 6.2
2023-02-03 14:33:43 +05:30
dependabot[bot]
79c4d06747
Bump jszip from 3.7.1 to 3.10.1 in /src/Web/WebSPA/Client
Bumps [jszip](https://github.com/Stuk/jszip) from 3.7.1 to 3.10.1.
- [Release notes](https://github.com/Stuk/jszip/releases)
- [Changelog](https://github.com/Stuk/jszip/blob/main/CHANGES.md)
- [Commits](https://github.com/Stuk/jszip/compare/v3.7.1...v3.10.1)

---
updated-dependencies:
- dependency-name: jszip
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-02 18:34:10 +00:00
dependabot[bot]
29241ec3d2
Bump ua-parser-js from 0.7.31 to 0.7.33 in /src/Web/WebSPA/Client
Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.31 to 0.7.33.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases)
- [Changelog](https://github.com/faisalman/ua-parser-js/blob/master/changelog.md)
- [Commits](https://github.com/faisalman/ua-parser-js/compare/0.7.31...0.7.33)

---
updated-dependencies:
- dependency-name: ua-parser-js
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-27 10:08:16 +00:00
dependabot[bot]
dd18f8df55
Bump json5 from 1.0.1 to 1.0.2 in /src/Web/WebSPA/Client
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-07 19:26:34 +00:00
dependabot[bot]
8bfb1bd06b
Bump express from 4.17.2 to 4.18.2 in /src/Web/WebSPA/Client
Bumps [express](https://github.com/expressjs/express) from 4.17.2 to 4.18.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.17.2...4.18.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-15 18:49:44 +00:00
Tarun Jain
0f2ade49fb Merge branch 'net7-duende-fix' of https://github.com/erjain/eShopOnContainers into net7-duende-fix 2022-12-14 18:08:33 +05:30
Tarun Jain
9a5ea85223 Update seed data with card expiration date 2022-12-14 18:08:19 +05:30
Tarun Jain
365077a191
Merge branch 'dev' into net7-duende-fix 2022-12-14 18:03:52 +05:30
Tarun Jain
e4f2b62b5e update 7.0 sdk 2022-12-13 20:57:32 +05:30
Tarun Jain
a464a6996e fix authentication issue in identity.api 2022-12-13 18:18:06 +05:30
dependabot[bot]
6a00e8bb9b
Bump decode-uri-component from 0.2.0 to 0.2.2 in /src/Web/WebSPA/Client
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-07 16:24:16 +00:00
Tarun Jain
892da8b2c2 update devspaces.support to .NET 7 2022-12-06 00:08:40 +05:30
Tarun Jain
3a03508f8a minor fixes 2022-12-02 02:01:14 +05:30
Tarun Jain
b90d2d1cd4 implement Duende.IdentityServer 6.2.0 2022-11-30 21:55:07 +05:30
Tarun Jain
c10fff488c fix serilog error 2022-11-29 02:56:34 +05:30
Tarun Jain
9b3e00d756 update nuget packages for complete solution 2022-11-29 00:56:35 +05:30
Tarun Jain
b5b667b385 commit to update IdentityServer 3.1 to Duende.IdentityServer 6.2.0 2022-11-28 17:32:59 +05:30
Tarun Jain
4596d7aa99
Merge pull request #2005 from dotnet-architecture/dependabot/nuget/src/BuildingBlocks/WebHostCustomization/WebHost.Customization/System.Data.SqlClient-4.8.5
Bump System.Data.SqlClient from 4.8.2 to 4.8.5 in /src/BuildingBlocks/WebHostCustomization/WebHost.Customization
2022-11-22 21:20:29 +05:30
Tarun Jain
b8cc0d2cff
Merge pull request #2003 from dotnet-architecture/dependabot/npm_and_yarn/src/Web/WebSPA/Client/engine.io-and-socket.io-6.2.1
Bump engine.io and socket.io in /src/Web/WebSPA/Client
2022-11-22 21:18:54 +05:30
dependabot[bot]
2e7f6823ab
Bump engine.io and socket.io in /src/Web/WebSPA/Client
Bumps [engine.io](https://github.com/socketio/engine.io) and [socket.io](https://github.com/socketio/socket.io). These dependencies needed to be updated together.

Updates `engine.io` from 6.1.2 to 6.2.1
- [Release notes](https://github.com/socketio/engine.io/releases)
- [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/engine.io/compare/6.1.2...6.2.1)

Updates `socket.io` from 4.4.1 to 4.5.3
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/4.4.1...4.5.3)

---
updated-dependencies:
- dependency-name: engine.io
  dependency-type: indirect
- dependency-name: socket.io
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-22 15:43:35 +00:00
dependabot[bot]
c80ee1ea62
Bump System.Data.SqlClient
Bumps [System.Data.SqlClient](https://github.com/dotnet/corefx) from 4.8.2 to 4.8.5.
- [Release notes](https://github.com/dotnet/corefx/releases)
- [Commits](https://github.com/dotnet/corefx/commits)

---
updated-dependencies:
- dependency-name: System.Data.SqlClient
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-22 15:41:44 +00:00
Tarun Jain
70a2548d8b
Merge pull request #2004 from dotnet-architecture/dependabot/nuget/src/Services/Ordering/Ordering.BackgroundTasks/System.Data.SqlClient-4.8.5
Bump System.Data.SqlClient from 4.8.2 to 4.8.5 in /src/Services/Ordering/Ordering.BackgroundTasks
2022-11-22 21:11:15 +05:30
Tarun Jain
2f2cf83167
Merge pull request #1999 from dotnet-architecture/dependabot/npm_and_yarn/src/Web/WebSPA/Client/loader-utils-1.4.2
Bump loader-utils from 1.1.0 to 1.4.2 in /src/Web/WebSPA/Client
2022-11-22 21:07:52 +05:30
dependabot[bot]
74830148f5
Bump System.Data.SqlClient
Bumps [System.Data.SqlClient](https://github.com/dotnet/corefx) from 4.8.2 to 4.8.5.
- [Release notes](https://github.com/dotnet/corefx/releases)
- [Commits](https://github.com/dotnet/corefx/commits)

---
updated-dependencies:
- dependency-name: System.Data.SqlClient
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-22 15:36:55 +00:00