Changelog ns-initializer

Filter x

4.5.0 (2022-09-26)

Fixed

  • Metamodel project:
    • Fixed ProgramTypes harvest file ending up in wrong location.
    • Fixed ProgramElement being generated with a broken reference.
    • Changed root ElementGroup to contain .model, which matches the groupId.

Added

  • Metamodel project:
    • Added example flag to create a model example and expander.

Changed

  • Updated dependencies across all initializers:
    • net.democritus:Expanders: 5.13.2 -> 5.14.0
    • net.democritus:nsx-default-stack: 2022.12.1 -> 2022.12.4
    • net.democritus.metamodel:metamodel-expansion-stack: 4.9.0 -> 4.9.5
    • net.democritus.metamodel:meta-core: 1.0.2 -> 1.0.5
    • net.democritus.metamodel:prime-core: 2022.6.1 -> 2022.8.2

4.4.0 (2022-09-13)

Fixed

  • Metamodel project:
    • Removed dependency on a SNAPSHOT version.

Added

  • Metamodel project:
    • Added options meta.packaging.useClassPathDependencies, meta.module.distribution and meta.module.expanders to ApplicationInstance.

Changed

  • Updated dependencies across all initializers:
    • net.democritus:nsx-default-stack: 2022.12.1 -> 2022.12.2

4.3.1 (2022-09-08)

Fixed

  • Application project:
    • Use correct docker image tag for base image.

4.3.0 (2022-09-08)

Changed

  • Application project:
    • Now using fixed tomee base docker image version.
  • Metamodel project:
    • Create ExpansionMetamodel and Ontology from the new meta-metamodel.
    • Added script templates to support these new Metamodel representations.
    • Replaced elements flag with extend flag and extendedOntology attribute.
  • Updated dependencies across all initializers:
    • net.democritus:Expanders: 5.13.0 -> 5.13.2
    • net.democritus.maven.plugins:expanders-maven-plugin: 2022.1.6 -> 2022.2.2
    • net.democritus.metamodel:metamodel-expansion-stack: 4.8.0 -> 4.9.0
    • net.democritus:nsx-default-stack: 2022.11.0 -> 2022.12.1

Fixed

  • Application project:
    • Fixed program variant not being set in expansionSettings.xml.

4.2.0 (2022-08-30)

Changed

  • Application project:
    • Added ENABLE_DEBUG environment variable and exposing of port 4041 to docker-compose.local.yml file for local development.
  • Updated dependencies across all initializers:
    • net.democritus:Expanders: 5.12.1 -> 5.13.0
    • net.democritus:nsx-default-stack: 2022.10.2 -> 2022.11.0
    • net.democritus:sql-expanders: 2.5.0 -> 2.6.0

4.1.0 (2022-08-11)

Changed

  • Updated dependencies across all initializers:
    • net.democritus:Expanders: 5.10.0 -> 5.12.1
    • net.democritus:nsx-default-stack: 2022.9.0 -> 2022.10.2
    • net.democritus.metamodel:metamodel-expansion-stack: 4.7.5 -> 4.8.0
    • net.democritus.metamodel:prime-core: 2022.5.6 -> 2022.6.1

4.0.1 (2022-08-06)

Fixed

  • (INIT-19) Flags for arguments with a default value of true did not process correctly.
  • Application project:
    • POM file to download extra libraries with Docker did not point to the correct path.

4.0.0 (2022-08-04)

:::danger

The NS Initializer command-line interface now requires Java 17 to run!

:::

Fixed

  • Dependency updates for Maven plugins were not correctly propagated into initialized projects.
  • Moved defaultExpansionSettings.xml file export to unique temporary location to avoid race conditions.

Changed

  • Updated dependencies across all initializers:
    • net.democritus:Expanders: 5.9.8 -> 5.10.0
    • net.democritus:nsx-default-stack: 2022.8.4 -> 2022.9.0
    • net.democritus:nsx-parent: 2022.0.0 -> 2022.1.0
  • Application project:
    • Projects default to Java 17.
    • Replace builder stage in Dockerfile with docker.normalizedsystems.org/nsx-tomee-builder to prepare all additions to the catalina base.
    • Generating scripts is now enabled by default.
  • Changed Chocolatey oraclejdk dependency to temurin (Eclipse Foundation OpenJDK release) to have access to frequent updates.
  • The initializer itself is now built to target Java 17, and as such requires Java 17 to run.

Removed

  • Application project:
    • The docker/lib/get-libs.sh script was removed, as it is not integrated in the builder stage to reduce complexity.

3.24.0 (2022-07-26)

Changed

  • Updated dependencies across all initializers:
    • net.democritus:Expanders: 5.9.3 -> 5.9.8
    • net.democritus.metamodel:metamodel-expansion-stack: 4.7.3 -> 4.7.5
    • net.democritus:nsx-default-stack: 2022.7.1 -> 2022.8.4
  • Application project:
    • Use default stack network in docker-compose setup.
    • Use local Docker image only in local docker-compose file.
  • Metamodel project:
    • Removed reference to settings directory.
  • Updated expansion resource resolver to expansion-resource-resolvers library for more efficient resolving.

Removed

  • Application project:
    • Removed deprecated docker:update-ear script from package.json.

3.23.0 (2022-06-07)

Changed

  • Application project:
    • Updated call to modelValidations() in Jenkinsfile to now specify the expansion POM file, for faster validation though the Maven plugin.
    • Added Sonar gate to Jenkinsfile when Sonarqube is enabled.
  • Expanders project:
    • Added Sonar gate to Jenkinsfile when Sonarqube is enabled.

3.22.1 (2022-06-07)

Fixed

  • Application project:
    • SonarQube integration used default language level 6 instead of 11.
  • Expanders project:
    • SonarQube integration used default language level 6 instead of 8.

3.22.0 (2022-05-31)

Changed

  • Application project:
    • Added dependency analysis to report to Dependency Track.
  • Expanders project:
    • Added dependency analysis to report to Dependency Track.
  • Updated dependencies across all initializers:
    • net.democritus:Expanders: 5.9.0 -> 5.9.3
    • net.democritus:nsx-parent: 2020.9.1 -> 2022.0.0
    • net.democritus.maven.plugins:expanders-maven-plugin: 2022.1.5 -> 2022.1.6
    • net.democritus.maven.plugins:expansion-validation-maven-plugin: 2022.0.0 -> 2022.1.0
    • net.democritus.metamodel:prime-core: 2022.5.3 -> 2022.5.6
    • net.democritus:nsx-default-stack: 2022.6.1 -> 2022.7.1

3.21.0 (2022-05-20)

Fixed

  • Application project:
    • Obtaining extra jar libraries for the application server was no longer implemented correctly. Now integrated into Dockerfile as additional pre-build stage.

Changed

  • Added commit hash to version string output by -V/--version.

3.20.1 (2022-05-19)

Fixed

  • Project name in packaging was set incorrectly.

3.20.0 (2022-05-17)

Changed

  • Updated dependencies across all initializers:
    • net.democritus:Expanders: 5.8.1 -> 5.9.0
    • net.democritus.maven.plugins:expanders-maven-plugin: 2022.1.3 -> 2022.1.5
    • net.democritus.maven.plugins:expansion-validation-maven-plugin: 2021.1.0 -> 2022.0.0
    • net.democritus.metamodel:metamodel-expansion-stack: 4.6.0 -> 4.7.3
    • net.democritus.metamodel:prime-core: 2022.4.1 -> 2022.5.3
    • net.democritus:nsx-default-stack: 2022.5.1 -> 2022.6.1
    • org.jacoco:jacoco-maven-plugin: 0.8.7 -> 0.8.8
  • Split Chocolatey packages into ns-initializer.install and ns-initializer, the latter of which provides external dependencies.
  • Switched dependency from openjdk8 to oraclejdk in main Chocolatey package.
  • Dropped minimum version on maven dependency in main Chocolatey package.

3.19.0 (2022-05-13)

Added

  • Added EULA for distribution artifacts.
  • Chocolatey packaging.

Changed

  • Application project:
    • Use new nsxDocker.buildAndDeploy() function to simplify Jenkinsfile.
  • Updated dependencies across all initializers:
    • net.democritus.maven.plugins:expanders-maven-plugin: 2022.0.1 -> 2022.1.3
    • net.democritus.metamodel:metamodel-expansion-stack: 4.5.0 -> 4.6.0
    • net.democritus.metamodel:prime-core: 2022.3.0 -> 2022.4.1

Removed

  • Application project:
    • Removed some deprecated default data for sql-expanders.
    • Removed some deprecated fields in model (due to prime-core update).

