-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1595 extend uprader to upgrade from monolithic structure to template set.xml #1611
Open
quantumfate
wants to merge
257
commits into
devonfw:master
Choose a base branch
from
quantumfate:1595_extend_uprader_to_upgrade_from_monolithic_structure_to_template-set.xml
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
257 commits
Select commit
Hold shift + click to select a range
a1ca29a
1511 enable custom template set group ids for lookup (#1525)
mdukhan 6c61401
1511 enable custom template set group ids for lookup (#1535)
mdukhan 882013e
#1509 Ignore extractTemplatesWithOldCinfiguration (#1536)
mdukhan 103ed1c
#1519 added possible Log warning places for CLI (#1538)
mdukhan 28cb652
Merged master into template-set-deployables feature branch (#1543)
jan-vcapgemini 54f0bca
1465 template set documentation (#1546)
jan-vcapgemini 51af790
1502 config upgrade (#1528)
EduardKrieger b5a2577
#1531 Handle CLI Exception (#1544)
mdukhan 7b6bf79
1551 merge master into template_set_deployables (#1552)
jan-vcapgemini 3dcfcb1
1516 document new configuration structure (#1565)
Zylesto f95f041
# 1521 Attached Template-set plugin for deployment (#1562)
Ali7223 2ee15d3
1510 allow template sets to be installed (#1554)
EduardKrieger f20d731
#1529 added first implementation of extensible artifact search REST A…
jan-vcapgemini 9b96780
Merge branch 'master' into template-set-deployables
maybeec 9bd84b8
fixed merge errors
maybeec 7a3b6e4
fix merge error (#1581)
EduardKrieger 5f79726
1518 automatically ask for upgrade on reading monolithic templates fr…
mdukhan 7daa568
1580 rework test application using entity class (#1603)
leonie19s ae25fa7
Read templates.xml file during upgrade from templates to templateSets
Lur1an 14b9455
template-set.xml is correctly generated from merge of templates.xml a…
Lur1an 690ec60
Set version of TemplatesConfiguration to "5.0"
Lur1an f80c9bd
Adapted TemplateSetUpgraderTest to work with new template-set.xml
Lur1an e40a451
Merge branch 'devonfw:master' into 1595_extend_uprader_to_upgradeupgr…
quantumfate 9a8dc56
changed perfrom nextupgradestep to work with template sets
EduardKrieger 5dbf5a0
removed a wrong approach
EduardKrieger c84c554
changed schema so we dont have to add namespace to old configuration …
EduardKrieger ee7f4e7
testing the packages
EduardKrieger 08876fe
testing schmema namespaces
EduardKrieger 6648b6d
test
quantumfate c95a9df
1517 discovery of template sets (#1585)
Zylesto 0176c1a
#1619 cleanup docs
maybeec edaed0e
#1619 upgrade all sources to jdk 11
maybeec 0ddc3bc
#1619 fix plugins build to run on jdk 11
maybeec f4794fd
Merge branch 'master' into template-set-deployables
maybeec f1ad8d7
Merge branch 'master' into template-set-deployables
maybeec 0d61fda
spelling corrections
maybeec 1d8997a
Merge branch 'master' into template-set-deployables
maybeec efd512e
Added correct settings URL for cobigen setup
maybeec 5e1a7e3
Merge branch 'master' into template-set-deployables
maybeec f73d720
Fix merge error
maybeec 9769489
Merge branch 'template-set-deployables' into 1595_extend_uprader_to_u…
maybeec 4f9da87
Removed xvfb-action
maybeec fbb5331
trying to fix strange execution problem in GHA
maybeec 1ded60f
Also resolve and cache dependencies for tycho
maybeec dc72408
fix build on windows
maybeec b597945
fixed 2018-12 target + fixed eclipse test + fixed M2E compatibility
maybeec e4f9a00
removed unnecessary junit headless dependency failing on sonar run
maybeec efdc183
upgraded openapi parser to latest version of networknt
maybeec b76c231
upgraded openapi parser to latest version of networknt
maybeec 9dbe233
Revert "upgraded openapi parser to latest version of networknt"
maybeec 9aed99a
Revert "upgraded openapi parser to latest version of networknt"
maybeec eb8c1c1
Merge branch 'master' into template-set-deployables
maybeec 03d219b
removed stupid non-used testdata
maybeec 49ae604
store workflow status for sonar analysis
maybeec 556cff8
store workflow status for sonar analysis
maybeec 199c84d
fix workflow
maybeec 4e097f8
added maven repository cache for faster execution (#1625)
EduardKrieger e7ad216
trying to flatten CI/CD to speed up
maybeec 8ab4a8d
fixing dependency caching + fixing build component script + fixing ma…
maybeec f4a9ebc
fix dependency caching
maybeec f339117
fix build script
maybeec 81e95c3
automatically enable debug mode + better matrix parameter view on git…
maybeec 2c1db7f
fixing detection of GHA debug mode
maybeec 72d89a8
debug test execution
maybeec 86122c8
enabled new enableCrossOsArchive of github cache
maybeec 357a938
Workaround for actions/cache#1059
maybeec d939f03
fix workflow
maybeec 81c4d15
fix workflow
maybeec e6a2a72
fix workflow
maybeec e8e0ce4
set java 17 for windows build
maybeec fc6fc18
actions/cache#1059 workaround - trying to locate m2 repo in working d…
maybeec 35ac03e
add logging out env to understand temporary debug mode detection
maybeec f854bf1
fixed automated maven debug log on runner debug + trying to fix maven…
maybeec fbda14e
try to fix maven cache location consolidation accross OS
maybeec 9f686e1
Merge branch 'devonfw:master' into 1595_extend_uprader_to_upgrade_fro…
quantumfate 28cbe55
upgrade process with ContextConfiguration upgrader working from 2.1 t…
EduardKrieger 16aec8a
Merge branch '1595_extend_uprader_to_upgrade_from_monolithic_structur…
EduardKrieger 67fdce9
trying different local repository setting
maybeec dd94bab
fixing cache mismatches
maybeec e28e03b
fixing checkout on windows
maybeec 8918a9f
more cache debugging!
maybeec 3e655e1
more cache debugging!
maybeec 67de615
more cache debugging
maybeec 0fbb14c
fixing odd cache path
maybeec c10ccce
new try for cross-os build-config
maybeec a6949e0
new try for cross-os build-config
maybeec 715a962
new try for cross-os build-config
maybeec ed9670c
new try for cross-os build-config
maybeec be0cd10
new try for cross-os build-config
maybeec f9e8152
trying to fix maven repo cache
maybeec d9758cb
splitting dependency resolution and plugin resolution
maybeec 033d462
enabling batch processing and fixing maven settings
maybeec e4843bd
built just once on linux + restore also p2 for tests + removed debugging
maybeec 65891b7
trying to fix tests by providing test settings.xml in home folder
maybeec b498c23
Fix settings overwriting
maybeec b971f77
enable xvfb run for linux for eclipse tests + fixing settings.xml ove…
maybeec c8c7898
fix settings.xml overwriting
maybeec 9ff3ba5
try fixing settings.xml rewrite
maybeec 10ffe53
Merge branch 'master' into template-set-deployables
maybeec 1140415
Merge branch 'template-set-deployables' into flattened-cicd
maybeec 8e435a4
changing path to be static on cache declaration
maybeec 2208391
removed coverage report to be executed everytime
maybeec c66cdab
fixing m-m-m NlsBundle Exception on CLI tests
maybeec 3e65ddf
fixing -h option for right color coding
maybeec 40bd436
fixing p2 compiler issues
maybeec 62eb061
debugging + cleanup
maybeec 85e44ba
workaround for https://github.com/m-m-m/code/issues/43
maybeec 94cd277
disabled debug logging + readme update
maybeec 2260ee6
fixed a bug in findTemplates (#1630)
EduardKrieger 5f0588b
try fixing unnecessary timeout on windows
maybeec b2b328e
Merge branch 'master' into template-set-deployables
maybeec 514b1e6
#1495 Combine template and configuration files into template set file…
KHucklenbroich 340b569
added TODO
jan-vcapgemini a53b75d
added TODO
jan-vcapgemini 39b3593
Merge branch 'Cobigen_template-set-deployables' into 1595_extend_upra…
EduardKrieger 485d5a4
fixed eclipse tests freezes
jan-vcapgemini 9148d62
1622 Restore and fixed adaptTemplatesTest on eclipse (#1641)
cedricarnauld123 2e794bd
#1622 fixed eclipse adapt monolithic templates test
jan-vcapgemini a01765e
added TODO
jan-vcapgemini faee4f1
added TODO
jan-vcapgemini a32120b
temporarily disabled upgrader test in eclipse
jan-vcapgemini cd38c95
added TODO
jan-vcapgemini 2b1360d
applied proper reformat
jan-vcapgemini ead77d6
applied proper reformat
jan-vcapgemini 3b92e6f
applied proper reformat
jan-vcapgemini 8318b2a
applied proper reformat
jan-vcapgemini e15f077
applied proper reformat
jan-vcapgemini 587f983
added method to change CobiGen home
jan-vcapgemini 5ca8f21
added TODO
jan-vcapgemini 177f9d3
adjusted javadoc
jan-vcapgemini f41220b
added TODO
jan-vcapgemini 694b0c9
applied proper reformat
jan-vcapgemini bfb5536
refactored AbstractContextConfigurationReader
jan-vcapgemini f75dfe7
made fields private
jan-vcapgemini 91edfcc
made fields private
jan-vcapgemini 2c440e2
added TODO
jan-vcapgemini 9d7ca6d
cleanup
jan-vcapgemini 21b3f71
removed unused interfaces
jan-vcapgemini 167a978
adjusted template set documentation
jan-vcapgemini 35f5d1a
updated google guava to 31.1-jre
jan-vcapgemini 472ea6e
made CobiGenFactory tests functional
jan-vcapgemini b3dc966
moved template-set.xml into correct folder
jan-vcapgemini 9112b26
applied proper reformat
jan-vcapgemini 65b988e
added test path check to CobiGenPaths
jan-vcapgemini acdc21b
Merge branch 'Cobigen_template-set-deployables' into 1595_extend_upra…
EduardKrieger 9625a53
added TODO
jan-vcapgemini f251ea3
applied proper reformat
jan-vcapgemini edc17c7
removed unused test resource files
jan-vcapgemini 7c1c6af
cleanup of ConfigurationFinder
jan-vcapgemini 0f8b48b
moved method beneath constructor
jan-vcapgemini 654499f
adjusted javadocs
jan-vcapgemini b264377
removed unused files
jan-vcapgemini d522e05
fixed PostPoneUtil tests
jan-vcapgemini abbac3e
removed extra isZipFile check
jan-vcapgemini 28d91bc
cleanup
jan-vcapgemini 0b79b14
adjusted template set upgrade documentation
jan-vcapgemini af182c4
1495 fixed working branch adapt templates feature (#1645)
quantumfate ef61c78
added missing test resource file
jan-vcapgemini 61b3a52
#1595 reworked the context configuration and template set upgrader te…
EduardKrieger cd5a294
#1638 implemented download jar process (from properties) (#1653)
jan-vcapgemini c298f45
#1595 changed the template set initial version from 6 to 1. Relocated…
EduardKrieger 9f31845
fixed template installation tests
jan-vcapgemini fcfc0e8
adjusted javadoc of test
jan-vcapgemini 3314e71
removed unnecessary test and resources
jan-vcapgemini 151698e
renamed method and adjusted javadoc
jan-vcapgemini 0c07125
adjusted javadoc
jan-vcapgemini fb9ba81
adjusted javadoc
jan-vcapgemini 540abee
removed empty newline
jan-vcapgemini 39aa279
applied rest of refactoring
jan-vcapgemini 0c28780
added fallback if no repositories were found
jan-vcapgemini 54c446d
Merge branch 'template-set-deployables' into 1595_extend_uprader_to_u…
EduardKrieger da1f980
added issue links to TODOs
jan-vcapgemini 52f4f85
fixed template set file tree
jan-vcapgemini bc64317
adjusted javadoc of ConfigurationFinder
jan-vcapgemini d68fc46
adjusted javadocs
jan-vcapgemini 4bf5ca9
added issue to TODO
jan-vcapgemini 217c8a4
added issue to TODO
jan-vcapgemini beb7248
removed unused fields
jan-vcapgemini 1a081e2
added javadoc descriptions for constants
jan-vcapgemini f163973
added issue to TODO
jan-vcapgemini 64683ab
adjusted javadocs
jan-vcapgemini 27dced6
added issue to TODO
jan-vcapgemini 07e7ad8
fixed download by properties
jan-vcapgemini b045ea2
removed unused class variable
jan-vcapgemini b34d7e6
prepared template set version conflict test
jan-vcapgemini 82d0ad4
cleanup of unnecessary condition
jan-vcapgemini ac2efa9
Simple fixes
NelsonNew e79d214
applied requested changes
jan-vcapgemini a5757ff
added TODO and link to issue
jan-vcapgemini 75adfe4
implemented requested changes
jan-vcapgemini a51ee91
implemented requested changes
jan-vcapgemini b5574a1
added issue to TODO
jan-vcapgemini c5e9d33
removed unused field
jan-vcapgemini b98e202
moved getters under constructor
jan-vcapgemini ae0c108
Typo fix
NelsonNew 0611e0f
Finished sentence
NelsonNew 5113482
#1667 Made template set root directories accessible for the reader
jan-vcapgemini b421049
added TODOs with linked issues
jan-vcapgemini a25b371
implemented requested changes
jan-vcapgemini 01ef924
implemented requested changes
jan-vcapgemini 950aaa7
implemented requested changes
jan-vcapgemini 28f53b0
#1670 hotfix
jan-vcapgemini 6a1e6f9
added TODO with link to issue
jan-vcapgemini ad76aea
#1668 added issue to TODO
jan-vcapgemini 980e893
#1671 added link to issue to TODO
jan-vcapgemini 02bdb62
adjusted javadoc
jan-vcapgemini 26b6c2c
added issue to TODOs
jan-vcapgemini 2012d11
sonatype-lift fixes
jan-vcapgemini 28ce188
removed commented code
jan-vcapgemini f54e6c3
added TODO with link to issue
jan-vcapgemini e3469e8
added TODO with link to issue
jan-vcapgemini f3de717
added TODO with link to issue
jan-vcapgemini f7f16ec
added TODO with link to issue
jan-vcapgemini 677ea7c
sonatype-lift changes
jan-vcapgemini 4d728ba
sonatype-lift changes
jan-vcapgemini f3a4399
sonatype-lift changes
jan-vcapgemini ed156b2
added comment
jan-vcapgemini 79f94e8
added TODO and link to issue
jan-vcapgemini 587b2e9
fixed typo
jan-vcapgemini 08e7892
sonatype-lift changes, hotfix
jan-vcapgemini 5af0844
fixed openapi-parser version
jan-vcapgemini 1b49fb0
added TODO and link to issue
jan-vcapgemini c4ce99d
adjusted javadoc
jan-vcapgemini 6ae0954
added missing javadocs
jan-vcapgemini 3ef6f64
added TODO and link to issue
jan-vcapgemini deb68b6
removed unused files
jan-vcapgemini ee90c8b
adjusted javadoc
jan-vcapgemini 5983e65
added TODO and link to issue
jan-vcapgemini c0c39c4
added TODO and link to issue
jan-vcapgemini e82340a
cleanup
jan-vcapgemini 2a96c00
adjusted javadoc of test
jan-vcapgemini 52ba0fb
added javadoc description
jan-vcapgemini a2a4137
adjusted javadoc
jan-vcapgemini 676ac3e
cleanup
jan-vcapgemini d57a660
fix deploy script to allow local updatesite builds
maybeec 5c64a1e
fix eclipse e2e test classpath
maybeec ba8f1b9
adjusted javadocs
jan-vcapgemini d091ce0
added TODO and link to issue
jan-vcapgemini ebd5dec
generating platform definition based on local plugins build.
maybeec bb245f1
removed 2nd initialization of CobiGen
jan-vcapgemini 682538e
Merge branch 'master' into template-set-deployables
jan-vcapgemini 7c4d31b
spellcheck fixes
jan-vcapgemini 35ca10a
fixed last spellcheck issues
jan-vcapgemini 603c105
cleanup and fixing eclipse import issues with m2e
maybeec de4177b
Revert "cleanup and fixing eclipse import issues with m2e"
jan-vcapgemini 58cf2c9
Revert "generating platform definition based on local plugins build."
jan-vcapgemini 5821c9d
Revert "fix eclipse e2e test classpath"
jan-vcapgemini 8d68916
Fixed elif syntax
maybeec a033e09
Merge branch 'template-set-deployables' into 1595_extend_uprader_to_u…
jan-vcapgemini 1298132
Merge branch 'master' into 1595_extend_uprader_to_upgrade_from_monoli…
jan-vcapgemini File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
55 changes: 55 additions & 0 deletions
55
...ources/testdata/systemtest/GenerationTest/UpgradeTest/templates/CobiGen_Templates/pom.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 |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" | ||
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>com.devonfw.test</groupId> | ||
<artifactId>templates-devon4j</artifactId> | ||
<version>dev-SNAPSHOT</version> | ||
<packaging>jar</packaging> | ||
<properties> | ||
<maven.compiler.source>1.8</maven.compiler.source> | ||
<maven.compiler.target>1.8</maven.compiler.target> | ||
</properties> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.apache.commons</groupId> | ||
<artifactId>commons-math3</artifactId> | ||
<version>3.6.1</version> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<resources> | ||
<resource> | ||
<directory>src/main/templates</directory> | ||
<targetPath>src/main/templates</targetPath> | ||
</resource> | ||
</resources> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>flatten-maven-plugin</artifactId> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-antrun-plugin</artifactId> | ||
<executions> | ||
<execution> | ||
<phase>prepare-package</phase> | ||
<goals> | ||
<goal>run</goal> | ||
</goals> | ||
<configuration> | ||
<tasks> | ||
<echo>Integrate POM manually</echo> | ||
<copy file="pom.xml" tofile="${project.build.outputDirectory}/pom.xml"/> | ||
</tasks> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
</project> |
6 changes: 6 additions & 0 deletions
6
...est/GenerationTest/UpgradeTest/templates/CobiGen_Templates/src/main/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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<contextConfiguration xmlns="http://capgemini.com/devonfw/cobigen/ContextConfiguration" version="2.1"> | ||
<trigger id="entities" type="java" templateFolder="template-test"> | ||
<matcher type="fqn" value=".+"> | ||
</matcher> | ||
</trigger> | ||
</contextConfiguration> |
13 changes: 13 additions & 0 deletions
13
...st/UpgradeTest/templates/CobiGen_Templates/src/main/templates/template-test/templates.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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<templatesConfiguration xmlns="http://capgemini.com/devonfw/cobigen/TemplatesConfiguration" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="5.0"> | ||
<templates> | ||
<template name="t2" destinationPath="generated.txt" templateFile="templates/generated.txt.ftl" | ||
mergeStrategy="override"/> | ||
</templates> | ||
|
||
<increments> | ||
<increment name="i2" description="the only increment"> | ||
<templateRef ref="t2"/> | ||
</increment> | ||
</increments> | ||
</templatesConfiguration> |
1 change: 1 addition & 0 deletions
1
.../templates/CobiGen_Templates/src/main/templates/template-test/templates/generated.txt.ftl
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 @@ | ||
overwritten |
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Javadoc missing.