[JBoss JIRA] (DROOLS-4255) Add KIE server support for deploying custom Prometheus metrics
by Michael Biarnes Kiefer (Jira)
[ https://issues.jboss.org/browse/DROOLS-4255?page=com.atlassian.jira.plugi... ]
Michael Biarnes Kiefer updated DROOLS-4255:
-------------------------------------------
Fix Version/s: 7.25.0.Final
(was: 7.24.0.Final)
> Add KIE server support for deploying custom Prometheus metrics
> --------------------------------------------------------------
>
> Key: DROOLS-4255
> URL: https://issues.jboss.org/browse/DROOLS-4255
> Project: Drools
> Issue Type: Enhancement
> Components: kie server
> Affects Versions: 7.24.0.Final
> Reporter: Vladimir Blagojevic
> Assignee: Vladimir Blagojevic
> Priority: Major
> Labels: CustomerFocus
> Fix For: 7.25.0.Final
>
>
> The first implementation of Prometheus support in Kie provided default Prometheus metrics. We should enable our users to deploy their custom Prometheus metrics in addition to default Prometheus metrics already published.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years
[JBoss JIRA] (DROOLS-4257) DMN UX - overlay information about an entire simulation execution
by Li Xiankun (Jira)
[ https://issues.jboss.org/browse/DROOLS-4257?page=com.atlassian.jira.plugi... ]
Li Xiankun updated DROOLS-4257:
-------------------------------
Description:
Related to https://issues.jboss.org/browse/DROOLS-3731
This task will cover this use case:
- user creates a DMN model
- user creates a Test Scenario with some scenarios
- user executes the Test Scenario
- user open Coverage Report
- user wants to analyze coverage information of {color:red}the *whole* simulation{color}
- user clicks on "a link" near global coverage information
- user lands on DMN editor with overlay information about number of time each decision has been executed, number of time each decision succeed/fail (maybe with different colors?)
was:
Related to https://issues.jboss.org/browse/DROOLS-3731
This task will cover this use case:
- user creates a DMN model
- user creates a Test Scenario with some scenarios
- user executes the Test Scenario
- user open Coverage Report
- user wants to analyze coverage information of the *whole* simulation
- user clicks on "a link" near global coverage information
- user lands on DMN editor with overlay information about number of time each decision has been executed, number of time each decision succeed/fail (maybe with different colors?)
> DMN UX - overlay information about an entire simulation execution
> -----------------------------------------------------------------
>
> Key: DROOLS-4257
> URL: https://issues.jboss.org/browse/DROOLS-4257
> Project: Drools
> Issue Type: Story
> Components: DMN Editor
> Affects Versions: 7.24.0.Final
> Reporter: Daniele Zonca
> Assignee: Tao Zhu
> Priority: Major
> Labels: ScenarioSimulation, UX, UXTeam, drools-tools
>
> Related to https://issues.jboss.org/browse/DROOLS-3731
> This task will cover this use case:
> - user creates a DMN model
> - user creates a Test Scenario with some scenarios
> - user executes the Test Scenario
> - user open Coverage Report
> - user wants to analyze coverage information of {color:red}the *whole* simulation{color}
> - user clicks on "a link" near global coverage information
> - user lands on DMN editor with overlay information about number of time each decision has been executed, number of time each decision succeed/fail (maybe with different colors?)
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years
[JBoss JIRA] (WFLY-12182) Resolve failure with EAP 7.2 mixed domain tests on JDK 12
by Brian Stansberry (Jira)
[ https://issues.jboss.org/browse/WFLY-12182?page=com.atlassian.jira.plugin... ]
Brian Stansberry resolved WFLY-12182.
-------------------------------------
Fix Version/s: 18.0.0.Beta1
Resolution: Done
The WFCORE fix in 10.0.0.Beta1 did indeed fix it.
> Resolve failure with EAP 7.2 mixed domain tests on JDK 12
> ---------------------------------------------------------
>
> Key: WFLY-12182
> URL: https://issues.jboss.org/browse/WFLY-12182
> Project: WildFly
> Issue Type: Task
> Components: Management, Test Suite
> Reporter: Brian Stansberry
> Assignee: James Perkins
> Priority: Major
> Fix For: 18.0.0.Beta1
>
>
> The EAP 7.2 mixed domain tests have been failing with JDK 12 since May 1. Task is to figure out why.
> The changes that went into master before the first failure are here:
> https://ci.wildfly.org/viewLog.html?buildId=148651&buildTypeId=WF_MasterL...
> Note this includes a WildFly Core upgrade, so that could include all sorts of things.
> The mixed domain runs report 12 failures, but the non-EAP 7.2 ones looks to be just because the 7.2 problems mess up the test env state, breaking later tests. This is something we've always seen.
> The failure occurs when starting the legacy Process Controller:
> {code}
> [0m05:12:02,434 INFO [org.jboss.modules] (main) JBoss Modules version 1.8.6.Final-redhat-00001
> [0m[33m05:12:02,692 WARN [org.jboss.modules.define] (main) Failed to define class org.jboss.logging.MDC in Module "org.jboss.logging" version 3.3.2.Final-redhat-00001 from local module loader @2ddc9a9f (finder: local module finder @298a5e20 (roots: /store/work/tc-work/8edf911abfd02209/testsuite/mixed-domain/target/domains/MixedDomain720TestSuite/slave/added-modules,/store/work/tc-work/8edf911abfd02209/testsuite/mixed-domain/target/domains/MixedDomain720TestSuite/added-modules,/store/work/tc-work/8edf911abfd02209/testsuite/mixed-domain/target/old-versions/jboss-eap-7.2.0/modules,/store/work/tc-work/8edf911abfd02209/testsuite/mixed-domain/target/old-versions/jboss-eap-7.2.0/modules/system/layers/base)): org.jboss.modules.ModuleLoadError: java.se
> at org.jboss.modules.ModuleLoadException.toError(ModuleLoadException.java:74)
> at org.jboss.modules.Module.getPathsUnchecked(Module.java:1608)
> at org.jboss.modules.Module.loadModuleClass(Module.java:726)
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:247)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
> at java.base/java.lang.ClassLoader.defineClass1(Native Method)
> at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016)
> at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:423)
> at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:519)
> at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:339)
> at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:126)
> at org.jboss.modules.Module.loadModuleClass(Module.java:731)
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:247)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
> at org.jboss.as.process-controller@6.0.11.Final-redhat-00001//org.jboss.as.process.Main.start(Main.java:80)
> at org.jboss.as.process-controller@6.0.11.Final-redhat-00001//org.jboss.as.process.Main.main(Main.java:76)
> at org.jboss.modules.Module.run(Module.java:352)
> at org.jboss.modules.Module.run(Module.java:320)
> at org.jboss.modules.Main.main(Main.java:593)
> [0mException in thread "main" org.jboss.modules.ModuleLoadError: java.se
> at org.jboss.modules.ModuleLoadException.toError(ModuleLoadException.java:74)
> at org.jboss.modules.Module.getPathsUnchecked(Module.java:1608)
> at org.jboss.modules.Module.loadModuleClass(Module.java:726)
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:247)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
> at java.base/java.lang.ClassLoader.defineClass1(Native Method)
> at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016)
> at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:423)
> at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:519)
> at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:339)
> at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:126)
> at org.jboss.modules.Module.loadModuleClass(Module.java:731)
> at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:247)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
> at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
> at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
> at org.jboss.as.process-controller@6.0.11.Final-redhat-00001//org.jboss.as.process.Main.start(Main.java:80)
> at org.jboss.as.process-controller@6.0.11.Final-redhat-00001//org.jboss.as.process.Main.main(Main.java:76)
> at org.jboss.modules.Module.run(Module.java:352)
> at org.jboss.modules.Module.run(Module.java:320)
> at org.jboss.modules.Main.main(Main.java:593)
> {code}
> I'm labeling this a Task for now rather than a Bug because I suspect the problem may be in the test infrastructure. In particular I recommend having a look at anything that changed in the WF Core launcher module in the 9.0.0.Beta4 release. The mixed domain tests use DomainLifecycleUtil, which in turn uses launcher's DomainCommandBuilder. Those use java.lang.Process to start a legacy PC using the JDK 11 jvm on the CI server. So the PC process is completely separate from the test client or the master PC/HC/servers. No reason the old code should stop working with JDK 11 so I suspect something has changed with the launcher.
> [~jamezp] [~ropalka] FYI
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years
[JBoss JIRA] (WFCORE-3485) Misleading failure-description for capabilities in domain
by Brian Stansberry (Jira)
[ https://issues.jboss.org/browse/WFCORE-3485?page=com.atlassian.jira.plugi... ]
Brian Stansberry reassigned WFCORE-3485:
----------------------------------------
Assignee: (was: Brian Stansberry)
> Misleading failure-description for capabilities in domain
> ---------------------------------------------------------
>
> Key: WFCORE-3485
> URL: https://issues.jboss.org/browse/WFCORE-3485
> Project: WildFly Core
> Issue Type: Bug
> Components: Management
> Affects Versions: 3.0.10.Final
> Reporter: Ondrej Lukas
> Priority: Minor
>
> In case when configuration in domain.xml tries to reference any capability from host.xml (or vice versa), but should not be able to reference it then it correctly fails, but there is failure-description which is misleading.
> Start domain with default domain.xml and host.xml and run following CLI command and see:
> {code}
> /profile=full/subsystem=elytron/http-authentication-factory=some-factory:add(http-server-mechanism-factory=global,security-domain=ManagementDomain)
> {
> "outcome" => "failed",
> "failure-description" => {"domain-failure-description" => "WFLYCTL0369: Required capabilities are not available:
> org.wildfly.security.security-domain.ManagementDomain in context 'profile=full'; Possible registration points for this capability:
> /host=master/subsystem=elytron/security-domain=*
> /profile=*/subsystem=elytron/security-domain=*"},
> "rolled-back" => true
> }
> {code}
> It should show only correct registration point {{/profile=\*/subsystem=elytron/security-domain=\*}}. It is misleading because ManagementDomain capability exists in {{/host=master/subsystem=elytron/security-domain=*}}.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years
[JBoss JIRA] (WFLY-12285) Use ModelNode.TRUE, ModelNode.FALSE, ModelNode.ZERO and ModelNode.ZERO_LONG
by Brian Stansberry (Jira)
Brian Stansberry created WFLY-12285:
---------------------------------------
Summary: Use ModelNode.TRUE, ModelNode.FALSE, ModelNode.ZERO and ModelNode.ZERO_LONG
Key: WFLY-12285
URL: https://issues.jboss.org/browse/WFLY-12285
Project: WildFly
Issue Type: Enhancement
Components: Management
Reporter: Brian Stansberry
Assignee: Brian Stansberry
ModelNode declares constants ModelNode.TRUE, ModelNode.FALSE, ModelNode.ZERO and ModelNode.ZERO_LONG. Save memory and a bit of runtime cost by using these instead of the hundreds of 'new ModelNode(true)' etc.
This kind of thing does the trick for me:
find ~/dev/wildfly/wildfly -type f -name "*.java" -exec grep -i "new ModelNode(false)" -l {} \; -exec sed -i "" 's/new ModelNode(false)/ModelNode.FALSE/g' {} \;
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years