Cross-Application Persistence Service
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github fix(docs): Update PULL_REQUEST_TEMPLATE contributing link (#240) Jun 1, 2017
front50-azure fix(azure): AzureStorageService should throw exception if object not … Nov 18, 2017
front50-core feat(graphql): Additional trigger filtering (#388) Oct 24, 2018
front50-gcs refactor(gcs): Update doRetry and bump clouddriver version (#355) Sep 26, 2018
front50-migrations fix(migrations): MigrationRunner did not log the stactrace of errors (#… Dec 14, 2018
front50-oracle chore(oracle/dependency): upgrade oracle oci sdk version to 1.3.2 (#405) Dec 14, 2018
front50-redis feat(MPTv2): Stubs MPT v2 controllers. (#376) Oct 16, 2018
front50-s3 fix(s3): Add control over nb of objects retrieved per batch (maxKeys) ( Oct 5, 2018
front50-swift feat(log): annotations for json logging (#282) Oct 11, 2017
front50-test refactor(providers): Remove cassandra as a storage provider (#353) Sep 25, 2018
front50-web feat(app/permission): endpoint for single app permissions (#403) Dec 12, 2018
gradle chore(builds): Introduces composite builds via gradle plugin. Removes… Oct 25, 2018
halconfig (halconfig) disable cassandra (#196) Feb 14, 2017
.clog.toml chore(changelog): Extend changelog commit keywords. (#216) Mar 22, 2017
.editorconfig Add V2 Application API endpoints Sep 10, 2016
.gitignore feat(oraclebmcs): Add Oracle BMCS Storage Service provider (#230) May 12, 2017
.travis.yml chore(build): build on openjdk8 (#395) Nov 5, 2018
AUTHORS Adds AUTHORS file Aug 26, 2015
Dockerfile chore(docker): Upgrade base image (#300) Feb 8, 2018
Dockerfile.slim Fix typo in Dockerfile.slim (#309) Apr 19, 2018
LICENSE.txt Update LICENSE.txt Aug 21, 2014
README.md fix(s3/web): Fix s3 TCK tests (#380) Oct 17, 2018
build.gradle chore(dependencies): Autobump spinnaker-dependencies (#407) Dec 14, 2018
cloudbuild-tagged.yaml chore(nightly build): Adds clouddriver-tagged.yaml for nightly builds ( Jul 10, 2017
cloudbuild.yaml chore(nightly build): Adds clouddriver-tagged.yaml for nightly builds ( Jul 10, 2017
gradle.properties refactor(providers): Remove cassandra as a storage provider (#353) Sep 25, 2018
gradlew chore(build): Gradle 4.7 Apr 23, 2018
gradlew.bat chore(build): Gradle 4.7 Apr 23, 2018
settings.gradle refactor(providers): Remove cassandra as a storage provider (#353) Sep 25, 2018

README.md

Spinnaker Application & Project Metadata Repository

Build Status This service fronts a Spinnaker datastore. It's intended that any datastore could work, there are a number of current storage providers. Front50 written using Spring Boot.

Debugging

To start the JVM in debug mode, set the Java system property DEBUG=true:

./gradlew -DDEBUG=true

The JVM will then listen for a debugger to be attached on port 8180. The JVM will not wait for the debugger to be attached before starting Front50; the relevant JVM arguments can be seen and modified as needed in build.gradle.

Modular builds

By default, Front50 is built with all storage providers included. To build only a subset of providers, use the includeProviders flag:

./gradlew -PincludeProviders=s3,gcs clean build

You can view the list of all providers in gradle.properties.

Working Locally

The tests are setup to only run if needed services are available.

S3

S3 TCK only run if there is a s3 proxy available at 127.0.0.1:9999

This can be provided with the following command:

docker run -d -p9999:80 \
  --env S3PROXY_AUTHORIZATION="none" \
  --env JCLOUDS_PROVIDER="filesystem" \
  --env JCLOUDS_IDENTITY="remote-identity" \
  --env JCLOUDS_CREDENTIAL="remote-credential" \
  andrewgaul/s3proxy

When running the S3 TCK via an IDE make sure to have env AWS_ACCESS_KEY_ID and AWS_SECRET_KEY set to null otherwise the tests will timeout, the gradle test task is already configured this way.