Re: [PR] KNOX-3069 - Fix Flakey Test - TokenServiceResourceTest [knox]

2024-10-11 Thread via GitHub
lmccay merged PR #938: URL: https://github.com/apache/knox/pull/938 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org For

[PR] KNOX-3069 - Fix Flakey Test - TokenServiceResourceTest [knox]

2024-10-11 Thread via GitHub
lmccay opened a new pull request, #938: URL: https://github.com/apache/knox/pull/938 ## What changes were proposed in this pull request? TokenServiceResourceTest - testLimitingTokensPerUser method acquires many tokens within a tight for loop and does not insure that the tokenIds are u

Re: [PR] KNOX-3068 Iceberg REST Catalog service definition [knox]

2024-10-08 Thread via GitHub
pzampino merged PR #937: URL: https://github.com/apache/knox/pull/937 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org F

Re: [PR] KNOX-3068 Iceberg REST Catalog service definition [knox]

2024-10-08 Thread via GitHub
pzampino commented on code in PR #937: URL: https://github.com/apache/knox/pull/937#discussion_r1792399333 ## gateway-service-definitions/src/main/resources/services/iceberg-rest/0.0.1/rewrite.xml: ## @@ -0,0 +1,22 @@ + + + + Review Comment: Right, and I'm not convinced

Re: [PR] KNOX-3068 Iceberg REST Catalog service definition [knox]

2024-10-08 Thread via GitHub
lmccay commented on code in PR #937: URL: https://github.com/apache/knox/pull/937#discussion_r1792335405 ## gateway-service-definitions/src/main/resources/services/iceberg-rest/0.0.1/rewrite.xml: ## @@ -0,0 +1,22 @@ + + + + Review Comment: We need REST in the name since

Re: [PR] KNOX-3068 Iceberg REST Catalog service definition [knox]

2024-10-08 Thread via GitHub
moresandeep commented on code in PR #937: URL: https://github.com/apache/knox/pull/937#discussion_r1792321094 ## gateway-service-definitions/src/main/resources/services/iceberg-rest/0.0.1/rewrite.xml: ## @@ -0,0 +1,22 @@ + + + + Review Comment: Looks like the service nam

[PR] KNOX-3068 Iceberg REST Catalog service definition [knox]

2024-10-08 Thread via GitHub
pzampino opened a new pull request, #937: URL: https://github.com/apache/knox/pull/937 ## What changes were proposed in this pull request? Add a service definition and rewrite rules for Apache Iceberg REST Catalog API service. -- This is an automated message from the Ap

Re: [PR] KNOX-3042 - Correct KnoxToken comparator [knox]

2024-09-19 Thread via GitHub
lmccay commented on PR #918: URL: https://github.com/apache/knox/pull/918#issuecomment-2362370420 Hi @bonampak - could you add a unit test for this to clearly show what the failure was and that it is fixed and doesn't regress? Sorry for the delayed review here! -- This is an automated me

Re: [PR] KNOX-3063: Added monitorInterval to log4j2 configuration file [knox]

2024-09-12 Thread via GitHub
pzampino commented on PR #934: URL: https://github.com/apache/knox/pull/934#issuecomment-2346219759 Thank you for this contribution. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific c

Re: [PR] KNOX-3059: Upgrade Commons-configuration2 to 2.10.1 [knox]

2024-09-12 Thread via GitHub
pzampino commented on PR #931: URL: https://github.com/apache/knox/pull/931#issuecomment-2346220343 Thank you for this contribution. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific c

Re: [PR] KNOX-3063: Added monitorInterval to log4j2 configuration file [knox]

2024-09-12 Thread via GitHub
pzampino merged PR #934: URL: https://github.com/apache/knox/pull/934 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org F

Re: [PR] KNOX-3059: Upgrade Commons-configuration2 to 2.10.1 [knox]

2024-09-12 Thread via GitHub
pzampino merged PR #931: URL: https://github.com/apache/knox/pull/931 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org F

Re: [PR] KNOX-3064: Set the private gatewayservices field to fix nullpointer e… [knox]

2024-09-10 Thread via GitHub
pzampino merged PR #935: URL: https://github.com/apache/knox/pull/935 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org F

Re: [PR] KNOX-3064: Set the private gatewayservices field to fix nullpointer e… [knox]

2024-09-10 Thread via GitHub
hanicz commented on PR #935: URL: https://github.com/apache/knox/pull/935#issuecomment-2340805328 No, locally it is working fine. The builds are failing on GitHub. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the UR

[PR] KNOX-3064: Set the private gatewayservices field to fix nullpointer e… [knox]

2024-09-10 Thread via GitHub
hanicz opened a new pull request, #935: URL: https://github.com/apache/knox/pull/935 …xceptions ## What changes were proposed in this pull request? The below tests are failing with NullPointerException during the build BadUrlTest.setUpBeforeClass:122->startGatewayServer:

[PR] KNOX-3063: Added monitorInterval to log4j2 configuration file [knox]

2024-09-09 Thread via GitHub
hanicz opened a new pull request, #934: URL: https://github.com/apache/knox/pull/934 ## What changes were proposed in this pull request? Added monitorInterval property to the Configuration tag in the log4j2 configuration file. With this change Knox can change log level at runtime ther

Re: [PR] KNOX-3062 - Fix an issue where group headers were not added to POST and PUT requests [knox]

2024-09-06 Thread via GitHub
moresandeep closed pull request #933: KNOX-3062 - Fix an issue where group headers were not added to POST and PUT requests URL: https://github.com/apache/knox/pull/933 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the U

Re: [PR] KNOX-3059: Upgrade Commons-configuration2 to 2.10.1 [knox]

2024-09-04 Thread via GitHub
Johnbad2000 commented on PR #931: URL: https://github.com/apache/knox/pull/931#issuecomment-2330538280 Good -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe,

Re: [PR] KNOX-3055: Change MySQL connector dependency scope to provided [knox]

2024-08-23 Thread via GitHub
pzampino merged PR #930: URL: https://github.com/apache/knox/pull/930 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org F

Re: [PR] KNOX-3060 - Knox Homepage token management does not work when Cookie Management is enabled [knox]

2024-08-23 Thread via GitHub
moresandeep merged PR #932: URL: https://github.com/apache/knox/pull/932 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org

[PR] KNOX-3060 - Knox Homepage token management does not work when Cookie Management is enabled [knox]

2024-08-23 Thread via GitHub
moresandeep opened a new pull request, #932: URL: https://github.com/apache/knox/pull/932 ## What changes were proposed in this pull request? Fix an issue which can throw error in token deserialization. ## How was this patch tested? This patch was tested locally on a loca

[PR] KNOX-3055: Change MySQL connector dependency scope to provided [knox]

2024-08-22 Thread via GitHub
hanicz opened a new pull request, #930: URL: https://github.com/apache/knox/pull/930 ## What changes were proposed in this pull request? Changed the scope for the MySQL Connector dependency to provided. ## How was this patch tested? Ran tests locally -- This is an

Re: [PR] KNOX-3058: Avoid 404 When Topology Is Being Redeployed [knox]

2024-08-21 Thread via GitHub
pzampino merged PR #929: URL: https://github.com/apache/knox/pull/929 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org F

Re: [PR] KNOX-3058: Avoid 404 When Topology Is Being Redeployed [knox]

2024-08-21 Thread via GitHub
pzampino commented on code in PR #929: URL: https://github.com/apache/knox/pull/929#discussion_r1725734265 ## gateway-server/src/main/java/org/apache/knox/gateway/GatewayServer.java: ## @@ -962,10 +985,32 @@ private void processApplicationPathAliases(File warDir, Topology topol

Re: [PR] KNOX-3058: Avoid 404 When Topology Is Being Redeployed [knox]

2024-08-21 Thread via GitHub
pzampino commented on code in PR #929: URL: https://github.com/apache/knox/pull/929#discussion_r1725038551 ## gateway-server/src/main/java/org/apache/knox/gateway/GatewayServer.java: ## @@ -962,10 +985,32 @@ private void processApplicationPathAliases(File warDir, Topology topol

Re: [PR] KNOX-3058: Avoid 404 When Topology Is Being Redeployed [knox]

2024-08-21 Thread via GitHub
pzampino commented on code in PR #929: URL: https://github.com/apache/knox/pull/929#discussion_r1725029902 ## gateway-server/src/main/java/org/apache/knox/gateway/GatewayServer.java: ## @@ -717,6 +723,21 @@ void createJetty() throws IOException, CertificateException, NoSuchAlgo

Re: [PR] KNOX-3058: Avoid 404 When Topology Is Being Redeployed [knox]

2024-08-21 Thread via GitHub
pzampino commented on code in PR #929: URL: https://github.com/apache/knox/pull/929#discussion_r1725022591 ## gateway-server/src/main/java/org/apache/knox/gateway/GatewayServer.java: ## @@ -962,10 +985,32 @@ private void processApplicationPathAliases(File warDir, Topology topol

Re: [PR] KNOX-3058: Avoid 404 When Topology Is Being Redeployed [knox]

2024-08-20 Thread via GitHub
moresandeep commented on code in PR #929: URL: https://github.com/apache/knox/pull/929#discussion_r1724146320 ## gateway-server/src/main/java/org/apache/knox/gateway/GatewayServer.java: ## @@ -717,6 +723,21 @@ void createJetty() throws IOException, CertificateException, NoSuchA

Re: [PR] KNOX-3058: Avoid 404 When Topology Is Being Redeployed [knox]

2024-08-20 Thread via GitHub
lmccay commented on code in PR #929: URL: https://github.com/apache/knox/pull/929#discussion_r1724053568 ## gateway-server/src/main/java/org/apache/knox/gateway/GatewayServer.java: ## @@ -962,10 +985,32 @@ private void processApplicationPathAliases(File warDir, Topology topolog

Re: [PR] KNOX-3058: Avoid 404 When Topology Is Being Redeployed [knox]

2024-08-20 Thread via GitHub
pzampino commented on code in PR #929: URL: https://github.com/apache/knox/pull/929#discussion_r1724039838 ## gateway-server/src/main/java/org/apache/knox/gateway/GatewayServer.java: ## @@ -962,10 +985,32 @@ private void processApplicationPathAliases(File warDir, Topology topol

Re: [PR] KNOX-3058: Avoid 404 When Topology Is Being Redeployed [knox]

2024-08-20 Thread via GitHub
pzampino commented on code in PR #929: URL: https://github.com/apache/knox/pull/929#discussion_r1724039838 ## gateway-server/src/main/java/org/apache/knox/gateway/GatewayServer.java: ## @@ -962,10 +985,32 @@ private void processApplicationPathAliases(File warDir, Topology topol

Re: [PR] KNOX-3058: Avoid 404 When Topology Is Being Redeployed [knox]

2024-08-20 Thread via GitHub
lmccay commented on code in PR #929: URL: https://github.com/apache/knox/pull/929#discussion_r1724026595 ## gateway-server/src/main/java/org/apache/knox/gateway/GatewayServer.java: ## @@ -962,10 +985,32 @@ private void processApplicationPathAliases(File warDir, Topology topolog

[PR] KNOX-3058: Avoid 404 When Topology Is Being Redeployed [knox]

2024-08-20 Thread via GitHub
pzampino opened a new pull request, #929: URL: https://github.com/apache/knox/pull/929 ## What changes were proposed in this pull request? Modified error handling when a topology is being redeployed, such that the response is not HTTP 404 'Not Found', but rather HTTP 503 'Service Una

Re: [PR] KNOX-3054 - Replace ignored meta tag cache headers to HTTP headers [knox]

2024-08-19 Thread via GitHub
pzampino merged PR #928: URL: https://github.com/apache/knox/pull/928 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org F

Re: [PR] KNOX-3046 - Yarn REST API should support query parameters [knox]

2024-08-15 Thread via GitHub
slankka commented on code in PR #921: URL: https://github.com/apache/knox/pull/921#discussion_r1718184062 ## gateway-service-definitions/src/main/resources/services/yarnui/2.7.0/rewrite.xml: ## @@ -23,8 +23,8 @@ e.g. http://host.com:8088 --> - - + Review Comment:

Re: [PR] KNOX-3046 - Yarn REST API should support query parameters [knox]

2024-08-15 Thread via GitHub
slankka commented on code in PR #921: URL: https://github.com/apache/knox/pull/921#discussion_r1718181732 ## gateway-service-definitions/src/main/resources/services/yarnui/2.7.0/rewrite.xml: ## @@ -23,8 +23,8 @@ e.g. http://host.com:8088 --> - - + Review Comment:

Re: [PR] KNOX-3046 - Yarn REST API should support query parameters [knox]

2024-08-15 Thread via GitHub
slankka commented on code in PR #921: URL: https://github.com/apache/knox/pull/921#discussion_r1718181732 ## gateway-service-definitions/src/main/resources/services/yarnui/2.7.0/rewrite.xml: ## @@ -23,8 +23,8 @@ e.g. http://host.com:8088 --> - - + Review Comment:

Re: [PR] KNOX-3046 - Yarn REST API should support query parameters [knox]

2024-08-15 Thread via GitHub
slankka commented on code in PR #921: URL: https://github.com/apache/knox/pull/921#discussion_r1718137155 ## gateway-service-definitions/src/main/resources/services/yarnui/2.7.0/rewrite.xml: ## @@ -23,8 +23,8 @@ e.g. http://host.com:8088 --> - - + Review Comment:

Re: [PR] KNOX-3046 - Yarn REST API should support query parameters [knox]

2024-08-15 Thread via GitHub
slankka commented on code in PR #921: URL: https://github.com/apache/knox/pull/921#discussion_r1718137155 ## gateway-service-definitions/src/main/resources/services/yarnui/2.7.0/rewrite.xml: ## @@ -23,8 +23,8 @@ e.g. http://host.com:8088 --> - - + Review Comment:

Re: [PR] KNOX-3046 - Yarn REST API should support query parameters [knox]

2024-08-15 Thread via GitHub
slankka commented on code in PR #921: URL: https://github.com/apache/knox/pull/921#discussion_r1718124840 ## gateway-service-definitions/src/main/resources/services/yarnui/2.7.0/rewrite.xml: ## @@ -23,8 +23,8 @@ e.g. http://host.com:8088 --> - - + Review Comment:

Re: [PR] KNOX-3046 - Yarn REST API should support query parameters [knox]

2024-08-15 Thread via GitHub
slankka commented on code in PR #921: URL: https://github.com/apache/knox/pull/921#discussion_r1718124840 ## gateway-service-definitions/src/main/resources/services/yarnui/2.7.0/rewrite.xml: ## @@ -23,8 +23,8 @@ e.g. http://host.com:8088 --> - - + Review Comment:

Re: [PR] KNOX-3054 - Replace ignored meta tag cache headers to HTTP headers [knox]

2024-08-05 Thread via GitHub
hanicz commented on code in PR #928: URL: https://github.com/apache/knox/pull/928#discussion_r1703882471 ## gateway-server/src/main/java/org/apache/knox/gateway/GatewayFilter.java: ## @@ -203,6 +208,8 @@ public void doFilter( ServletRequest servletRequest, ServletResponse servl

Re: [PR] KNOX-3046 - Yarn REST API should support query parameters [knox]

2024-08-01 Thread via GitHub
moresandeep commented on code in PR #921: URL: https://github.com/apache/knox/pull/921#discussion_r1700425734 ## gateway-service-definitions/src/main/resources/services/yarnui/2.7.0/rewrite.xml: ## @@ -23,8 +23,8 @@ e.g. http://host.com:8088 --> - - + Review Commen

Re: [PR] KNOX-3046 - Yarn REST API should support query parameters [knox]

2024-08-01 Thread via GitHub
pzampino commented on code in PR #921: URL: https://github.com/apache/knox/pull/921#discussion_r1700421971 ## gateway-service-definitions/src/main/resources/services/yarnui/2.7.0/rewrite.xml: ## @@ -23,8 +23,8 @@ e.g. http://host.com:8088 --> - - + Review Comment:

Re: [PR] KNOX-3047 - Classpath extension for optional dependencies [knox]

2024-08-01 Thread via GitHub
pzampino merged PR #925: URL: https://github.com/apache/knox/pull/925 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org F

Re: [PR] KNOX-3054 - Replace ignored meta tag cache headers to HTTP headers [knox]

2024-08-01 Thread via GitHub
pzampino commented on code in PR #928: URL: https://github.com/apache/knox/pull/928#discussion_r1700416016 ## gateway-server/src/main/java/org/apache/knox/gateway/GatewayFilter.java: ## @@ -203,6 +208,8 @@ public void doFilter( ServletRequest servletRequest, ServletResponse ser

[PR] KNOX-3054 - Replace ignored meta tag cache headers to HTTP headers [knox]

2024-08-01 Thread via GitHub
hanicz opened a new pull request, #928: URL: https://github.com/apache/knox/pull/928 ## What changes were proposed in this pull request? Modern browsers ignore caching headers as meta elements. Due to this Firefox loads index.html from cache and the user won't be redirected to the Kno

Re: [PR] KNOX-3045 - Adding the most recent service definitions for Ranger [knox]

2024-07-30 Thread via GitHub
moresandeep merged PR #920: URL: https://github.com/apache/knox/pull/920 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org

Re: [PR] KNOX-3040 - Followup patch. Support for multiple JWKS endpoints + code cleanup [knox]

2024-07-30 Thread via GitHub
moresandeep merged PR #924: URL: https://github.com/apache/knox/pull/924 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org

Re: [PR] KNOX-3053 - Fix DefaultTopologyService - Mock setup moved before meth… [knox]

2024-07-29 Thread via GitHub
pzampino merged PR #927: URL: https://github.com/apache/knox/pull/927 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org F

[PR] KNOX-3053 - Fix DefaultTopologyService - Mock setup moved before meth… [knox]

2024-07-29 Thread via GitHub
hanicz opened a new pull request, #927: URL: https://github.com/apache/knox/pull/927 …od call ## What changes were proposed in this pull request? Moved the mock setup before the actual method call in testTopologyDiscoveryTriggerHandlesInvalidDescriptorContent(org.apache.knox.ga

Re: [PR] KNOX-3033 Add option to set the correct path for sticky session cookies [knox]

2024-07-19 Thread via GitHub
smolnar82 commented on PR #912: URL: https://github.com/apache/knox/pull/912#issuecomment-2238157427 @stoty , @moresandeep - I'm closing this now, feel free to re-open when needed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to Git

