-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WINDUP-2564 Rebranding to MTA (#1383)
* windup rebrand * windup core rebrand * t e Pleas enter the commit message for your changes. Lines starting * rebranding as MTA * Fix retrieval of user dir * revert to .mta home dir t Please enter the commit message for your changes. Lines starting * alter header bar * add mta icon * replace mta icon with transparent background version * added margin to right of logo in header bar * fix logo not appearing on sub pages * remove twitter details from about page Co-authored-by: Mark Brophy <mbrophy@localhost.localdomain>
- Loading branch information
Showing
73 changed files
with
699 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
config-groovy/tests/src/test/resources/groovy/GroovyExampleRule.mta.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import org.jboss.windup.config.operation.GraphOperation; | ||
import org.jboss.windup.config.GraphRewrite; | ||
import org.jboss.windup.config.phase.MigrationRulesPhase; | ||
import org.jboss.windup.config.metadata.RuleMetadataType; | ||
import org.jboss.windup.config.phase.RulePhase; | ||
import org.jboss.windup.util.Logging; | ||
import org.ocpsoft.rewrite.config.True; | ||
import org.ocpsoft.rewrite.context.EvaluationContext; | ||
|
||
|
||
ruleSet("ExampleGroovyRule").setPhase(MigrationRulesPhase.class) | ||
|
||
.addRule() | ||
.when( | ||
new True() | ||
) | ||
.perform( | ||
new GraphOperation () { | ||
public void perform(GraphRewrite event, EvaluationContext context) { | ||
Logging.get(this.getClass()).info("Performing rewrite operation in ExampleGroovyRule"); | ||
} | ||
} | ||
) | ||
.withMetadata(RuleMetadataType.TAGS, "Basic") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.