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

[WFLY-1877]: Make KeepAliveTimeAttributeDefinition deal with both a simple long and a complex attribute. #64

Closed
wants to merge 1 commit into from

Conversation

ehsavoie
Copy link
Contributor

Transforming KeepAliveTimeAttributeDefinition in Model from a complex Object to a Long.
All keep-alive now are expressed as long in milliseconds.
This will affects all subsystems using the "threads" subsystem.
Core Jira: https://issues.jboss.org/browse/WFCORE-39
WildFly Jira: https://issues.jboss.org/browse/WFLY-1877

@wildfly-ci
Copy link

Build 107 is now running using a merge of 2ff2b11

@wildfly-ci
Copy link

Build 107 outcome was SUCCESS using a merge of 2ff2b11
Summary: Tests passed: 2541, ignored: 58 Build time: 0:14:34

;

/**
* The current namespace version.
*/
public static final Namespace CURRENT = THREADS_1_1;
public static final Namespace CURRENT = THREADS_1_2;
Copy link
Contributor

Choose a reason for hiding this comment

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

2_0

@wildfly-ci
Copy link

Build 110 is now running using a merge of 6436f24

@wildfly-ci
Copy link

Build 110 outcome was SUCCESS using a merge of 6436f24
Summary: Tests passed: 2541, ignored: 58 Build time: 0:14:44

@wildfly-ci
Copy link

Build 111 is now running using a merge of 07c5b45

@wildfly-ci
Copy link

Build 111 outcome was SUCCESS using a merge of 07c5b45
Summary: Tests passed: 2541, ignored: 58 Build time: 0:14:47

@@ -125,4 +142,56 @@ public void parseAndSetParameter(final ModelNode operation, final XMLExtendedStr

operation.get(getName()).set(model);
}

private static class UnitConvertor implements ParameterValidator {
Copy link
Contributor

Choose a reason for hiding this comment

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

The org.jboss.as.controller.ParameterCorrector interface is more appropriate for this kind of thing. It can be added to an AttributeDefinition via the setCorrector method on the builder.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So I'll have to update also he PR for WFLY-1878 which is kind of similar.

…imple long and a complex attribute.

Transforming KeepAliveTimeAttributeDefinition in Model from a complex Object to a Long.
All keep-alive now are expressed as long in milliseconds.
This will affects all subsystems using the "threads" subsystem.
@wildfly-ci
Copy link

Build 115 is now running using a merge of cd9cd4c

@wildfly-ci
Copy link

Build 115 outcome was SUCCESS using a merge of cd9cd4c
Summary: Tests passed: 2541, ignored: 58 Build time: 0:14:35

@ehsavoie
Copy link
Contributor Author

Replaced by #189

dehort pushed a commit to dehort/wildfly-core that referenced this pull request Dec 11, 2015
@ehsavoie ehsavoie deleted the WFLY-1877 branch September 1, 2016 09:20
dmlloyd added a commit to dmlloyd/wildfly-core that referenced this pull request Mar 10, 2017
Use OptionalNameCallback to know when login name is not mandatory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants