Skip to main content

Build and Deploy

Once your project setup is modeled, the project expandersExpanderA unit of generation that combines a data tree instance (functional M1 model) with a template to generate an artifact. turn it into everything needed to actually build, run and maintain your project.

What gets expanded​

From the model, the project expandersExpanderA unit of generation that combines a data tree instance (functional M1 model) with a template to generate an artifact. generate three main areas of provided expanded functionality:

  • CI/CD pipeline: a pipeline definition (a Jenkinsfile) with a stage for every stage in the model.
  • Containerization: a Dockerfile for every artifactArtifactA build or deployment result, such as a Docker container image or Java archive, produced by a software project. your software project builds, and a Docker Compose file for every environment, containing the services of that environment.
  • NSScripts for local deployment: NS scripts for everyday development tasks, such as expanding and harvestingHarvestingThe process of extracting and persisting custom code from anchors and ext directories back into source directories., releasing, setting a version, and starting or stopping the services of an environment locally.

How an application is deployed​

NS JEE applicationsApplicationThe overarching model container grouping all components, domain logic, and configurations for an enterprise solution. are deployed on an applicationApplicationThe overarching model container grouping all components, domain logic, and configurations for an enterprise solution. server, like any other JEE applicationApplicationThe overarching model container grouping all components, domain logic, and configurations for an enterprise solution.. When built, they are packaged as a deployable EAR file. Though in theory the applicationsApplicationThe overarching model container grouping all components, domain logic, and configurations for an enterprise solution. should be deployable on various JEE applicationApplicationThe overarching model container grouping all components, domain logic, and configurations for an enterprise solution. servers, we primarily support Apache TomEE, which is built on top of Apache Tomcat.

To facilitate easy packaging and deployment of applicationsApplicationThe overarching model container grouping all components, domain logic, and configurations for an enterprise solution., we provide Docker images that can be extended, which already contain the applicationApplicationThe overarching model container grouping all components, domain logic, and configurations for an enterprise solution. server and some required dependencies.

ApplicationsApplicationThe overarching model container grouping all components, domain logic, and configurations for an enterprise solution. can be packaged as Docker images extending the nsx-tomee-base image.