Skip to content

Commit

Permalink
Release 2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanpierrefortune committed Jun 18, 2024
1 parent c35158e commit 409ac54
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 8 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.0.2] - 2024-06-18
### Fixed
- Accept cards returning a failing status word when getting non-mandatory Traceability Information tag.
### Upgraded
- Keyple Service Library `3.2.1` -> `3.2.2`

## [2.0.1] - 2024-05-14
### Fixed
- Hex/dec conversion issue in card check procedure.
Expand All @@ -32,6 +38,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- CI/CD: Added a GitHub action that builds and tests the code on every push to the repository.

[unreleased]: https://github.com/calypsonet/calypso-card-analyzer/compare/2.0.1...HEAD
[unreleased]: https://github.com/calypsonet/calypso-card-analyzer/compare/2.0.2...HEAD
[2.0.2]: https://github.com/calypsonet/calypso-card-analyzer/compare/2.0.1...2.0.2
[2.0.1]: https://github.com/calypsonet/calypso-card-analyzer/compare/2.0.1...2.0.0
[2.0.0]: https://github.com/calypsonet/calypso-card-analyzer/releases/tag/2.0.0
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ repositories {
maven(url = "https://s01.oss.sonatype.org/content/repositories/snapshots")
}
dependencies {
// Begin Keyple configuration (generated by 'https://keyple.org/components/overview/configuration-wizard/')
// Begin Keyple configuration (generated by 'https://keyple.org/components/overview/configuration-wizard/')
implementation("org.eclipse.keypop:keypop-reader-java-api:2.0.1")
implementation("org.eclipse.keypop:keypop-calypso-card-java-api:2.1.0")
implementation("org.eclipse.keyple:keyple-common-java-api:2.0.1")
implementation("org.eclipse.keyple:keyple-util-java-lib:2.4.0")
implementation("org.eclipse.keyple:keyple-service-java-lib:3.2.1")
implementation("org.eclipse.keyple:keyple-service-java-lib:3.2.2")
implementation("org.eclipse.keyple:keyple-card-calypso-java-lib:3.1.1")
implementation("org.eclipse.keyple:keyple-plugin-pcsc-java-lib:2.2.1")
// End Keyple configuration
// End Keyple configuration
implementation("org.slf4j:slf4j-simple:1.7.32")
implementation("com.google.code.gson:gson:2.8.5")
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
group = org.calypsonet.tool
title = Calypso card analyzer
description = Calypso card tools dedicated to file structures analysis.
version = 2.0.1
version = 2.0.2

javaSourceLevel = 1.8
javaTargetLevel = 1.8
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,13 @@ public static byte[] getTraceabilityInfo(List<String> aidList) {
calypsoCardService
.getCalypsoCardApiFactory()
.createFreeTransactionManager(cardReader, calypsoCard);
cardTransactionManager
.prepareGetData(GetDataTag.TRACEABILITY_INFORMATION)
.processCommands(ChannelControl.KEEP_OPEN);
try {
cardTransactionManager
.prepareGetData(GetDataTag.TRACEABILITY_INFORMATION)
.processCommands(ChannelControl.KEEP_OPEN);
} catch (UnexpectedCommandStatusException e) {
logger.warn("Traceability information tag not available: {}", e.getMessage());
}

return calypsoCard.getTraceabilityInformation();
}
Expand Down

0 comments on commit 409ac54

Please sign in to comment.