Skip to content

Commit 8ffcda0

Browse files
amg-hotfix-consolidated (#11)
* Project's base requirement before implementing core logic * Consolidate PayGuard service fixes
1 parent ddc4594 commit 8ffcda0

15 files changed

Lines changed: 451 additions & 13 deletions

File tree

‎.github/workflows/_publish.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ jobs:
2323
# Tests are skipped because they already passed in the _quality workflow
2424
run: ./mvnw clean package -DskipTests
2525

26+
- name: Install Maven Modules for Image Builds
27+
# Image builds run as separate Maven invocations and need reactor artifacts in the local repository.
28+
run: ./mvnw -DskipTests -Dpmd.skip=true -Dspotbugs.skip=true install
29+
2630
- name: Verify Spring Boot plugin resolution
2731
run: |
2832
./mvnw -version

‎.github/workflows/_quality.yml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ jobs:
2727
- name: Run CheckStyle
2828
run: ./mvnw checkstyle:check
2929

30+
# Install reactor modules so independent analysis invocations can resolve local artifacts.
31+
- name: Install Maven Modules
32+
run: ./mvnw -DskipTests -Dpmd.skip=true -Dspotbugs.skip=true install
33+
3034
# 3. PMD: Scans for programming flaws
3135
- name: Run PMD
3236
run: ./mvnw pmd:check
@@ -37,4 +41,4 @@ jobs:
3741

3842
# 5. Unit Tests: Ensures the core domain logic is intact
3943
- name: Run Unit Tests
40-
run: ./mvnw clean verify
44+
run: ./mvnw clean verify

‎payguard-collateral-service/pom.xml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,19 @@
1313
<artifactId>payguard-collateral-service</artifactId>
1414

1515
<dependencies>
16+
<dependency>
17+
<groupId>dev.amg.payguard</groupId>
18+
<artifactId>payguard-shared</artifactId>
19+
<version>${project.version}</version>
20+
</dependency>
1621
<dependency>
1722
<groupId>org.springframework.boot</groupId>
1823
<artifactId>spring-boot-starter-webmvc</artifactId>
1924
</dependency>
25+
<dependency>
26+
<groupId>org.springframework.boot</groupId>
27+
<artifactId>spring-boot-starter-kafka</artifactId>
28+
</dependency>
2029
<dependency>
2130
<groupId>org.springframework.boot</groupId>
2231
<artifactId>spring-boot-starter-webmvc-test</artifactId>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package dev.amg.payguard.collateral.infrastructure;
2+
3+
import config.kafka.config.PayGuardKafkaConsumerConfiguration;
4+
import org.springframework.context.annotation.Configuration;
5+
import org.springframework.context.annotation.Import;
6+
7+
@Configuration
8+
@Import(PayGuardKafkaConsumerConfiguration.class)
9+
public class CollateralKafkaConfiguration {}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
______ ______ __ __ ___ .___________. _______ .______ ___ __
2+
/ | / __ \ | | | | / \ | || ____|| _ \ / \ | |
3+
| ,----'| | | | | | | | / ^ \ `---| |----`| |__ | |_) | / ^ \ | |
4+
| | | | | | | | | | / /_\ \ | | | __| | / / /_\ \ | |
5+
| `----.| `--' | | `----.| `----. / _____ \ | | | |____ | |\ \----. / _____ \ | `----.
6+
\______| \______/ |_______||_______|/__/ \__\ |__| |_______|| _| `._____|/__/ \__\ |_______|
7+

‎payguard-loan-service/pom.xml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,19 @@
1313
<artifactId>payguard-loan-service</artifactId>
1414

1515
<dependencies>
16+
<dependency>
17+
<groupId>dev.amg.payguard</groupId>
18+
<artifactId>payguard-shared</artifactId>
19+
<version>${project.version}</version>
20+
</dependency>
1621
<dependency>
1722
<groupId>org.springframework.boot</groupId>
1823
<artifactId>spring-boot-starter-webmvc</artifactId>
1924
</dependency>
25+
<dependency>
26+
<groupId>org.springframework.boot</groupId>
27+
<artifactId>spring-boot-starter-kafka</artifactId>
28+
</dependency>
2029
<dependency>
2130
<groupId>org.springframework.boot</groupId>
2231
<artifactId>spring-boot-starter-webmvc-test</artifactId>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package dev.amg.payguard.loan.infrastructure;
2+
3+
import config.kafka.config.PayGuardKafkaConsumerConfiguration;
4+
import org.springframework.context.annotation.Configuration;
5+
import org.springframework.context.annotation.Import;
6+
7+
@Configuration
8+
@Import(PayGuardKafkaConsumerConfiguration.class)
9+
public class LoanKafkaConfiguration {}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
__ ______ ___ .__ __.
2+
| | / __ \ / \ | \ | |
3+
| | | | | | / ^ \ | \| |
4+
| | | | | | / /_\ \ | . ` |
5+
| `----.| `--' | / _____ \ | |\ |
6+
|_______| \______/ /__/ \__\ |__| \__|
7+

‎payguard-wallet-service/.gitignore‎

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
HELP.md
2+
target/
3+
.mvn/wrapper/maven-wrapper.jar
4+
!**/src/main/**/target/
5+
!**/src/test/**/target/
6+
7+
### STS ###
8+
.apt_generated
9+
.classpath
10+
.factorypath
11+
.project
12+
.settings
13+
.springBeans
14+
.sts4-cache
15+
16+
### IntelliJ IDEA ###
17+
.idea
18+
*.iws
19+
*.iml
20+
*.ipr
21+
22+
### NetBeans ###
23+
/nbproject/private/
24+
/nbbuild/
25+
/dist/
26+
/nbdist/
27+
/.nb-gradle/
28+
build/
29+
!**/src/main/**/build/
30+
!**/src/test/**/build/
31+
32+
### VS Code ###
33+
.vscode/
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
wrapperVersion=3.3.4
2+
distributionType=only-script
3+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.16/apache-maven-3.9.16-bin.zip

0 commit comments

Comments
 (0)