Skip to content

chore: minor log improvements to passtickets and applid#4647

Open
richard-salac wants to merge 9 commits into
v3.x.xfrom
reboot/log_missing_applid
Open

chore: minor log improvements to passtickets and applid#4647
richard-salac wants to merge 9 commits into
v3.x.xfrom
reboot/log_missing_applid

Conversation

@richard-salac

@richard-salac richard-salac commented May 27, 2026

Copy link
Copy Markdown
Contributor

Description

Minor log improvements to pass tickets and applid.

Type of change

Please delete options that are not relevant.

  • fix: Bug fix (non-breaking change which fixes an issue)
  • feat: New feature (non-breaking change which adds functionality)
  • docs: Change in a documentation
  • refactor: Refactor the code
  • chore: Chore, repository cleanup, updates the dependencies.
  • BREAKING CHANGE or !: Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the style guidelines of this project
  • PR title conforms to commit message guideline ## Commit Message Structure Guideline
  • I have commented my code, particularly in hard-to-understand areas. In JS I did provide JSDoc
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • The java tests in the area I was working on leverage @nested annotations
  • Any dependent changes have been merged and published in downstream modules

For more details about how should the code look like read the Contributing guideline

Signed-off-by: Richard Salac <richard.salac@broadcom.com>
@sonarqubecloud

Copy link
Copy Markdown

Signed-off-by: Richard Salac <richard.salac@broadcom.com>
@richard-salac richard-salac force-pushed the reboot/log_missing_applid branch from 82cb890 to 77d6c0c Compare July 1, 2026 08:59
@richard-salac richard-salac changed the title chore: minor log improvements chore: minor log improvements to passtickets and applid Jul 1, 2026
@richard-salac richard-salac marked this pull request as ready for review July 1, 2026 09:00
private <R> Mono<AuthorizationResponse<R>> handleMissingApplicationName(OtelRequestContext context) {
private <R> Mono<AuthorizationResponse<R>> handleMissingApplicationName(String serviceId, OtelRequestContext context) {
context.authErrorType(ApplicationNameNotProvidedException.class.getName());
log.warn("Service '{}' is missing APPLID set", serviceId);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I believe we still don't have infrastructure for testing log generation, am I correct?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We could test it in acceptance tests with mockito captors, we have a few tests like these (for AT-TLS for example)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Then, it may be relevant to add the tests, but I am not pushing on it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I will look into the test

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The PR #4509 changed the behavior and a request never reach the scheme transformer when the configuration is invalid.

public void apply(ServiceInstance serviceInstance, RouteDefinition routeDefinition, Authentication auth) {

This seems to be a dead code. I will consult with @pablocarle.

Signed-off-by: Richard Salac <richard.salac@broadcom.com>
@sonarqubecloud

sonarqubecloud Bot commented Jul 1, 2026

Copy link
Copy Markdown

richard-salac and others added 5 commits July 2, 2026 11:55
Signed-off-by: Richard Salac <richard.salac@broadcom.com>
… and make Infinispan configuration more resilient (#4731)

Signed-off-by: Andrea Tabone <andrea.tabone@broadcom.com>
Signed-off-by: Elena Kubantseva <elena.kubantseva@broadcom.com>
Co-authored-by: Elena Kubantseva <elena.kubantseva@broadcom.com>
Signed-off-by: Richard Salac <richard.salac@broadcom.com>
Signed-off-by: Renovate Bot <renovate@whitesourcesoftware.com>
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>
Signed-off-by: Richard Salac <richard.salac@broadcom.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Sensitive Sensitive change that requires peer review size/XXL

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

6 participants