• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Is my yaml file backbone looks good, if so how to get access to property?

Ranch Hand
Posts: 123
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey guys. I have my yaml file with URL's do different subsites. I'm wondering if it looks good:

To be more concrete, I'm wondering about "concrete book" and "most precise book". I dont knwo if I've written it correctly or it should looks like this

If first option, then could you tell me how can I access this variables within class annotated with @ConfigurationProperties("external.library.url")

the rest of yaml (categories). Im accessing via getters from class className.getMerlin().getRomances();

That is a really big piece of pie for such a tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic