ltutar / cdaas-demo-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spring Boot Demo App

Note to myself :) Keep this repository for VZ demo-app. Do not remove the repository.

This repository is used to test the application that is being deployed by https://github.com/ltutar/playbook-awx-artifactory-download-and-deploy

The project has been adjusted for demo purposes and certain files and folders have been removed.

Build

Maven

Validate

./mvnw clean validate

Compile

./mvnw clean compile

Test and create a report

./mvnw surefire-report:report

Build

./mvnw clean install spring-boot:repackage

Build a specific version

./mvnw versions:set -DnewVersion=1.0.0
./mvnw clean install spring-boot:repackage

Running the application as jar

java -jar ./target/cdaas-demo-app-1.0.0.jar

Docker

Build image

docker build -t cdaas-demo-app:1.0.0 .

Running the application as docker container

docker run -d cdaas-demo-app:1.0.0

Application endpoints

Replace localhost accordingly.

<img src="images/java-end-result.png" height="400">

About


Languages

Language:Scala 28.4%Language:JavaScript 27.8%Language:Java 19.0%Language:CSS 12.1%Language:HTML 9.9%Language:Dockerfile 2.8%