3.18.0 (2022-04-22)

Changed

  • Updated dependencies across all initializers:
    • net.democritus:sql-expanders: 2.4.1 -> 2.5.0
  • Application project:
    • Added cruds.table.pageSize ApplicationInstanceOption as default option.

3.17.1 (2022-04-21)

Fixed

  • Application project:
    • Reverted to start_docker.nss copying ear/sql scripts.

3.17.0 (2022-04-21)

Changed

  • Application project:
    • Updated technical infrastructure settings to default to Java 11.
    • Compile for Java 11 by default.
  • Added JDK17 as allowed Debian dependency.
  • Added JDK11/JDK17 as recommended Debian dependency.

3.16.0 (2022-04-19)

Fixed

  • Application project:
    • Name of the Docker image is now automatically converted to lowercase as capital letters are not allowed by Docker.
    • Replaced application name with application instance name in various places.

Changed

  • Application project:
    • Removed default ApplicationInstance option editorconfig.global.
    • Shell scripts now only expand when the AWS flag is set.
    • Updated docker setup for nsx-tomee-base version 2.0.0 and up.
    • Build applications on Jenkins with Java 11 by default.
  • Updated dependencies across all initializers:
    • net.democritus:Expanders: 5.8.0 -> 5.8.1
    • net.democritus.maven.plugins:expanders-maven-plugin: 2021.7.0 -> 2022.0.1
    • net.democritus.metamodel:metamodel-expansion-stack: 4.3.2 -> 4.5.0
    • net.democritus.metamodel:prime-core: 2022.1.3 -> 2022.3.0
    • net.democritus:nsx-default-stack: 2022.4.0 -> 2022.5.1
    • net.democritus:sql-expanders: 2.4.0 -> 2.4.1

3.15.0 (2022-04-03)

Fixed

  • Application project:
    • start_docker.nss script no longer copies ear/sql scripts.

Added

  • All initializers that generate Jenkinsfile now include an option to only keep the last 50 builds.
  • A recommendation dependency for the ns-scripting package in the Debian package.
  • Signing of installer.

Changed

  • Updated dependencies across all initializers:
    • net.democritus:nsx-default-stack: 2022.3.2 -> 2022.4.0
    • net.democritus:Expanders: 5.7.5 -> 5.8.0

3.14.0 (2022-03-21)

Fixed

  • Metamodel project:
    • (INIT-26) Changed default directory for program type model/source to sourceRoot/model.
    • (INIT-25) Added getProgramWriter() to ProgramFactory.

Added

  • Application project:
    • Additional scripts to prepare, start and stop docker.
    • package.json file with scripts to deploy/undeploy application from micro-radiant.
    • Added (experimental) NSScript scripts to replace the bash scripts when using the --scripts option.
    • Added docker/app-conf folder to add configuration files to the Docker image which have to be available on the classpath.
  • (INIT-23) Packaging as Debian package.
  • (INIT-23) Packaging as Windows installer.

Changed

  • Updated dependencies across all initializers:
    • net.democritus:nsx-default-stack: 2022.2.3 -> 2022.3.2
    • net.democritus:Expanders: 5.6.0 -> 5.7.5
  • expansionSettings.xml to override available initializers is not loaded from $USERDIR/.nsinit/expansionSettings.xml with existing locations as a fallback.
  • (INIT-24) The temporary folder for initialization settings has been moved from $NSINIT_PATH/target/export to a randomly generated temporary folder.
  • (INIT-24) The dependencies cache for the initializer has been moved from $NSINIT_PATH/target to $USERDIR/.nsinit/cache.
  • The updater is now disabled if there is a .external_update file next to the initializer jar.
  • Application project:
    • The setup.sh script to setup up additional jar dependencies in the Docker image is now executed when the Dockerfile is being built.

Removed

  • Application project:
    • The docker/lib folder was removed.

3.13.0 (2022-02-17)

Fixed

  • Application project:
    • (INIT-20) Copying sql files from sql-expanders to Docker image was missing in Jenkinsfile.
    • (INIT-21) Copying ear file to Docker image was missing in Jenkinsfile.
  • Metamodel project:
    • ProgramTypeFactory class was not generated when program types are used.

