[JBoss JIRA] (WFLY-9842) Enhance CommandDispatcher's async methods to return CompletableFutures
by Paul Ferraro (JIRA)
[ https://issues.jboss.org/browse/WFLY-9842?page=com.atlassian.jira.plugin.... ]
Paul Ferraro updated WFLY-9842:
-------------------------------
Description:
This allows consumers of CommandDispatcher to implement non-blocking handling of dispatched commands.
The submitOnNode(...) method can just be modified to return the more specific return value. However, the submitOnCluster(...) will need a different method name (or signature).
was:This allows consumers of CommandDispatcher to implement non-blocking handling of dispatched commands.
> Enhance CommandDispatcher's async methods to return CompletableFutures
> ----------------------------------------------------------------------
>
> Key: WFLY-9842
> URL: https://issues.jboss.org/browse/WFLY-9842
> Project: WildFly
> Issue Type: Enhancement
> Components: Clustering
> Affects Versions: No Release
> Reporter: Paul Ferraro
> Assignee: Paul Ferraro
>
> This allows consumers of CommandDispatcher to implement non-blocking handling of dispatched commands.
> The submitOnNode(...) method can just be modified to return the more specific return value. However, the submitOnCluster(...) will need a different method name (or signature).
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (WFCORE-3615) a correction of cli does not work in non-interactive mode
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3615?page=com.atlassian.jira.plugi... ]
Brian Stansberry moved WFLY-9830 to WFCORE-3615:
------------------------------------------------
Project: WildFly Core (was: WildFly)
Key: WFCORE-3615 (was: WFLY-9830)
Component/s: CLI
(was: CLI)
Affects Version/s: 3.0.10.Final
(was: 11.0.0.Final)
> a correction of cli does not work in non-interactive mode
> ---------------------------------------------------------
>
> Key: WFCORE-3615
> URL: https://issues.jboss.org/browse/WFCORE-3615
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI
> Affects Versions: 3.0.10.Final
> Environment: - WF 11.0.0.Final
> Reporter: Hisanobu Okuda
> Assignee: Jean-Francois Denise
>
> In interactive mode, the following command works:
> {code}
> $ $JBOSS_HOME/bin/jboss-cli.sh -c
> [standalone@localhost:9999 /] /core-service=vault:add(vault-options=[("KEYSTORE_URL" => "$JBOSS_HOME/vault/vault.jceks"), ("KEYSTORE_PASSWORD" => "MASK-0FAv5VyF2xzpgo.HNquAFr"), ("KEYSTORE_ALIAS" => "vault"), ("SALT" => "12345678"),("ITERATION_COUNT" => "33"), ("ENC_FILE_DIR" => "$JBOSS_HOME/vault/")])
> {"outcome" => "success"}
> [standalone@localhost:9999 /]
> {code}
> But, in one-liner non-interactive mode, it does not work:
> {code}
> $ $JBOSS_HOME/bin/jboss-cli.sh -c "/core-service=vault:add(vault-options=[("KEYSTORE_URL" => "$JBOSS_HOME/vault/vault.jceks"), ("KEYSTORE_PASSWORD" => "MASK-0FAv5VyF2xzpgo.HNquAFr"), ("KEYSTORE_ALIAS" => "vault"), ("SALT" => "12345678"),("ITERATION_COUNT" => "33"), ("ENC_FILE_DIR" => "$JBOSS_HOME/vault/")])"
> {
> "outcome" => "failed",
> "failure-description" => "WFLYCTL0158: Operation handler failed: org.jboss.as.server.services.security.VaultReaderException: WFLYSRV0076: Error initializing vault -- org.jboss.security.vault.SecurityVaultException: PBOX00121: Option KEYSTORE_URL is null or empty",
> "rolled-back" => true
> }
> {code}
> Removing '(' and ')', it works:
> {code}
> $ $JBOSS_HOME/bin/jboss-cli.sh -c "/core-service=vault:add(vault-options=["KEYSTORE_URL" => "$JBOSS_HOME/vault/vault.jceks", "KEYSTORE_PASSWORD" => "MASK-0FAv5VyF2xzpgo.HNquAFr", "KEYSTORE_ALIAS" => "vault", "SALT" => "12345678","ITERATION_COUNT" => "33", "ENC_FILE_DIR" => "$JBOSS_HOME/vault/"])"
> {"outcome" => "success"}
> $
> {code}
> Looks like a correction works in interactive mode. It should work as well in non-interactive mode.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (WFCORE-3614) Improve error reporting on failure
by Stuart Douglas (JIRA)
Stuart Douglas created WFCORE-3614:
--------------------------------------
Summary: Improve error reporting on failure
Key: WFCORE-3614
URL: https://issues.jboss.org/browse/WFCORE-3614
Project: WildFly Core
Issue Type: Enhancement
Reporter: Stuart Douglas
Assignee: Stuart Douglas
Currently error reporting includes all services that did not start, no matter how far removed from the actual problem these services are. For large deployments this can result in hundreds (or thousands) of lines of error reporting, most of which is irrelevant and says nothing about the actual problem.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months
[JBoss JIRA] (WFLY-9802) Minimize WildFly-specific stuff in welcome-content
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFLY-9802?page=com.atlassian.jira.plugin.... ]
Brian Stansberry updated WFLY-9802:
-----------------------------------
Fix Version/s: (was: 12.0.0.CR1)
> Minimize WildFly-specific stuff in welcome-content
> --------------------------------------------------
>
> Key: WFLY-9802
> URL: https://issues.jboss.org/browse/WFLY-9802
> Project: WildFly
> Issue Type: Task
> Components: Web (Undertow)
> Reporter: Brian Stansberry
> Assignee: Brian Stansberry
>
> There are a number of welcome-content things that result in the need for overly complicated changes to convert the welcome-content for other branches (e.g. EAP).
> 1) Get rid of copyright headers.
> 2) Use HTML 5 DOCTYPE tag instead of 4.
> 3) -Rename files like wildfly.css to something generic so the same file name can be used elsewhere, just with different content.- (This is probably a bad idea as looking at the css the files are so different that they aren't really different variations of the same thing. Using the same file name will just lead to spurious merge conflicts.)
> 4) Add this:
> {code}
> <!-- proper charset -->
> <meta http-equiv="content-type" content="text/html;charset=utf-8" />
> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
> {code}
> 5) Clean up various whitespace etc stuff.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 2 months