spiralhouse / grobot

A Groovy-based remote execution framwork
0 stars 1 forks source link

Configure spring profiles for different settings #16

Closed johnburbridge closed 11 years ago

johnburbridge commented 11 years ago

As a developer, I would like to be able to inject different beans/components into my configuration so that I can leverage the appropriate resources according to my environment.

Examples:

  1. For development I would like to use an in-memory database, but in production I would like to use a persistent database
  2. For development I would like to use a mock target host list, but in production we should use the actual target host provider