Skip to content

tungyi/workerSample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java_DataWorker_Sample

Enviroment

Developers

  • Clone the code and navigate to ./Java_DataWorker_Sample/SampleCode folder

    cd ./Java_DataWorker_Sample/SampleCode
  • Open SampleCode.java under ./Java_DataWorker_Sample/SampleCode/src/main/java and modify some codes about username and password

  • Run gradle command to build jar file

    gradlew runnableJar
  • Lunch Java_DataWorker_Sample via command on your PC

    java -jar ./Java_DataWorker_Sample/SampleCode/build/libs/SampleCode.jar

Cloud Foundry

  • Prerequisites

    • CF Command
    • Check the buildpack java_buildpack_offline exists in cf buildpacks list.
    • Check rabbitmq, postgrsql and mongodb service instance are in cf services.
  • Create manifest.yml file

    gradlew makeManifest
  • Push Application to PCF

    cf push -f manifest.yml

Test data

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages