Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit eb69fc0

Browse files
Tim Bertholddependabot[bot]vdakkereakker
authored
release: v5.1.0 (#333)
* feat: throw exception and log error if no private key for alias found (#264) * feat: throw exception and log error if no private key for alias found * refactor: add used keyalias to printed logs * feat: check incoming payload for valid json and securityProfile attr (#266) * feat: check incoming payload for valid json and securityProfile attr * docs: update changelog * feat: enable or disable infomodel compatibility check (#267) * feat: enable or disable infomodel compatibility check via application properties * chore: fix checkstyle error * refactor: logs message reason formats (#269) * build(deps): bump infomodel-artifacts from 4.2.0 to 4.2.1 (#270) * build(deps): bump infomodel-artifacts from 4.2.0 to 4.2.1 * docs: update readme * chore: minor javadoc refactoring * docs: add missing throws to IDSBrokerService javadoc * refactor: minor log adjustments * docs: prepare release v4.3.0 * docs: add remaining missing throws and javadoc * build: pom set version to 4.3.1 * build(deps): bump checkstyle from 8.45.1 to 9.0 (#275) * build(deps): bump checkstyle from 8.45.1 to 9.0 Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.45.1 to 9.0. - [Release notes](https://github.com/checkstyle/checkstyle/releases) - [Commits](checkstyle/checkstyle@checkstyle-8.45.1...checkstyle-9.0) --- updated-dependencies: - dependency-name: com.puppycrawl.tools:checkstyle dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * docs: update changelog Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tim Berthold <tim.berthold@isst.fraunhofer.de> * Add new Clearinghouse Endpoint for registering PIDs (#276) * [CLEARINGHOUSE] #FEAT 'file:ClearingHouseService' {Create method specification for registering PIDs at clearinghouse} * [CLEARINGHOUSE] #CHORE 'file:ClearingHouseService' {Remove sendlogtoclrearinghouse with random pid generation} * [CLEARINGHOUSE] #FEAT 'file:ClearingHouseService' {Implement method for sending pid request} * [CLEARINGHOUSE] #FIX 'file:ClearingHouseService' {Add PID to path, create RequestMessage Template} * [MESSAGING] #FIX 'file:RequestTemplateProvider' {Fix Checkstyle} * [CLEARINGHOUSE] #FIX 'file:ClearingHouseService' {Fix Checkstyle} * [CLEARINGHOUSE] #FEAT 'file:ClearingHouseService' {Make pid registering connectorIDs varargs, allow for arbitrary numbner of connectors sharing a pid} * refactor: code adjustments * build: set new version in pom * docs: update changelog Co-authored-by: Tim Berthold <75306992+tmberthold@users.noreply.github.com> Co-authored-by: Tim Berthold <tim.berthold@isst.fraunhofer.de> * docs: update changelog * fix: new clearinghouse process endpoint setting * fix: response codes outside 200-299 provoke IOExceptions (#278) * fix: response codes outside 200-299 provoke IOExceptions * docs: update changelog, add links * refactor: remove not yet supported useIDSCP and useLDP (#279) * build(deps): bump maven-javadoc-plugin from 3.3.0 to 3.3.1 (#281) * build(deps): bump maven-javadoc-plugin from 3.3.0 to 3.3.1 Bumps [maven-javadoc-plugin](https://github.com/apache/maven-javadoc-plugin) from 3.3.0 to 3.3.1. - [Release notes](https://github.com/apache/maven-javadoc-plugin/releases) - [Commits](apache/maven-javadoc-plugin@maven-javadoc-plugin-3.3.0...maven-javadoc-plugin-3.3.1) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-javadoc-plugin dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * docs: update changelog Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tim Berthold <tim.berthold@isst.fraunhofer.de> * chore: update infomodel artifacts 4.2.1 -> 4.2.3 (#289) * chore: update infomodel artifacts 4.2.1 -> 4.2.3 * docs: update changelog * docs: update readme * feat: log-debug outgoing messages (#286) * feat: log-debug outgoing messages * chore: fix checkstyle * chore: fix javadoc * docs: update changelog * feat: check if keystore-location is null on init (#291) * feat: check if keystore-location is null on init * chore: refactor javadoc * feat: validity check for proxy hostname (#285) * feat: Proxy-Config, if no hostname set, issue warn message and try sending without proxy * docs: update changelog * chore: add check for proxy port * test: fix ConfigProducerTest testProvider * chore: update test comment Co-authored-by: eakker <erik.van.den.akker@isst.fraunhofer.de> * chore: update org.junit.jupiter dependencies (#295) * chore: update org.junit.jupiter dependencies * chore: update changelog * docs: prepare release v5.0.0 * build(deps): bump spring dependencies (#302) * build(deps): bump spring-web from 5.3.9 to 5.3.10 (#301) Bumps [spring-web](https://github.com/spring-projects/spring-framework) from 5.3.9 to 5.3.10. - [Release notes](https://github.com/spring-projects/spring-framework/releases) - [Commits](spring-projects/spring-framework@v5.3.9...v5.3.10) --- updated-dependencies: - dependency-name: org.springframework:spring-web dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump spring-webmvc from 5.3.9 to 5.3.10 (#300) Bumps [spring-webmvc](https://github.com/spring-projects/spring-framework) from 5.3.9 to 5.3.10. - [Release notes](https://github.com/spring-projects/spring-framework/releases) - [Commits](spring-projects/spring-framework@v5.3.9...v5.3.10) --- updated-dependencies: - dependency-name: org.springframework:spring-webmvc dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump spring-test from 5.3.9 to 5.3.10 (#299) Bumps [spring-test](https://github.com/spring-projects/spring-framework) from 5.3.9 to 5.3.10. - [Release notes](https://github.com/spring-projects/spring-framework/releases) - [Commits](spring-projects/spring-framework@v5.3.9...v5.3.10) --- updated-dependencies: - dependency-name: org.springframework:spring-test dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump spring-tx from 5.3.9 to 5.3.10 (#298) Bumps [spring-tx](https://github.com/spring-projects/spring-framework) from 5.3.9 to 5.3.10. - [Release notes](https://github.com/spring-projects/spring-framework/releases) - [Commits](spring-projects/spring-framework@v5.3.9...v5.3.10) --- updated-dependencies: - dependency-name: org.springframework:spring-tx dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump spring-core from 5.3.9 to 5.3.10 (#297) Bumps [spring-core](https://github.com/spring-projects/spring-framework) from 5.3.9 to 5.3.10. - [Release notes](https://github.com/spring-projects/spring-framework/releases) - [Commits](spring-projects/spring-framework@v5.3.9...v5.3.10) --- updated-dependencies: - dependency-name: org.springframework:spring-core dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs(changelog): spring dependency maintenance * build(pom): bump version to 5.0.1 Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(pom): exclude jena-core 4.1.0 use 4.2.0 instead (#303) * build(pom): exclude jena-core 4.1.0 use 4.2.0 instead * docs: update changelog * docs: update changelog * build: update infomodel-artifacts to v4.2.4 (#307) * build(pom): update infomodel-artifacts to v4.2.4 * docs(changelog): add infomodel maintenance * docs(changelog): fix link in infomodel maintenance * docs(readme): update used infomodel artifacts * build(pom): increase messaging-services to v5.0.2 * build(deps): bump junit-jupiter dependencies from 5.8.0 to 5.8.1 (#311) * build(deps-dev): bump junit-jupiter-engine from 5.8.0 to 5.8.1 (#310) Bumps [junit-jupiter-engine](https://github.com/junit-team/junit5) from 5.8.0 to 5.8.1. - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/commits) --- updated-dependencies: - dependency-name: org.junit.jupiter:junit-jupiter-engine dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump junit-jupiter from 5.8.0 to 5.8.1 (#309) Bumps [junit-jupiter](https://github.com/junit-team/junit5) from 5.8.0 to 5.8.1. - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/commits) --- updated-dependencies: - dependency-name: org.junit.jupiter:junit-jupiter dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump junit-jupiter-api from 5.8.0 to 5.8.1 (#308) Bumps [junit-jupiter-api](https://github.com/junit-team/junit5) from 5.8.0 to 5.8.1. - [Release notes](https://github.com/junit-team/junit5/releases) - [Commits](https://github.com/junit-team/junit5/commits) --- updated-dependencies: - dependency-name: org.junit.jupiter:junit-jupiter-api dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs(changelog): add org.junit.jupiter updates Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump spring-boot-starter dependencies from 2.5.4 to 2.5.5 (#314) * build(deps): bump spring-boot-starter from 2.5.4 to 2.5.5 (#313) Bumps [spring-boot-starter](https://github.com/spring-projects/spring-boot) from 2.5.4 to 2.5.5. - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](spring-projects/spring-boot@v2.5.4...v2.5.5) --- updated-dependencies: - dependency-name: org.springframework.boot:spring-boot-starter dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump spring-boot-starter-test from 2.5.4 to 2.5.5 (#312) Bumps [spring-boot-starter-test](https://github.com/spring-projects/spring-boot) from 2.5.4 to 2.5.5. - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](spring-projects/spring-boot@v2.5.4...v2.5.5) --- updated-dependencies: - dependency-name: org.springframework.boot:spring-boot-starter-test dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs(changelog): bump spring-boot-starter dependencies Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump checkstyle from 9.0 to 9.0.1 (#319) Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 9.0 to 9.0.1. - [Release notes](https://github.com/checkstyle/checkstyle/releases) - [Commits](checkstyle/checkstyle@checkstyle-9.0...checkstyle-9.0.1) --- updated-dependencies: - dependency-name: com.puppycrawl.tools:checkstyle dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump mockwebserver from 4.9.1 to 4.9.2 (#318) Bumps [mockwebserver](https://github.com/square/okhttp) from 4.9.1 to 4.9.2. - [Release notes](https://github.com/square/okhttp/releases) - [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md) - [Commits](square/okhttp@parent-4.9.1...parent-4.9.2) --- updated-dependencies: - dependency-name: com.squareup.okhttp3:mockwebserver dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: vdakker <75307507+vdakker@users.noreply.github.com> * build(deps): bump okhttp from 4.9.1 to 4.9.2 (#317) * build(deps): bump okhttp from 4.9.1 to 4.9.2 Bumps [okhttp](https://github.com/square/okhttp) from 4.9.1 to 4.9.2. - [Release notes](https://github.com/square/okhttp/releases) - [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md) - [Commits](square/okhttp@parent-4.9.1...parent-4.9.2) --- updated-dependencies: - dependency-name: com.squareup.okhttp3:okhttp dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * chore: add updates to CHANGELOG.md * chore: add pull request info to CHANGELOG.md Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: vdakker <75307507+vdakker@users.noreply.github.com> * build(deps): bump lombok from 1.18.20 to 1.18.22 (#320) * build(deps): bump lombok from 1.18.20 to 1.18.22 Bumps [lombok](https://github.com/projectlombok/lombok) from 1.18.20 to 1.18.22. - [Release notes](https://github.com/projectlombok/lombok/releases) - [Changelog](https://github.com/projectlombok/lombok/blob/master/doc/changelog.markdown) - [Commits](projectlombok/lombok@v1.18.20...v1.18.22) --- updated-dependencies: - dependency-name: org.projectlombok:lombok dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * chore: add pull request info to CHANGELOG.md Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: vdakker <75307507+vdakker@users.noreply.github.com> * chore: upgrade spring 5.3.10 -> 5.3.11 (#326) * chore: upgrade spring 5.3.10 -> 5.3.11 * chore: upgrade PR info in CHANGELOG.md * feat: add log error codes (#332) * feat: add log error codes for error-level * feat: add log error codes for warn-level * feat: add log error codes for info-level * feat: add log error codes for debug-level * chore: fix checkstyle warning * docs: update changelog * build: update infomodel-artifacts to v4.2.5 (#330) * build(deps): infomodel artifacts 4.2.5 * docs(readme): update infomodel artifacts * docs: update changelog * Add check for referredConnector in MessageDispatcher (#329) * feat: add check for referredConnector in MessageDispatcher * chore: add referred.check flag defaulting to false * chore: fix checkstyle * chore: fix checkstyle * docs: edit CHANGELOG.md * chore: update changelog and pom to new minor version Co-authored-by: Tim Berthold <tim.berthold@isst.fraunhofer.de> * chore: remove log-codes from log-info level * docs(readme): adapted description for log-codes * docs(changelog): adjustments to the descriptions and setting of a release date * docs(changelog): fix typos in dependency maintenance * refactor(MessageDispatcher): include issuerConnector and referringConnector URI in Rejectionmessage * docs(changelog): update description for referringConnector validation Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: vdakker <75307507+vdakker@users.noreply.github.com> Co-authored-by: eakker <erik.van.den.akker@isst.fraunhofer.de>
1 parent 9a537b9 commit eb69fc0

File tree

28 files changed

+290
-182
lines changed

28 files changed

+290
-182
lines changed

CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,40 @@
99
# Changelog
1010
All notable changes to this project will be documented in this file.
1111

12+
## Version [5.1.0] 2021-10-20
13+
14+
### Minor Change: Validation referringConnector vs ids:issuerConnector
15+
- New application.properties flag `referred.check=true/false`, to enable comparison between DAT claims `referringConnector` and `ids:issuerConnector` in message-header for the validation of incoming messages. Can only be used in `PRODUCTIVE_DEPLOYMENT`. Default if not set is `false` (not enabled). ([PR 329](https://github.com/International-Data-Spaces-Association/IDS-Messaging-Services/pull/329))
16+
- Automatically sends RejectionMessage on incoming messages if validation not passed. Example of text included in RejectionMessage: `ids:issuerConnector in message-header (https://w3id.org/idsa/autogen/baseConnector/691b3a17-1e09-4a5a-9d9a-5627772222e9) does not match referringConnector in body of DAT claims (http://isst_ids_framework_demo_connector.demo)!`
17+
18+
### Patch Change: Enhancement Log-Codes
19+
- Log-codes now exist for different log-levels. They allow easy search for the code location that produced the log. No log-code will be printed for log-info level. ([PR 332](https://github.com/International-Data-Spaces-Association/IDS-Messaging-Services/pull/332))
20+
- Syntax: IMS-XY-L-1234 shortened to IMSXYL1234. Will e.g. log as [code=(IMSCOE0001)].
21+
- IMS = IDS-Messaging-Services
22+
- XY = Subsystem Module (CO Core, AP AppStore, BR Broker, CL ClearingHouse, ME Messaging, PA Paris, VO Vocol)
23+
- L = Event Severity (E Error, W Warn, D Debug)
24+
- 1234 = Error number
25+
26+
### Patch Change: Infomodel Maintenance
27+
- Used Dependency Version: 4.2.5 ([PR 330](https://github.com/International-Data-Spaces-Association/IDS-Messaging-Services/pull/330))
28+
- Used Artifacts: java, infomodel-serializer, interaction
29+
30+
### Patch Change: Dependency Maintenance
31+
- Upgrade: org.springframework:spring-core 5.3.10 -> 5.3.11 ([PR 326](https://github.com/International-Data-Spaces-Association/IDS-Messaging-Services/pull/326))
32+
- Upgrade: org.springframework:spring-tx 5.3.10 -> 5.3.11 ([PR 326](https://github.com/International-Data-Spaces-Association/IDS-Messaging-Services/pull/326))
33+
- Upgrade: org.springframework:spring-webmvc 5.3.10 -> 5.3.11 ([PR 326](https://github.com/International-Data-Spaces-Association/IDS-Messaging-Services/pull/326))
34+
- Upgrade: org.springframework:spring-web 5.3.10 -> 5.3.11 ([PR 326](https://github.com/International-Data-Spaces-Association/IDS-Messaging-Services/pull/326))
35+
- Upgrade: org.springframework:spring-test 5.3.10 -> 5.3.11 ([PR 326](https://github.com/International-Data-Spaces-Association/IDS-Messaging-Services/pull/326))
36+
- Upgrade: org.springframework.boot:spring-boot-starter-test 2.5.4 -> 2.5.5 ([PR 314](https://github.com/International-Data-Spaces-Association/IDS-Messaging-Services/pull/314))
37+
- Upgrade: org.springframework.boot:spring-boot-starter 2.5.4 -> 2.5.5 ([PR 314](https://github.com/International-Data-Spaces-Association/IDS-Messaging-Services/pull/314))
38+
- Upgrade: org.junit.jupiter:junit-jupiter-engine 5.8.0 -> 5.8.1 ([PR 311](https://github.com/International-Data-Spaces-Association/IDS-Messaging-Services/pull/311))
39+
- Upgrade: org.junit.jupiter:junit-jupiter-api 5.8.0 -> 5.8.1 ([PR 311](https://github.com/International-Data-Spaces-Association/IDS-Messaging-Services/pull/311))
40+
- Upgrade: org.junit.jupiter:junit-jupiter 5.8.0 -> 5.8.1 ([PR 311](https://github.com/International-Data-Spaces-Association/IDS-Messaging-Services/pull/311))
41+
- Upgrade: com.squareup.okhttp3:okhttp 4.9.1 -> 4.9.2 ([PR 317](https://github.com/International-Data-Spaces-Association/IDS-Messaging-Services/pull/317))
42+
- Upgrade: com.squareup.okhttp3:mockwebserver 4.9.1 -> 4.9.2 ([PR 318](https://github.com/International-Data-Spaces-Association/IDS-Messaging-Services/pull/318))
43+
- Upgrade: com.puppycrawl.tools:checkstyle 9.0 -> 9.0.1 ([PR 319](https://github.com/International-Data-Spaces-Association/IDS-Messaging-Services/pull/319))
44+
- Upgrade: org.projectlombok:lombok 1.18.20 -> 1.18.22 ([PR 320](https://github.com/International-Data-Spaces-Association/IDS-Messaging-Services/pull/320))
45+
1246
## Version [5.0.1] 2021-09-21
1347

1448
### Patch Change: Dependency Maintenance

README.md

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ The following IDS-Infomodel-Artifacts are used as dependencies.
2525

2626
| Group | Artifact | Version |
2727
| ------ | ------ | ------ |
28-
| de.fraunhofer.iais.eis.ids.infomodel | java | 4.2.3 |
29-
| de.fraunhofer.iais.eis.ids | infomodel-serializer | 4.2.3 |
30-
| de.fraunhofer.iais.eis.ids | interaction | 4.2.3 |
28+
| de.fraunhofer.iais.eis.ids.infomodel | java | 4.2.5 |
29+
| de.fraunhofer.iais.eis.ids | infomodel-serializer | 4.2.5 |
30+
| de.fraunhofer.iais.eis.ids | interaction | 4.2.5 |
3131

3232
## Overview: Supported IDS-Message protocols
3333

@@ -199,6 +199,20 @@ The sendAndCheckDat() returns a Map<String, String> where, for example, response
199199

200200
For extended instructions and info on the other modules, see the <a href="https://github.com/International-Data-Spaces-Association/IDS-Messaging-Services/wiki">GitHub-Wiki</a>.
201201

202+
## Other: Log-Codes
203+
204+
Log-codes exist for different log-levels. They allow easy search for the code location that produced the log.
205+
206+
Syntax: IMS-XY-L-1234, shortened to: IMSXYL1234
207+
- IMS = IDS-Messaging-Services
208+
- XY = Subsystem Module (CO Core, AP AppStore, BR Broker, CL ClearingHouse, ME Messaging, PA Paris, VO Vocol)
209+
- L = Event Severity (E Error, W Warn, D Debug)
210+
- 1234 = Log identifier
211+
212+
Will e.g. print as [code=(IMSCOE0001)]: IDS-Messaging-Services Core-Module Error 0001.
213+
214+
No log-code will be printed for log-info level.
215+
202216
## Other: Project-Wiki
203217

204218
This project has a <a href="https://github.com/International-Data-Spaces-Association/IDS-Messaging-Services/wiki">GitHub-Wiki</a> where more details about the individual java-modules and their functionalities are documented.
@@ -207,13 +221,9 @@ This project has a <a href="https://github.com/International-Data-Spaces-Associa
207221

208222
You are very welcome to contribute to this project when you find a bug, want to suggest an improvement, or have an idea for a useful feature. Please find a set of guidelines at the <a href="https://github.com/International-Data-Spaces-Association/IDS-Messaging-Services/blob/main/CONTRIBUTING.md">CONTRIBUTING-Guideline</a> and the <a href="https://github.com/International-Data-Spaces-Association/IDS-Messaging-Services/blob/main/CODE_OF_CONDUCT.md">CODE_OF_CONDUCT-Guideline</a>.
209223

210-
## Other: Contact Persons
224+
## Other: Questions and suggestions
211225

212-
For any questions or suggestions that cannot be solved via <a href="https://github.com/International-Data-Spaces-Association/IDS-Messaging-Services/issues">GitHub-Issues</a> or the <a href="https://github.com/International-Data-Spaces-Association/IDS-Messaging-Services/discussions">GitHub-Discussion</a> area, the following contacts are available:
213-
* [Matthias Böckmann](https://github.com/maboeckmann), [Fraunhofer IAIS](https://www.iais.fraunhofer.de/)
214-
* [Stefanie Koslowski](https://github.com/stefkoslowski), [Fraunhofer IAIS](https://www.iais.fraunhofer.de/)
215-
* [Tim Berthold](https://github.com/tmberthold), [Fraunhofer ISST](https://www.isst.fraunhofer.de/en.html)
216-
* [Erik van den Akker](https://github.com/vdakker), [Fraunhofer ISST](https://www.isst.fraunhofer.de/en.html)
226+
For any questions or suggestions please refer to the <a href="https://github.com/International-Data-Spaces-Association/IDS-Messaging-Services/issues">GitHub-Issues</a> or the <a href="https://github.com/International-Data-Spaces-Association/IDS-Messaging-Services/discussions">GitHub-Discussion</a> area.
217227

218228
## Other: License
219229

broker/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
<dependency>
6363
<groupId>org.junit.jupiter</groupId>
6464
<artifactId>junit-jupiter-engine</artifactId>
65-
<version>5.7.2</version>
65+
<version>5.8.1</version>
6666
</dependency>
6767
</dependencies>
6868
</plugin>

clearinghouse/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<dependency>
6262
<groupId>org.junit.jupiter</groupId>
6363
<artifactId>junit-jupiter-engine</artifactId>
64-
<version>5.7.2</version>
64+
<version>5.8.1</version>
6565
</dependency>
6666
</dependencies>
6767
</plugin>

core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
<dependency>
103103
<groupId>org.junit.jupiter</groupId>
104104
<artifactId>junit-jupiter-engine</artifactId>
105-
<version>5.7.2</version>
105+
<version>5.8.1</version>
106106
</dependency>
107107
</dependencies>
108108
</plugin>

core/src/main/java/de/fraunhofer/ids/messaging/core/config/ClientProvider.java

Lines changed: 33 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ private static OkHttpClient.Builder createClientBuilder(final ConfigurationModel
9292

9393
if (connector.getConnectorDeployMode() == ConnectorDeployMode.PRODUCTIVE_DEPLOYMENT) {
9494
if (log.isDebugEnabled()) {
95-
log.debug("Productive Deployment, use Trustmanager from KeyStoreManager");
95+
log.debug("Productive Deployment, use Trustmanager from KeyStoreManager."
96+
+ " [code=(IMSMED0066)]");
9697
}
9798

9899
setSSLSocketFactory(manager, okHttpBuilder);
@@ -101,7 +102,7 @@ private static OkHttpClient.Builder createClientBuilder(final ConfigurationModel
101102
}
102103

103104
if (log.isDebugEnabled()) {
104-
log.debug("Created SSLSocketFactory");
105+
log.debug("Created SSLSocketFactory. [code=(IMSCOD0067)]");
105106
}
106107

107108
handleConnectorProxy(connector, okHttpBuilder);
@@ -125,7 +126,7 @@ private static void handleConnectorProxy(final ConfigurationModel connector,
125126

126127
if (proxyConfiguration != null) {
127128
if (log.isDebugEnabled()) {
128-
log.debug("Proxy is set active! Configuring Proxy.");
129+
log.debug("Proxy is set active! Configuring Proxy. [code=(IMSCOD0068)]");
129130
}
130131

131132
//create and set Proxy Authenticator with BasicAuth if
@@ -135,7 +136,7 @@ private static void handleConnectorProxy(final ConfigurationModel connector,
135136
//create a custom proxySelector (will select the proxy when
136137
//request goes to host not in NO_PROXY list, and NO_PROXY otherwise)
137138
if (log.isDebugEnabled()) {
138-
log.debug("Create a ProxySelector");
139+
log.debug("Creating a ProxySelector. [code=(IMSCOD0069)]");
139140
}
140141
setProxySelector(okHttpBuilder, proxyConfiguration);
141142
}
@@ -159,17 +160,17 @@ public List<Proxy> select(final URI uri) {
159160

160161
if (proxyConfiguration.getNoProxy().contains(uri)) {
161162
if (log.isDebugEnabled()) {
162-
log.debug("URI is in NoProxy List, no proxy is used. [uri=({})]",
163-
uri.toString());
163+
log.debug("URI is in NoProxy List, no proxy is used. [code=(IMSCOD0070),"
164+
+ " uri=({})]", uri.toString());
164165
}
165166

166167
//if the called uri is in the Exceptions of the
167168
//Connectors ProxyConfiguration use no proxy
168169
proxyList.add(Proxy.NO_PROXY);
169170
} else {
170171
if (log.isDebugEnabled()) {
171-
log.debug("URI is not in NoProxy List, use configured Proxy [uri=({})]",
172-
uri.toString());
172+
log.debug("URI is not in NoProxy List, use configured Proxy."
173+
+ " [code=(IMSCOD0071), uri=({})]", uri.toString());
173174
}
174175

175176
//else use proxy with ProxyConfig
@@ -178,19 +179,22 @@ public List<Proxy> select(final URI uri) {
178179
final int proxyPort = proxyAddress.getPort();
179180

180181
if (log.isDebugEnabled()) {
181-
log.debug("Address: [host=({})], Port: [port=({})]", proxyHost, proxyPort);
182+
log.debug("Address: [code=(IMSCOD0072), host=({}), port=({})]",
183+
proxyHost, proxyPort);
182184
}
183185

184186
if (proxyHost == null || proxyHost.trim().equals("")) {
185187
if (log.isWarnEnabled()) {
186188
log.warn("Proxy hostname invalid! Trying to skip using this proxy!"
187-
+ " Please check configuration! [hostname=({})]", proxyHost);
189+
+ " Please check configuration! [code=(IMSCOW0030),"
190+
+ " hostname=({})]", proxyHost);
188191
}
189192
proxyList.add(Proxy.NO_PROXY);
190193
} else if (proxyPort == -1) {
191194
if (log.isWarnEnabled()) {
192195
log.warn("Proxy port invalid! Trying to skip using this proxy!"
193-
+ " Please check configuration! [port=({})]", proxyPort);
196+
+ " Please check configuration! [code=(IMSCOW0031),"
197+
+ " port=({})]", proxyPort);
194198
}
195199
proxyList.add(Proxy.NO_PROXY);
196200
} else {
@@ -230,7 +234,7 @@ private static void setProxyAuthenticator(
230234
&& proxyConfiguration.getProxyAuthentication().getAuthPassword() != null) {
231235

232236
if (log.isDebugEnabled()) {
233-
log.debug("Setting Proxy Authenticator");
237+
log.debug("Setting Proxy Authenticator. [code=(IMSCOD0073)]");
234238
}
235239

236240
final Authenticator proxyAuthenticator = (route, response) -> {
@@ -248,7 +252,7 @@ private static void setProxyAuthenticator(
248252
okHttpBuilder.proxyAuthenticator(proxyAuthenticator);
249253
} else {
250254
if (log.isDebugEnabled()) {
251-
log.debug("No Proxy Authentication credentials are set!");
255+
log.debug("No Proxy Authentication credentials are set! [code=(IMSCOD0074)]");
252256
}
253257
}
254258
}
@@ -264,7 +268,8 @@ private static void setAcceptingAllSSLCertificates(final OkHttpClient.Builder ok
264268
throws NoSuchAlgorithmException, KeyManagementException {
265269
if (log.isWarnEnabled()) {
266270
log.warn("Trustmanager is trusting all Certificates in "
267-
+ "TEST_DEPLOYMENT mode, you should not use this in production!");
271+
+ "TEST_DEPLOYMENT mode, you should not use this in production!"
272+
+ " [code=(IMSCOW0032)]");
268273
}
269274

270275
final var trustmanager = getAllTrustingTrustManager();
@@ -306,7 +311,7 @@ private static void setSSLSocketFactory(final KeyStoreManager manager,
306311
@NotNull
307312
private static OkHttpClient.Builder getOkHttpBuilder() {
308313
if (log.isDebugEnabled()) {
309-
log.debug("Creating OkHttp client");
314+
log.debug("Creating OkHttp client... [code=(IMSCOD0075)]");
310315
}
311316
return new OkHttpClient.Builder();
312317
}
@@ -390,7 +395,8 @@ public OkHttpClient getClientWithTimeouts(final Duration connectTimeout,
390395
callTimeout);
391396

392397
if (log.isDebugEnabled()) {
393-
log.debug("Ok Http Client Protocols: [protocols=({})]", withTimeout.protocols());
398+
log.debug("Ok Http Client Protocols: [code=(IMSCOD0076),"
399+
+ " protocols=({})]", withTimeout.protocols());
394400
}
395401
return withTimeout;
396402
}
@@ -417,37 +423,42 @@ private OkHttpClient rebuildClientWithTimeouts(final OkHttpClient client,
417423

418424
if (connectTimeout != null) {
419425
if (log.isDebugEnabled()) {
420-
log.debug("Setting connect timeout: [timeout=({})]", connectTimeout.toString());
426+
log.debug("Setting connect timeout: [code=(IMSCOD0077),"
427+
+ " timeout=({})]", connectTimeout.toString());
421428
}
422429
builder.connectTimeout(connectTimeout);
423430
}
424431
if (readTimeout != null) {
425432
if (log.isDebugEnabled()) {
426-
log.debug("Setting read timeout: [timeout=({})]", readTimeout.toString());
433+
log.debug("Setting read timeout: [code=(IMSCOD0078), timeout=({})]",
434+
readTimeout.toString());
427435
}
428436
builder.readTimeout(readTimeout);
429437
}
430438
if (writeTimeout != null) {
431439
if (log.isDebugEnabled()) {
432-
log.debug("Setting write timeout: [timeout=({})]", writeTimeout.toString());
440+
log.debug("Setting write timeout: [code=(IMSCOD0079), timeout=({})]",
441+
writeTimeout.toString());
433442
}
434443
builder.writeTimeout(writeTimeout);
435444
}
436445
if (callTimeout != null) {
437446
if (log.isDebugEnabled()) {
438-
log.debug("Setting call timeout: [timeout=({})]", callTimeout.toString());
447+
log.debug("Setting call timeout. [code=(IMSCOD0080), timeout=({})]",
448+
callTimeout.toString());
439449
}
440450
builder.callTimeout(callTimeout);
441451
}
442452

443453
if (log.isDebugEnabled()) {
444-
log.debug("Building client!");
454+
log.debug("Building client. [code=(IMSCOD0081)]");
445455
}
446456

447457
final var okHttpClient = builder.build();
448458

449459
if (log.isDebugEnabled()) {
450-
log.debug("Ok Http Client Protocols [protocols=({})]", okHttpClient.protocols());
460+
log.debug("Ok Http Client Protocols [code=(IMSCOD0082),"
461+
+ " protocols=({})]", okHttpClient.protocols());
451462
}
452463

453464
return okHttpClient;

0 commit comments

Comments
 (0)