Skip to content

Latest commit

 

History

History
97 lines (87 loc) · 6.94 KB

File metadata and controls

97 lines (87 loc) · 6.94 KB
copyright
years
2015, 2017
lastupdated 2017-09-28

Java Project Files

{: #java-project-files}

Spring

{: #spring-project-files}

The following table lists directories and files in a generated Java Spring project.

Directory / File Description
./
            pom.xml The maven pom file
            cli-config.yml CLI configuration options
            manifest.yml Cloud Foundry deployment file
            Dockerfile Dockerfile for bx dev run, bx dev deploy, and docker commands
            Dockerfile-tools Dockerfile for bx dev build and bx dev test
            LICENSE
            README.md Description of project
./src/main/java/application/
            SBApplication.java The main Spring Application
./src/main/java/application/rest/
            HealthApplication.java Health endpoint
./src/main/java/application/rest/v1/
            Example.java The example code
./src/main/java/resources/
            application-local.properties Spring properties
./src/main/test/application/
            HealthEndpointTest.java Tests
./.bluemix/
            container_build.sh
            deploy.json
            kube_deploy.sh
            pipeline.yml IBM Cloud pipeline definition
            toolchain.yml IBM Cloud toolchain definition
./chart/<projectname>/
            Chart.yaml Helm chart
            values.yaml Helm chart values
./chart/<projectname>/templates/
            deployment.yaml Deployment template
            hpa.yaml HPA template
            service.yaml Service template
./manifests/
            kube.deploy.yml Kubernetes Service & Deployment yaml

Liberty

{: #liberty-project-files}

The following table lists directories and files in a generated Java Liberty project.

Directory / File Description
./
            pom.xml The maven pom file
            cli-config.yml CLI configuration options
            manifest.yml Cloud Foundry deployment file
            Dockerfile Dockerfile for bx dev run, bx dev deploy, and docker commands
            Dockerfile-tools Dockerfile for bx dev build and bx dev test commands
            LICENSE
            README.md Description of project
./src/main/java/application/rest/
            HealthApplication.java Health endpoint
./src/main/java/application/rest/v1/
            Example.java The example code
./src/main/liberty/config/
            jvm.options JVM options
            jvmbx.options Java metrics agent config
            server.env Environment variables
            server.xml Server config
./src/main/webapp/WEB-INF/
            beans.xml CDI bean config
            ibm-web-ext.xml IBM web app config
./src/main/test/it/
            HealthEndpointTest.java Tests
./.bluemix/
            container_build.sh
            deploy.json
            kube_deploy.sh
            pipeline.yml IBM Cloud pipeline definition
            toolchain.yml IBM Cloud toolchain definition
./chart/<projectname>/
            Chart.yaml Helm chart
            values.yaml Helm chart values
./chart/<projectname>/templates/
            deployment.yaml Deployment template
            hpa.yaml HPA template
            service.yaml Service template
./manifests/
            kube.deploy.yml Kubernetes Service & Deployment yaml