No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Salume-Db
Salume-Domain
Supplier-Acceptance-Tests
Supplier-Contract-Example
Supplier
Test-Support
.gitignore
.travis.yml
LICENSE
Procfile
Procfile.windows
README.md
pom.xml
salume-formatter.xml
trigger-rainbow.sh
update-build-number.sh
update-gh-pages.sh

README.md

Salume Build Status Apache 2.0 License

Check the application spec here. Access the status page in production.

This application is continuous delivered every time code is pushed into master and the build passes.

Running the Application

Using Maven

Build with:

$mvn clean install

Optionally recreate the database running the command:

$mvn clean install -PdbRecreate

Then starts Supplier with:

$java -Dprofile=dev $JAVA_OPTS -cp Supplier/target/classes:Supplier/target/dependency/* com.rafaelfiume.salume.SupplierApplication

Use --debug to see DEBUG level messages.

Using Intellij IDEA

Because this project uses the Lombok library, follow these steps:

  • Select "Enable annotation processing" option at Preferences... > Build, Execution, Deployment > Compiler > Annotation Processors
  • Install the lombok-intellij-plugin

Environment Variables

The following variables are used in this project:

Travis Only

  • $DATABASE_RELEASE_URL is optional, but recommended. Specify a value to it to run db scripts in the release environment (staging, prod).

Travis / Heroku

  • $PROFILE is mandatory (valid values are: 'dev', 'staging', 'prod').
  • $PORT is mandatory for 'staging' and 'prod' profiles, but set by Heroku. When necessary $PORT can be specified using --PORT=8081, for instance.

Maven

  • $GITHUB_OAUTH_TOKEN (optional) is necessary when pushing Supplier-Acceptance-Tests into mvn-repo