Re: [PR] KNOX-3033 Add option to set the correct path for sticky session cookies [knox]

2024-07-19 Thread via GitHub
smolnar82 closed pull request #912: KNOX-3033 Add option to set the correct path for sticky session cookies URL: https://github.com/apache/knox/pull/912 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go

[PR] KNOX-3047 - Classpath extension for optional dependencies [knox]

2024-07-12 Thread via GitHub
hanicz opened a new pull request, #925: URL: https://github.com/apache/knox/pull/925 ## What changes were proposed in this pull request? A new path /usr/share/java/*.jar is added on the classpath which is located outside of the Knox installation folder. Users can place 3rd-party JARs

Re: [PR] KNOX-3040 - Followup patch. Support for multiple JWKS endpoints + code cleanup [knox]

2024-07-10 Thread via GitHub
moresandeep commented on code in PR #924: URL: https://github.com/apache/knox/pull/924#discussion_r1672073246 ## gateway-server/src/main/java/org/apache/knox/gateway/services/token/impl/DefaultTokenAuthorityService.java: ## @@ -83,6 +84,8 @@ public class DefaultTokenAuthoritySer

Re: [PR] KNOX-3040 - Followup patch. Support for multiple JWKS endpoints + code cleanup [knox]

2024-07-10 Thread via GitHub
moresandeep commented on code in PR #924: URL: https://github.com/apache/knox/pull/924#discussion_r1672044065 ## gateway-provider-security-jwt/src/main/java/org/apache/knox/gateway/provider/federation/jwt/filter/JWTFederationFilter.java: ## @@ -149,6 +153,30 @@ public void init(

Re: [PR] KNOX-3040 - Followup patch. Support for multiple JWKS endpoints + code cleanup [knox]

2024-07-10 Thread via GitHub
moresandeep commented on code in PR #924: URL: https://github.com/apache/knox/pull/924#discussion_r1672037317 ## gateway-provider-security-jwt/src/main/java/org/apache/knox/gateway/provider/federation/jwt/filter/JWTFederationFilter.java: ## @@ -110,7 +114,7 @@ public void init(

Re: [PR] KNOX-3040 - Followup patch. Support for multiple JWKS endpoints + code cleanup [knox]

2024-07-10 Thread via GitHub
moresandeep commented on code in PR #924: URL: https://github.com/apache/knox/pull/924#discussion_r1672034656 ## gateway-provider-security-jwt/src/main/java/org/apache/knox/gateway/provider/federation/jwt/filter/AbstractJWTFilter.java: ## @@ -115,7 +116,7 @@ public abstract clas

Re: [PR] KNOX-3040 - Followup patch. Support for multiple JWKS endpoints + code cleanup [knox]

2024-07-10 Thread via GitHub
moresandeep commented on code in PR #924: URL: https://github.com/apache/knox/pull/924#discussion_r1672031543 ## gateway-provider-security-jwt/src/main/java/org/apache/knox/gateway/provider/federation/jwt/JWTMessages.java: ## @@ -123,4 +123,7 @@ public interface JWTMessages {

Re: [PR] KNOX-3040 - Followup patch. Support for multiple JWKS endpoints + code cleanup [knox]

2024-07-09 Thread via GitHub
smolnar82 commented on code in PR #924: URL: https://github.com/apache/knox/pull/924#discussion_r1671617962 ## gateway-server/src/main/java/org/apache/knox/gateway/services/token/impl/DefaultTokenAuthorityService.java: ## @@ -83,6 +84,8 @@ public class DefaultTokenAuthorityServi

[PR] KNOX-3040 - Followup patch. Support for multiple JWKS endpoints + code cleanup [knox]

2024-07-09 Thread via GitHub
moresandeep opened a new pull request, #924: URL: https://github.com/apache/knox/pull/924 ## What changes were proposed in this pull request? This PR is a followup to KNOX-3040 and adds support for multiple JWKS endpoints. Users can specify one JWKS endpoint or multiple comma separate

Re: [PR] KNOX-3033 Add option to set the correct path for sticky session cookies [knox]

2024-07-09 Thread via GitHub
moresandeep commented on PR #912: URL: https://github.com/apache/knox/pull/912#issuecomment-2217316719 > Thanks for the review @moresandeep . > > At the moment this is on hold, as we are pursuing another solution. > > I will come back to this and try to address your comments lat

Re: [PR] KNOX-3033 Add option to set the correct path for sticky session cookies [knox]

2024-07-09 Thread via GitHub
stoty commented on PR #912: URL: https://github.com/apache/knox/pull/912#issuecomment-2217043726 Thanks for the review @moresandeep . At the moment this is on hold, as we are pursuing another solution. I will come back to this and try to address your comments later. -- This i

Re: [PR] KNOX-3050 - Add support for HTTP verbs for pre endpoint. [knox]

2024-07-08 Thread via GitHub
moresandeep merged PR #923: URL: https://github.com/apache/knox/pull/923 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org

[PR] KNOX-3050 - Add support for HTTP verbs for pre endpoint. [knox]

2024-07-07 Thread via GitHub
moresandeep opened a new pull request, #923: URL: https://github.com/apache/knox/pull/923 ## What changes were proposed in this pull request? `auth/api/v1/pre` endpoint was only supporting GET, with this patch other http verbs such as DELETE, PATCH, POST, PUT are now supported. NOT

Re: [PR] KNOX-3021 - Http configuration is set on non-SSL Jetty connectors too [knox]

2024-07-05 Thread via GitHub
smolnar82 merged PR #882: URL: https://github.com/apache/knox/pull/882 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org

Re: [PR] KNOX-3044 - Port numbers are written with ',' format in logs [knox]

2024-07-03 Thread via GitHub
smolnar82 merged PR #919: URL: https://github.com/apache/knox/pull/919 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org

Re: [PR] KNOX-3044 - Port numbers are written with ',' format in logs [knox]

2024-06-21 Thread via GitHub
senthh commented on PR #919: URL: https://github.com/apache/knox/pull/919#issuecomment-2182121268 @moresandeep , @lmccay could you please review this trivial changes? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the

Re: [PR] KNOX-3043 - NullpointerException in calling loadBuildProperties [knox]

2024-06-17 Thread via GitHub
senthh commented on PR #917: URL: https://github.com/apache/knox/pull/917#issuecomment-2174774476 @lmccay and @moresandeep Please let me know if any changes/suggestions can help in this PR. -- This is an automated message from the Apache Git Service. To respond to the message, please log

Re: [PR] KNOX-3043 - NullpointerException in calling loadBuildProperties [knox]

2024-06-17 Thread via GitHub
senthh commented on PR #917: URL: https://github.com/apache/knox/pull/917#issuecomment-2174215125 > > @lmccay Thank you. I have added more description about root cause of this issue in description. We were getting this issue due to improper build of gateway-server. and we feel having good e

Re: [PR] KNOX-3043 - NullpointerException in calling loadBuildProperties [knox]

2024-06-17 Thread via GitHub
lmccay commented on PR #917: URL: https://github.com/apache/knox/pull/917#issuecomment-2174185937 > @lmccay Thank you. I have added more description about root cause of this issue in description. We were getting this issue due to improper build of gateway-server. and we feel having good exc

[PR] KNOX-3042 - Correct KnoxToken comparator [knox]

2024-06-17 Thread via GitHub
bonampak opened a new pull request, #918: URL: https://github.com/apache/knox/pull/918 (It is very **important** that you created an Apache Knox JIRA for this change and that the PR title/commit message includes the Apache Knox JIRA ID!) ## What changes were proposed in this pull requ

Re: [PR] KNOX-3043 - NullpointerException in calling loadBuildProperties [knox]

2024-06-17 Thread via GitHub
senthh commented on code in PR #917: URL: https://github.com/apache/knox/pull/917#discussion_r1642649948 ## gateway-server/src/main/java/org/apache/knox/gateway/util/KnoxCLI.java: ## @@ -2570,10 +2570,16 @@ public String getUsage() { private static Properties loadBuildPrope

Re: [PR] KNOX-3043 - NullpointerException in calling loadBuildProperties [knox]

2024-06-17 Thread via GitHub
moresandeep commented on code in PR #917: URL: https://github.com/apache/knox/pull/917#discussion_r1642588449 ## gateway-server/src/main/java/org/apache/knox/gateway/util/KnoxCLI.java: ## @@ -2570,10 +2570,16 @@ public String getUsage() { private static Properties loadBuild

Re: [PR] KNOX-3043 - NullpointerException in calling loadBuildProperties [knox]

2024-06-15 Thread via GitHub
senthh commented on PR #917: URL: https://github.com/apache/knox/pull/917#issuecomment-2171032184 > Hi Senthil - thanks for your PR. Are you able to reproduce the NPE in a unit test and show that it is fixed? Can you also add more information to the PR description, explain how you have test

Re: [PR] KNOX-3043 - NullpointerException in calling loadBuildProperties [knox]

2024-06-15 Thread via GitHub
senthh commented on PR #917: URL: https://github.com/apache/knox/pull/917#issuecomment-2170640234 @pzampino Could you please review this PR? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to th

[PR] KNOX-3043 - NullpointerException in calling loadBuildProperties [knox]

2024-06-15 Thread via GitHub
senthh opened a new pull request, #917: URL: https://github.com/apache/knox/pull/917 (It is very **important** that you created an Apache Knox JIRA for this change and that the PR title/commit message includes the Apache Knox JIRA ID!) ## What changes were proposed in this pull reques

Re: [PR] KNOX-3039 Add error message sanitization to GatewayServlet [knox]

2024-06-14 Thread via GitHub
kardolus commented on code in PR #914: URL: https://github.com/apache/knox/pull/914#discussion_r1640568668 ## gateway-server/src/main/java/org/apache/knox/gateway/GatewayServlet.java: ## @@ -282,33 +281,15 @@ public Enumeration getInitParameterNames() { } } - private

Re: [PR] KNOX-3039 Add error message sanitization to GatewayServlet [knox]

2024-06-14 Thread via GitHub
kardolus commented on code in PR #914: URL: https://github.com/apache/knox/pull/914#discussion_r1640541031 ## gateway-server/src/main/java/org/apache/knox/gateway/GatewayServlet.java: ## @@ -282,33 +281,15 @@ public Enumeration getInitParameterNames() { } } - private

Re: [PR] KNOX-3039 Add error message sanitization to GatewayServlet [knox]

2024-06-14 Thread via GitHub
kardolus commented on code in PR #914: URL: https://github.com/apache/knox/pull/914#discussion_r1640541031 ## gateway-server/src/main/java/org/apache/knox/gateway/GatewayServlet.java: ## @@ -282,33 +281,15 @@ public Enumeration getInitParameterNames() { } } - private

Re: [PR] KNOX-3039 Add error message sanitization to GatewayServlet [knox]

2024-06-14 Thread via GitHub
kardolus commented on code in PR #914: URL: https://github.com/apache/knox/pull/914#discussion_r1640541031 ## gateway-server/src/main/java/org/apache/knox/gateway/GatewayServlet.java: ## @@ -282,33 +281,15 @@ public Enumeration getInitParameterNames() { } } - private

Re: [PR] KNOX-3039 Add error message sanitization to GatewayServlet [knox]

2024-06-14 Thread via GitHub
pzampino commented on code in PR #914: URL: https://github.com/apache/knox/pull/914#discussion_r1639811375 ## gateway-server/src/main/java/org/apache/knox/gateway/GatewayServlet.java: ## @@ -282,33 +281,15 @@ public Enumeration getInitParameterNames() { } } - private

Re: [PR] KNOX-3039 Add error message sanitization to GatewayServlet [knox]

2024-06-14 Thread via GitHub
pzampino commented on PR #914: URL: https://github.com/apache/knox/pull/914#issuecomment-2168011045 > @pzampino @moresandeep I implemented the `SanitizedException`. It makes the code a lot cleaner. I am not happy with the fact though that an `IOException` or a `RuntimeException` can be conv

Re: [PR] KNOX-3039 Add error message sanitization to GatewayServlet [knox]

2024-06-14 Thread via GitHub
kardolus commented on code in PR #914: URL: https://github.com/apache/knox/pull/914#discussion_r1639761224 ## gateway-server/src/main/java/org/apache/knox/gateway/GatewayServlet.java: ## @@ -282,33 +281,15 @@ public Enumeration getInitParameterNames() { } } - private

Re: [PR] KNOX-3039 Add error message sanitization to GatewayServlet [knox]

2024-06-13 Thread via GitHub
pzampino commented on code in PR #914: URL: https://github.com/apache/knox/pull/914#discussion_r1639056815 ## gateway-server/src/main/java/org/apache/knox/gateway/GatewayServlet.java: ## @@ -282,33 +281,15 @@ public Enumeration getInitParameterNames() { } } - private

Re: [PR] KNOX-3039 Add error message sanitization to GatewayServlet [knox]

2024-06-13 Thread via GitHub
smolnar82 commented on code in PR #914: URL: https://github.com/apache/knox/pull/914#discussion_r1638622431 ## gateway-server/src/main/java/org/apache/knox/gateway/SanitizedException.java: ## @@ -0,0 +1,9 @@ +package org.apache.knox.gateway; Review Comment: You need to add t

Re: [PR] KNOX-3040 - Some followup minor fixes [knox]

2024-06-13 Thread via GitHub
moresandeep merged PR #916: URL: https://github.com/apache/knox/pull/916 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org

[PR] KNOX-3040 - Some followup minor fixes [knox]

2024-06-11 Thread via GitHub
moresandeep opened a new pull request, #916: URL: https://github.com/apache/knox/pull/916 ## What changes were proposed in this pull request? Minor changes to messages and added a unit test -- This is an automated message from the Apache Git Service. To respond to the messag

Re: [PR] KNOX-3039 Add error message sanitization to GatewayServlet [knox]

2024-06-08 Thread via GitHub
kardolus commented on PR #914: URL: https://github.com/apache/knox/pull/914#issuecomment-2156049693 @pzampino @moresandeep I implemented the `SanitizedException`. It makes the code a lot cleaner. I am not happy with the fact though that an `IOException` can be converted to a `ServletExcepti

Re: [PR] KNOX-3039 Add error message sanitization to GatewayServlet [knox]

2024-06-08 Thread via GitHub
kardolus commented on code in PR #914: URL: https://github.com/apache/knox/pull/914#discussion_r1632041927 ## gateway-server/src/main/java/org/apache/knox/gateway/GatewayServlet.java: ## @@ -277,4 +278,34 @@ public Enumeration getInitParameterNames() { return config.getIn

Re: [PR] KNOX-3039 Add error message sanitization to GatewayServlet [knox]

2024-06-08 Thread via GitHub
kardolus commented on code in PR #914: URL: https://github.com/apache/knox/pull/914#discussion_r1632041927 ## gateway-server/src/main/java/org/apache/knox/gateway/GatewayServlet.java: ## @@ -277,4 +278,34 @@ public Enumeration getInitParameterNames() { return config.getIn

Re: [PR] KNOX-3040 - Support multiple ways to verify JWT tokens [knox]

2024-06-07 Thread via GitHub
moresandeep merged PR #915: URL: https://github.com/apache/knox/pull/915 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org

Re: [PR] KNOX-3039 Add error message sanitization to GatewayServlet [knox]

2024-06-06 Thread via GitHub
kardolus commented on PR #914: URL: https://github.com/apache/knox/pull/914#issuecomment-2152733663 @moresandeep I think that is a great idea! I will start a discussion on the Apache mailing list to explore implementing custom 4xx and 5xx error pages. -- This is an automated message from

Re: [PR] KNOX-3039 Add error message sanitization to GatewayServlet [knox]

2024-06-06 Thread via GitHub
moresandeep commented on PR #914: URL: https://github.com/apache/knox/pull/914#issuecomment-2152660341 It would be nice to have a 4xx and 5xx page for errors. So instead of showing the ugly page with an exception we can show a custom page with a UUID corresponding the the error. This UUID w

Re: [PR] KNOX-3039 Add error message sanitization to GatewayServlet [knox]

2024-06-06 Thread via GitHub
kardolus commented on PR #914: URL: https://github.com/apache/knox/pull/914#issuecomment-2152623061 @moresandeep @pzampino Now that we made the pattern configurable, I am wondering if it should be an array. I mean, now that you can create patterns for [IP addresses](https://github.com/kard

[PR] KNOX-3040 - Support multiple ways to verify JWT tokens [knox]

2024-06-06 Thread via GitHub
moresandeep opened a new pull request, #915: URL: https://github.com/apache/knox/pull/915 ## What changes were proposed in this pull request? This PR adds the ability to validate a JWT token using multiple ways at the same time. Previously, we could only authenticate JWT token using **eit

Re: [PR] KNOX-3039 Add error message sanitization to GatewayServlet [knox]

2024-06-06 Thread via GitHub
kardolus commented on code in PR #914: URL: https://github.com/apache/knox/pull/914#discussion_r1629596054 ## gateway-server/src/main/java/org/apache/knox/gateway/GatewayServlet.java: ## @@ -277,4 +278,34 @@ public Enumeration getInitParameterNames() { return config.getIn

Re: [PR] KNOX-3039 Add error message sanitization to GatewayServlet [knox]

2024-06-05 Thread via GitHub
kardolus commented on code in PR #914: URL: https://github.com/apache/knox/pull/914#discussion_r1627810537 ## gateway-server/src/main/java/org/apache/knox/gateway/GatewayServlet.java: ## @@ -277,4 +278,34 @@ public Enumeration getInitParameterNames() { return config.getIn

Re: [PR] KNOX-3039 Add error message sanitization to GatewayServlet [knox]

2024-06-04 Thread via GitHub
kardolus commented on code in PR #914: URL: https://github.com/apache/knox/pull/914#discussion_r1626532127 ## gateway-server/src/main/java/org/apache/knox/gateway/GatewayServlet.java: ## @@ -277,4 +278,34 @@ public Enumeration getInitParameterNames() { return config.getIn

Re: [PR] KNOX-3039 Add error message sanitization to GatewayServlet [knox]

2024-06-04 Thread via GitHub
pzampino commented on code in PR #914: URL: https://github.com/apache/knox/pull/914#discussion_r1626493087 ## gateway-server/src/main/java/org/apache/knox/gateway/GatewayServlet.java: ## @@ -277,4 +278,34 @@ public Enumeration getInitParameterNames() { return config.getIn

  1   2   3   4   5   6   7   8   >