The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
+## [1.9.2] - 2023/02/17
+#### Added
+ - [DCAEGEN2-3352] - Enhance services-sdk's security module JUnits to have OS agnostic path
+
## [1.9.1] - 2022/09/07
### Added
- [DCAEGEN2-3165] (https://jira.onap.org/browse/DCAEGEN2-3165) - Fix calculation of code coverage
============LICENSE_START=======================================================
Copyright (c) 2022 Nokia. All rights reserved.
Copyright (C) 2022 AT&T Intellectual Property. All rights reserved.
+Copyright (c) 2023 Deutsche Telekom AG. All rights reserved.
================================================================================
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy
<sonar.coverage.jacoco.xmlReportPaths>
${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
</sonar.coverage.jacoco.xmlReportPaths>
- <revision>1.9.1-SNAPSHOT</revision>
+ <revision>1.9.2-SNAPSHOT</revision>
</properties>
<modules>
* DCAEGEN2-SERVICES-SDK
* =========================================================
* Copyright (C) 2019 Nokia. All rights reserved.
+ * Copyright (c) 2023 Deutsche Telekom AG. All rights reserved.
* =========================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
import static org.assertj.core.api.Assertions.assertThat;
import io.vavr.control.Option;
+
+import java.io.File;
import java.nio.file.Path;
import java.nio.file.Paths;
import org.junit.jupiter.api.Test;
}
private Option<String> callGuessTypeWithFileName(String fileName) {
- final Path path = Paths.get("/", "tmp", fileName);
+ final Path path = Paths.get(File.listRoots()[0].toString(), "tmp", fileName);
return KeyStoreTypes.inferTypeFromExtension(path);
}
-}
\ No newline at end of file
+}
* DCAEGEN2-SERVICES-SDK
* =========================================================
* Copyright (C) 2019 Nokia. All rights reserved.
+ * Copyright (c) 2023 Deutsche Telekom AG. All rights reserved.
* =========================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@Test
void fromPath_shouldFail_whenNotFound() {
// given
- final Path path = Paths.get("/", UUID.randomUUID().toString());
+ final Path path = Paths.get(File.listRoots()[0].toString(), UUID.randomUUID().toString());
// when
Assertions.assertThrows(ReadingPasswordFromFileException.class, () -> {
private String extractPassword(Password pass) {
return pass.use(String::new);
}
-}
\ No newline at end of file
+}
major=1
minor=9
-patch=1
+patch=2
base_version=${major}.${minor}.${patch}
release_version=${base_version}
snapshot_version=${base_version}-SNAPSHOT