sling.run.modes | What is the logic of resolution for run mode | Community
Skip to main content
Level 4
October 16, 2015
Solved

sling.run.modes | What is the logic of resolution for run mode

  • October 16, 2015
  • 1 reply
  • 756 views

Hi,

 
I trying to understand how what CQ (sling) uses to resolve run.modes
 
I have following run mode
sling.run.modes=rohit,local,dev,author
 
I have following config node
config.rohit.local.dev.author
config.local.dev.author
 
Scenario 1:
If we have both the config node:
config.rohit.local.dev.author
config.local.dev.author
 
Then it matches "config.rohit.local.dev.author"
 
Scenario 2:
If I delete node "config.rohit.local.dev.author" then it matches "config.local.dev.author"
 
Scenario 3:
After deleting node "config.rohit.local.dev.author" then if I rename "config.local.dev.author" to "config.R1.R2.local.dev.author" it does not matches anything
 
Scenario 4:
After deleting node "config.rohit.local.dev.author" then if I rename "config.local.dev.author" to "config.local.dev.author.R1.R2" it does not matches anything
 
Not able to understand #3 & #4 behavior - why its not matching anything ?
 
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

You might want to check this presentation [0, where Mike explains the logic (plus some recommendations).

Jörg

[0] http://www.slideshare.net/MikePfaff/runmodes-and-configs-for-fun-and-profit

1 reply

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

You might want to check this presentation [0, where Mike explains the logic (plus some recommendations).

Jörg

[0] http://www.slideshare.net/MikePfaff/runmodes-and-configs-for-fun-and-profit