-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adjust documentation (#1491) * fixed some types and links and corrected some parts of the documentation * adjust angular client guide * fixed typo * fixed requested changes * changed eclipse repository to https * implemented draft for template set upgrader * trigger getting converted to xml * context will be splitted, pom generation in progress * removed useless fields * removed some comments * implemented some test * upgrader implemented * added backup folder for old templates * added ignore to templatesetupgradetests * added ignore to templatesetupgradetests * chaanged upgrading process and changed the tests of the upgrade * test for sucessful backup * changed test to use multiple context files * #1502 changed context version of reader test files to lates compatible * changed context version in the jars from the test files * reworked upgrade step to work with the upgrade prozess to 3.0 * #1502 fixed latest context version in javaplugin integration test * #1502 fixed some more context versions in tests * moved template upgrade process out of the abstract class * implemented requested changes * removed some files * the requested changes have been added * changed use of validate process for the readers * removed log * removed import * #1502 added tags to template sets * used correct formatting for few files * #1502 addressed requested changes * #1502 replaced generic exceptions with CobigenRuntimeExceptions * #1502 applied proper code reformat * #1502 fixed template set upgrader and tests refactored context configuration validation into a new method validateContextConfigurationFile set all template directories to proper path using ConfigurationConstants added context configuration file exists and schema validation to testTemplateSetUpgradeCopyOfTemplates test * #1502 fixed template set upgrader and tests set all template directories to proper path using ConfigurationConstants * #1502 fixed template set upgrader and tests added exception to fail message Co-authored-by: GuentherJulian <[email protected]> Co-authored-by: Malte Brunnlieb <[email protected]> Co-authored-by: Julian Günther <[email protected]> Co-authored-by: MikeSchumacher <[email protected]> Co-authored-by: jan-vcapgemini <[email protected]>
- Loading branch information
1 parent
54f0bca
commit 51af790
Showing
116 changed files
with
3,097 additions
and
422 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
5 changes: 4 additions & 1 deletion
5
...clipse/cobigen-eclipse-test/src/main/resources/ClassPathLoadingTest/templates/context.xml
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 |
---|---|---|
@@ -1,7 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<contextConfiguration xmlns="http://capgemini.com/devonfw/cobigen/ContextConfiguration" version="2.1"> | ||
<contextConfiguration xmlns="http://capgemini.com/devonfw/cobigen/ContextConfiguration" version="3.0"> | ||
<trigger id="test" type="java" templateFolder="templates"> | ||
<matcher type="fqn" value=".*"> | ||
</matcher> | ||
</trigger> | ||
<tags> | ||
<tag name="bla" /> | ||
</tags> | ||
</contextConfiguration> |
5 changes: 4 additions & 1 deletion
5
...ipse/cobigen-eclipse-test/src/main/resources/CobiGenJavaWrapperTest/templates/context.xml
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 |
---|---|---|
@@ -1,8 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<contextConfiguration xmlns="http://capgemini.com/devonfw/cobigen/ContextConfiguration" version="2.1"> | ||
<contextConfiguration xmlns="http://capgemini.com/devonfw/cobigen/ContextConfiguration" version="3.0"> | ||
<trigger id="test" type="java" templateFolder="templates"> | ||
<containerMatcher type="package" value=".*" /> | ||
<matcher type="fqn" value=".*"> | ||
</matcher> | ||
</trigger> | ||
<tags> | ||
<tag name="bla" /> | ||
</tags> | ||
</contextConfiguration> |
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
5 changes: 4 additions & 1 deletion
5
...ipse/cobigen-eclipse-test/src/main/resources/VelocityGenerationTest/templates/context.xml
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 |
---|---|---|
@@ -1,9 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<contextConfiguration xmlns="http://capgemini.com/devonfw/cobigen/ContextConfiguration" version="2.1"> | ||
<contextConfiguration xmlns="http://capgemini.com/devonfw/cobigen/ContextConfiguration" version="3.0"> | ||
|
||
<trigger id="testBasicGeneration" type="java" templateFolder="testBasicGeneration"> | ||
<matcher type="fqn" value="(.+)\.Input"> | ||
<variableAssignment type="regex" key="package" value="1"/> | ||
</matcher> | ||
</trigger> | ||
<tags> | ||
<tag name="bla" /> | ||
</tags> | ||
</contextConfiguration> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
7 changes: 5 additions & 2 deletions
7
...es/testdata/systemtest/Devon4JTemplateTest/templates-classloading-testclasses/context.xml
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 |
---|---|---|
@@ -1,9 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<contextConfiguration xmlns="http://capgemini.com/devonfw/cobigen/ContextConfiguration" version="2.1"> | ||
<contextConfiguration xmlns="http://capgemini.com/devonfw/cobigen/ContextConfiguration" version="3.0"> | ||
|
||
<trigger id="test" type="java" templateFolder="templates1"> | ||
<matcher type="fqn" value=".*"> | ||
</matcher> | ||
</trigger> | ||
|
||
<tags> | ||
<tag name="bla" /> | ||
</tags> | ||
|
||
</contextConfiguration> |
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
5 changes: 4 additions & 1 deletion
5
.../src/test/resources/testdata/systemtest/Devon4JTemplateTest/templates-nomatch/context.xml
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 |
---|---|---|
@@ -1,4 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<contextConfiguration xmlns="http://capgemini.com/devonfw/cobigen/ContextConfiguration" version="2.1"> | ||
<contextConfiguration xmlns="http://capgemini.com/devonfw/cobigen/ContextConfiguration" version="3.0"> | ||
|
||
<tags> | ||
<tag name="bla" /> | ||
</tags> | ||
</contextConfiguration> |
7 changes: 5 additions & 2 deletions
7
...ces/testdata/systemtest/Oasp4JTemplateTest/templates-classloading-testclasses/context.xml
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 |
---|---|---|
@@ -1,9 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<contextConfiguration xmlns="http://capgemini.com/devonfw/cobigen/ContextConfiguration" version="2.1"> | ||
<contextConfiguration xmlns="http://capgemini.com/devonfw/cobigen/ContextConfiguration" version="3.0"> | ||
|
||
<trigger id="test" type="java" templateFolder="templates1"> | ||
<matcher type="fqn" value=".*"> | ||
</matcher> | ||
</trigger> | ||
|
||
<tags> | ||
<tag name="bla" /> | ||
</tags> | ||
|
||
</contextConfiguration> |
5 changes: 4 additions & 1 deletion
5
...t/src/test/resources/testdata/systemtest/Oasp4JTemplateTest/templates-nomatch/context.xml
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 |
---|---|---|
@@ -1,4 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<contextConfiguration xmlns="http://capgemini.com/devonfw/cobigen/ContextConfiguration" version="2.1"> | ||
<contextConfiguration xmlns="http://capgemini.com/devonfw/cobigen/ContextConfiguration" version="3.0"> | ||
|
||
<tags> | ||
<tag name="bla" /> | ||
</tags> | ||
</contextConfiguration> |
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.