Skip to content

Conversation

@leakonvalinka
Copy link
Member

This PR

  • adds this new feature

Related Issues

Fixes #1234523

Notes

Follow-up Tasks

How to test

.statusCode(200);
}

@Then("the client is in {} state")
Copy link
Member

Choose a reason for hiding this comment

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

we should do the renaming of this step as described here open-feature/flagd-testbed#306 before merging

case "CacheType":
return CacheType.valueOf(value.toUpperCase()).getValue();
case "StringList":
return List.of(value);
Copy link
Member

Choose a reason for hiding this comment

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

Not sure about the structure of the step, but i would assume, that there can be multiple values within the string, and that we maybe should split and trim it, before creating a list.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, i also think so, but I wasn't sure of what the separator to use here. Have we agreed on one?

* Defaults to empty list
*/
@Builder.Default
private List<String> nonRetryableStatusCodes = new ArrayList<>();
Copy link
Member

Choose a reason for hiding this comment

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

As within the documentation the option has a dedicated name, we should keep to the specification, so this property has the same name in all the providers.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yup, makes sense.

@leakonvalinka leakonvalinka force-pushed the fix/flagd-infinite-connection-retries branch from 6f89ff0 to 057751b Compare November 12, 2025 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants