chore: Initial import of FLEX training material
This commit is contained in:
parent
c01246d4f7
commit
12235acc42
1020 changed files with 53940 additions and 0 deletions
|
|
@ -0,0 +1,11 @@
|
|||
docker-compose \
|
||||
--project-name flexinale-distributed \
|
||||
-f ../../../infrastructure/docker/flexinale-network.yml \
|
||||
-f ../../../infrastructure/docker/postgres/flexinale-postgres.yml \
|
||||
-f ../../../infrastructure/docker/kafka/flexinale-kafka-1-zookeeper.yml \
|
||||
-f ../../../infrastructure/docker/kafka/flexinale-kafka-2-kafka.yml \
|
||||
-f ../../../infrastructure/docker/kafka/flexinale-kafka-3-kafdrop.yml \
|
||||
-f flexinale-distributed-besucherportal.yml \
|
||||
-f flexinale-distributed-ticketing.yml \
|
||||
-f flexinale-distributed-backoffice.yml \
|
||||
up
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
version: '2.2'
|
||||
|
||||
services:
|
||||
|
||||
flexinale-distributed-backoffice:
|
||||
image: de.accso/flexinale-distributed-backoffice:2024.3.0
|
||||
depends_on:
|
||||
- flexinale-postgres
|
||||
- kafka
|
||||
- flexinale-distributed-besucherportal
|
||||
- flexinale-distributed-ticketing
|
||||
ports:
|
||||
- "8081:8081"
|
||||
networks:
|
||||
- flexinale-network
|
||||
command: sh -c "echo 'Waiting 60s ...' & sleep 60 && echo 'Waiting done' && java -Dspring.datasource.url=jdbc:postgresql://flexinale-postgres:5432/distributed-backoffice -Dbootstrap.servers=kafka:29092 -Dspring.kafka.consumer.bootstrap-servers=kafka:29092 -Dspring.kafka.producer.bootstrap-servers=kafka:29092 -jar flexinale-distributed-backoffice-2024.2.0-spring-boot-fat-jar.jar"
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
version: '2.2'
|
||||
|
||||
services:
|
||||
|
||||
flexinale-distributed-besucherportal:
|
||||
image: de.accso/flexinale-distributed-besucherportal:2024.3.0
|
||||
depends_on:
|
||||
- flexinale-postgres
|
||||
- kafka
|
||||
ports:
|
||||
- "8080:8080"
|
||||
networks:
|
||||
- flexinale-network
|
||||
command: sh -c "echo 'Waiting 40s ...' & sleep 40 && echo 'Waiting done' && java -Dspring.datasource.url=jdbc:postgresql://flexinale-postgres:5432/distributed-besucherportal -Dbootstrap.servers=kafka:29092 -Dspring.kafka.consumer.bootstrap-servers=kafka:29092 -Dspring.kafka.producer.bootstrap-servers=kafka:29092 -jar flexinale-distributed-besucherportal-2024.2.0-spring-boot-fat-jar.jar"
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
version: '2.2'
|
||||
|
||||
services:
|
||||
|
||||
flexinale-distributed-ticketing:
|
||||
image: de.accso/flexinale-distributed-ticketing:2024.3.0
|
||||
depends_on:
|
||||
- flexinale-postgres
|
||||
- kafka
|
||||
- flexinale-distributed-besucherportal
|
||||
ports:
|
||||
- "8082:8082"
|
||||
networks:
|
||||
- flexinale-network
|
||||
command: sh -c "echo 'Waiting 50s ...' & sleep 50 && echo 'Waiting done' && java -Dspring.datasource.url=jdbc:postgresql://flexinale-postgres:5432/distributed-ticketing -Dbootstrap.servers=kafka:29092 -Dspring.kafka.consumer.bootstrap-servers=kafka:29092 -Dspring.kafka.producer.bootstrap-servers=kafka:29092 -jar flexinale-distributed-ticketing-2024.2.0-spring-boot-fat-jar.jar"
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
version: '2.2'
|
||||
|
||||
services:
|
||||
|
||||
flexinale-distributed-backoffice:
|
||||
image: de.accso/flexinale-distributed-backoffice:2024.3.0
|
||||
depends_on:
|
||||
- flexinale-postgres
|
||||
- kafka
|
||||
- flexinale-distributed-besucherportal
|
||||
- flexinale-distributed-ticketing
|
||||
ports:
|
||||
- "8081:8081"
|
||||
networks:
|
||||
- flexinale-network
|
||||
command: sh -c "echo 'Waiting 60s ...' & sleep 60 && echo 'Waiting done' && java -Dspring.datasource.url=jdbc:postgresql://flexinale-postgres:5432/distributed-backoffice -Dbootstrap.servers=kafka:29092 -Dspring.kafka.consumer.bootstrap-servers=kafka:29092 -Dspring.kafka.producer.bootstrap-servers=kafka:29092 -jar flexinale-distributed-backoffice-2024.2.0-spring-boot-fat-jar.jar"
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
version: '2.2'
|
||||
|
||||
services:
|
||||
|
||||
flexinale-distributed-besucherportal:
|
||||
image: de.accso/flexinale-distributed-besucherportal:2024.3.0
|
||||
depends_on:
|
||||
- flexinale-postgres
|
||||
- kafka
|
||||
ports:
|
||||
- "8080:8080"
|
||||
networks:
|
||||
- flexinale-network
|
||||
command: sh -c "echo 'Waiting 40s ...' & sleep 40 && echo 'Waiting done' && java -Dspring.datasource.url=jdbc:postgresql://flexinale-postgres:5432/distributed-besucherportal -Dbootstrap.servers=kafka:29092 -Dspring.kafka.consumer.bootstrap-servers=kafka:29092 -Dspring.kafka.producer.bootstrap-servers=kafka:29092 -jar flexinale-distributed-besucherportal-2024.2.0-spring-boot-fat-jar.jar"
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
version: '2.2'
|
||||
|
||||
services:
|
||||
|
||||
flexinale-distributed-ticketing:
|
||||
image: de.accso/flexinale-distributed-ticketing:2024.3.0
|
||||
depends_on:
|
||||
- flexinale-postgres
|
||||
- kafka
|
||||
- flexinale-distributed-besucherportal
|
||||
ports:
|
||||
- "8082:8082"
|
||||
networks:
|
||||
- flexinale-network
|
||||
command: sh -c "echo 'Waiting 50s ...' & sleep 50 && echo 'Waiting done' && java -Dspring.datasource.url=jdbc:postgresql://flexinale-postgres:5432/distributed-ticketing -Dbootstrap.servers=kafka:29092 -Dspring.kafka.consumer.bootstrap-servers=kafka:29092 -Dspring.kafka.producer.bootstrap-servers=kafka:29092 -jar flexinale-distributed-ticketing-2024.2.0-spring-boot-fat-jar.jar"
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
podman-compose ^
|
||||
--project-name flexinale-distributed ^
|
||||
-f ..\..\..\infrastructure\podman\flexinale-network.yml ^
|
||||
-f ..\..\..\infrastructure\podman\postgres\flexinale-postgres.yml ^
|
||||
-f ..\..\..\infrastructure\podman\kafka\flexinale-kafka-1-zookeeper.yml ^
|
||||
-f ..\..\..\infrastructure\podman\kafka\flexinale-kafka-2-kafka.yml ^
|
||||
-f ..\..\..\infrastructure\podman\kafka\flexinale-kafka-3-kafdrop.yml ^
|
||||
-f flexinale-distributed-besucherportal.yml ^
|
||||
-f flexinale-distributed-ticketing.yml ^
|
||||
-f flexinale-distributed-backoffice.yml ^
|
||||
up
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>de.accso</groupId>
|
||||
<artifactId>flexinale-distributed</artifactId>
|
||||
<version>2024.3.0</version>
|
||||
<relativePath>../pom.xml</relativePath> <!-- lookup parent from repository -->
|
||||
</parent>
|
||||
|
||||
<artifactId>flexinale-distributed-infrastructure</artifactId>
|
||||
<version>2024.3.0</version>
|
||||
<name>Flexinale Distributed Infrastructure</name>
|
||||
<description>Flexinale - FLEX case-study "film festival", distributed services, infrastructure</description>
|
||||
|
||||
<packaging>pom</packaging>
|
||||
</project>
|
||||
Loading…
Add table
Add a link
Reference in a new issue