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

Master 0.1.0 beta review #21

Closed
wants to merge 62 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
d46cb0b
README + gitignore
Aug 14, 2023
358419b
pom update
Aug 14, 2023
a9ff2ad
junit
Aug 14, 2023
846a08c
Restructuring
Aug 14, 2023
f7b8165
Restructuring
Aug 14, 2023
4f834de
checkstyle
Aug 14, 2023
0f904ff
Daemon connection (#1)
tzaeschke Aug 16, 2023
0254490
Update README.md
tzaeschke Sep 5, 2023
5150f34
Connect to border router (#2)
tzaeschke Sep 20, 2023
569809e
Test framework + DNS + DatagramChannel (#4)
tzaeschke Oct 10, 2023
11d007f
Consolidate internals (#5)
tzaeschke Nov 20, 2023
6ad005c
Milestone 6 (#6)
tzaeschke Jan 16, 2024
14df227
Milestone 7: Release readiness (#7)
tzaeschke Jan 30, 2024
b6119f4
.pom & README
Jan 31, 2024
d42e8ab
[maven-release-plugin] prepare release v0.0.1-ALPHA
Jan 31, 2024
7af2fb7
[maven-release-plugin] prepare for next development iteration
Jan 31, 2024
cbdadaa
[maven-release-plugin] prepare release v0.0.2-ALPHA
Jan 31, 2024
306cbd0
[maven-release-plugin] prepare for next development iteration
Jan 31, 2024
ad9db5c
[maven-release-plugin] rollback the release of v0.0.2-ALPHA
Jan 31, 2024
ccee0f1
.pom
Jan 31, 2024
cc1843d
[maven-release-plugin] prepare release v0.0.1-ALPHA
Jan 31, 2024
1d944d0
[maven-release-plugin] prepare for next development iteration
Jan 31, 2024
b27d043
[maven-release-plugin] rollback the release of v0.0.1-ALPHA
Jan 31, 2024
6c07b21
[maven-release-plugin] prepare release v0.0.1-ALPHA
Jan 31, 2024
602015a
[maven-release-plugin] prepare for next development iteration
Jan 31, 2024
ac8bbfe
.pom
Jan 31, 2024
8b0466d
ReleaseHowTo
Jan 31, 2024
5724deb
errata
Feb 1, 2024
8e38b03
[maven-release-plugin] prepare release v0.1.0-ALPHA
Feb 1, 2024
137a029
[maven-release-plugin] prepare for next development iteration
Feb 1, 2024
a8e1d42
errata
Feb 1, 2024
99cf5d2
[maven-release-plugin] prepare release v0.1.0-ALPHA
Feb 1, 2024
a7c4a89
[maven-release-plugin] prepare for next development iteration
Feb 1, 2024
bd20704
post release cleanup
Feb 1, 2024
cd25ed0
CHANGELOG + TODO
Feb 1, 2024
c233bee
artifactID + TODO (#9)
tzaeschke Feb 6, 2024
7a0c3dd
CI build failure (#10)
tzaeschke Feb 6, 2024
e0166cf
codecov (#11)
tzaeschke Feb 7, 2024
256cbf7
CI fails sporadically + clean up (#12)
tzaeschke Feb 9, 2024
1f33b10
SCMP unit test cleanup (#13)
tzaeschke Feb 13, 2024
7ff76e7
SCMP refactoring and clean up (#14)
tzaeschke Feb 16, 2024
9ac0c8e
More SCMP cleanup (#15)
tzaeschke Feb 21, 2024
03ad5d9
Fix ping/trace in local AS (#16)
tzaeschke Feb 21, 2024
08e4267
More SCMP cleanup (#17)
tzaeschke Feb 23, 2024
a074703
JUnit problem
tzaeschke Feb 24, 2024
758d363
ScionService logic (#18)
tzaeschke Feb 26, 2024
a453513
initial
Feb 26, 2024
00137a9
SCMP cleanup (#19)
tzaeschke Feb 26, 2024
1ed3503
TODO update
Feb 26, 2024
4b7e31b
Segment cleanup (#20)
tzaeschke Feb 28, 2024
a2bb3ab
Remove sockets (#22)
tzaeschke Feb 28, 2024
624621c
doc cleanup (#23)
tzaeschke Mar 1, 2024
23f7135
getConnectionPath() (#30)
tzaeschke Mar 5, 2024
50dcb8f
DatagramSocket works! (#32)
tzaeschke Mar 12, 2024
dff4a70
Fix DatagramChannel connection tracking (#33)
tzaeschke Mar 13, 2024
4f51a99
MultiMap (#34)
tzaeschke Mar 13, 2024
324b243
Channel clean up (#35)
tzaeschke Mar 25, 2024
643fac2
Fix traffic class configuration (#36)
tzaeschke Mar 25, 2024
dceffe4
DNS search path/resolver + Global JUnit settings (#37)
tzaeschke Apr 2, 2024
3c499f3
Global JUnit settings (#38)
tzaeschke Apr 2, 2024
c6a0560
Merged SCION_DAEMON property (#39)
tzaeschke Apr 2, 2024
40a1418
/etc/scion/hosts and /etc/resolv.conf (#40)
tzaeschke Apr 3, 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
55 changes: 55 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Java

on: [push]

jobs:
format-check:
name: Check Code Formatting
continue-on-error: true
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Check Format
run: |
mvn --batch-mode -Pverify-format clean compile
shell: 'bash'

codecov:
name: Codecov
continue-on-error: true
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 21
distribution: 'temurin'
# - name: Install dependencies
# run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
- name: Run tests and collect coverage
run: mvn -B test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

build:
runs-on: ubuntu-latest
strategy:
matrix:
# run different builds with the listed java versions
java: [ 8, 11, 17, 21 ]
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
- name: Build with Maven
run: mvn --batch-mode --update-snapshots install
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,8 @@
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
replay_pid*

target/
.idea/
*.iml

78 changes: 78 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Added
- Code coverage. [#11](https://github.com/tzaeschke/phtree-cpp/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)
- 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)

### Changed
- BREAKING CHANGE: Changed maven artifactId to "client"
[#9](https://github.com/netsec-ethz/scion-java-client/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)
- 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)
- Doc cleanup
[#22](https://github.com/netsec-ethz/scion-java-client/pull/22)
- BREAKING CHANGE: `getCurrentPath()` renamed to `getConnectionPath()`
[#30](https://github.com/netsec-ethz/scion-java-client/pull/30)
- Cleaned up `MultiMap` utility class
[#34](https://github.com/netsec-ethz/scion-java-client/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)

### Fixed
- Fixed: SCMP problem when pinging local AS.
[#16](https://github.com/netsec-ethz/scion-java-client/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)
- 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)
- 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)

### Removed

- Removed all code related to DatagramSockets
[#21](https://github.com/netsec-ethz/scion-java-client/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)

### Changed
- Nothing

### Fixed
- Nothing

### Removed
- Nothing

[Unreleased]: https://github.com/netsec-ethz/scion-java-client/compare/v0.1.0-ALPHA...HEAD
[0.1.0-ALPHA]: https://github.com/netsec-ethz/scion-java-client/compare/init_root_commit...v0.1.0-ALPHA
4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Contribution Guide

The Contribution Guide for the SCION project can be found
[here](https://docs.scion.org/en/latest/dev/contribute.html).
Loading