Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: 0.6.0 release #42

Merged
merged 78 commits into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
e6386b2
Merge pull request #24 from nordic-institute/release-0.4.0
teemukin65 Jan 6, 2022
2e6b0a8
Bump version to 0.5.0-SNAPSHOT
carohauta Jan 10, 2022
6455ed6
Merge pull request #25 from nordic-institute/version-bump-0.5.0-snapshot
teemukin65 Jan 11, 2022
7a85db8
Update Slack invitation link
petkivim Jan 29, 2022
00570ba
Update README.md
petkivim Jan 29, 2022
9974d49
Update README.md
petkivim Jan 29, 2022
82eb4c5
Add JDK11 support and update dependencies
petkivim Feb 24, 2023
0bd7174
Change to spring boot
petkivim Feb 26, 2023
2fd493c
Update readme
petkivim Feb 26, 2023
17af1dc
Update readme
petkivim Feb 26, 2023
709f2b7
Add Dependency Check Maven plugin
petkivim Feb 26, 2023
d417234
Updates based on review comments
petkivim Mar 6, 2023
e8ef53a
Merge pull request #27 from nordic-institute/20230226-change-to-sprin…
petkivim Mar 6, 2023
9d2e54f
Update Docker file
petkivim Oct 24, 2023
6907d3b
Add ORT configuration file
petkivim Jan 29, 2024
b6817eb
build(Maven): Fix SCM metadata in the parent POM
sschuberth Jan 29, 2024
4d86d8c
Merge pull request #30 from doubleopen-project/fix-pom-scm
petkivim Jan 30, 2024
6700f1e
Update 3rd party dependencies file
petkivim Feb 3, 2024
48eb1f8
Update ORT configuration
petkivim Feb 14, 2024
583de20
Update ORT configuration
petkivim Mar 13, 2024
0f1bbba
Update ORT configuration
petkivim Mar 14, 2024
7c23a76
Update ORT configuration
petkivim Mar 16, 2024
bb712ce
Added operations to example-adapter for soap attachments testing (#32)
justasnortal Jun 6, 2024
b8d4391
Update README.md (#33)
justasnortal Jun 6, 2024
f733420
feat: MTOM endpoint for testing (#35)
ricardas-buc Jul 25, 2024
7de81bb
chore: wsdl documention and keeping attachments order in test service…
justasnortal Jul 25, 2024
2a1b88b
build: initial maven to gradle migration
mloitm Jun 11, 2024
801b365
build: produce source and javadoc jars
mloitm Jun 27, 2024
fd8c17b
build: checkstyle
mloitm Jun 27, 2024
977e991
build: dependency-check
mloitm Jun 28, 2024
5a534b6
build: license format
mloitm Jul 23, 2024
16f7c0c
build: include LICENSE and 3RD-PARTY-NOTICES in jar
mloitm Jul 23, 2024
82503bd
build: maven publishing
mloitm Jul 25, 2024
bc303ee
build: dependencies cleanup
mloitm Jul 25, 2024
4da4769
build: removed maven build files
mloitm Jul 25, 2024
717cf63
build: junit5 dependency
mloitm Jul 25, 2024
e558118
test: migrate tests to junit 5
mloitm Jul 25, 2024
eb0d222
chore: update logging dependencies
mloitm Jul 26, 2024
16a0e75
chore: migrate to Jakarta SOAP implementation
mloitm Jul 26, 2024
4700704
fix: saaj api usage according to new version
mloitm Jul 31, 2024
2383c49
chore: migrate to jakarta servlet api
mloitm Jul 31, 2024
2ba491e
chore: migrate apache http client to version 5
mloitm Aug 1, 2024
3e0ef3c
chore: org.json:json upgraded
mloitm Aug 1, 2024
fabfa6a
chore: example adapter initial migration from maven to gradle
mloitm Aug 6, 2024
58c5e80
chore: upgrade dependency check gradle plugin
mloitm Sep 6, 2024
6a55f4a
chore: example adapter dependencies updated
mloitm Sep 6, 2024
4f5b000
chore: fixed some compiler warnings
mloitm Sep 16, 2024
5ffd3c1
chore: license headers updated
mloitm Sep 16, 2024
b5cd78e
chore: checkstyle
mloitm Sep 16, 2024
cf7c1ed
chore: example adapter build configuration
mloitm Sep 16, 2024
aa8905f
chore: maven configuration file removed
mloitm Sep 16, 2024
599b277
chore: gradle version updated to 8.10.1
mloitm Sep 16, 2024
49222e1
chore: license headers updated
mloitm Sep 16, 2024
6b07218
test: tests for AbstractAdapterServlet
mloitm Sep 25, 2024
e6cac88
test: tests for AbstractAdapterServlet
mloitm Sep 26, 2024
16f3d90
chore: checkstyle and licenses
mloitm Sep 27, 2024
8a8690f
chore: gradle version updated to 8.10.2
mloitm Sep 27, 2024
b415fbd
chore: javadocs generation fixed
mloitm Sep 27, 2024
038e2e3
build: example adapter war packaging
mloitm Oct 2, 2024
dff0acf
build: example adapter docker packaging
mloitm Oct 3, 2024
2f370ed
docs: documentation updates
mloitm Oct 3, 2024
c3e6d9e
chore: version no bumped to 0.6.0
mloitm Oct 3, 2024
3d9328e
chore: documentation updates
mloitm Oct 3, 2024
8c510e4
chore: documentation updates
mloitm Oct 3, 2024
d59cfdf
build: unignore gradle-wrapper.jar
mloitm Oct 7, 2024
e8eee44
chore: code review fixes
mloitm Oct 8, 2024
4f2c281
build: use the same compiler options that are used in X-Road
mloitm Oct 8, 2024
563c03a
docs: table of contents updated in various documents
mloitm Oct 8, 2024
4865e1b
docs: table of contents updated in various documents
mloitm Oct 8, 2024
87515bd
build: enable dependency check for example adapter
mloitm Oct 8, 2024
397eef2
chore: example adapter dependencies checked/updated
mloitm Oct 8, 2024
d6655e1
build: integraition test dependencies moved to version catalog
mloitm Oct 8, 2024
bfd3bb1
Merge pull request #37 from nordic-institute/XRDDEV-2628
mloitm Oct 8, 2024
818b0aa
build: gradle publish settings (#38)
mloitm Oct 15, 2024
9a736a7
ci: enable github actions (#39)
mloitm Oct 15, 2024
56850ff
chore: fixed critical sonar issues (#40)
mloitm Oct 18, 2024
ff1f9d5
build(deps): bump org.apache.james:apache-mime4j-core in /src (#41)
dependabot[bot] Oct 18, 2024
3a2d50b
chore: version no bumped to 0.6.0
mloitm Oct 18, 2024
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
79 changes: 79 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: Build and test
on:
# Capture this event so that gradle caches are updated when a PR is merged to develop
# More information on why: https://github.com/gradle/gradle-build-action#using-the-caches-read-only
push:
branches:
- develop
paths:
- 'src/**'
- '.github/**'
pull_request:
types: [opened, synchronize, reopened]
paths:
- 'src/**'
- '.github/**'
permissions:
contents: write # Required for https://github.com/gradle/actions/tree/main/setup-gradle#github-dependency-graph-support
pull-requests: write # https://github.com/gradle/actions/tree/main/setup-gradle#adding-job-summary-as-a-pull-request-comment
actions: read # Required for https://github.com/dorny/test-reporter
checks: write # Required for https://github.com/dorny/test-reporter
# Cancels previous workflow run on PR if a new one is started (does not affect push to develop).
# This is because github.head_ref is empty on push events so defaults to the unique github.run_id.
# More info: https://docs.github.com/en/actions/using-jobs/using-concurrency
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
BuildAndPackageWithUnitTests:
name: Build, test and package code
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # SonarCloud: Shallow clones should be disabled for a better relevancy of analysis

# Setting up both JDK 11 and 17
# 11 is used for compiling and running tests
# 17 is required by sonar
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Cache SonarCloud packages
uses: actions/cache@v4
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v4
with:
cache-read-only: ${{ github.ref != 'refs/heads/develop' }}
gradle-home-cache-cleanup: true
dependency-graph: generate-and-submit
add-job-summary-as-pr-comment: always
- name: Build and test source
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
working-directory: ./src
run: ./gradlew build jacocoTestReport sonar -Dsonar.projectKey=nordic-institute_xrd4j -Dsonar.organization=nordic-institute -Dsonar.host.url=https://sonarcloud.io
- name: Test report
uses: dorny/test-reporter@v1
if: success() || failure()
with:
name: Unit and integration tests
path: src/**/build/test-results/**/TEST-*.xml
reporter: java-junit
list-suites: 'failed'
list-tests: 'failed'
- name: Build example-adapter
working-directory: ./example-adapter
run: ./gradlew --include-build ../src build
8 changes: 3 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
*.class
.gradle/
build/
javadoc/

# Mobile Tools for Java (J2ME)
.mtj.tmp/
example-adapter/.mtj.tmp

# Package Files #
*.jar
*.war
*.ear

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

Expand Down
75 changes: 75 additions & 0 deletions .ort.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
---
excludes:
paths:
- pattern: "3RD-PARTY-NOTICES.txt"
reason: "OTHER"
comment: "File including 3rd party license notices."

- pattern: "example-adapter/**"
reason: "EXAMPLE_OF"
comment: "This directory contains an example app that's not distributed."

- pattern: "examples/**"
reason: "EXAMPLE_OF"
comment: "This directory contains examples that are not distributed."

- pattern: "documentation/**"
reason: "DOCUMENTATION_OF"
comment: "This directory contains documentation that's not distributed."

scopes:
- pattern: "checkstyle"
reason: "BUILD_DEPENDENCY_OF"
comment: "Packages for code styling checks (testing) only."

- pattern: "devDependencies"
reason: "DEV_DEPENDENCY_OF"
comment: "Packages for development only."

- pattern: "jacocoAgent"
reason: "TEST_DEPENDENCY_OF"
comment: "Packages for code coverage (testing) only."

- pattern: "jacocoAnt"
reason: "TEST_DEPENDENCY_OF"
comment: "Packages for code coverage (testing) only."

- pattern: "test.*"
reason: "TEST_DEPENDENCY_OF"
comment: "Packages for testing only."

- pattern: "annotationProcessor"
reason: "DEV_DEPENDENCY_OF"
comment: "Packages for development only."

- pattern: "compileClasspath"
reason: "DEV_DEPENDENCY_OF"
comment: "Packages for development only."

- pattern: "compileOnly"
reason: "DEV_DEPENDENCY_OF"
comment: "Packages for development only."

- pattern: "provided"
reason: "RUNTIME_DEPENDENCY_OF"
comment: "Packages that are provided by the runtime."

license_choices:
repository_license_choices:
- given: "GPL-2.0-only OR Apache-2.0"
choice: "Apache-2.0"
- given: "GPL-2.0-only OR BSD-3-Clause"
choice: "BSD-3-Clause"
- given: "GPL-2.0-only OR CDDL-1.1"
choice: "CDDL-1.1"
- given: "CDDL-1.1 OR GPL-2.0-only WITH Classpath-exception-2.0"
choice: "CDDL-1.1"
- given: "GPL-2.0-only OR CDDL-1.0"
choice: "CDDL-1.0"

curations:
packages:
- id: "Maven:com.sun.xml.messaging.saaj:saaj-impl:1.3.28"
curations:
comment: "The package offers GPL-2.0-only OR CDDL-1.1 and we use the curation to override the choice mechanism due to a pending issue in ORT."
concluded_license: "CDDL-1.1"
Loading
Loading