Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Section
Column
width50%

On This page

Table of Contents
Column
width5%

Column
width45%

On Related Pages

Page Tree
rootPLFM:@parent
startDepth3

Templated Configuration

We use a configuration system to help us enforce isolation between our service stacks, our daemon stacks, dev vs. prod, etc...

The build when running as dev has everything it needs to be configured correctly.

non-dev property overrides

Non-dev property override files belong in versioned S3 bucket configuration.sagebase.org. Make a subfolder to keep things tidy.

S3 Versioning documentation http://docs.amazonwebservices.com/AmazonS3/latest/dev/Versioning.html

Note that the AWS Console does not shows the versions of the config files but you can see them via:

Code Block

~/>s3curl.pl --id platform  https://s3.amazonaws.com/configuration.sagebase.org/?versions

dev (local) property overrides

What to put in a local property override file

Right now it would need to be the concatenation of these files (and likely more in the future):

  • platform/trunk/lib/stackConfiguration/src/main/resources/stack.properties
  • platform/trunk/tools/tool-migration-utility/src/main/resources/searchUpdater.properties
  • platform/trunk/tools/tcgaWorkflow/src/main/resources/tcgaWorkflow.properties

How to tell your local build to use a property override file

If you need to make your own local override file, you'll need to add a property similar to the following to your .m2/settings.xml file:

Code Block
 <org.sagebionetworks.stack.configuration.url>file:///Users/deflaux/Config/devdeflaux.properties</org.sagebionetworks.stack.configuration.url> 

...

How to get an/or use an encryption key

Recommended For your local stack, you can use the encryption key from sodo sodo:/work/platform/PasswordsAndCredentials/StackCredentials/devEncryptionKey.txt

...