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

registry communication is not valid for v3. #3617

Merged

Conversation

Shobhajayanna
Copy link
Contributor

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Linked to # (issue)
Part of the # (epic)

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: sj895092 <shobhackm9@gmail.com>
Copy link
Contributor

@arxioly arxioly left a comment

Choose a reason for hiding this comment

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

Why this document is not valid for V3? I mean, these two sub-articles, yes:
Gateway & ZuulHandlerMapping
Ribbon load balancer
But everything else I think is still valid. Maybe only this sub-article also needs to be refactored a bit:
Gateway & Discovery Client

@arxioly arxioly requested a review from taban03 June 27, 2024 09:33
@Shobhajayanna
Copy link
Contributor Author

Why this document is not valid for V3? I mean, these two sub-articles, yes: Gateway & ZuulHandlerMapping Ribbon load balancer But everything else I think is still valid. Maybe only this sub-article also needs to be refactored a bit: Gateway & Discovery Client

this kind of implementation of registration and communication is removed in v3. its refreshened automatically after every 30secs.

@arxioly
Copy link
Contributor

arxioly commented Jun 27, 2024

Why this document is not valid for V3? I mean, these two sub-articles, yes: Gateway & ZuulHandlerMapping Ribbon load balancer But everything else I think is still valid. Maybe only this sub-article also needs to be refactored a bit: Gateway & Discovery Client

this kind of implementation of registration and communication is removed in v3. its refreshened automatically after every 30secs.

No, it's still the same. Registration mechanism wasn't changed, and refreshing every 30s was always there. What is changed is that Ribon and Zuul were removed, it means authentication and routing is changed. But Discovery is the same. This document needs to be refactored, but not removed, unless it's duplicating information from Zowe Docs.

@pj892031
Copy link
Contributor

Why this document is not valid for V3? I mean, these two sub-articles, yes: Gateway & ZuulHandlerMapping Ribbon load balancer But everything else I think is still valid. Maybe only this sub-article also needs to be refactored a bit: Gateway & Discovery Client

this kind of implementation of registration and communication is removed in v3. its refreshened automatically after every 30secs.

No, it's still the same. Registration mechanism wasn't changed, and refreshing every 30s was always there. What is changed is that Ribon and Zuul were removed, it means authentication and routing is changed. But Discovery is the same. This document needs to be refactored, but not removed, unless it's duplicating information from Zowe Docs.

For me as the author, it is pretty pitty to remove it, but it is really for v1 and v2. The purpose of this document was to describe the improvements in the Eureka / ZUUL to shortcut delays between onboarding/instance updates and routing itself. But the majority of that disappeared:

  • gateway is not notified (bean gatewayNotifier was removed)
  • the routing is not handled, it is on the level of WebFlux
  • there are no authentication scheme commands (replaced by filters)
  • RouteLocator is regenerating all rules every 30 seconds (again without any influence)
  • actually, there is no improvement now from the default behavior

I guess to make this document sense for v3 we should reimplement such improvements as we did in v1 and this is not our aim for now. Therefore I assume it is better to remove it because it is more misleading than helpful and we can always take a look at previous branches (v1.x.x and v2.x.x.).

We can potentially create an issue to implement a similar approach:

  • once a service update registry in the Discovery service
    • the Eureka caches could be cleaned
    • the Gateways could be notified (reverting of GatewayNotifier)
  • once Gateway is notified, a gateway could call applicationEventPublisher.publishEvent(new RefreshRoutesEvent("List of services changed")); to regenerate routing issue

Anyway, I assume it should be consulted by the whole team and it is something that is not necessary to be implemented in this initiative of Spring Cloud Gateway. The potential benefit is just short time on the startup - mainly for testing purposes.

Copy link
Contributor

@arxioly arxioly left a comment

Choose a reason for hiding this comment

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

Ok then, as a compromise create an issue, please. Otherwise we will forget about it for sure.

@Shobhajayanna
Copy link
Contributor Author

Ok then, as a compromise create an issue, please. Otherwise we will forget about it for sure.

issue created to have it in the backlog
#3621

@Shobhajayanna Shobhajayanna merged commit 5ad59ae into reboot/gateway-migration Jun 27, 2024
2 checks passed
achmelo added a commit that referenced this pull request Jul 18, 2024
* rafactor: Rename Gateway to ZAAS and first clean up of ZAAS (#3567)

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* refactor: Adapt GH actions to support new ZAAS service (#3571)

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* chore: SCGW conformance migration buildable and unit tests passing (#3572)

---------

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>
Signed-off-by: Pablo Carle <pablocarle@users.noreply.github.com>
Co-authored-by: Pablo Hernán Carle <pablo.carle@broadcom.com>
Co-authored-by: Pavel Jareš <58428711+pj892031@users.noreply.github.com>

* chore: Fix and clean up the ZAAS's unit tests (#3573)

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>
Co-authored-by: Pablo Carle <pablocarle@users.noreply.github.com>

* chore: move GW landing page (#3574)

* Move homepage to CGW

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* fix

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* polishing

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* renaming npm scripts and polishing

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* address comments

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* address comments

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* address comments

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

---------

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* chore:  Rename gateway-service to zaas (#3576)

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>
Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>
Co-authored-by: Pablo Hernán Carle <pablo.carle@broadcom.com>
Co-authored-by: Pablo Carle <pablocarle@users.noreply.github.com>

* chore: Rename Cloud Gateway to Gateway (#3577)

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>
Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>
Co-authored-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* chore: Clean up dependencies (#3578)

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* config: Update configuration of Gateway and ZAAS (#3579)

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>
Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>
Co-authored-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* feat: Authentication endpoints on the new Gateway for back compatibility (#3583)

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>
Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>
Co-authored-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* fix images (#3588)

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>
Co-authored-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* chore: Add health endpoint to GW and adjust the ZAAS one (#3580)

* update cert

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* move health indicator and adjust zaas one

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* fix checkstyle

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* fix

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* address comments

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* address comments

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* address comments

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

---------

Signed-off-by: at670475 <andrea.tabone@broadcom.com>
Co-authored-by: Pablo Carle <pablocarle@users.noreply.github.com>

* chore: fix tests (#3590)

---------

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>
Co-authored-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* fix: Login into API Catalog fix (#3591)

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* chore: fix tests (#3592)

* add bean for httpclient

Signed-off-by: at670475 <andrea.tabone@broadcom.com>

* change impl

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* use existing httpclient

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* fix

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix configuration DTOs

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* use http client

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* fix use of constructor

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* gateway config

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* gateway service configuration integration tests

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* add metadata

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* remove non-jakarta swagger-core

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* add bootrun add-opens. protect actuator

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* remove old URLs from tests (still in code)

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* fix url assertion in passticket test

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* disable some tests

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* disable tests that will be fixed in future tasks

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* fixes

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix auth forwarding

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* add debug config

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* move version endpoint from ZAAS to GW

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* remove ZUUL

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix cetnral GW routing

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fixes in mock zosmf (ltpa cookie not present)

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* pr review 1

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* pr review 2

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* fix checking HA by external port / not internal one

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix URLs of services endpoint

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* disable test about messaging

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* remove ltpa condition in mock zosmf

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* format, discoverable client bootRun

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* add custom request header for passticket scheme

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* update deprecated in integration-tests

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* fix apiml IDs

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* format / debug with gradle bootRun in discoverable client

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* fix checkstyle

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* fixes

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix mock services

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* restore unintended file change

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* fix TokenFilterFactoryTest

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* fixes

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix VersionControllerTest (gateway-service builds)

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* fixes

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* test for routing with invalid credentials

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix Java agent ports

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* test improvements

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* set accepting forwared certificate as default in ZAAS

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* use bean for preauth

Signed-off-by: achmelo <a.chmelo@gmail.com>

* support of apiml.security.auth.jwt.customAuthHeader

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* include the whole security package

Signed-off-by: achmelo <a.chmelo@gmail.com>

* test description

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix/revert the logger levels setup

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* X509 fixes for services and registry endpoint

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* validate token for request

Signed-off-by: achmelo <a.chmelo@gmail.com>

* endpoint accessible with token

Signed-off-by: achmelo <a.chmelo@gmail.com>

* fix FIXME about setup cookie

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix default value of ZWE_configs_apiml_security_x509_acceptForwardedCert

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix default value of acceptForwardedCert in ZAAS

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix collecting of GW JaCoCo data

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix ZAAS endpoints URLs in ITs

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* debug

Signed-off-by: achmelo <a.chmelo@gmail.com>

* fixes

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* improvement

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix default port of ZAAS

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* debug zss

Signed-off-by: achmelo <a.chmelo@gmail.com>

* fix tests

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix PAT

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* enable debug, use GW logback in zaas

Signed-off-by: achmelo <a.chmelo@gmail.com>

* handle tokennotvalidexception

Signed-off-by: achmelo <a.chmelo@gmail.com>

* print token in zosmf service

Signed-off-by: achmelo <a.chmelo@gmail.com>

* fix overstrike to fix ZAAS endpoints

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* improve name of the IT about client certs

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix URL of trusted cert

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix test name

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix endpoint in ZAAS: /zaas/auth > /zaas/api/v1/auth

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* attempt to fix configuration for GatewayProxy

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* attempt to fix GatewayServiceRouting

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix hostnames in GA

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* add log messages

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* Oauth2Integration - fix OIDC configuration

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* new component ZAAS increase count of services

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* add Swagger in GW (to fix E2E tests)

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* split token for log

Signed-off-by: achmelo <a.chmelo@gmail.com>

* uuid claim in the mock jwt

Signed-off-by: achmelo <a.chmelo@gmail.com>

* include original exception

Signed-off-by: achmelo <a.chmelo@gmail.com>

* attempt to fix CiTests with x509

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* MockZosmf 2012 fix client certs

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix IT GatewayCentralRegistry - client certs

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* enable shutdown endpoint to fix some IT

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix propagating of client certs in CiTest with infinispan

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix client cert and PAT for internal port

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix url from /gateway to /zaas

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* URL /gateway > /zaas

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* add log messages

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix client cert

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix unit tests

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* unit test fixes

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* return failure header from zuul to client

Signed-off-by: achmelo <a.chmelo@gmail.com>

* fix CORS unit test

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* add configuration for central gateway

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* return missing auth header

Signed-off-by: achmelo <a.chmelo@gmail.com>

* fix of compilation - new configuration

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix hostname of GatewayProxy

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix hostname for zaas-2 service

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* attempt to fix routing (routing paths)

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix propagation of apimlId

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* basic auth filter

Signed-off-by: achmelo <a.chmelo@gmail.com>

* multi-tenancy routing fixes

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* include error message forbidden

Signed-off-by: achmelo <a.chmelo@gmail.com>

* expect correct error codes

Signed-off-by: achmelo <a.chmelo@gmail.com>

* long conformance url

Signed-off-by: achmelo <a.chmelo@gmail.com>

* forwarding client certs in new GW

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* small refactor of filter to accept client certificate

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix test GatewayServiceRouting

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* add refresh auth endpoint

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix auth pat revoke endpoints urls

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* update redis configuration

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix health endpoints in redis GA

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* refactor checking state of ZAAS

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix using registry on central GW, not the domain one

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* catch exception for endpoint

Signed-off-by: achmelo <a.chmelo@gmail.com>

* fix forwarding certs in CI Tests Zosmf PH34201

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fixes

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* expect token in cookie only

Signed-off-by: achmelo <a.chmelo@gmail.com>

* REVERT APAR

Signed-off-by: achmelo <a.chmelo@gmail.com>

* routing with instance id (base functionality)

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* revert routing by instance id

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* do not retry for all 5xx, forward error header

Signed-off-by: achmelo <a.chmelo@gmail.com>

* set auth result unconditionally

Signed-off-by: Andrej Chmelo <ac892247@gf2yydryvy.wifi.broadcom.net>

* fix eureka onboarding and fix IT for registry endpoint

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix JavaDoc - removal of deprecated method

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix URL for CITestsZosmfPH34201

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* enable method security, read saf.yml, ignore preauthtoken

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* fix ContainerCITestsZosmfWithoutJwt (removed invalid condition about ltpa)

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* local caching conf, hide jgroups logs

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* print details about user and token

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* print rules, less or equals for time check

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* fixes

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* display service ID for cache operation

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* remove duplicate filter, add more logs

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* import trusted ca to keystore

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* cleanup

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* fix resending of client cert

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix IT - different error message - missing credentials instead of generation of passticket failed

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* OIDC tests fix

Signed-off-by: Elena Kubantseva <elena.kubantseva@broadcom.com>

* disable DistributedLoadBalancingTest

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix url for E2E

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* attempt to fix viewport size

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* simplification of E2E tests (central GW does not make sense anymore)

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* gateway is not routed itself anymore

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* replace xml config with code

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* merging of Swagger doc api

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* temporary fix of XML (just reverting the version restrictions)

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* attempt to fix IT

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* replace xml config with code

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* remove space

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* central apiml id

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* document API security

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* get element by id in the test

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* code review

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* remove debug logs

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* removal unnecessary implementation SafIdtFilterFactory.processResponse

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* remove unused folder link

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* revert .env (REACT_APP_ZOWE_BUILD_INFO)

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* use cookie util

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* revert format

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* clean up BasicAuthProvider

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* small refactor of TokenAuthFilter

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* small refactor of BasicAuthProvider and TokenProvider

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* fix

* dub log message improvement

* rename TokenFilterFactory to AbstractTokenFilterFactory (to respect the purpose)

* align start script

Signed-off-by: ac892247 <a.chmelo@gmail.com>

---------

Signed-off-by: at670475 <andrea.tabone@broadcom.com>
Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>
Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>
Signed-off-by: achmelo <a.chmelo@gmail.com>
Signed-off-by: Andrej Chmelo <ac892247@gf2yydryvy.wifi.broadcom.net>
Signed-off-by: ac892247 <a.chmelo@gmail.com>
Signed-off-by: Elena Kubantseva <elena.kubantseva@broadcom.com>
Co-authored-by: Pablo Hernán Carle <pablo.carle@broadcom.com>
Co-authored-by: Pavel Jareš <58428711+pj892031@users.noreply.github.com>
Co-authored-by: Pavel Jares <Pavel.Jares@broadcom.com>
Co-authored-by: achmelo <a.chmelo@gmail.com>
Co-authored-by: Elena Kubantseva <elena.kubantseva@broadcom.com>

* chore: [GW migration] Remove ZAAS from API Catalog (#3616)

* Remove metadata for catalog in ZAAS + added forgotten after merge with v3 property

Signed-off-by: Elena Kubantseva <elena.kubantseva@broadcom.com>

* removed catalog metadata from test yamls as well

Signed-off-by: Elena Kubantseva <elena.kubantseva@broadcom.com>

---------

Signed-off-by: Elena Kubantseva <elena.kubantseva@broadcom.com>

* registry communication is not valid for v3. (#3617)

Signed-off-by: sj895092 <shobhackm9@gmail.com>

* chore: add missing configuration in the start script (#3620)

* add missing configuration

Signed-off-by: Andrea Tabone <andrea.tabone@broadcom.com>

* add encoded slashes config in the yml

Signed-off-by: Andrea Tabone <andrea.tabone@broadcom.com>

* change value for zaas

Signed-off-by: Andrea Tabone <andrea.tabone@broadcom.com>

* don't allow encoded slashes as default

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* rename filter to better reflect functionality

Signed-off-by: ac892247 <a.chmelo@gmail.com>

---------

Signed-off-by: Andrea Tabone <andrea.tabone@broadcom.com>
Signed-off-by: ac892247 <a.chmelo@gmail.com>
Co-authored-by: Pavel Jares <Pavel.Jares@broadcom.com>
Co-authored-by: achmelo <37397715+achmelo@users.noreply.github.com>
Co-authored-by: ac892247 <a.chmelo@gmail.com>

* fix unit tests

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* chore: [Gateway migration] Fixing CI tests (#3632)

---------

Signed-off-by: sj895092 <shobhackm9@gmail.com>
Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>
Co-authored-by: Pavel Jares <Pavel.Jares@broadcom.com>
Co-authored-by: Pablo Carle <pablocarle@users.noreply.github.com>
Co-authored-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* chore: [Gateway migration] Renaming ZAAS controller path (#3623)

* Renamed ZAAS controller path

Signed-off-by: Elena Kubantseva <elena.kubantseva@broadcom.com>

* fixed path in matchers

Signed-off-by: Elena Kubantseva <elena.kubantseva@broadcom.com>

* Fixed StartupChecker, start messages in Gateway, and conformance IT tests wip

Signed-off-by: Elena Kubantseva <elena.kubantseva@broadcom.com>

* fix protection and refactor method

Signed-off-by: Andrea Tabone <andrea.tabone@broadcom.com>

* disable conformance tests

Signed-off-by: Andrea Tabone <andrea.tabone@broadcom.com>

* address comments

Signed-off-by: Andrea Tabone <andrea.tabone@broadcom.com>

---------

Signed-off-by: Elena Kubantseva <elena.kubantseva@broadcom.com>
Signed-off-by: Andrea Tabone <andrea.tabone@broadcom.com>
Co-authored-by: Andrea Tabone <andrea.tabone@broadcom.com>

* chore: Upgrade of dependencies (v3 - GW migration) (#3634)

---------

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>
Co-authored-by: Pablo Carle <pablocarle@users.noreply.github.com>

* fix unit tests (#3639)

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>
Co-authored-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* fix: re-enable integration tests (#3640)

* enable version test

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* sanitize headers

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* add javadoc

Signed-off-by: ac892247 <a.chmelo@gmail.com>

---------

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* chore: update security filters for actuator and conformance endpoint (#3642)

---------

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>
Co-authored-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* fix: return correct error message when WS auth fails (#3638)

* return correct error message for websocket auth

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* move to correct package

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* use not protected endpoint for redirect

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* fix checkstyle

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* remove unused imports

Signed-off-by: ac892247 <a.chmelo@gmail.com>

---------

Signed-off-by: ac892247 <a.chmelo@gmail.com>
Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>
Co-authored-by: Pablo Carle <pablocarle@users.noreply.github.com>
Co-authored-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* increase coverage for the CookieUtil

Signed-off-by: Andrea Tabone <andrea.tabone@broadcom.com>

* test forward cert filter

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* Increase coverage of TokenAuthentication.java

Signed-off-by: Andrea Tabone <andrea.tabone@broadcom.com>

* Test PageRedirectionFilterFactory.java

Signed-off-by: Andrea Tabone <andrea.tabone@broadcom.com>

* add TokenAuthFilterTest

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* add BasicAuthFilterTest

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* add ApimlWebSocketSessionTest

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* fix gateway packaging, fix automated startup

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* fix detected sonar issues

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* zaas validation schema

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* copy zaas litejar to zip package

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* update gateway schema

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* fix: missing referer header in the UI requests (#3647)

* add referer header

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* code review

Signed-off-by: ac892247 <a.chmelo@gmail.com>

---------

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* add extension loading (#3651)

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>
Co-authored-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* fix: parameters in zaas start.sh (#3650)

* default certificate url, use gateway port for routing

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* provide option to not verify hostname

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* add secure headers

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* define ui route in apicatalog so its possible to route without trailing slash - apicatalog/ui/v1/

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* remove internal port tests and usage

Signed-off-by: ac892247 <a.chmelo@gmail.com>

* add rewrite filter for cases without trailing slash

Signed-off-by: ac892247 <a.chmelo@gmail.com>

---------

Signed-off-by: ac892247 <a.chmelo@gmail.com>
Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>
Co-authored-by: Pablo Hernán Carle <pablo.carle@broadcom.com>

* add comment, temporary disable flaky test (#3649)

Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>
Co-authored-by: Pablo Hernán Carle <pablo.carle@broadcom.com>
Co-authored-by: achmelo <37397715+achmelo@users.noreply.github.com>

* chore: review GW messages (#3648)

* wip - clean up messages

Signed-off-by: Andrea Tabone <andrea.tabone@broadcom.com>

* change message code

Signed-off-by: Andrea Tabone <andrea.tabone@broadcom.com>

* remove commented message

Signed-off-by: Andrea Tabone <andrea.tabone@broadcom.com>

---------

Signed-off-by: Andrea Tabone <andrea.tabone@broadcom.com>
Co-authored-by: achmelo <37397715+achmelo@users.noreply.github.com>

* use mock service in the same way (#3656)

Signed-off-by: ac892247 <a.chmelo@gmail.com>

---------

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>
Signed-off-by: at670475 <andrea.tabone@broadcom.com>
Signed-off-by: Pablo Hernán Carle <pablo.carle@broadcom.com>
Signed-off-by: Pablo Carle <pablocarle@users.noreply.github.com>
Signed-off-by: achmelo <a.chmelo@gmail.com>
Signed-off-by: Andrej Chmelo <ac892247@gf2yydryvy.wifi.broadcom.net>
Signed-off-by: ac892247 <a.chmelo@gmail.com>
Signed-off-by: Elena Kubantseva <elena.kubantseva@broadcom.com>
Signed-off-by: sj895092 <shobhackm9@gmail.com>
Signed-off-by: Andrea Tabone <andrea.tabone@broadcom.com>
Co-authored-by: Pavel Jareš <58428711+pj892031@users.noreply.github.com>
Co-authored-by: Andrea Tabone <39694626+taban03@users.noreply.github.com>
Co-authored-by: Pablo Hernán Carle <pablo.carle@broadcom.com>
Co-authored-by: Pavel Jares <Pavel.Jares@broadcom.com>
Co-authored-by: achmelo <a.chmelo@gmail.com>
Co-authored-by: Elena Kubantseva <elena.kubantseva@broadcom.com>
Co-authored-by: ShobhaJayanna <36433611+Shobhajayanna@users.noreply.github.com>
Co-authored-by: achmelo <37397715+achmelo@users.noreply.github.com>
Co-authored-by: Andrea Tabone <andrea.tabone@broadcom.com>
@arxioly arxioly deleted the reboot/gateway-migration-scgw-sh1 branch August 9, 2024 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

3 participants