Changed

  • Updated dependencies across all initializers:
    • net.democritus:nsx-default-stack: 2022.1.2 -> 2022.2.3
    • net.democritus:Expanders: 5.5.1 -> 5.6.0
    • net.democritus.metamodel:metamodel-expansion-stack: 4.3.0 -> 4.3.2
    • net.democritus.metamodel:prime-core: 2022.1.0 -> 2022.1.3
  • Metamodel project:
    • Updated descriptions of project flags.

3.12.0 (2022-01-21)

Added

  • Hidden --print-path parameter to print the path to the initializer in the console.

Changed

  • Updated dependencies across all initializers:
    • net.democritus:nsx-default-stack: 2021.13.6 -> 2022.1.2
    • net.democritus:Expanders: 5.4.3 -> 5.5.1
    • net.democritus.metamodel:metamodel-expansion-stack: 4.2.0 -> 4.3.0
    • net.democritus.metamodel:prime-core: 2021.10.1 -> 2022.1.0
  • Application project:
    • Removed --experimental option.
    • Replaced legacy expansion settings file with program type based expansion settings.

3.11.0 (2022-01-06)

Changed

  • Updated dependencies across all initializers:
    • net.democritus:nsx-default-stack: 2021.13.1 -> 2021.13.6
    • net.democritus:Expanders: 5.4.0 -> 5.4.3
    • net.democritus.metamodel:metamodel-expansion-stack: 4.1.10 -> 4.2.0
    • net.democritus.metamodel:prime-core: 2021.9.0 -> 2021.10.1

3.10.0 (2021-12-10)

Fixed

  • Application project:
    • The DataElement generated by --examples did not contain any finders.
  • Implicit arguments and flags were mistakenly added to the CLI interface.

Added

  • (INIT-2) Metamodel project initializer.

Changed

  • Updated dependencies across all initializers:
    • net.democritus:nsx-default-stack: 2021.11.4 -> 2021.13.1
    • net.democritus:Expanders: 5.3.3 -> 5.4.0
    • net.democritus.metamodel:prime-core: 2021.8.1 -> 2021.9.0
    • org.jacoco:jacoco-maven-plugin: 0.8.2 -> 0.8.7
  • Application project:
    • The user is now prompted to generate the demo/development scripts that are generated when using the --scripts CLI option.

3.9.0 (2021-12-02)

Fixed

  • Application project:
    • Jenkinsfile should only call modelValidations() to perform model validation.
    • prepare.sh script for Docker container no longer injects variables into tomee.xml, as these should be picked up automatically by TomEE.
  • Expanders project:
    • Disable execution of SonarQube on deploy step in Jenkinsfile.

Changed

  • Updated dependencies across all initializers:
    • net.democritus:nsx-default-stack: 2021.10.5 -> 2021.11.4
    • net.democritus:Expanders: 5.2.8 -> 5.3.3
    • net.democritus.maven.plugins:expanders-maven-plugin: 2021.5.13 -> 2021.7.0
    • net.democritus.metamodel:prime-core: 2021.5.12 -> 2021.8.1

3.8.0 (2021-11-15)

Added

  • Application project:
    • Added --examples flag to generate some example elements/data in the project.
  • Examples project:
    • Added --examples flag to generate some example expanders in the project.

3.7.0 (2021-11-08)

Added

  • Application project:
    • pom.xml in the project root to manage the project version.
    • dockerImage argument to specify the name for the docker image.

Changed

  • Application project:
    • Added .env file for docker-compose to set the stack name.
    • Simplified docker-compose setup.
    • For local deployment with docker-compose also expose port 5432 as port 54321 on the host.
    • In rejuvenate script, build on 1.5C threads by default.
    • Added redirect from root url to application url in Dockerfile.
    • Added building and pushing of docker images to the Jenkinsfile.
    • Store test results in Jenkins pipeline.
  • Updated dependencies across all initializers:
    • net.democritus:nsx-default-stack: 2021.10.3 -> 2021.10.5
    • net.democritus:Expanders: 5.2.5 -> 5.2.8
  • Zip file packaging now contains all files in the root, instead of a versioned subfolder.
  • Spec builders for ProjectArgument and ProjectFlag can now take the value as part of the argument, formatted as typeName: value.

3.6.0 (2021-10-26)

Fixed

  • PowerShell script nsinit.ps1 did not find the script root correctly.
  • Bash script nsinit now find the script root correctly on Mac.

Changed

  • Updated dependencies across all initializers:
    • net.democritus:nsx-default-stack: 2021.9.5 -> 2021.10.3
    • net.democritus:Expanders: 5.2.0 -> 5.2.5

3.5.1 (2021-10-18)

Fixed

  • Initializer project:
    • prime-core version was not injected correctly into POM file.

3.5.0 (2021-10-05)

Changed

  • Updated dependencies across all initializers:
    • net.democritus:nsx-default-stack: 2021.9.2 -> 2021.9.5
    • net.democritus:Expanders: 5.1.3 -> 5.2.0
    • net.democritus.maven.plugins:expanders-maven-plugin: 2021.5.10 -> 2021.5.13
    • net.democritus.metamodel:prime-core: 2021.5.5 -> 2021.5.12
  • Artifact identifier changed for 2 artifacts (see changelog meta-model-stack 4.1.2):
    • net.democritus.initializer.model:ns-initializer-model-core -> net.democritus.initializer.model:ns-initializer-core
    • net.democritus.initializer.model:ns-initializer-model-test-support -> net.democritus.initializer.model:ns-initializer-test-support
  • Application project:
    • Reverted expansion of expansionSettings with program types. This is now available with the --experimental option and by default ApplicationExpansionSettings is generated for legacy support (PR).

3.4.1 (2021-10-02)

Fixed

  • Application project:
    • 8080 http port for local deployment with Docker was exposed on the wrong container.

3.4.0 (2021-09-29)

Changed

  • Updated dependencies across all initializers:
    • net.democritus:nsx-default-stack: 2021.9.1 -> 2021.9.2
    • net.democritus:Expanders: 5.1.1 -> 5.1.3
  • Application project:
    • Updated expansionSettings.xml generator to use ExpansionSettings element with JeeApplication program type instead of legacy ApplicationExpansionSettings.
    • Moved settings model folder from applications/<application.shortName>/settings to settings.

3.3.3 (2021-09-28)

Fixed

  • Moved version notification to pre-exit phase.

3.3.2 (2021-09-27)

Fixed

  • Deadlock in version checker prevented updated from going through consistently.

3.3.1 (2021-09-27)

Fixed

  • Resolved some performance issues of the updater triggered with --update.

3.3.0 (2021-09-27)

Changed

  • Replaced TextIO library with JLine3.
  • Version check runs concurrently in the background, so it does not slow down the initializer at shutdown.
  • Updated dependencies across all initializers:
    • net.democritus:nsx-default-stack: 2021.9.0 -> 2021.9.1
    • net.democritus:Expanders: 5.1.0 -> 5.1.1

3.2.0 (2021-09-24)

Added

  • PowerShell nsinit script.

Changed

  • Updated dependencies across all initializers:
    • net.democritus:nsx-default-stack: 2021.8.0 -> 2021.9.0
    • net.democritus:Expanders: 4.19.4 -> 5.1.0
    • net.democritus.maven.plugins:expanders-maven-plugin: 2021.5.4 -> 2021.5.10
    • net.democritus.maven.plugins:expansion-validation-maven-plugin: 2021.0.0 -> 2021.1.0
    • net.democritus.metamodel:prime-core: 2021.5.2 -> 2021.5.5
  • Improved structure of generated POM files.
  • Application project:
    • Moved port expose for local deployment from docker-compose.yml file into docker-compose.local.yml extension file.
    • Updated rejuvenate_deploy_local.sh script to use new docker-compose.local.yml extension file for local Docker deployment.
  • Expanders project:
    • Added Jacoco and JUnit post-processing in Jenkinsfile.

3.1.1 (2021-09-22)

Fixed

  • Application project:
    • Corrected docker image name in AWS Terraform script.

3.1.0 (2021-09-20)

Fixed

  • Switched from log4j2 logger for slf4j to simple logging, to prevent charset warnings on cli.

Changed

  • Overhauled updating process of initializer.

3.0.1 (2021-09-20)

Fixed

  • Default expansionSettings.xml for initializer resources used fixed 3.0.0-SNAPSHOT version.
  • The flag terraform in the application project type was not set to true if the aws flag was true.

3.0.0 (2021-09-17)

Fixed

  • (INIT-14) Create subfolders in docker when --no-git is defined.
  • (INIT-15) Batch script no longer terminates unexpectedly on CMD.

Added

  • (INIT-17) Meta-model to describe project types.
  • (INIT-16) --export argument on every project type, to export the initialization expansion files to the specified location.
  • (INIT-16) -D argument on every project type, to set arguments and flags by name. This also allows setting implicit arguments which are not defined in the CLI.
  • The initializer will extract the nsinit scripts automatically when the root command is called if they were already found to be present in the same folder as the jar file, so they stay up-to-date.
  • --update-scripts flag on the root command to instruct the initializer to extract the nsinit scripts to the jar file location even if they were not previously present.
  • --no-update-scripts flag on the root command to prevent automatic extraction of nsinit scripts to the jar file location.
  • Initializer project type for new intializer projects.

Changed

  • (INIT-16) The initializer projects are now defined in expansion resources, with the description of the input arguments as a model in the data resources.
  • The nsinit shell script will no longer terminate if the version check failed, but rather write an error message in console.
  • All flags for projects now have both a regular and --no variant of the flag, to explicitly define the desired value. The default value is shown in --help.
  • --groupid now has the alias --group-id for all projects.
  • Initializer artifact groupId changed to net.democritus.initializer.

Removed

  • -V and --version flags on project types were removed. The flag is now only available on the root command. (nsinit -V)
  • Application project:
    • The admin account password is no longer written to the console, to avoid unintentional logging. It is now only stored in the .credentials file.

2.9.0 (2021-08-31)

Added

  • Application project:
    • (INIT-5) New parameter --aws generates an AWS deployment project with Terraform for the application.
    • New rejuvenate.sh script, which runs harvest, clean expand and build.
    • New rejuvenate_docker.sh script, which runs harvest, clean expand, build and Docker build.
    • (INIT-5) New rejuvenate_deploy_aws.sh script, which runs harvest, clean expand, build, Docker build and full-scale deployment to AWS.
    • .credentials file in JSON format which contains the generated application password for the admin account.

Changed

  • Application project:
    • The generated rejuvenate_deploy.sh script has been renamed to rejuvenate_deploy_local.sh.
    • Added new .credentials file to the .gitignore file.

2.8.2 (2021-08-16)

Fixed

  • Use directory tag instead of expansionDirectory and harvestDirectory in expansionSettings.

2.8.1 (2021-07-24)

Fixed

  • Copy folders instead of files in Dockerfile to avoid errors on empty folders.

2.8.0 (2021-07-22)

Fixed

  • nsinit shell script did not work correctly when called through a symbolic link.

Changed

  • Application project:
    • Updated net.democritus:sql-expanders to 2.4.0.
  • Expanders project:
    • Updated net.democritus:Expanders to 4.19.4.

2.7.0 (2021-07-16)

Fixed

  • Application project:
    • Name of docker image for application in docker-compose file.

Added

  • Application project:
    • Uses new ConfigurableAuthorization task implementations for account authorization by default to deny all rights out of the box.
    • Assigns all rights on all elements to admin profile in DataAccess.
    • Assigns all rights on elements in the main component to user profile in DataAccess.

Changed

  • Application project:
    • Updated net.democritus:nsx-default-stack to 2021.8.0.
    • Updated net.democritus.maven.plugins:expanders-maven-plugin to 2021.4.1.
  • Expanders project:
    • Updated net.democritus:Expanders to 4.19.1.
    • Updated net.democritus.maven.plugins:expanders-maven-plugin to 2021.4.1.

2.6.0 (2021-07-12)

Fixed

  • Application project:
    • Updated SonarQube integration because the jacoco mojo moved to a different Maven plugin.

Changed

  • Application project:
    • Moved expanders Maven plugin version to property in POM file.

2.5.2 (2021-06-25)

Fixed

  • Application project:
    • Convert prepare.sh line-endings in Dockerfile to LF if needed.

2.5.1 (2021-06-25)

Fixed

  • Application project:
    • Bug in expander template for docker setup script.

2.5.0 (2021-06-25)

Added

  • Application project:
    • (INIT-3) Added docker setup.
    • (INIT-8) Added support for Flyway in docker setup.
    • (INIT-3) --no-docker option to disable docker integration.
    • (INIT-9) --scripts option to generate scripts for utility scripts for local development and demos.

Changed

  • Application project:
    • Updated net.democritus:sql-expanders to 2.3.0.

2.4.0 (2021-06-22)

Added

  • Application project:
    • (INIT-1) Added model-validation to Jenkinsfile + empty config file for exclusions.
    • (INIT-1) Added --no-model-validation option to exclude model validation from generation.
  • Expanders project:
    • --artifactid option to specify the artifactId for the Maven project.

Changed

  • Improved bash/batch scripts to report error on update.
  • Expanders project:
    • Default artifactId will now get -expanders appended if it is not already present.

2.3.0 (2021-06-21)

Added

  • Application project:
    • Added sql-expanders dependency.
    • Added initial data for sql-expanders + randomized admin password generation.

2.2.2 (2021-06-18)

Fixed

  • Bug in version checker that affected release versions.

2.2.1 (2021-06-18)

Fixed

  • Auto update only runs when an application is being generated, so you can still use -V or --check-version on the nsinit scripts without triggering the update.

2.2.0 (2021-06-18)

Added

  • Added version check with --check-version parameter, which returns the latest version if one is found.
  • Added automatic updating for the initializer tool to nsinit scripts.

2.1.2 (2021-06-17)

Fixed

  • Corrected casing for expanders used to generate app project.

2.1.1 (2021-06-17)

Fixed

  • Expanders project:
    • POM file was expanded to pom-expansion.xml instead of pom.xml.

2.1.0 (2021-06-17)

Fixed

  • Corrected casing for expanders used to generate expanders project.

Changed

  • Application project:
    • Updated net.democritus:nsx-default-stack to 2021.6.0.
    • Updated maven plugin to 2021.3.0.
  • Expanders project:
    • Updated net.democritus:Expanders to 4.17.0.
    • Updated maven plugin to 2021.3.0.

2.0.0 (2021-06-15)

Changed

  • Replaced templating engine with expander framework.

Added

  • Added SonarQube integration.

1.5.1 (2021-06-14)

Fixed

  • Expanders plugin groupId has changed.

1.5.0 (2021-06-14)

Fixed

  • Some incorrect versions were inserted in pom files.

Changed

  • Application project:
    • Updated net.democritus:nsx-default-stack to 2021.4.3.
    • Updated maven plugin to 2021.2.0.
  • Expanders project:
    • Updated net.democritus:Expanders to 4.16.3.

1.4.0 (2021-05-26)

Fixed

  • Application project:
    • ApplicationInstance shortName should equal that of the application.

Changed

  • Removed help command on commandline. Now replaced with -h or --help, which can be executed on every command.
  • Added -V or --version flag on root command to print the version of th initializer application.
  • By default the application now enters an interactive mode and requests all parameters that have not been specified on command-line.

Added

  • -y or --yes-to-all option which disables interactive mode and accepts all default values if they were not specified on command-line.
  • Prompt if the output directory is not empty.
  • -f or --force option which forces the initializer to generate the requested project even if the output directory is not empty.
  • Application project:
    • Added application instance option hibernate.version: 5.
    • Added application instance option editorconfig.global.
    • “TomEE HSQL OpenJPA” business logic settings.
    • .gitignore is no longer generated when --no-git is present.
    • The default component name is no longer example, but rather the name of the application in camel-case + Comp.
  • Expanders project:
    • .gitignore is no longer generated when --no-git is present.

1.3.1 (2021-05-25)

Fixed

  • Corrected zip packaging.
  • Corrected version number in application.

1.3.0 (2021-05-12)

Fixed

  • Application project:
    • Mismatched casing in environment variables.

Added

  • --no-git command-line argument to exclude the git initialization step.

Changed

  • New message for initial commit of git repository.
  • Application project:
    • Updated net.democritus:nsx-default-stack to 2021.3.4.
  • Expanders project:
    • Updated net.democritus:Expanders to 4.15.5.
    • Updated net.democritus:expanders-maven-plugin to 2021.1.1.

Removed

  • Application project:
    • Expand execution in pom-expansion.xml.
    • slackOnChangeOnly in Slack reporting in Jenkinsfile.
    • clean stage in Jenkinsfile.
    • hasDataBaseSchema option in the generated component.
  • Expanders project:
    • slackOnChangeOnly in Slack reporting in Jenkinsfile.

1.2.0 (2021-05-12)

Changed

  • Packaging jar with dependencies.

1.1.1 (2021-04-21)

Fixed

  • Corrected changelog structure.

1.1.0 (2021-04-21)

Added

  • Application projects are generated with the finders.enableTypedFinders option by default.