Skip to content

Commit

Permalink
fix compositions
Browse files Browse the repository at this point in the history
  • Loading branch information
Aboruhen committed Dec 21, 2023
1 parent 2c912d9 commit 6be1cca
Show file tree
Hide file tree
Showing 98 changed files with 2,838 additions and 78 deletions.
10 changes: 10 additions & 0 deletions stream-compositions/cursors/transaction-cursor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-logging</artifactId>
</dependency>
<dependency>
<groupId>com.backbase.buildingblocks</groupId>
<artifactId>service-sdk-starter-eureka-client</artifactId>
Expand All @@ -75,6 +79,12 @@
<groupId>com.backbase.stream.compositions.api</groupId>
<artifactId>transaction-cursor-api</artifactId>
<version>${project.version}</version>
<exclusions>
<exclusion>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-sleuth-api</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
spring:
cloud:
config:
enabled: false

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</parent>

<groupId>com.backbase.stream.compositions.events</groupId>
<artifactId>legal-entity-events</artifactId>
<artifactId>legal-entity-egress</artifactId>

<name>Stream :: Compositions :: Events :: Legal Entity</name>

Expand Down Expand Up @@ -38,21 +38,6 @@
<artifactId>jsonschema-events-maven-plugin</artifactId>
<version>${ssdk.version}</version>
<executions>
<execution>
<id>generate-ingress-events</id>
<phase>generate-sources</phase>
<goals>
<goal>events-generation</goal>
</goals>
<configuration>
<packageVersion>1</packageVersion>
<useJavaTime>true</useJavaTime>
<outputFile>${project.basedir}/target/generated-sources/jsonschema-events</outputFile>
<inputFile>${project.basedir}/src/main/resources/events/ingress</inputFile>
<!-- The packageName should not contain com.backbase as that is already the default value of the basePackageName -->
<packageName>stream.compositions.events.ingress</packageName>
</configuration>
</execution>
<execution>
<id>generate-egress-events</id>
<goals>
Expand Down
109 changes: 109 additions & 0 deletions stream-compositions/events/legal-entity-ingress/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<artifactId>events</artifactId>
<groupId>com.backbase.stream.compositions</groupId>
<version>4.0.0-SNAPSHOT</version>
</parent>

<groupId>com.backbase.stream.compositions.events</groupId>
<artifactId>legal-entity-ingress</artifactId>

<name>Stream :: Compositions :: Events :: Legal Entity</name>

<properties>
<findMainClass.skip>true</findMainClass.skip>
<spring-boot.repackage.skip>true</spring-boot.repackage.skip>
<sonar.skip>true</sonar.skip>
</properties>

<dependencies>
<dependency>
<groupId>com.backbase.buildingblocks</groupId>
<artifactId>events</artifactId>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
</dependency>
</dependencies>

<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>com.backbase.codegen</groupId>
<artifactId>jsonschema-events-maven-plugin</artifactId>
<version>${ssdk.version}</version>
<executions>
<execution>
<id>generate-ingress-events</id>
<phase>generate-sources</phase>
<goals>
<goal>events-generation</goal>
</goals>
<configuration>
<packageVersion>1</packageVersion>
<useJavaTime>true</useJavaTime>
<outputFile>${project.basedir}/target/generated-sources/jsonschema-events</outputFile>
<inputFile>${project.basedir}/src/main/resources/events/ingress</inputFile>
<!-- The packageName should not contain com.backbase as that is already the default value of the basePackageName -->
<packageName>stream.compositions.events.ingress</packageName>
</configuration>
</execution>
<!-- <execution>-->
<!-- <id>generate-egress-events</id>-->
<!-- <goals>-->
<!-- <goal>events-generation</goal>-->
<!-- </goals>-->
<!-- <phase>generate-sources</phase>-->
<!-- <configuration>-->
<!-- <packageVersion>1</packageVersion>-->
<!-- <useJavaTime>true</useJavaTime>-->
<!-- <outputFile>${project.basedir}/target/generated-sources/jsonschema-events</outputFile>-->
<!-- <inputFile>${project.basedir}/src/main/resources/events/egress</inputFile>-->
<!-- &lt;!&ndash; The packageName should not contain com.backbase as that is already the default value of the basePackageName &ndash;&gt;-->
<!-- <packageName>stream.compositions.events.egress</packageName>-->
<!-- </configuration>-->
<!-- </execution>-->
</executions>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>add-source</id>
<goals>
<goal>add-source</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<sources>
<source>${project.build.directory}/generated-sources/annotations</source>
<source>${project.build.directory}/generated-sources/jsonschema-events</source>
</sources>
</configuration>
</execution>
<execution>
<id>add-resource</id>
<goals>
<goal>add-resource</goal>
</goals>
<phase>generate-resources</phase>
<configuration>
<resources>
<resource>
<directory>${project.build.directory}/generated-resources</directory>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Loading

0 comments on commit 6be1cca

Please sign in to comment.