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

Introducing ESS-Batch, better configuration, Spring Boot update #184

Merged
merged 41 commits into from
Oct 12, 2023

Conversation

ds-jhartmann
Copy link
Contributor

Description

Added

  • Introduced new API endpoint to register ESS Jobs in Batch - POST {{IRS_HOST}}/irs/ess/orders

Changed

  • Deprecated query parameter 'jobStates' was removed from GET {{IRS_HOST}}/irs/jobs endpoint
  • Moved OAuth2 JWT token claim to configuration. The fields can be configured with oauth.resourceClaim, oauth.irsNamespace, oauth.roles.
  • Update Spring Boot to 3.1.4

Pre-review checks

Please ensure to do as many of the following checks as possible, before asking for committer review:

ds-ext-kmassalski and others added 30 commits October 2, 2023 13:10
…gisterBpnInvestigationBatchOrder.java

Co-authored-by: Jaro Hartmann <[email protected]>
…i-endpoint

feat(impl):[TRI-1664] new batch api endpoints impl
charts/irs-helm/values.yaml Show resolved Hide resolved
docs/src/api/irs-api.yaml Show resolved Hide resolved
irs-api/pom.xml Show resolved Hide resolved
@@ -111,7 +115,7 @@ public class SecurityConfiguration {

httpSecurity.oauth2ResourceServer(oauth2ResourceServer ->
oauth2ResourceServer.jwt(jwt ->
jwt.jwtAuthenticationConverter(new JwtAuthenticationConverter())))
jwt.jwtAuthenticationConverter(jwtAuthenticationConverter)))
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this not injected directly in converter? Is JwtAuthenticationConverter a Bean?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

JwtAuthenticationConverter is a Bean

@ds-jhartmann ds-jhartmann merged commit ff2348c into eclipse-tractusx:main Oct 12, 2023
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants