wttech / aemc

AEM Compose (Core & CLI)
https://wttech.blog/blog/2023/get-your-aem-together-with-aem-compose/
Apache License 2.0
40 stars 5 forks source link

More detailed components checking #230

Closed krystian-panek-vmltech closed 8 months ago

krystian-panek-vmltech commented 8 months ago

AC

  1. By default expect that PIDs of own components need to be in active state - right now we are checking if there are some components with unsatisfied (reference) state
  2. Allow to specify corner cases - a list of components that may have different state or states like no config
  3. Write down differences in states of components

New version of component check config:

    # OSGi components state tracking
    component_stable:
      skip: false

      pids:
        include: ['com.acme.aem.core.*']
        exclude: []
        match:
          disabled: ['com.acme.aem.core.tmp.*']
          no_config: ['com.acme.aem.core.config.*']
          unsatisfied_reference: ['*_publish*:com.acme.aem.core.workflow.rollout.*Step']
          satisfied: ['com.acme.aem.core.dependent.*']