sling.run.modes | What is the logic of resolution for run mode | Adobe Higher Education
Skip to main content
Level 4
October 16, 2015
Resuelto

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

  • October 16, 2015
  • 1 respuesta
  • 756 visualizaciones

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 ?
 
Este tema ha sido cerrado para respuestas.
Mejor respuesta de 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 respuesta

joerghoh
Adobe Employee
joerghohAdobe EmployeeRespuesta
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