[JBoss JIRA] (WFCORE-3260) ObjectTypeValidator should not reject unknown fields
by Brian Stansberry (JIRA)
Brian Stansberry created WFCORE-3260:
----------------------------------------
Summary: ObjectTypeValidator should not reject unknown fields
Key: WFCORE-3260
URL: https://issues.jboss.org/browse/WFCORE-3260
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Reporter: Brian Stansberry
Assignee: Brian Stansberry
As previously discussed on WFCORE-2249, ObjectTypeValidator is being more strict than our basic standard by rejecting unknown fields. When I did WFCORE-2249 I decided not to fix that. But now after working on some transformation stuff with complex attributes, I've changed my mind. If we don't relax this, transformers for complex attributes will have to remove even undefined fields from the attribute, which is fussy code.
Transformers will have to do that anyway for hosts running versions prior to when this is fix is implemented but fixing this will help reduce how much that is required.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (WFCORE-3259) ModelTestUtils isn't confirming the transformed boot ops work on the legacy slave
by Ken Wills (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3259?page=com.atlassian.jira.plugi... ]
Ken Wills commented on WFCORE-3259:
-----------------------------------
Is this currently hiding some failures?
> ModelTestUtils isn't confirming the transformed boot ops work on the legacy slave
> ---------------------------------------------------------------------------------
>
> Key: WFCORE-3259
> URL: https://issues.jboss.org/browse/WFCORE-3259
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management, Test Suite
> Reporter: Brian Stansberry
> Assignee: Brian Stansberry
>
> In checkFailedTransformedBootOperations:
> {code}
> if (config.isTransformComposite()) {
> //Transform and execute the composite
> TransformedOperation transformedComposite = mainServices.transformOperation(modelVersion, legacyComposite);
> if (transformedComposite.rejectOperation(successResult())) {
> Assert.fail(transformedComposite.getFailureDescription());
> }
> mainServices.executeOperation(modelVersion, transformedComposite);
> }
> {code}
> The outcome of that "mainServices.executeOperation" is ignored, so if the transformation isn't actually producing good ops, we don't know that.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (WFLY-9311) Creating infinispan security cache w/o default cache doesn't use auth-cache settings
by Paul Ferraro (JIRA)
[ https://issues.jboss.org/browse/WFLY-9311?page=com.atlassian.jira.plugin.... ]
Paul Ferraro edited comment on WFLY-9311 at 9/7/17 10:47 PM:
-------------------------------------------------------------
Additionally, the /subsystem=security/security-domain=test:remove()\{allow-resource-service-restart=true\} operation fails to both stop the "test" cache and remove the associated "test" cache configuration that was created by the add operation.
was (Author: pferraro):
Additionally, the /subsystem=security/security-domain=test:remove(){allow-resource-service-restart=true} operation fails to both stop the "test" cache and remove the associated "test" cache configuration that was created by the add operation.
> Creating infinispan security cache w/o default cache doesn't use auth-cache settings
> ------------------------------------------------------------------------------------
>
> Key: WFLY-9311
> URL: https://issues.jboss.org/browse/WFLY-9311
> Project: WildFly
> Issue Type: Bug
> Components: Clustering, Security
> Affects Versions: 11.0.0.CR1
> Reporter: Bartosz Spyrko-Śmietanko
> Assignee: Bartosz Spyrko-Śmietanko
>
> If a default cache is not defined on security cache container, cache configuration named 'auth-cache' should be used (based on [1]). However the created cache has default values instead of ones specified on the auth-cache.
> [1] https://issues.jboss.org/browse/WFLY-9206
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months
[JBoss JIRA] (WFCORE-3259) ModelTestUtils isn't confirming the transformed boot ops work on the legacy slave
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3259?page=com.atlassian.jira.plugi... ]
Brian Stansberry updated WFCORE-3259:
-------------------------------------
Description:
In checkFailedTransformedBootOperations:
{code}
if (config.isTransformComposite()) {
//Transform and execute the composite
TransformedOperation transformedComposite = mainServices.transformOperation(modelVersion, legacyComposite);
if (transformedComposite.rejectOperation(successResult())) {
Assert.fail(transformedComposite.getFailureDescription());
}
mainServices.executeOperation(modelVersion, transformedComposite);
}
{code}
The outcome of that "mainServices.executeOperation" is ignored, so if the transformation isn't actually producing good ops, we don't know that.
was:
In checkFailedTransformedBootOperations:
{code}
if (config.isTransformComposite()) {
//Transform and execute the composite
TransformedOperation transformedComposite = mainServices.transformOperation(modelVersion, legacyComposite);
if (transformedComposite.rejectOperation(successResult())) {
Assert.fail(transformedComposite.getFailureDescription());
}
mainServices.executeOperation(modelVersion, transformedComposite);
}
{code}
The result of that "mainServices.executeOperation" is ignored, so if the transformation isn't actually producing good ops, we don't know that.
> ModelTestUtils isn't confirming the transformed boot ops work on the legacy slave
> ---------------------------------------------------------------------------------
>
> Key: WFCORE-3259
> URL: https://issues.jboss.org/browse/WFCORE-3259
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management, Test Suite
> Reporter: Brian Stansberry
> Assignee: Brian Stansberry
>
> In checkFailedTransformedBootOperations:
> {code}
> if (config.isTransformComposite()) {
> //Transform and execute the composite
> TransformedOperation transformedComposite = mainServices.transformOperation(modelVersion, legacyComposite);
> if (transformedComposite.rejectOperation(successResult())) {
> Assert.fail(transformedComposite.getFailureDescription());
> }
> mainServices.executeOperation(modelVersion, transformedComposite);
> }
> {code}
> The outcome of that "mainServices.executeOperation" is ignored, so if the transformation isn't actually producing good ops, we don't know that.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 10 months