Skip to content

wcm-io/io.wcm.caconfig.sample-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Context-Aware Configuration AEM Sample Application

Build

This sample projects contains all wcm.io Context-Aware Configuration related modules with a bunch of sample code and sample content.

Deploy sample project

You can use this scripts for a full deployment (application, sample content, configuration) into local AEM 6.5 or AEMaaCS instances.

By default, the AEM Page Persistence Strategy is used.

Deploy to local AEMaaCS SDK instance:

  • build-deploy.sh -> deploy to author on port 4502
  • build-deploy-publish.sh -> deploy to publish on port 4503

Deploy to local AEM 6.5 instance:

  • build-deploy_aem65.sh -> deploy to author on port 45025
  • build-deploy-publish_aem65.sh -> deploy to publish on port 45035

The deployment to AEM 6.5 also updates the Apache Sling Context-Aware Configuration modules to the latest versions - because of this the first deployment run may take some time to complete.

Open Configuration Editor

Open configuration editor at
http://localhost:4502/content/contextaware-config-sample/en/config.html

To see how inheritance and override works you can also look at
http://localhost:4502/content/contextaware-config-sample/en/sub-page/config.html
http://localhost:4502/content/contextaware-config-sample/en/sub-page/sub-page-override/config.html

Inspect Configuration

You can look how the configuration is stored in the repository by browsing through /conf/contextaware-config-sample.

System requirements

  • AEM 6.5.17+ or AEMaaCS SDK
  • Java 11