Skip to content

Commit 09e5141

Browse files
authored
Merge pull request #3 from blueprint-platform/refactor/hexagonal-architecture
feat(1.0.0): architecture rewrite (Hexagonal) + CI & testing overhaul #3
2 parents 6e2fbe0 + 4722bed commit 09e5141

File tree

299 files changed

+10913
-3426
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

299 files changed

+10913
-3426
lines changed

.github/workflows/build.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@ on:
55
branches: [ main ]
66
pull_request:
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
build:
1013
runs-on: ubuntu-latest
14+
1115
steps:
1216
- name: Checkout repository
1317
uses: actions/checkout@v4
@@ -17,6 +21,18 @@ jobs:
1721
with:
1822
java-version: '21'
1923
distribution: 'temurin'
24+
cache: maven
2025

21-
- name: Build with Maven
22-
run: mvn -B clean verify
26+
- name: Build with Maven (tests + coverage)
27+
run: mvn -B -q -ntp clean verify
28+
29+
- name: Upload coverage to Codecov
30+
uses: codecov/codecov-action@v4
31+
with:
32+
token: ${{ secrets.CODECOV_TOKEN }}
33+
files: |
34+
target/site/jacoco/jacoco.xml
35+
target/site/jacoco-it/jacoco.xml
36+
flags: codegen-blueprint
37+
name: codegen-blueprint
38+
fail_ci_if_error: false

.github/workflows/codeql.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: CodeQL
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
schedule:
9+
- cron: '18 3 * * 1'
10+
11+
permissions:
12+
contents: read
13+
security-events: write
14+
actions: read
15+
16+
jobs:
17+
analyze:
18+
name: Analyze (CodeQL)
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
- name: Checkout
23+
uses: actions/checkout@v4
24+
25+
- name: Set up JDK 21
26+
uses: actions/setup-java@v4
27+
with:
28+
java-version: '21'
29+
distribution: 'temurin'
30+
cache: maven
31+
32+
- name: Initialize CodeQL
33+
uses: github/codeql-action/init@v4
34+
with:
35+
languages: java
36+
queries: +security-and-quality
37+
38+
- name: Build (codegen-blueprint)
39+
run: mvn -q -ntp -DskipTests=true clean package
40+
41+
- name: Perform CodeQL Analysis
42+
uses: github/codeql-action/analyze@v4
43+
with:
44+
category: "/language:java"

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,4 @@ buildNumber.properties
6464
generated-sources/
6565
generated-classes/
6666
/HELP.md
67+
*.iml

LICENSE

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
MIT License
22

3-
Copyright (c) 2025 bsayli
3+
Copyright (c) 2025 blueprint-platform
4+
Maintained by Barış Saylı (@bsayli)
45

56
Permission is hereby granted, free of charge, to any person obtaining a copy
67
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)