Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
145 commits
Select commit Hold shift + click to select a range
af29a83
fix: publisher unlock transactions (#236)
Kammerlo May 20, 2025
b7d4c9d
Update Dockerfile
Kammerlo May 20, 2025
3b2808d
feat: preparing gitflow model
Kammerlo May 20, 2025
85e64c8
Feat/lob 1125 csv transaction importer module (#239)
Kammerlo May 21, 2025
a9348f2
Update Dockerfile
Kammerlo May 21, 2025
a432647
merged
Kammerlo May 22, 2025
4fc7a43
chore: updating docker
Kammerlo May 20, 2025
fc0c6cf
chore: increasing the poolsize to 50
Kammerlo May 20, 2025
f2df821
chore: upgrading docker version
Kammerlo May 21, 2025
4899781
chore: increase maximum pool-size
Kammerlo May 21, 2025
ac915cc
chore: updating docker
Kammerlo May 22, 2025
e836d33
feat: adding prometheus and grafana example to monitor metrics (#243)
Kammerlo May 23, 2025
a0a3790
chore: update docker
Kammerlo May 23, 2025
b869ceb
fix: organisation vat endpoint (#245)
M4rc0Russ0 Jun 4, 2025
13be89f
Feat: add active field to costcenter (#248)
M4rc0Russ0 Jun 9, 2025
cbc40ca
Rel/merge 1.0.0 into 1.1.0 (#251)
M4rc0Russ0 Jun 12, 2025
5868a62
Merge/r1.0.0 into r1.1.0 (#253)
M4rc0Russ0 Jun 12, 2025
42bc2d1
fix: txitem_group_strategy (#258)
M4rc0Russ0 Jun 13, 2025
7a6e6c5
chore: setting kafka to fixed version (#260)
Kammerlo Jun 17, 2025
941b7f7
Feat/lob 1260 security file scanning to avoid malicious data (#259)
Kammerlo Jun 17, 2025
7de3ec9
Chore/lob 1289 normalize crud endpoints (#262)
Kammerlo Jun 18, 2025
5912f5d
fix: adding lob network to clamav container to enable communication (…
Kammerlo Jun 25, 2025
bc42e23
fix: validation requests are now propagated via kafka (#267)
Kammerlo Jun 25, 2025
67a5a4d
chore: docker compose log (#269)
M4rc0Russ0 Jun 26, 2025
e8ccad2
Update Dockerfile
Kammerlo Jun 27, 2025
05c056c
Feat/lob 1362 add basic postman tests to reeve application (#270)
Kammerlo Jun 27, 2025
d9a89fa
Feat move functional tests from reeve application to platform (#268)
Kammerlo Jun 30, 2025
05d8df0
fix: error in configuration which doesn't take file size into account…
Kammerlo Jul 2, 2025
5c45397
fix: report validation (#273)
M4rc0Russ0 Jul 2, 2025
c2f470c
chore: do not let Keycloak enforce SSL in local setup (#274)
flowftw Jul 3, 2025
0ca35c8
fix: clamav couldn't be resolved in linux (#278)
Kammerlo Jul 7, 2025
4dbb76d
chore: updating docker images, reeve-platform base version & postman …
Kammerlo Jul 9, 2025
5420e9c
Update Dockerfile
Kammerlo Jul 10, 2025
6849017
chore: upgrading used keycloak theme (#277)
Kammerlo Jul 15, 2025
2cd4407
fix: reference code bug (#285)
M4rc0Russ0 Jul 17, 2025
bfd6f2f
Chore/merge main (#286)
flowftw Jul 21, 2025
2b8f57c
fix: cost center parent code was saved as empty instead as null. (#288)
M4rc0Russ0 Jul 21, 2025
6e1eeec
Update Dockerfile (#289)
Kammerlo Jul 22, 2025
fa4acc4
feat: journal net off rule (#290)
M4rc0Russ0 Jul 23, 2025
0922ae3
Update Dockerfile (#291)
Kammerlo Jul 28, 2025
fa4b0ca
Update Dockerfile (#292)
Kammerlo Jul 31, 2025
2c0a102
Chore/maven central (#287)
flowftw Jul 31, 2025
d260a5e
chore: updating base image
Kammerlo Aug 1, 2025
04d59de
feat: adding sorting and filtering feature (#294)
Kammerlo Aug 8, 2025
152cde2
Merge branch 'main' into release/1.1.0
Kammerlo Aug 11, 2025
4c6daae
chore(workflow): DOCKER_REGISTRIES_FILTERED from env not secret (#296)
flowftw Aug 13, 2025
bb22045
Update build.gradle.kts
Kammerlo Aug 13, 2025
ac56ec3
Update build.gradle.kts
Kammerlo Aug 13, 2025
76a82e7
Update build.gradle.kts
Kammerlo Aug 13, 2025
bdaba46
Update build.gradle.kts (#293)
Kammerlo Aug 14, 2025
f68d56a
Update build.gradle.kts
Kammerlo Aug 14, 2025
78b1877
chore: updating platform version to 1.1.0-rc3
Kammerlo Aug 14, 2025
eb6f28d
chore(gradle): fix non snapshot docker builds (#297)
flowftw Aug 15, 2025
a1053cd
chore: upgrade to rc4
Kammerlo Aug 15, 2025
fc98839
chore: updating to RC5 (#300)
Kammerlo Aug 19, 2025
66bfbcb
chore: updading platform version
Kammerlo Aug 19, 2025
17d4ce9
chore: merged 1.1
Kammerlo Aug 19, 2025
6e72ebb
Chore/updating postman tests and platform (#301)
Kammerlo Aug 25, 2025
3cdbd39
chore: updating base version
Kammerlo Aug 28, 2025
1ef8344
chore: update to rc8
Kammerlo Aug 30, 2025
3bd31cb
chore: updating platform version
Kammerlo Aug 30, 2025
3f00e4f
feat: updating lob platform version
Kammerlo Sep 2, 2025
34c4c8f
feat: updating tag
Kammerlo Sep 4, 2025
6dc4dbb
feat: adding filteroptions and upgrading platform version
Kammerlo Sep 5, 2025
6c78845
fix: net offf transactions (#302)
M4rc0Russ0 Sep 5, 2025
70c400b
fix: import costCenter csv with no parent update (#304)
M4rc0Russ0 Sep 9, 2025
b4bcb0d
chore(compose): swagger ui fixes (#303)
flowftw Sep 11, 2025
a498035
chore: Merge remote-tracking branch 'origin/release/1.1.0' into relea…
flowftw Sep 11, 2025
1c76ad4
Update cfLobPlatformVersion in build.gradle.kts (#312)
Kammerlo Sep 25, 2025
affc859
Feat/lob 1576 be implement identity signing into the publisher (#307)
Kammerlo Oct 1, 2025
1f8dc9f
chore(compose): add env for yaci devnet exposed port
flowftw Oct 7, 2025
727cedf
Update cfLobPlatformVersion in build.gradle.kts (#318)
Kammerlo Oct 8, 2025
cf893c7
Update cfLobPlatformVersion in build.gradle.kts
Kammerlo Oct 9, 2025
a39683c
fix: update blockchain publisher identifier name to 'reeve'
Kammerlo Oct 13, 2025
ea9dc81
Update cfLobPlatformVersion to a new release
Kammerlo Oct 16, 2025
3e7274b
Chore/lob 1457 be use prod setup tables configuration in our developm…
Kammerlo Oct 17, 2025
d0945a3
Update cfLobPlatformVersion to new release (#319)
Kammerlo Oct 20, 2025
ef4eebc
Update cfLobPlatformVersion to a new release
Kammerlo Oct 24, 2025
2a3c06d
chore: [LOB-1692] Sorting reconciliation (#320)
M4rc0Russ0 Oct 28, 2025
9d2b8fb
chore(compose): introduce public interface feature flag
flowftw Oct 29, 2025
2c69e94
fix/LOB-1703_batch_failed_catch_error (#321)
M4rc0Russ0 Oct 30, 2025
62fa89f
Update cfLobPlatformVersion in build.gradle.kts (#322)
Kammerlo Nov 3, 2025
508c2db
build: eclipse-temurin
flowftw Nov 4, 2025
8c6c328
chore: [LOB-1710] report filtering (#323)
M4rc0Russ0 Nov 4, 2025
2b652a2
fix: report statistics (#325)
M4rc0Russ0 Nov 4, 2025
99b8512
optimize-metadata (#327)
M4rc0Russ0 Nov 12, 2025
3fd26df
fix: adjusted netsuite kafka consumer to be enabled for csv as well (…
Kammerlo Nov 18, 2025
51c4638
chore(compose): ensure keria restart
flowftw Nov 12, 2025
2a49b72
chore(compose): update traefik to v3.6
flowftw Nov 18, 2025
66d4dce
fix: [LOB-1754] Error access auditor role (#331)
M4rc0Russ0 Nov 19, 2025
4f16e65
feat: [LOB-1756] add error schema to csv import (#332)
M4rc0Russ0 Nov 21, 2025
fadd8cf
Merge branch 'release/1.2.0' into release/1.3.0
flowftw Nov 21, 2025
64a64c5
Merge remote-tracking branch 'origin/release/1.2.0' into release/1.3.0
flowftw Nov 24, 2025
c4ac9fb
chore: fix frontend compose service
flowftw Nov 25, 2025
4516fd9
chore(compose): fix default yaci blockfrost port for viewer
flowftw Nov 25, 2025
3447066
chore(compose): fix indexer base url
flowftw Nov 25, 2025
eeb8feb
chore: update platform version to latest 1.3.0, set version to 1.3.0
flowftw Nov 25, 2025
d88aab2
feat: [LOB-1723] Include-local-currency-in-transaction-publishing (#336)
M4rc0Russ0 Nov 26, 2025
fcfbc54
fix: organisation project aud (#337)
M4rc0Russ0 Nov 26, 2025
975366d
chore: merged main
Kammerlo Dec 2, 2025
fd3f619
chore: applying latest changes in platform project (#339)
M4rc0Russ0 Dec 10, 2025
5462798
Chore/e2e api tests (#333)
flowftw Dec 15, 2025
d7da254
feat: implementing the new report module (#330)
Kammerlo Jan 6, 2026
76da0a0
chore: Bump platform version to 1.3.0-PR509-7c4188b-GHRUN20774850145 …
github-actions[bot] Jan 7, 2026
c722f48
chore: Bump platform version to 1.3.0-PR509-bf2829b-GHRUN20774863552 …
github-actions[bot] Jan 7, 2026
3bcd605
chore: upgrade platfrom
Kammerlo Jan 7, 2026
3ca9cc7
chore: upgrade platform
Kammerlo Jan 8, 2026
661e70f
chore: Bump platform version to 1.3.0-PR509-13a0b26-GHRUN20807526554 …
github-actions[bot] Jan 8, 2026
6acc017
chore: Bump platform version to 1.3.0-PR509-66a2a5d-GHRUN20810944483 …
github-actions[bot] Jan 8, 2026
a23adbe
chore: Bump platform version to 1.3.0-PR509-7f4e7c7-GHRUN20811753518 …
github-actions[bot] Jan 8, 2026
e4290be
chore(playwright): do not fail pipeline on tests
flowftw Jan 8, 2026
ae2de39
chore: Bump platform version to 1.3.0-PR509-c9731a8-GHRUN20817064305 …
github-actions[bot] Jan 8, 2026
5f980ed
chore: Bump platform version to 1.3.0-PR509-4afe18f-GHRUN20817699430 …
github-actions[bot] Jan 8, 2026
a32696d
chore: Bump platform version to 1.3.0-PR509-994daaf-GHRUN20847465368 …
github-actions[bot] Jan 9, 2026
577d411
chore: Bump platform version to 1.3.0-PR509-f969e64-GHRUN20853085875 …
github-actions[bot] Jan 9, 2026
40db157
chore: Bump platform version to 1.3.0-PR509-a7760b6-GHRUN20916077059 …
github-actions[bot] Jan 12, 2026
f469880
chore: Bump platform version to 1.3.0-PR509-497a9b7-GHRUN20950597495 …
github-actions[bot] Jan 13, 2026
7057045
chore: Bump platform version to 1.3.0-PR509-cd2072f-GHRUN20960257349 …
github-actions[bot] Jan 13, 2026
fcc4279
chore: Bump platform version to 1.3.0-PR509-f60be62-GHRUN21000666846 …
github-actions[bot] Jan 14, 2026
12756ae
chore: Bump platform version to 1.3.0-PR509-9d57bd4-GHRUN21020429177 …
github-actions[bot] Jan 15, 2026
cf0de19
chore: Bump platform version to 1.3.0-PR509-0192a76-GHRUN21023436422 …
github-actions[bot] Jan 15, 2026
1a36e98
feat: adjusted postman collection (#356)
Kammerlo Jan 15, 2026
33992ad
chore: added snapshots repo
Kammerlo Jan 15, 2026
3818f64
chore: keri adjustments
Kammerlo Jan 15, 2026
1685ad3
chore: Bump platform version to 1.3.0-PR509-4d8fc92-GHRUN21064805378 …
github-actions[bot] Jan 16, 2026
495c68d
chore: Bump platform version to 1.3.0-PR509-7dc2ee6-GHRUN21132783555 …
github-actions[bot] Jan 19, 2026
b796a35
chore: Bump platform version to 1.3.0-PR509-73091d5-GHRUN21133259626 …
github-actions[bot] Jan 19, 2026
8d78d06
chore: Bump platform version to 1.3.0-PR509-8df929c-GHRUN21140929057 …
github-actions[bot] Jan 19, 2026
e378016
chore: Bump platform version to 1.3.0-PR509-d986943-GHRUN21141727096 …
github-actions[bot] Jan 19, 2026
35b313c
chore: Bump platform version to 1.3.0-PR509-752c336-GHRUN21172187228 …
github-actions[bot] Jan 20, 2026
69890e6
fix: [LOB-1798] Implement Endpoint for republish existing transaction…
github-actions[bot] Jan 20, 2026
cad2d1f
chore: Bump platform version to 1.3.0-PR509-f898593-GHRUN21278439206 …
github-actions[bot] Jan 23, 2026
1c075d1
chore: Bump platform version to 1.3.0-PR509-a7daf78-GHRUN21278446397 …
github-actions[bot] Jan 23, 2026
0b8e788
chore: Bump platform version to 1.3.0-PR509-06f62ef-GHRUN21278459003 …
github-actions[bot] Jan 23, 2026
69e1788
chore: Bump platform version to 1.3.0-PR509-9f69fd5-GHRUN21278464289 …
github-actions[bot] Jan 23, 2026
7b9f813
chore: Bump platform version to 1.3.0-PR509-2422068-GHRUN21279277037 …
github-actions[bot] Jan 23, 2026
19c95d7
chore: Bump platform version to 1.3.0-PR509-28d567b-GHRUN21284182979 …
github-actions[bot] Jan 23, 2026
3fa75b7
chore: Bump platform version to 1.4.0-PR536-c17aa79-GHRUN21350925808 …
github-actions[bot] Jan 26, 2026
b409393
Merge branch 'release/1.3.0' into release/1.4.0
Kammerlo Jan 26, 2026
72b0248
chore: updating version in build.gradle
Kammerlo Jan 26, 2026
7208046
Chore/lob 1484 be clean reeve platform code (#377)
github-actions[bot] Jan 27, 2026
5ad4806
chore: Bump platform version to 1.4.0-PR536-5a4da65-GHRUN21385115916 …
github-actions[bot] Jan 27, 2026
107c460
chore: Bump platform version to 1.4.0-PR536-8426e54-GHRUN21385192322 …
github-actions[bot] Jan 27, 2026
75ca43e
chore: Bump platform version to 1.4.0-PR536-7f52246-GHRUN21385294452 …
github-actions[bot] Jan 27, 2026
56436ca
chore: Bump platform version to 1.4.0-PR536-b4adfb0-GHRUN21703459598 …
github-actions[bot] Feb 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .envBackup
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FRONTEND_DOCKER_TAG=main-2fe8cf0-GHRUN13677293659
LOB_NETSUITE_CLIENT_CERTIFICATE_ID=1usWENQUY-8EXklv_iMoqCbUjgNgJkUYMGXJpyQXDUo
# SandboxIntegration 7cf3fb8478dfa9563a4546a4d0c68c0f71ddd6763cd47e96e9248eef56cc9ff7
#LOB_NETSUITE_CLIENT_CLIENT_ID=abfa657a8c2cc348f6412bc1813fb96cfe0b9512d4ce9b9d68af3edeead9f19a
LOB_NETSUITE_CLIENT_CLIENT_ID=a0d5804eea0a5f2c21a9d7d2070437d4bbd1081c60fa596aae00e1671a031c8e
LOB_NETSUITE_CLIENT_PRIVATE_KEY_FILE_PATH=/app/private_dev.pem
LOCAL_PRIVATE_KEY_PATH=/Users/thkammer/private_dev.pem
LOB_NETSUITE_CLIENT_TOKEN_URL=https://6766746-sb1.suitetalk.api.netsuite.com/services/rest/auth/oauth2/v1/token
LOB_NETSUITE_CLIENT_URL=https://6766746-sb1.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=1282&deploy=1&searchname=restsearchtestOld&_is_text=true&recordspercall=1000000000
12 changes: 12 additions & 0 deletions .envProd
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FRONTEND_DOCKER_TAG=main-3e9e3fd-GHRUN14493112182
LOB_NETSUITE_CLIENT_CERTIFICATE_ID=dfChYbTfry2FQeZS4Ej9gV8VgmjhUY8525w1x2oUyJk

LOB_NETSUITE_CLIENT_PRIVATE_KEY_FILE_PATH=/app/private_dev.pem
LOCAL_PRIVATE_KEY_PATH=/Users/thkammer/Downloads/credz/private.pem


LOB_NETSUITE_CLIENT_RECORDSPERCALL=2500
LOB_NETSUITE_CLIENT_URL=https://6766746.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=1206&deploy=1&searchname=restsearchtestOld&_is_text=true&recordspercall=500;
LOB_NETSUITE_CLIENT_TOKEN_URL=https://6766746.suitetalk.api.netsuite.com/services/rest/auth/oauth2/v1/token
LOB_NETSUITE_CLIENT_CLIENT_ID=514d71db4c4ae93a709331a0680033ad82dc41dd36c5a36aca87d44a008c28cf
LOB_CARDANO_NETWORK=dev
51 changes: 0 additions & 51 deletions .github/workflows/postman-tests.yml

This file was deleted.

110 changes: 110 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
name: e2e Tests

on:
pull_request:
env:
REEVE_DB_MIGRATIONS_REPO: cardano-foundation/cf-reeve-db-migrations
REEVE_DB_MIGRATIONS_REF: main
REEVE_DB_MIGRATIONS_PATH: cf-application/src/main/resources/db/migration/postgresql/cf-reeve-db-migrations
GITLAB_MAVEN_REGISTRY_URL: ${{ secrets.GITLAB_MAVEN_REGISTRY_URL }}

jobs:
postman:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Checkout cf-reeve-db-migrations
uses: actions/checkout@v4
with:
repository: ${{ env.REEVE_DB_MIGRATIONS_REPO }}
ref: ${{ env.REEVE_DB_MIGRATIONS_REF }}
ssh-key: ${{ secrets.CF_REEVE_DB_MIGRATIONS_SSH_DEPLOY_KEY }}
path: ${{ env.REEVE_DB_MIGRATIONS_PATH }}

- name: Set up Docker Compose
run: |
docker compose build --build-arg GITLAB_MAVEN_REGISTRY_URL="${GITLAB_MAVEN_REGISTRY_URL}"
docker compose up -d
timeout 150 docker compose logs -f api || true
- name: Services health-check API
run: |
timeout 180 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost:9000/swagger-ui/index.html)" != "200" ]]; do sleep 2;echo "."; done'
echo "API is up"
docker ps
- name: Services health-check Keycloak
run: |
timeout 180 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost:8080/realms/master)" != "200" ]]; do sleep 2;echo "."; done'
echo "Keycloak is up"
docker ps
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18

- name: Install Newman (Postman CLI)
run: npm install -g newman
- name: Run Postman Collection with Environment
run: |
newman run postman/Reeve_Integration.postman_collection.json \
--environment postman/Reeve_env.postman_environment.json

playwright:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Checkout cf-reeve-db-migrations
uses: actions/checkout@v4
with:
repository: ${{ env.REEVE_DB_MIGRATIONS_REPO }}
ref: ${{ env.REEVE_DB_MIGRATIONS_REF }}
ssh-key: ${{ secrets.CF_REEVE_DB_MIGRATIONS_SSH_DEPLOY_KEY }}
path: ${{ env.REEVE_DB_MIGRATIONS_PATH }}

- name: Set up Docker Compose
run: |
docker compose build --build-arg GITLAB_MAVEN_REGISTRY_URL="${GITLAB_MAVEN_REGISTRY_URL}"
docker compose up -d
timeout 150 docker compose logs -f api || true

- name: Services health-check API
run: |
timeout 180 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost:9000/swagger-ui/index.html)" != "200" ]]; do sleep 2;echo "."; done'
echo "API is up"
docker ps

- name: Services health-check Keycloak
run: |
timeout 180 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost:8080/realms/master)" != "200" ]]; do sleep 2;echo "."; done'
echo "Keycloak is up"
docker ps

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 24

- name: Install Playwright dependencies
working-directory: playwright
run: |
npm ci
npx playwright install --with-deps

- name: Create .env file
working-directory: playwright
run: |
echo "API_URL=http://localhost:9000/api/v1" >> .env
echo "LOGIN_URL=http://localhost:8080" >> .env
echo "MANAGER_USER=${{ secrets.PLAYWRIGHT_USER }}" >> .env
echo "MANAGER_PASSWORD=${{ secrets.PLAYWRIGHT_PASSWORD }}" >> .env
echo "API_LOG_REQUEST=false" >> .env
echo "ORGANIZATION_ID=${{ secrets.PLAYWRIGHT_ORGANIZATION_ID }}" >> .env
echo "CI=true" >> .env

- name: Run Playwright e2e tests
working-directory: playwright
run: npm run test
continue-on-error: true
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ build/
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/
*.pem

target/

Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ FROM eclipse-temurin:21-jre AS backend
COPY --from=build /app/cf-application/build/libs/*-all.jar /app.jar
# Install libsodium system library so lazysodium can load it
RUN apt-get update && apt-get install -y libsodium23 && rm -rf /var/lib/apt/lists/*

ENTRYPOINT ["java", "--enable-preview", "-jar", "/app.jar"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ export SPRING_PROFILES_ACTIVE=dev--yaci-dev-kit
- Keycloak can be disabled by setting `KEYCLOAK_ENABLED=false` in the `.env` file or in the docker-compose file
- To test the api swagger set the following two environment variables in the `.env` file or in the docker-compose file:
- `KEYCLOAK_ENABLED=false`
- `KC_BASE_URL=http://localhost:8080`
- `KC_BASE_URL=http://localhost:8080`
18 changes: 12 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ subprojects {
apply(plugin = "info.solidsoft.pitest")

group = "de.cardanofoundation"
version = "1.2.0"

version = "1.4.0"

sourceSets {
named("main") {
Expand All @@ -31,10 +30,17 @@ subprojects {
mavenLocal()
mavenCentral()
maven {
url = uri("https://oss.sonatype.org/content/repositories/snapshots")
name = "Central Portal Snapshots"
url = uri("https://central.sonatype.com/repository/maven-snapshots/")

// Only search this repository for the specific dependency
content {
includeModule("org.cardanofoundation", "signify")
}
}

val gitlabMavenRegistryUrl = providers.environmentVariable("GITLAB_MAVEN_REGISTRY_URL").orElse(providers.gradleProperty("gitlabMavenRegistryUrl"))

val gitlabMavenRegistryUrl = providers.environmentVariable("GITLAB_MAVEN_REGISTRY_URL")
.orElse(providers.gradleProperty("gitlabMavenRegistryUrl"))
if (gitlabMavenRegistryUrl.isPresent()) {
maven {
name = "gitlab"
Expand All @@ -56,7 +62,7 @@ subprojects {
extra["springBootVersion"] = "3.3.3"
extra["springCloudVersion"] = "2023.0.0"
extra["jMoleculesVersion"] = "2023.1.0"
extra["cfLobPlatformVersion"] = "1.2.0"
extra["cfLobPlatformVersion"] = "1.4.0-PR536-b4adfb0-GHRUN21703459598"

dependencies {
compileOnly("org.projectlombok:lombok:1.18.32")
Expand Down
1 change: 1 addition & 0 deletions cf-application/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ dependencies {
implementation("org.cardanofoundation:cf-lob-platform-csv_erp_adapter:${property("cfLobPlatformVersion")}")
implementation("org.cardanofoundation:cf-lob-platform-blockchain_publisher:${property("cfLobPlatformVersion")}")
implementation("org.cardanofoundation:cf-lob-platform-accounting_reporting_core:${property("cfLobPlatformVersion")}")
implementation("org.cardanofoundation:cf-lob-platform-reporting:${property("cfLobPlatformVersion")}")
}


Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
package org.cardanofoundation.lob.app;

import io.micrometer.core.aop.TimedAspect;
import io.micrometer.core.instrument.MeterRegistry;
import lombok.extern.slf4j.Slf4j;
import java.math.BigDecimal;
import java.time.Clock;
import java.time.Duration;
import lombok.val;
import org.apache.hc.client5.http.config.RequestConfig;
import org.apache.hc.client5.http.impl.classic.CloseableHttpClient;
import org.apache.hc.client5.http.impl.classic.HttpClients;
import org.apache.hc.core5.util.Timeout;
import org.cardanofoundation.lob.app.support.javers.LOBBigDecimalComparator;
import org.cardanofoundation.lob.app.support.spring_web.SpringWebConfig;
import org.javers.core.Javers;
import org.javers.core.JaversBuilder;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
Expand All @@ -36,10 +29,16 @@
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.client.RestClient;
import org.springframework.web.filter.ShallowEtagHeaderFilter;

import java.math.BigDecimal;
import java.time.Clock;
import java.time.Duration;
import io.micrometer.core.aop.TimedAspect;
import io.micrometer.core.instrument.MeterRegistry;
import org.apache.hc.client5.http.config.RequestConfig;
import org.apache.hc.client5.http.impl.classic.CloseableHttpClient;
import org.apache.hc.client5.http.impl.classic.HttpClients;
import org.apache.hc.core5.util.Timeout;
import org.javers.core.Javers;
import org.javers.core.JaversBuilder;
import org.cardanofoundation.lob.app.support.javers.LOBBigDecimalComparator;
import org.cardanofoundation.lob.app.support.spring_web.SpringWebConfig;

@SpringBootApplication(exclude = { SecurityAutoConfiguration.class, ErrorMvcAutoConfiguration.class, UserDetailsServiceAutoConfiguration.class })
@EnableJpaRepositories( { "org.cardanofoundation.lob" } )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import org.cardanofoundation.lob.app.accounting_reporting_core.domain.event.extraction.TransactionBatchFailedEvent;
import org.cardanofoundation.lob.app.accounting_reporting_core.domain.event.extraction.TransactionBatchStartedEvent;
import org.cardanofoundation.lob.app.accounting_reporting_core.domain.event.extraction.ValidateIngestionResponseEvent;
import org.cardanofoundation.lob.app.accounting_reporting_core.domain.event.ledger.ReportsLedgerUpdatedEvent;
import org.cardanofoundation.lob.app.accounting_reporting_core.domain.event.ledger.TxsLedgerUpdatedEvent;
import org.cardanofoundation.lob.app.accounting_reporting_core.domain.event.reconcilation.ReconcilationChunkEvent;
import org.cardanofoundation.lob.app.accounting_reporting_core.domain.event.reconcilation.ReconcilationFailedEvent;
Expand All @@ -30,12 +29,6 @@ public void listen(TxsLedgerUpdatedEvent message) {
applicationEventPublisher.publishEvent(message);
}

@KafkaListener(topics = "${lob.accounting_reporting_core.topics.reports-ledger-updated-event}")
public void listen(ReportsLedgerUpdatedEvent message) {
log.info("Received ReportsLedgerUpdatedEvent from Kafka: {}", message);
applicationEventPublisher.publishEvent(message);
}

@KafkaListener(topics = "${lob.accounting_reporting_core.topics.validate-ingestion-response-event}")
public void listen(ValidateIngestionResponseEvent message) {
log.info("Received ValidateIngestionResponseEvent from Kafka: {}", message);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.cardanofoundation.lob.app.accounting_reporting_core.domain.event.ledger.ReportLedgerUpdateCommand;
import org.cardanofoundation.lob.app.accounting_reporting_core.domain.event.ledger.TransactionLedgerUpdateCommand;
import org.cardanofoundation.lob.app.accounting_reporting_core.domain.event.ledger.TxRollbackEvent;
import org.cardanofoundation.lob.app.reporting.dto.events.PublishReportEvent;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.ApplicationEventPublisher;
import org.springframework.kafka.annotation.KafkaListener;
Expand All @@ -17,15 +18,23 @@ public class BlockchainPublisherKafkaConsumer {

private final ApplicationEventPublisher applicationEventPublisher;

@KafkaListener(topics = "${lob.blockchain_publisher.topics.report-ledger-update-command}")
public void listen(ReportLedgerUpdateCommand message) {
log.info("Received LedgerUpdateCommand from Kafa: {}", message);
applicationEventPublisher.publishEvent(message);
}

@KafkaListener(topics = "${lob.blockchain_publisher.topics.transaction-ledger-update-commander}")
public void listen(TransactionLedgerUpdateCommand message) {
log.info("Received LedgerUpdateCommand from Kafka: {}", message);
applicationEventPublisher.publishEvent(message);
}

@KafkaListener(topics = "${lob.reporting.topics.publish-report-event}")
public void listen(PublishReportEvent message) {
log.info("Received PublishReportEvent from Kafa: {}", message);
applicationEventPublisher.publishEvent(message);
}

@KafkaListener(topics = "${lob.blockchain_publisher.topics.tx-rollback-event}")
public void listen(TxRollbackEvent message) {
log.info("Received TxRollbackEvent from Kafa: {}", message);
applicationEventPublisher.publishEvent(message);
}


}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
package org.cardanofoundation.lob.app.kafka.consumer;

import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.cardanofoundation.lob.app.reporting.dto.events.ReportsLedgerUpdatedEvent;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.ApplicationEventPublisher;
import org.springframework.kafka.annotation.KafkaListener;
import org.springframework.stereotype.Service;

@Service
@Slf4j
@RequiredArgsConstructor
@ConditionalOnProperty(value = {"lob.reporting.enabled", "spring.kafka.enabled"}, havingValue = "true", matchIfMissing = true)
public class ReportingKafkaConsumer {

private final ApplicationEventPublisher applicationEventPublisher;

@KafkaListener(topics = "${lob.reporting.topics.reports-ledger-updated-event}")
public void listen(ReportsLedgerUpdatedEvent message) {
log.info("Received ReportsLedgerUpdatedEvent from Kafka: {}", message);
applicationEventPublisher.publishEvent(message);
}
}
Loading
Loading