The default Java app that will be pushed in the Swisscom Application Cloud if no source code is provided | Read-only mirror of https://github.com/swisscom/cf-default-app-java — Swisscom. Issues & pull requests at the source.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2024-10-16 17:15:11 +02:00
src/main Upgrade dependencies 2017-12-04 13:18:18 +01:00
.gitignore Add zip file to gitignore 2017-08-10 16:34:56 +02:00
build.gradle Upgrade dependencies 2017-12-04 13:18:18 +01:00
CODE_OF_CONDUCT.md Compliance bulk update. Add CODE_OF_CONDUCT.md 2024-10-16 17:15:11 +02:00
CONTRIBUTING.md Compliance bulk update. Add CONTRIBUTING.md 2024-10-16 17:15:10 +02:00
LICENSE Migrate to SDX 2017-06-13 17:47:40 +02:00
manifest.yml Upgrade dependencies 2017-12-04 13:18:18 +01:00
README.md Fix typo 2017-07-28 10:27:14 +02:00

CF Default App Java

The default Java app that will be pushed into the Swisscom Application Cloud if no source code is provided.

Based on Spark

Run locally

  1. Install the Java JDK
  2. Install Gradle
  3. Run gradle build
  4. Run java -jar build/libs/cf-default-app-java-1.0.0.jar
  5. Visit http://localhost:4567

Run in the cloud

  1. Install the Java JDK
  2. Install Gradle
  3. Install the cf CLI
  4. Run gradle build
  5. Run cf push -p build/libs/cf-default-app-java-1.0.0.jar --random-route
  6. Visit the given URL

Create ZIP

  1. Install the Java JDK
  2. Install Gradle
  3. Run gradle build
  4. Run mv build/libs/cf-default-app-java-1.0.0.jar java_app.zip