Skip to main content

jee-application-project-expanders


1.2.0 (2025-07-28)

Added

  • [REJUV-609] Inline documentation

Changed

  • Updated docker.normalizedsystems.org/nsx-tomee-base docker image
    • 8.0.17-3.3.0 -> 8.0.18-3.6.1
    • 8.0.17-3.3.0-rootless -> 8.0.18-3.6.1-rootless

1.1.0 (2025-05-05)

Changed

  • Updated docker.normalizedsystems.org/nsx-tomee-base docker image
    • 8.0.16-3.1.1 -> 8.0.17-3.3.0
    • 8.0.16-3.1.1-rootless -> 8.0.17-3.3.0-rootless

1.0.0 (2025-04-25)

Added

  • Added project/.cleanExclude expander to avoid that the project-expanders can delete the project/ folder

Changed

  • Updated docker.normalizedsystems.org/nsx-tomee-base docker image
    • 8.0.16-3.0.1 -> 8.0.16-3.1.1
    • 8.0.16-3.0.1-rootless -> 8.0.16-3.1.1-rootless

0.7.0 (2025-03-10)

Added

  • REJUV-428 Model validations
    • ServiceGroupDeprecatedRule
      • Enforces that the serviceGroup isn't used anymore as it has been deprecated
    • ServiceNeedsArtifactRule
      • Validates that all services have a configured artifact
    • SoftwareProjectNameCollisionRule
      • Validates that the application isn't named environments, services or scripts to avoid naming collisions
    • ArtifactFieldRule
      • Validates no / is used in the name or the technicalName
  • Build context of a softwareProject service can now be disabled with the project.service.buildContext.disable option
  • custom precondition anchors for the start services scripts
  • opt-in support for the rootless docker image for jee-application

Changed

  • Updated options, old options are still available with their alias.
    • project.service.noEnvironmentVariables -> project.service.environmentVariables.disable
    • project.service.noPorts -> project.service.ports.disable
    • project.service.noOverrides -> project.service.overrides.disable
    • project.replaceInitialDatabaseScriptsWithExpandedScripts -> project.softwareProject.replaceInitialDatabaseScriptsWithExpandedScripts
    • project.service.customVolumeName -> project.service.volumeName
    • project.softwareProject.frontend -> project.softwareProject.frontend.name
  • For the angular frontend use npm run start instead of the npm ng serve in the angular_frontend_serve.nss script

0.6.2 (2025-03-03)

Changed

  • Update nss-scripts-expanders: 0.6.0 -> 0.6.1

0.6.1 (2025-02-24)

Fixed

  • Fixed expander failing when no softwareProject was defined on a jee-application that was externally built and only the service was necessary in an environment

0.6.0 (2025-02-20)

Changed

  • REJUV-456 Breaking change: depends_on is no longer expanded. Use the custom anchors in the compose file of an environment to implement depends_on if needed.
  • REJUV-458 Consolidated ComposeDefaultExpander and ComposeEnvironmentExpander into a single expander.
  • Update nss-scripts-expanders: 0.4.0 -> 0.6.0

0.5.2 (2025-02-20)

Added

  • REJUV-440 Added SCM information to deployed pom.xml artifacts

Fixed

  • REJUV-457 Fix incorrect casing in ComposeDefaultExpander

0.5.1 (2025-02-13)

Fixed

  • Fixed expander mapping that would fail if a jee-application artifact was defined without a softwareProject

0.5.0 (2025-02-07)

Added

  • Added jee-application-image and angular-frontend-image artifact types
  • Added serve_angular_frontend.nss expander
  • Added build_angular_frontend.nss expander
  • Added build_<softwareProject.name>.nss expander
  • Added JeeAppSoftwareProjectEnvFeature expander
    • Added StartDefaultServicesNssScriptExpander Expander Feature to the JeeAppSoftwareProjectEnvFeature Feature
    • Added StopDefaultServicesNssScriptExpander Expander Feature to the JeeAppSoftwareProjectEnvFeature Feature

Changed

  • The start services scripts now also attempt to copy the .ear artifact for jee-application services
  • The start services scripts now also attempt to copy the sql base artifact for jee-application services

Removed

  • project.environment.isLocal option moved to nss-script-expanders
  • Removed JeeApplicationSoftwareProjectFeature.RejuvenateNssScriptExpander feature expander as the expander no longer exists
  • Removed JeeApplicationSoftwareProjectFeature as it is no longer necessary

0.4.1 (2025-01-30)

Changed

  • Changed casing of compose files to be consistent.
  • Simplify environment compose file name attribute

Fixed

  • Fixed compose file names and references to compose files using different casing.

0.4.0 (2025-01-10)

Changed

  • Changed the docker image name buildup to <artifact.group>/<service.artifact.technicalName>
  • image artifacts will now be set to latest if no version was specified on the artifact and project.environment.isLocal is defined on the environment.

0.3.0 (2024-11-28)

Changed

  • Service images no longer resolved on the service name but resolved from the artifact.technicalName.
  • Docker context dir is now expected to be found in docker/<artifact.name;format="kebabCase">

Removed

  • env-files expanders. Environment sections will be added to the environment override file. They can be disabled with the option project.service.noEnvironmentVariables for all environments on the service

Fixed

  • All the services were always used in the include files instead of only the services that were in that environment

0.2.0 (2024-11-14)

Added

  • Script files expanders
  • Support for projects using the angular frontend

Changed

  • updates for metamodels.v3 version of the project-metamodel
  • moved expanders from the net.democritus.ci.nsx package into their specific folders
    • docker and compose file expanders to net.democritus.project.docker
    • script file expanders to net.democritus.project.scripts
  • changed resulting folder structure
    • No longer expanded under expansions
    • model, harvest and expansionSettings.xml files will be under .nsproject and the files will be expanded to project
    • ../project should be defined as the expansionDirectory in the expansionSettings.xml
    • expansion type should be component="project" and name="ProjectSetup"
    • the softwareProject should be moved to project/<softwareProject.name;format="kebabCase">
    • the docker/<files> should be moved to project/<softwareProject.name;format="kebabCase">/docker/<service.name>/<files>
      • the prepare.sh file should be here: project/<softwareProject.name;format="kebabCase">/docker/<service.name>/scripts/prepare.sh

Removed

  • Jenkinsfile expanders and moved them to the jee-application-jenkins-ci-expanders project
  • harvest-expanders dependency.

Fixes

  • Fix compose project name

0.1.0 (2024-07-22)

  • Created jee-application-project-expanders project.