Skip to content

Commit

Permalink
Merge pull request #382 from amplication/fix/8703-dotnet-broker-kafka…
Browse files Browse the repository at this point in the history
…-static-files

fix(dotnet-broker-kafka): static files path
  • Loading branch information
mulygottlieb authored Jul 23, 2024
2 parents c0c3577 + 8c1ee02 commit eb54a0c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/dotnet-broker-kafka/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@amplication/plugin-dotnet-broker-kafka",
"version": "0.0.1",
"version": "0.0.3",
"description": "Use a Kafka message broker to communicate between services generated with Amplication",
"main": "dist/index.js",
"nx": {},
Expand Down
10 changes: 5 additions & 5 deletions plugins/dotnet-broker-kafka/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,23 +116,23 @@ class DotnetKafkaPlugin implements dotnetTypes.AmplicationPlugin {
const destPathBase = `${eventParams.basePath}/src/Brokers/Infrastructure`;
const staticFiles = [
{
src: "./static/common/Infrastructure/InternalConsumer.cs",
src: "./static/common/infrastructure/InternalConsumer.cs",
des: `${destPathBase}/InternalConsumer.cs`,
},
{
src: "./static/common/Infrastructure/InternalProducer.cs",
src: "./static/common/infrastructure/InternalProducer.cs",
des: `${destPathBase}/InternalProducer.cs`,
},
{
src: "./static/common/Infrastructure/KafkaConsumerService.cs",
src: "./static/common/infrastructure/KafkaConsumerService.cs",
des: `${destPathBase}/KafkaConsumerService.cs`,
},
{
src: "./static/common/Infrastructure/KafkaOptions.cs",
src: "./static/common/infrastructure/KafkaOptions.cs",
des: `${destPathBase}/KafkaOptions.cs`,
},
{
src: "./static/common/Infrastructure/TopicAttribute.cs",
src: "./static/common/infrastructure/TopicAttribute.cs",
des: `${destPathBase}/TopicAttribute.cs`,
},
];
Expand Down

0 comments on commit eb54a0c

Please sign in to comment.