• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Peter Rooke
  • Himai Minh
  • Piet Souris
  • Mikalai Zaikin

Question on using spring profiles groups to replace spring profiles import

Ranch Hand
Posts: 681
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi I am using spring before Spring 2.4.0  to run a profile within a profile, So I have 4 different profiles  @activatedProperties@ local, dev, qa, and prod, and in each one of then I want to run Spring cloud config awss3

So for each  @activatedProperties@  include  awss3

What this does is that it allows me to run the following in my yml file,

And then I have

And lets say  @activatedProperties@ is local

This will call application-local.yml

But I am using  spring version 2.6.1 and

Does not work,
Trust God, but always tether your camel... to this tiny ad.
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic