Skip to content
 
 

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Any issues have been record in the issues section of the repo.

Repo Structure

/{project-name}
├── src
│   ├── main
│   │   ├── java
│   │   │   └── com
│   │   │       └── cloudmersive
│   │   │           └── controller
│   │   │           |    └── ApiController.java ## Configure all HTTP Request here
│	│	│			└── service ## Add all Buisness logic Transformations here
│	│	│			└── dto ## Configure, Incoming JSON Format for Controllers
|	|	│			
│   │   └── resources
│   │       └── application-dev.properties ## Configure Springboot Profile Environment Variales
│   └── test
│       ├── java
│       │   └── com
│       │       └── cloudmersive
│       │           └── service  ## All the tests for all the buisness logic transformations
│       └── resources
├── .gitignore
├── pom.xml						## Maven Config
└── README.md					## You Should read this

How to compile for deployment with hotreload

Run the following command docker-compose --profile dev up --build --watch .

Hotreload, but re-run tests each time

Run docker compose --profile test up --watch, which will launch the server in hot reload mode Will have to check container logs, to review the tests of the results.

Note : You cannot query the API in this mode, this is specifically designed for CI/CD purposes to ensure that it can be ensured that all tests are passing.

How to compile the Source Code for deployment

Simply docker-compose --profile prod up, after copying down the source code, and ensuring that docker is installed on the production server.

How the code is compiled

Technically Docker & Docker compose handles all this for us.

  1. Build with all the latest Changes using Maven maven clean package
  2. Launch the Springboot Server java -jar target/cloudmersive-interview-1.0-SNAPSHOT.jar

Project Management

Name Change

If you change the name of the project, make sure to also change it from the pom.xml file.

Installing Dependency

Copy down the XML info, into the pom.xml file, and then let the container rebuilt. In dev and test mode, it will automatically rebuild.

Unit Testing

Currently the repo is set to use JUnit Framework to unit test the code base.

References

  1. JUNIT Testing Framework
  2. JUNIT Writing Test Case Sample

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages