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

Bump io.dropwizard:dropwizard-dependencies from 2.1.1 to 4.0.6 #3284

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 31, 2024

Bumps io.dropwizard:dropwizard-dependencies from 2.1.1 to 4.0.6.

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jan 31, 2024
@dependabot dependabot bot requested review from awildturtok and thoniTUB January 31, 2024 04:23
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 7, 2024

A newer version of io.dropwizard:dropwizard-dependencies exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

dependabot bot and others added 2 commits March 11, 2024 18:03
Bumps io.dropwizard:dropwizard-dependencies from 2.1.1 to 4.0.6.

---
updated-dependencies:
- dependency-name: io.dropwizard:dropwizard-dependencies
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@awildturtok awildturtok force-pushed the dependabot/maven/io.dropwizard-dropwizard-dependencies-4.0.6 branch from ae8fb2a to de9d875 Compare March 11, 2024 17:26
Copy link
Collaborator

@thoniTUB thoniTUB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bin noch nicht durch, gh lässt mich jetzt jeden diff einzeln laden 😨


// TODO necessary?
DefaultAuthFilter.registerTokenExtractor(JWTokenHandler.JWTokenExtractor.class, adminServlet.getJerseyConfig());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Einmal reicht eigentlich. kann dann aus dem if heraus

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Die Frage hier ist ob ich den handler überhaupt regsitrieren darf/soll. Ich bin da nicht genug drin um zu wissen ob der per default immer registriert sein sollte.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Passt so wie es ist ich sortiere es noch

* @return
*/
@Named("jwt-extractor")
@Service
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wenn es als Service annotiert ist, muss es dann noch programmatisch registriert werden?
Bisher waren die Extractors Singletons, da sie stateless sind können wir sie request scoped machen, damit sie nicht doch mal zufällig einen shared state haben.

Comment on lines 48 to 50
@Inject
@Setter
private IterableProvider<TokenExtractor> tokenExtractors;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noice! Setter kann weg denke ich

Comment on lines 53 to 60
public static DefaultAuthFilter asDropwizardFeature() {
final DefaultAuthFilter authFilter =
new Builder()
.setAuthenticator(new ConqueryAuthenticator())
.setUnauthorizedHandler(new DefaultUnauthorizedHandler())
.buildAuthFilter();
return authFilter;
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Müsen wir und auch noch mal anschauen. Das mit dem DropwizardFeature war immer irgendwie ein Umweg.
Ich weiß auch gerade nicht nicht warum es DynamicFeature in Jersey gibt, aber daher kam das glaube ich

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Habe gerade nachgeschaut, das mit dem DynamicFeature nutzen wir nicht mehr und DropwizardFeature gibt es auch nicht mehr. Die Methode kann als eigentlich umbenannt werden.

Comment on lines 108 to 110
public static void registerTokenExtractor(Class<? extends TokenExtractor> extractor, ResourceConfig config) {
config.register(extractor);
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vielleicht nicht notwendig durch Service annotation

Comment on lines +95 to +96
//TODO shouldn't this be something with NotAuthenticated?
catch (NotAuthorizedException e) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Guter Punkt, aber das versammelt sich glaube ich unter der Exception

Signed-off-by: Max Thonagel <12283268+thoniTUB@users.noreply.github.com>
Signed-off-by: Max Thonagel <12283268+thoniTUB@users.noreply.github.com>
…-dependencies-4.0.6

# Conflicts:
#	backend/src/test/java/com/bakdata/conquery/integration/tests/ExternalFormBackendTest.java
@thoniTUB
Copy link
Collaborator

@awildturtok ich habe den konflikt beseitig und hoffentlich laufen jetzt die tests durch

Signed-off-by: Max Thonagel <12283268+thoniTUB@users.noreply.github.com>
Signed-off-by: Max Thonagel <12283268+thoniTUB@users.noreply.github.com>
Signed-off-by: Max Thonagel <12283268+thoniTUB@users.noreply.github.com>
Signed-off-by: Max Thonagel <12283268+thoniTUB@users.noreply.github.com>
Signed-off-by: Max Thonagel <12283268+thoniTUB@users.noreply.github.com>
backend/pom.xml Outdated
Comment on lines 392 to 396
<dependency>
<groupId>jakarta.ws.rs</groupId>
<artifactId>jakarta.ws.rs-api</artifactId>
<version>3.1.0</version>
</dependency>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Das kann vielleicht raus ich probiere es mal


// TODO necessary?
DefaultAuthFilter.registerTokenExtractor(JWTokenHandler.JWTokenExtractor.class, adminServlet.getJerseyConfig());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Passt so wie es ist ich sortiere es noch

thoniTUB and others added 3 commits March 21, 2024 11:49
@awildturtok awildturtok merged commit c29bb50 into develop Apr 3, 2024
6 checks passed
@delete-merged-branch delete-merged-branch bot deleted the dependabot/maven/io.dropwizard-dropwizard-dependencies-4.0.6 branch April 3, 2024 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants