[JBoss JIRA] (WFLY-11627) ExampleDS is requirement for applications that don't mandate it.
by Bartosz Baranowski (Jira)
[ https://issues.jboss.org/browse/WFLY-11627?page=com.atlassian.jira.plugin... ]
Bartosz Baranowski commented on WFLY-11627:
-------------------------------------------
jboss-logging quickstart is simple JSP:
{noformat}
<body>
<%
LoggingExample.logDebug();
LoggingExample.logError();
LoggingExample.logFatal();
LoggingExample.logInfo();
LoggingExample.logTrace();
LoggingExample.logWarn();
%>
Log Messages have been written. Please check your console as well as <i>EAP_HOME</i>/standalone/log for messages.
</body>
{noformat}
{code:title=LoggingExample.java|borderStyle=solid}
public class LoggingExample {
// a JBoss Logging 3 style level (FATAL, ERROR, WARN, INFO, DEBUG, TRACE), or a special level (OFF, ALL).
private static Logger log = Logger.getLogger(LoggingExample.class.getName());
static {
logFatal();
logError();
logWarn();
logInfo();
logDebug();
logTrace();
}
public static void logFatal() {
if (log.isEnabled(Logger.Level.FATAL)) {
log.fatal("THIS IS A FATAL MESSAGE");
}
}
public static void logError() {
if (log.isEnabled(Logger.Level.ERROR)) {
log.error("THIS IS AN ERROR MESSAGE");
}
}
public static void logWarn() {
if (log.isEnabled(Logger.Level.WARN)) {
log.warn("THIS IS A WARNING MESSAGE");
}
}
public static void logInfo() {
if (log.isEnabled(Logger.Level.INFO)) {
log.info("THIS IS AN INFO MESSAGE");
}
}
public static void logDebug() {
if (log.isEnabled(Logger.Level.DEBUG)) {
log.debug("THIS IS A DEBUG MESSAGE");
}
}
public static void logTrace() {
if (log.isEnabled(Logger.Level.TRACE)) {
log.trace("THIS IS A TRACE MESSAGE");
}
}
}
{code}
> ExampleDS is requirement for applications that don't mandate it.
> ----------------------------------------------------------------
>
> Key: WFLY-11627
> URL: https://issues.jboss.org/browse/WFLY-11627
> Project: WildFly
> Issue Type: Bug
> Reporter: Bartosz Baranowski
> Assignee: Brian Stansberry
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 5 months
[JBoss JIRA] (DROOLS-3492) Create UX proposal to show/edit Test Scenario (Preview) global setting
by Daniele Zonca (Jira)
[ https://issues.jboss.org/browse/DROOLS-3492?page=com.atlassian.jira.plugi... ]
Daniele Zonca commented on DROOLS-3492:
---------------------------------------
[~zhutaojiajia]
I like the proposal, just some comments:
- I think we can remove "Test Tools" that now is just a static title and keep directly "Test Editor", "Scenario Cheatsheet" etc
- I would prefer something in the middle between Design 1 and Design 2: read only by default but edit inline when you click on edit without a popup
- "Skip from the build" should be a like all the other settings and not in a specific section (as checkbox probably)
[~kkufova]
I agree with you proposal but I prefer to move Test Report just above Test Coverage icon instead of the opposite.
> Create UX proposal to show/edit Test Scenario (Preview) global setting
> ----------------------------------------------------------------------
>
> Key: DROOLS-3492
> URL: https://issues.jboss.org/browse/DROOLS-3492
> Project: Drools
> Issue Type: Task
> Components: Scenario Simulation and Testing
> Reporter: Daniele Zonca
> Assignee: tao zhu
> Priority: Major
> Labels: ScenarioSimulation, UXD, UXTeam
> Attachments: 11unnamed.png, TestScenario_Cheatsheet.png, TestScenario_TestEditor.png, TestScenario_TestReport.png, TestScenario_whole.png, test-report-icon.png, 屏幕快照 2019-01-22 下午4.44.04.png
>
>
> As user I want to be able to see/edit editor global settings.
> For instance DMN file linked to the scenario or the Session name of a Rule scenario
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 5 months
[JBoss JIRA] (DROOLS-3492) Create UX proposal to show/edit Test Scenario (Preview) global setting
by Klara Kufova (Jira)
[ https://issues.jboss.org/browse/DROOLS-3492?page=com.atlassian.jira.plugi... ]
Klara Kufova commented on DROOLS-3492:
--------------------------------------
[~zhutaojiajia], this looks great, thanks! Maybe we can even move the Coverage report below the Test report, as these items are closely connected. What do you think?
> Create UX proposal to show/edit Test Scenario (Preview) global setting
> ----------------------------------------------------------------------
>
> Key: DROOLS-3492
> URL: https://issues.jboss.org/browse/DROOLS-3492
> Project: Drools
> Issue Type: Task
> Components: Scenario Simulation and Testing
> Reporter: Daniele Zonca
> Assignee: tao zhu
> Priority: Major
> Labels: ScenarioSimulation, UXD, UXTeam
> Attachments: 11unnamed.png, TestScenario_Cheatsheet.png, TestScenario_TestEditor.png, TestScenario_TestReport.png, TestScenario_whole.png, test-report-icon.png, 屏幕快照 2019-01-22 下午4.44.04.png
>
>
> As user I want to be able to see/edit editor global settings.
> For instance DMN file linked to the scenario or the Session name of a Rule scenario
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 5 months