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

JPAN migration cleanup #65

Merged
merged 1 commit into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
97 changes: 49 additions & 48 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,95 +11,96 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Fix SCM references in pom file + clean up. [#60](https://github.com/tzaeschke/phtree-cpp/pull/60)
- DNS lookup caused by `InetAddress.getByName()`. [#63](https://github.com/scionproto-contrib/jpan/pull/63)
- DNS lookup caused by `InetAddress.getHostName()`. [#64](https://github.com/scionproto-contrib/jpan/pull/64)
- JPAN renaming cleanup. [#65](https://github.com/scionproto-contrib/jpan/pull/65)

## [0.1.0] - 2024-04-29

### Added
- Code coverage. [#11](https://github.com/netsec-ethz/scion-java-client/pull/11)
- Code coverage. [#11](https://github.com/scionproto-contrib/jpan/pull/11)
- Global JUnit callback for initial setup. THis allows setting global properties before centrally
before running any tests.
[#38](https://github.com/netsec-ethz/scion-java-client/pull/38)
[#38](https://github.com/scionproto-contrib/jpan/pull/38)
- Support for `/etc/scion/hosts` and for OS search domains (e.g. `/etc/resolv.conf`).
[#40](https://github.com/netsec-ethz/scion-java-client/pull/40)
- CI builds for Windows and MacOS. [#41](https://github.com/netsec-ethz/scion-java-client/pull/41)
[#40](https://github.com/scionproto-contrib/jpan/pull/40)
- CI builds for Windows and MacOS. [#41](https://github.com/scionproto-contrib/jpan/pull/41)
- Added support communicating with a dispatcher-endhost in the local AS, see
`DatagramChannel.configureRemoteDispatcher`.
[#46](https://github.com/netsec-ethz/scion-java-client/pull/46)
[#46](https://github.com/scionproto-contrib/jpan/pull/46)
- Support for comments, multiple spaces and tabs in `/etc/scion/hosts`.
[#47](https://github.com/netsec-ethz/scion-java-client/pull/47)
[#47](https://github.com/scionproto-contrib/jpan/pull/47)
- Added helper methods for `ScmpChannel` and `ScionUtil.toStringPath()`.
[#48](https://github.com/netsec-ethz/scion-java-client/pull/48),
[#48](https://github.com/scionproto-contrib/jpan/pull/48),
- Demo cleanup an new `ScmpShowpathsDemo`.
[#49](https://github.com/netsec-ethz/scion-java-client/pull/49)
- Channel demo cleanup. [#52](https://github.com/netsec-ethz/scion-java-client/pull/52)
- Address/ISD/AS caching. [#54](https://github.com/netsec-ethz/scion-java-client/pull/54)
- `DatagramSocket` [#31](https://github.com/netsec-ethz/scion-java-client/pull/31)
- `setOverrideSourceAddress()` [#58](https://github.com/netsec-ethz/scion-java-client/pull/58)
[#49](https://github.com/scionproto-contrib/jpan/pull/49)
- Channel demo cleanup. [#52](https://github.com/scionproto-contrib/jpan/pull/52)
- Address/ISD/AS caching. [#54](https://github.com/scionproto-contrib/jpan/pull/54)
- `DatagramSocket` [#31](https://github.com/scionproto-contrib/jpan/pull/31)
- `setOverrideSourceAddress()` [#58](https://github.com/scionproto-contrib/jpan/pull/58)

### Changed
- BREAKING CHANGE: Changed maven artifactId to "client"
[#9](https://github.com/netsec-ethz/scion-java-client/pull/9)
[#9](https://github.com/scionproto-contrib/jpan/pull/9)
- BREAKING CHANGE: SCMP refactoring, renamed several SCMP related classes.
[#14](https://github.com/netsec-ethz/scion-java-client/pull/14),
[#15](https://github.com/netsec-ethz/scion-java-client/pull/15),
[#17](https://github.com/netsec-ethz/scion-java-client/pull/17),
[#19](https://github.com/netsec-ethz/scion-java-client/pull/19),
[#20](https://github.com/netsec-ethz/scion-java-client/pull/21)
[#14](https://github.com/scionproto-contrib/jpan/pull/14),
[#15](https://github.com/scionproto-contrib/jpan/pull/15),
[#17](https://github.com/scionproto-contrib/jpan/pull/17),
[#19](https://github.com/scionproto-contrib/jpan/pull/19),
[#20](https://github.com/scionproto-contrib/jpan/pull/21)
- BREAKING CHANGE:`ScionService` instances created via `Scion.newXYZ`
will not be considered by `Scion.defaultService()`. Also, `DatagramChannel.getService()`
does not create a service if none exists.
[#18](https://github.com/netsec-ethz/scion-java-client/pull/18)
[#18](https://github.com/scionproto-contrib/jpan/pull/18)
- Doc cleanup
[#22](https://github.com/netsec-ethz/scion-java-client/pull/22)
[#22](https://github.com/scionproto-contrib/jpan/pull/22)
- BREAKING CHANGE: `getCurrentPath()` renamed to `getConnectionPath()`
[#30](https://github.com/netsec-ethz/scion-java-client/pull/30)
[#30](https://github.com/scionproto-contrib/jpan/pull/30)
- Cleaned up `MultiMap` utility class
[#34](https://github.com/netsec-ethz/scion-java-client/pull/34)
[#34](https://github.com/scionproto-contrib/jpan/pull/34)
- Cleaned up `DatagramChannel`: Fixed connect()/disconnect(), improved concurrency,
fixed buffer resizing wrt MTU, general clean up.
[#35](https://github.com/netsec-ethz/scion-java-client/pull/35)
[#35](https://github.com/scionproto-contrib/jpan/pull/35)
- **BREAKING CHANGE**: Renamed project to `jpan`.
[#43](https://github.com/netsec-ethz/scion-java-client/pull/43),
[#45](https://github.com/netsec-ethz/scion-java-client/pull/45)
[#43](https://github.com/scionproto-contrib/jpan/pull/43),
[#45](https://github.com/scionproto-contrib/jpan/pull/45)
- **BREAKING CHANGE**: `Path` now returns `InetAddress` instead of `byte[]`
[#44](https://github.com/netsec-ethz/scion-java-client/pull/44)
[#44](https://github.com/scionproto-contrib/jpan/pull/44)
- BREAKING CHANGE: Changed `Path` API: destination->remote and source->local
[#55](https://github.com/netsec-ethz/scion-java-client/pull/55)
[#55](https://github.com/scionproto-contrib/jpan/pull/55)

### Fixed
- Fixed: SCMP problem when pinging local AS.
[#16](https://github.com/netsec-ethz/scion-java-client/pull/16),
[#16](https://github.com/scionproto-contrib/jpan/pull/16),
- Fixed SCMP timeout and error handling (IOExceptions + SCMP errors).
[#13](https://github.com/netsec-ethz/scion-java-client/pull/13)
- CI (only) failures on JDK 8. [#10](https://github.com/netsec-ethz/scion-java-client/pull/10)
- Sporadic CI (only) failures. [#12](https://github.com/netsec-ethz/scion-java-client/pull/12)
- Small fixes for 0.1.0 release. [#32](https://github.com/netsec-ethz/scion-java-client/pull/32)
[#13](https://github.com/scionproto-contrib/jpan/pull/13)
- CI (only) failures on JDK 8. [#10](https://github.com/scionproto-contrib/jpan/pull/10)
- Sporadic CI (only) failures. [#12](https://github.com/scionproto-contrib/jpan/pull/12)
- Small fixes for 0.1.0 release. [#32](https://github.com/scionproto-contrib/jpan/pull/32)
- Fix NPE after 2nd send() in unconnected channel + cleanup.
[#33](https://github.com/netsec-ethz/scion-java-client/pull/33)
- Fixed traffic class not set. [#36](https://github.com/netsec-ethz/scion-java-client/pull/36)
- Fixed handling of channel options. [#37](https://github.com/netsec-ethz/scion-java-client/pull/37)
[#33](https://github.com/scionproto-contrib/jpan/pull/33)
- Fixed traffic class not set. [#36](https://github.com/scionproto-contrib/jpan/pull/36)
- Fixed handling of channel options. [#37](https://github.com/scionproto-contrib/jpan/pull/37)
- Merged SCION_DAEMON_HOST and SCION_DAEMON_PORT into a single SCION_DAEMON property.
[#39](https://github.com/netsec-ethz/scion-java-client/pull/39)
- Some cleanup related to hists file parser. [#42](https://github.com/netsec-ethz/scion-java-client/pull/42)
[#39](https://github.com/scionproto-contrib/jpan/pull/39)
- Some cleanup related to hists file parser. [#42](https://github.com/scionproto-contrib/jpan/pull/42)
- Added proper error when ports 30255 or 31000 are in use when running tests
[#50](https://github.com/netsec-ethz/scion-java-client/pull/50)
[#50](https://github.com/scionproto-contrib/jpan/pull/50)
- Fix `Unsupported platform: protoc-3.11.4-osx-aarch_64.exe.`
[#53](https://github.com/netsec-ethz/scion-java-client/pull/53)
[#53](https://github.com/scionproto-contrib/jpan/pull/53)
- Fixed spurious CI failure and SimpleCache packet name.
[#55](https://github.com/netsec-ethz/scion-java-client/pull/55)
[#55](https://github.com/scionproto-contrib/jpan/pull/55)

### Removed
- Removed all code related to DatagramSockets
[#21](https://github.com/netsec-ethz/scion-java-client/pull/21)
[#21](https://github.com/scionproto-contrib/jpan/pull/21)


## [0.1.0-ALPHA] - 2024-02-01

### Added
- `DatagramSocket` [#7](https://github.com/netsec-ethz/scion-java-client/pull/7)
- `Path`, `RequestPath`, `ResponsePath` [#7](https://github.com/netsec-ethz/scion-java-client/pull/7)
- `Scion`, `ScionService` [#7](https://github.com/netsec-ethz/scion-java-client/pull/7)
- `ScmpChannel` for SCMP [#7](https://github.com/netsec-ethz/scion-java-client/pull/7)
- `DatagramSocket` [#7](https://github.com/scionproto-contrib/jpan/pull/7)
- `Path`, `RequestPath`, `ResponsePath` [#7](https://github.com/scionproto-contrib/jpan/pull/7)
- `Scion`, `ScionService` [#7](https://github.com/scionproto-contrib/jpan/pull/7)
- `ScmpChannel` for SCMP [#7](https://github.com/scionproto-contrib/jpan/pull/7)

### Changed
- Nothing
Expand All @@ -110,6 +111,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Removed
- Nothing

[Unreleased]: https://github.com/netsec-ethz/scion-java-client/compare/v0.1.0...HEAD
[0.1.0]: https://github.com/netsec-ethz/scion-java-client/compare/v0.1.0-ALPHA...v0.1.0
[0.1.0-ALPHA]: https://github.com/netsec-ethz/scion-java-client/compare/init_root_commit...v0.1.0-ALPHA
[Unreleased]: https://github.com/scionproto-contrib/jpan/compare/v0.1.0...HEAD
[0.1.0]: https://github.com/scionproto-contrib/jpan/compare/v0.1.0-ALPHA...v0.1.0
[0.1.0-ALPHA]: https://github.com/scionproto-contrib/jpan/compare/init_root_commit...v0.1.0-ALPHA
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# JPAN - Java API for path aware networking with SCION

[![codecov](https://codecov.io/gh/netsec-ethz/scion-java-client/graph/badge.svg?token=3U8J50E4N5)](https://codecov.io/gh/netsec-ethz/scion-java-client)
[![codecov](https://codecov.io/gh/scionproto-contrib/jpan/graph/badge.svg?token=3U8J50E4N5)](https://codecov.io/gh/scionproto-contrib/jpan)

This library is 100% pure Java network stack for using [SCION](https://scion.org). It currently provides UDP and
[SCMP](https://docs.scion.org/en/latest/protocols/scmp.html). More information about SCION
Expand Down Expand Up @@ -134,14 +134,14 @@ try (DatagramChannel channel = DatagramChannel.open()) {
If you want to work on JPAN or simply browse the code locally, you can install it locally.

JPAN is available as a
[Maven artifact](https://central.sonatype.com/artifact/org.scion/scion-java-client).
[Maven artifact](https://central.sonatype.com/artifact/org.scion/jpan).
Many IDEs comes with maven plugins. If you want to use Maven from the command line, you
can install it with `sudo apt install maven` (Ubuntu etc) or download it
[here](https://maven.apache.org/index.html).

To install it locally:
```bash
git clone https://github.com/netsec-ethz/scion-java-client.git
git clone https://github.com/scionproto-contrib/jpan.git
cd scion-java-client
mvn clean install
```
Expand Down
2 changes: 1 addition & 1 deletion doc/ReleaseHowTo.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

4) Post Release
- On GitHub, add the new release to the
[list of releases](https://github.com/netsec-ethz/scion-java-client/releases).
[list of releases](https://github.com/scionproto-contrib/jpan/releases).
- Announce the release on the appropriate channels.

## Release Environment
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@

<issueManagement>
<system>github</system>
<url>https://github.com/netsec-ethz/scion-java-client/issues</url>
<url>https://github.com/scionproto-contrib/jpan/issues</url>
</issueManagement>

<!-- mvn versions:display-dependency-updates -->
Expand Down