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

Breaking change in waitFor().http() public API #547

Closed
svettwer opened this issue Nov 28, 2018 · 0 comments
Closed

Breaking change in waitFor().http() public API #547

svettwer opened this issue Nov 28, 2018 · 0 comments

Comments

@svettwer
Copy link
Contributor

Citrus Version
>= 2.7.7

Description
If you upgrade your Citrus version to 2.7.7 or higher, we've a breaking change in the http wait builder API. We'll correct this with one of the future releases to ensure effortless version upgrades

API before change

 waitFor().http("http://my.service.com")
                .status(HttpStatus.OK)
                .method(HttpMethod.GET)
                .ms(20000L)
                .interval(1000L);

API after change

 waitFor().http()
                .status(HttpStatus.OK)
                .method(HttpMethod.GET)
                .ms(20000L)
                .interval(1000L)
                .url("http://my.service.com");

Additional information

BR,
Sven

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

No branches or pull requests

2 participants