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

Add envoy config route validations for emoticons and substrings #3561

Merged
merged 2 commits into from
Aug 5, 2024

Conversation

Drifftr
Copy link

@Drifftr Drifftr commented Aug 1, 2024

Purpose

Add further validations for emoticons and substrings

Issues

https://github.com/wso2-enterprise/choreo/issues/28819

Automation tests

  • Unit tests added: Yes/No
  • Integration tests added: Yes/No

Tested environments

Not Tested


Maintainers: Check before merge

  • Assigned 'Type' label
  • Assigned the project
  • Validated respective github issues
  • Assigned milestone to the github issue(s)

@Drifftr Drifftr modified the milestone: 1.3.0-m1 Aug 1, 2024
@Drifftr Drifftr force-pushed the choreo-validation branch from 7132166 to 958ad1b Compare August 2, 2024 03:09
}

// Validate envoy route method whether its of known type
func validateEnvoyRouteMethodString(method string) error {
Copy link
Contributor

Choose a reason for hiding this comment

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

From enforcer what we support is anyway "GET", "POST", "PUT", "DELETE", "PATCH", "HEAD", "OPTIONS".
Shall we remove the rest

Copy link
Author

Choose a reason for hiding this comment

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

Thanks, Fixed.

@Drifftr Drifftr requested a review from VirajSalaka August 4, 2024 16:01
@Drifftr Drifftr merged commit f2b2296 into wso2:choreo Aug 5, 2024
3 checks passed
@choreo-cicd
Copy link

[succeeded] Dataplane(EastUS) cluster : dev-deployment-v2 : 20240813.19

@choreo-cicd
Copy link

[succeeded] Dataplane(NorthEU) cluster : dev-deployment-v2 : 20240813.19

@choreo-cicd
Copy link

[succeeded] : dev-deployment-v2 : 20240813.19

@choreo-cicd
Copy link

[succeeded] Controlplane cluster : stage-deployment-v2 : 20240815.3

@choreo-cicd
Copy link

[failed] Dataplane(NorthEU) cluster : stage-deployment-v2 : 20240815.3

@choreo-cicd
Copy link

[succeeded] Dataplane(CDP2-WU2) cluster : stage-deployment-v2 : 20240815.3

@choreo-cicd
Copy link

[succeeded] Dataplane(EastUS) cluster : stage-deployment-v2 : 20240815.3

@choreo-cicd
Copy link

[failed] Dataplane(NorthEU) cluster : stage-deployment-v2 : 20240815.4

@choreo-cicd
Copy link

[succeeded] Controlplane cluster : stage-deployment-v2 : 20240815.3

@choreo-cicd
Copy link

[failed] Dataplane(NorthEU) cluster : stage-deployment-v2 : 20240815.3

@choreo-cicd
Copy link

[succeeded] Dataplane(CDP2-WU2) cluster : stage-deployment-v2 : 20240815.3

@choreo-cicd
Copy link

[failed] Dataplane(NorthEU) cluster : stage-deployment-v2 : 20240815.3

@choreo-cicd
Copy link

[succeeded] Dataplane(CDP2-WU2) cluster : stage-deployment-v2 : 20240815.3

@choreo-cicd
Copy link

[succeeded] Dataplane(EastUS) cluster : stage-deployment-v2 : 20240815.3

@choreo-cicd
Copy link

[succeeded] Controlplane cluster : stage-deployment-v2 : 20240815.3

@choreo-cicd
Copy link

[] Controlplane cluster : stage-deployment-v2 : 20240815.5

@choreo-cicd
Copy link

[] Dataplane(NorthEU) cluster : stage-deployment-v2 : 20240815.5

@choreo-cicd
Copy link

[] Dataplane(CDP2-WU2) cluster : stage-deployment-v2 : 20240815.5

@choreo-cicd
Copy link

[] Dataplane(EastUS) cluster : stage-deployment-v2 : 20240815.5

@choreo-cicd
Copy link

[succeeded] Controlplane cluster : stage-deployment-v2 : 20240816.4

@choreo-cicd
Copy link

[succeeded] Dataplane(NorthEU) cluster : stage-deployment-v2 : 20240816.4

@choreo-cicd
Copy link

[succeeded] Dataplane(CDP2-WU2) cluster : stage-deployment-v2 : 20240816.4

@choreo-cicd
Copy link

[succeeded] Dataplane(NorthEU) cluster : prod-deployment-v2 : 20240820.3

@choreo-cicd
Copy link

[succeeded] Dataplane(CDP2-WU2) cluster : prod-deployment-v2 : 20240820.3

@choreo-cicd
Copy link

[succeeded] Dataplane(EastUS) cluster : prod-deployment-v2 : 20240820.3

@choreo-cicd
Copy link

[succeeded] Controlplane cluster : prod-deployment-v2 : 20240820.3

@choreo-cicd
Copy link

[] Dataplane(EastUS) cluster : prod-deployment-v2 : 20240820.4

@choreo-cicd
Copy link

[] Controlplane cluster : prod-deployment-v2 : 20240820.4

@choreo-cicd
Copy link

[] Dataplane(NorthEU) cluster : prod-deployment-v2 : 20240820.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants