Skip to content

Commit 290bf97

Browse files
authored
Merge pull request #92 from it-at-m/feat/ticketing-eventing
feat(ticketing-eventing): init eventing-service
2 parents 8f292eb + 9b05e1d commit 290bf97

37 files changed

+1313
-7
lines changed

.github/labeler.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,7 @@
44
- head-branch: [ '^bug', '-bug-' ]
55
"Template: personalization-service":
66
- changed-files:
7-
- any-glob-to-any-file: [ 'personalization-service/**' ]
7+
- any-glob-to-any-file: [ 'personalization-service/**' ]
8+
"Component: ticketing-eventing":
9+
- changed-files:
10+
- any-glob-to-any-file: [ 'ticketing-eventing/**' ]

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
strategy:
5252
fail-fast: false
5353
matrix:
54-
build-path: ["./personalization-service"] # JSON array formatted as string, contains the paths to the java projects to build
54+
build-path: ["./personalization-service", "./ticketing-eventing/eventing-service"] # JSON array formatted as string, contains the paths to the java projects to build
5555
steps:
5656
- uses: it-at-m/lhm_actions/action-templates/actions/action-codeql@9767179088fd2e344d1a24c17404ab809a60f1b6 # v1.0.20
5757
if: ${{ env.analyze-java == 'true' && (github.ref_name == 'main' || needs.check-changes.outputs.java == 'true') }}

.github/workflows/maven-node-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
include:
1818
- app-path: personalization-service
1919
- app-path: personalization-webcomponents
20+
- app-path: ticketing-eventing/eventing-service
2021

2122
steps:
2223
- uses: it-at-m/lhm_actions/action-templates/actions/action-checkout@9767179088fd2e344d1a24c17404ab809a60f1b6 # v1.0.20

.github/workflows/maven-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ on:
1717
required: true
1818
options:
1919
- personalization-service
20+
- ticketing-eventing/eventing-service
2021

2122
jobs:
2223
release-maven:
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<component name="ProjectRunConfigurationManager">
2+
<configuration default="false" name="DbsTicketingEventingService" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot" nameIsGenerated="true">
3+
<option name="ACTIVE_PROFILES" value="local" />
4+
<module name="eventing-service" />
5+
<option name="SPRING_BOOT_MAIN_CLASS" value="de.muenchen.oss.dbs.ticketing.eventing.service.DbsTicketingEventingService" />
6+
<extension name="net.ashald.envfile">
7+
<option name="IS_ENABLED" value="false" />
8+
<option name="IS_SUBST" value="false" />
9+
<option name="IS_PATH_MACRO_SUPPORTED" value="false" />
10+
<option name="IS_IGNORE_MISSING_FILES" value="false" />
11+
<option name="IS_ENABLE_EXPERIMENTAL_INTEGRATIONS" value="false" />
12+
<ENTRIES>
13+
<ENTRY IS_ENABLED="true" PARSER="runconfig" IS_EXECUTABLE="false" />
14+
</ENTRIES>
15+
</extension>
16+
<method v="2">
17+
<option name="Make" enabled="true" />
18+
</method>
19+
</configuration>
20+
</component>

.github/README.md renamed to README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
[documentation]: https://refarch.oss.muenchen.de/templates
77
[contribution-documentation]: https://refarch.oss.muenchen.de/contribute
88
[itm-opensource]: https://opensource.muenchen.de/
9-
[license]: ../LICENSE
10-
[code-of-conduct]: ./CODE_OF_CONDUCT.md
9+
[license]: LICENSE
10+
[code-of-conduct]: .github/CODE_OF_CONDUCT.md
1111

1212
<!-- Project specific links -->
1313
[refarch-documentation]: https://refarch.oss.muenchen.de/
@@ -29,9 +29,7 @@
2929
[![Made with love by it@M][made-with-love-shield]][itm-opensource]
3030
[![GitHub license][license-shield]][license]
3131

32-
The repository contains components for the Digital Citizen Service of the City of Munich. It currently includes the personalization service and it's corresponding webcomponents.
33-
34-
In the future, the repository will be expanded to include the other artifacts which form the Digital Citizen Service.
32+
The repository contains components for the Digital Citizen Service (German: "Digitaler Bürgerservice" DBS) of the City of Munich.
3533

3634
## Build with
3735

@@ -40,6 +38,11 @@ The project is built with technologies we use in our projects ([reference archit
4038
- [Spring][spring-documentation]
4139
- [Vue.js][vuejs-documentation]
4240

41+
## Components
42+
43+
- [personalization service](./personalization-service) and it's corresponding [webcomponents](./personalization-webcomponents)
44+
- [ticketing-eventing](./ticketing-eventing): Event notification via Zammad webhooks and Apache Kafka
45+
4346
## Getting Started
4447

4548
### personalization-service

ticketing-eventing/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# ticketing-eventing
2+
3+
Event notification via Zammad webhooks and Apache Kafka
4+
5+
```mermaid
6+
flowchart LR
7+
z[Zammad] -->|REST Webhook| e[eventing-service] --> k([Apache Kafka])
8+
k --> c1[other Service]
9+
k --> c2[other Service]
10+
```
11+
12+
## Components
13+
14+
- [eventing-service]: Takes Zammad webhook event via REST and forwards it to Apache Kafka
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# For documentation see https://jboss-container-images.github.io/openjdk/
2+
FROM registry.access.redhat.com/ubi9/openjdk-21-runtime:1.22-1.1753981256@sha256:06d60e73be11d96b4cedc4bd1807e503a6196e9b01be9e4405b6b6d3b816202d
3+
4+
# Copy runnable jar to deployments
5+
COPY target/*.jar /deployments/application.jar

0 commit comments

Comments
 (0)