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

WFCORE-6921 Remove usage of deprecated AbstractWriteAttributeHandler constructors in domain-management #6100

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

pferraro
Copy link
Contributor

@github-actions github-actions bot added the deps-ok Dependencies have been checked, and there are no significant changes label Jul 19, 2024
@wildfly-ci

This comment was marked as off-topic.

@wildfly-ci

This comment was marked as off-topic.

@wildfly-ci

This comment was marked as off-topic.

@wildfly-ci

This comment was marked as outdated.

@wildfly-ci

This comment was marked as off-topic.

@wildfly-ci

This comment was marked as off-topic.

@wildfly-ci

This comment was marked as off-topic.

@wildfly-ci

This comment was marked as off-topic.

@@ -412,7 +412,7 @@ protected void revertUpdateToRuntime(OperationContext context, ModelNode operati
addr = addr.subAddress(0, addr.size() - 1);
auditLogger.updateSyslogHandlerReconnectTimeout(Util.getNameFromAddress(addr), valueToRestore.asInt());
} else if (attributeName.equals(KEYSTORE_PASSWORD_CREDENTIAL_REFERENCE_NAME) || attributeName.equals(KEY_PASSWORD_CREDENTIAL_REFERENCE_NAME)) {
rollbackCredentialStoreUpdate(getAttributeDefinition(attributeName), context, valueToRevert);
rollbackCredentialStoreUpdate(context.getResourceRegistration().getAttributeAccess(PathAddress.EMPTY_ADDRESS, attributeName).getAttributeDefinition(), context, valueToRevert);
Copy link
Collaborator

Choose a reason for hiding this comment

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

+1 The usage of this method is tricky one since it is still deprecated but not removed with this PR because it needs chances in WildFly too, however, we have to prevent that nobody uses it if we are removing the constructor with the attributes, that's my understanding.

@yersan yersan added the ready-for-merge This PR is ready to be merged and fulfills all requirements label Jul 23, 2024
@yersan yersan merged commit 0928de8 into wildfly:main Jul 23, 2024
12 checks passed
@pferraro pferraro deleted the WFCORE-6921 branch July 24, 2024 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deps-ok Dependencies have been checked, and there are no significant changes ready-for-merge This PR is ready to be merged and fulfills all requirements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants