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

#160: fixing reload to a doman.xml snapshot #162

Merged
merged 1 commit into from
May 25, 2017

Conversation

zebrik
Copy link
Contributor

@zebrik zebrik commented May 24, 2017

See #160

Copy link
Contributor

@Ladicek Ladicek left a comment

Choose a reason for hiding this comment

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

Otherwise LGTM.

@@ -70,4 +70,18 @@ public ModelNodeResult perform(Operations ops, Address address) throws IOExcepti
return ops.invoke(Constants.RELOAD, address, Values.of(Constants.SERVER_CONFIG, snapshot));
}
}

private static final class ReloadToDomainSnapshotRestartOperation implements RestartOperation {
private static final String DOMAIN_CONFIG = "domain-config";
Copy link
Contributor

Choose a reason for hiding this comment

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

Move to the shared Constants class.

@zebrik zebrik force-pushed the domain-snapshot branch from be45f7a to a80d857 Compare May 24, 2017 14:09
@zebrik
Copy link
Contributor Author

zebrik commented May 24, 2017

I have just amended and force pushed requested change.

@Ladicek Ladicek merged commit 97e7666 into wildfly-extras:master May 25, 2017
@Ladicek Ladicek added this to the 1.6.1 milestone May 25, 2017
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.

2 participants