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

Updating Dev testing env #116

Merged
merged 4 commits into from
Oct 25, 2024
Merged

Updating Dev testing env #116

merged 4 commits into from
Oct 25, 2024

Conversation

didierofrivia
Copy link
Contributor

@didierofrivia didierofrivia commented Oct 23, 2024

This PR updates our development environment for testing and the e2e test for the remote address using CEL expressions and predicates.

@@ -337,7 +337,7 @@ data:
"data": [
{
"selector": {
"selector": "filter_state.wasm\\.kuadrant\\.identity\\.userid",
"selector": "auth.identity.userid",
Copy link
Member

Choose a reason for hiding this comment

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

This is probably not something one would ever want to do.
All selector usages should be avoided. This should be an expression here.

@@ -212,7 +204,7 @@ data:
"scope": "rlp-ns-B/rlp-name-B",
"data": [
{
"static": {
"expression": {
"key": "rlp-ns-B/rlp-name-B/limit-not-to-be-activated",
"value": "1"
Copy link
Member

Choose a reason for hiding this comment

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

While this would work, this also changed the type tho! It's now int(1) ... but will be erased and will be 1, just as if you had it as "\"1\"" in there, which would be closer semantically to what this was before...

tl;dr not wrong, but... ;)

@didierofrivia didierofrivia marked this pull request as ready for review October 24, 2024 15:57
Base automatically changed from known_attr to main October 25, 2024 10:35
@didierofrivia didierofrivia merged commit 9b6766f into main Oct 25, 2024
9 checks passed
@didierofrivia didierofrivia deleted the dev-testing-env branch October 25, 2024 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants