Expand my Community achievements bar.

SOLVED

netcentric yaml startup hook vs installation hook

Avatar

Level 5

i am trying to applying a yaml on the netcentric ac tool.

on local the installhook is working fine but via aem_admin_ui it is not.

aem_noob_1-1692205781818.png

 

why will this difference occur?

on deploying the all package to rde, the netcentric package which are dependencies of ui.apps are not pushed

why does that happen?

 

on dev instance, the installhook won't work but the startup hook should it is configured to the yaml path similar to the one in local

aem_noob_2-1692205912931.png

 

why the 2 would differ is a blocker for me...any help please!

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

The installation hook won't work in the cloud environment. The start up hook should.

The start up hook won't work on local SDK or even RDE as there is no container deployment.

We are only pushing the artifacts via AIO CLI to RDE.

 

Can you check the below things ?

  1. Is the start up hook configured correctly?
    It should be pointing to the folder hosting yaml files and should be deployed as part of configuration json.
  2. Is the yaml configuration being applied correctly on local and DEV when done directly via UI console?

Reference URL-  https://github.com/Netcentric/accesscontroltool/blob/develop/docs/ApplyConfig.md#startup-hook

Rohan_Garg_0-1692276086351.png

 

Thanks,

Rohan Garg

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

The installation hook won't work in the cloud environment. The start up hook should.

The start up hook won't work on local SDK or even RDE as there is no container deployment.

We are only pushing the artifacts via AIO CLI to RDE.

 

Can you check the below things ?

  1. Is the start up hook configured correctly?
    It should be pointing to the folder hosting yaml files and should be deployed as part of configuration json.
  2. Is the yaml configuration being applied correctly on local and DEV when done directly via UI console?

Reference URL-  https://github.com/Netcentric/accesscontroltool/blob/develop/docs/ApplyConfig.md#startup-hook

Rohan_Garg_0-1692276086351.png

 

Thanks,

Rohan Garg

Avatar

Level 5

the issue was due to embed sequence. embedding the ac tool packages first worked.

not sure why the sequence worked on local but not on cloud server.

also, the path was point to yaml file not the folder as shown