Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix for WFCORE-3484, variable resolution in blocks, better error message

  1. … 8 more files in changeset.
Fix for WFCORE-3289, variable substituion completion issue

  1. … 11 more files in changeset.
Fix for WFCORE-1680

  1. … 7 more files in changeset.
Fix for WFCORE-923. Timeout for CLI commands and operation.

f

  1. … 25 more files in changeset.
[WFCORE-1472] Boolean value could become optional

  1. … 23 more files in changeset.
WFCORE-1469 - Support match-comparison operation for if-command

Introduced regex based match comparison-operation for if-commands.

The match operation is denoted by the symbol `~=`.

The left operand is a string to match against the right operand

which is a regex string.

This enables a simple way to do feature flag detection

via partial regex matches.

E.g. given the system property "features" which contains a space

separated list of enabled "features".

```

-Dfeatures="activemq jgroups"

```

One could conditionally configure wildfly components via CLI

in one generic CLI script, e.g.:

```

if (result ~= ".*activemq.*") of /:resolve-expression(expression=${features})

echo configuring activemq

end-if

if (result ~= ".*jgroups.*") of /:resolve-expression(expression=${features})

echo configuring jgroups

end-if

if (result ~= ".*postgres.*") of /:resolve-expression(expression=${features})

echo configuring postgres

end-if

```

    • -0
    • +52
    ./MatchOperation.java
  1. … 2 more files in changeset.
WFCORE-1469 - Support match-comparison operation for if-command

Introduced regex based match comparison-operation for if-commands.

The match operation is denoted by the symbol `~=`.

The left operand is a string to match against the right operand

which is a regex string.

This enables a simple way to do feature flag detection

via partial regex matches.

E.g. given the system property "features" which contains a space

separated list of enabled "features".

```

-Dfeatures="activemq jgroups"

```

One could conditionally configure wildfly components via CLI

in one generic CLI script, e.g.:

```

if (result ~= ".*activemq.*") of /:resolve-expression(expression=${features})

echo configuring activemq

end-if

if (result ~= ".*jgroups.*") of /:resolve-expression(expression=${features})

echo configuring jgroups

end-if

if (result ~= ".*postgres.*") of /:resolve-expression(expression=${features})

echo configuring postgres

end-if

```

    • -0
    • +52
    ./MatchOperation.java
  1. … 2 more files in changeset.
https://issues.jboss.org/browse/WFCORE-876 Reload or Shutdown inside IF statement is performed before the if/else block batch is executed (this commit removes the logic starting batches automatically for every control flow block of if-else and try-catch-finally)

  1. … 6 more files in changeset.
https://issues.jboss.org/browse/WFCORE-868 CLI if/else is not handling special characters strings with parenthesis

    • -0
    • +386
    ./ConditionArgument.java
  1. … 4 more files in changeset.
Add/Update Copyright Header for CLI module

  1. … 338 more files in changeset.
Fixing not-equals and path-does-not-exist bugs.

    • -0
    • +25
    ./SameTypeOperation.java
  1. … 1 more file in changeset.
Unable to check result 'undefined' in cli

  1. … 7 more files in changeset.
https://issues.jboss.org/browse/WFLY-3662 execution of the CLI control flow should ignore empty batches

  1. … 1 more file in changeset.
https://issues.jboss.org/browse/WFLY-3662 introduced cli command line handling redirection and reworked if-else and try-catch-finally to use that feature

    • -0
    • +187
    ./IfElseControlFlow.java
  1. … 13 more files in changeset.
WFLY-1735 cli EndIfHandler class exception created but not thrown

was: 22750306fc9bbbab7b27ee585ce49ed03aa9529e

cli if-else: if the path doesn't exist evaluate the comparison to false

was: 0803a703b8547715bc64a4f0938f0d52e3d0a881

AS7-5078 cli if-else: re-instate removed by accident class

was: 02132658d33d0f36a4ffa46983d1591ad9ecd88c

removed out of date class

was: 6fb41b70228e15d5a3d0bcf01104fc9449f289b4

AS7-5078 cli if-else: if condition expression evaluation

was: 36d4c3da6cee1fd09f05f6d673f7b57f92fc67b4

    • -0
    • +81
    ./BaseOperation.java
    • -0
    • +62
    ./ComparisonOperation.java
    • -0
    • +42
    ./EqualsOperation.java
    • -0
    • +44
    ./GreaterThanOperation.java
    • -0
    • +44
    ./LesserThanOperation.java
    • -0
    • +72
    ./ModelNodePathOperand.java
    • -0
    • +42
    ./NotEqualsOperation.java
    • -0
    • +44
    ./NotGreaterThanOperation.java
    • -0
    • +44
    ./NotLesserThanOperation.java
    • -0
    • +61
    ./StringValueOperand.java
  1. … 9 more files in changeset.
AS7-5078 cli if statements parsing: a bit of refactoring, extracted tests to a separate file

was: 7a698c02c2afeb6fe4f0082d1434dad60751a833

  1. … 1 more file in changeset.
AS7-5078 parsing of comparisons and parentheses for if-else control flow (cli)

was: f9c1f222e2195134fddfdd4f678232c4bb37ec1c

AS7-5078 basic if condition expression parsing

was: e1bfa0dc9a24c130f87e0108c3be7a60ba815c53

    • -0
    • +239
    ./ExpressionParser.java
AS7-5078 if-else support for taking the condition expression into parentheses

was: f2863ddadfdb65155986b8adfa14fd3317a5c9a5

  1. … 1 more file in changeset.
AS7-5078 help content for if, else and end-if commands

was: c512cb3e27b35ae460d277db10f71bea359ae5d7

  1. … 3 more files in changeset.
AS7-5078 if-else for the cli

was: d6d47f4b0c3970819d3e1102f3043d7798e5d03d

    • -0
    • +142
    ./EndIfHandler.java
    • -0
    • +142
    ./IfElseBlock.java
  1. … 4 more files in changeset.