Giter Club home page Giter Club logo

Comments (5)

royteeuwen avatar royteeuwen commented on August 18, 2024

is resolved by #30

from aem-cloud-validator.

kwin avatar kwin commented on August 18, 2024

@royteeuwen Thanks for the PR. Do you know if install hooks in mutable packages work meanwhile in Cloud Manager as well? Adobe recently updated FileVault to a newer version so potentially they have fixed this...

from aem-cloud-validator.

kwin avatar kwin commented on August 18, 2024

I just checked the OSGi configuration of an AEM Cloud instance version 2023.4.11873.20230421T153841Z and it still doesn't contain the necessary OSGi config for PID org.apache.jackrabbit.vault.packaging.impl.PackagingImpl to grant the sling-distribution-importer the rights to execute install hooks, unfortunately.

But as the configuration PID org.apache.jackrabbit.vault.packaging.impl.PackagingImpl is not listed as protected (https://github.com/apache/sling-org-apache-sling-feature-extension-apiregions/blob/master/docs/api-regions.md#configurations) in https://repo1.maven.org/maven2/com/adobe/aem/aem-sdk-api/2023.4.11873.20230421T153841Z-230200/aem-sdk-api-2023.4.11873.20230421T153841Z-230200-aem-publish-sdk.slingosgifeature it is possible to allow hooks with a custom OSGi configuration extending the default one:

"org.apache.jackrabbit.vault.packaging.impl.PackagingImpl":    {
    "overwritePrimaryTypesOfFolders":"false",
    "isStrict":"false",
    "defaultIdConflictPolicy":"LEGACY"
  },

with the following option

"org.apache.jackrabbit.vault.packaging.impl.PackagingImpl":    {
   "authIdsForHookExecution":[
     "sling-distribution-importer"
   ]
},

from aem-cloud-validator.

royteeuwen avatar royteeuwen commented on August 18, 2024

@kwin ok, good to know! Nowadays we just use the startuphooks for cloud, dont know if it covers all cases though.

what do you recommend for this PR? I can update the readme with the osgi conf you show, or we can create support cases to request the osgi conf ;)?

from aem-cloud-validator.

kwin avatar kwin commented on August 18, 2024

I will take care of both :-) and go ahead with your PR as is first.

from aem-cloud-validator.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.