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

refactor: split/restructure core and spi packages #337

Conversation

paullatzelsperger
Copy link
Member

@paullatzelsperger paullatzelsperger commented May 3, 2024

What this PR changes/adds

This PR restructures the core and spi module into several sub- modules:

Why it does that

Avoid dependency issues further down the line

Further notes

  • this PR only shuffles around files, it does not contain any functional changes!

Linked Issue(s)

Closes #336

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@paullatzelsperger paullatzelsperger added refactoring Changing directories, modules, structures, etc. without functional changes dcp api breaking-change Will require manual intervention for version update labels May 3, 2024
@@ -64,9 +64,11 @@
algorithm = algorithm.toUpperCase();
if (SUPPORTED_ALGORITHMS.contains(algorithm)) {
return switch (algorithm) {
case ALGORITHM_RSA -> generateRsa(Integer.parseInt(parameters.getOrDefault(RSA_PARAM_LENGTH, RSA_DEFAULT_LENGTH).toString()));
case ALGORITHM_RSA ->
generateRsa(Integer.parseInt(parameters.getOrDefault(RSA_PARAM_LENGTH, RSA_DEFAULT_LENGTH).toString()));

Check notice

Code scanning / CodeQL

Missing catch of NumberFormatException Note

Potential uncaught 'java.lang.NumberFormatException'.
@@ -136,6 +140,16 @@
return this;
}

public ParticipantContext build() {

Check notice

Code scanning / CodeQL

Missing Override annotation Note

This method overrides
Builder<ParticipantContext,Builder>.build
; it is advisable to add an Override annotation.
@paullatzelsperger paullatzelsperger merged commit c121bea into eclipse-edc:main May 3, 2024
13 checks passed
@paullatzelsperger paullatzelsperger deleted the refactor/package_module_restructure branch May 3, 2024 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api breaking-change Will require manual intervention for version update dcp refactoring Changing directories, modules, structures, etc. without functional changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Package Refactoring
3 participants