cobigen
cobigen copied to clipboard
Code-based Incremental Generator
We've prepared a test for a generate using two identical template sets with different names. This feature needs to be implemented and the test enabled. https://github.com/devonfw/cobigen/blob/64683ab2f0bc72d61c3edec9d67ff4222a5f9775/cobigen/cobigen-core/src/test/java/com/devonfw/cobigen/unittest/config/reader/TemplateSetConfigurationReaderTest.java#L87-L105
Check if we still need a check for a conflict between a very old template configuration (context.xml in CobiGen_Templates and context.xml in src/main/templates) https://github.com/devonfw/cobigen/blob/217c8a464f27b965c3153ee30de575c5c2be3d56/cobigen/cobigen-core/src/main/java/com/devonfw/cobigen/impl/config/reader/ContextConfigurationReader.java#L270-L286
We need to add a CLI systemtest which uses template set jars in a downloaded folder only. https://github.com/devonfw/cobigen/blob/217c8a464f27b965c3153ee30de575c5c2be3d56/cobigen-cli/cli-systemtest/src/test/java/com/devonfw/cobigen/cli/systemtest/GenerateCommandIT.java#L131
ConfigurationHolder isTemplateSetConfiguration needs to be revised. https://github.com/devonfw/cobigen/blob/4bf5ca906fd312aa91c8794b3f3234d743678d58/cobigen/cobigen-core/src/main/java/com/devonfw/cobigen/impl/config/ConfigurationHolder.java#L186-L193
Currently we are using the cobigen-templates project as templates for our CLI system tests. These need to be replaced with reduced test resources for each test class.
The ArtifactRetriever should use the resource xml to determine the full snapshot version instead of the redirect url. Link to resource xml: https://s01.oss.sonatype.org/service/local/repositories/snapshots/content/com/devonfw/cobigen/templates/crud-openapi-angular-client-app/2021.12.007-SNAPSHOT/ Code part to change: https://github.com/devonfw/cobigen/blob/0c287803af897ab27ff1c976f44fef1d100ba253/cobigen/core-artifact-retriever/src/main/java/com/devonfw/cobigen/retriever/mavensearch/to/model/nexus2/Nexus2SearchResponse.java#L50-L56
As a CobiGen user, I want to add a template-set artifact to my properties file e.g. `template-sets.installed=com.devonfw.cobigen:crud-java-server-app` without a version number so that CobiGen will always download the latest available...
Download POM from repo instead of extracting it from classes jar while adapting a template set.
Check if the postpone upgrade process is still working like it should. Check if delay works.