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

Implement dry run mode #10

Open
wants to merge 34 commits into
base: master
Choose a base branch
from

Conversation

Domisys
Copy link
Contributor

@Domisys Domisys commented Jan 27, 2015

Dry run mode compare existing configuration and new one and output computation result with different verbosity modes.

Aymeric PLANCHE added 30 commits January 20, 2015 11:54
{
$currentParameters = $this->query('GET', $apiUri);

if ($currentParameters instanceof Response) {
Copy link
Owner

Choose a reason for hiding this comment

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

Prefer the opposite to avoid useless imbrication:

if (!$currentParameters instanceof Response) {
    return;
}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

of course, will be modified

@odolbeau
Copy link
Owner

I just tried this option on my laptop. :)
Works well, except for bindings. Seems that they are always considered as updated, event when they already exist:

Binding : sms:sms................................. [UPDATE]

Does Rabbit return the correct response code?

@Domisys
Copy link
Contributor Author

Domisys commented Feb 3, 2015

I don't have the same issue.
It happens for every bindings you have or a specific one ?
Could you send me an anonymised version of your yaml file ?

@Domisys Domisys closed this Feb 3, 2015
@Domisys Domisys reopened this Feb 3, 2015
@odolbeau
Copy link
Owner

odolbeau commented Feb 5, 2015

Forget it.
Just tried again and it works perfectly. :D

@odolbeau
Copy link
Owner

odolbeau commented Jun 1, 2015

Can you rebase your PR please? :)

@jeremyFreeAgent
Copy link

Any news about that PR? ping @Domisys

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.

3 participants