netcentric yaml startup hook vs installation hook | Community
Skip to main content
Level 4
August 16, 2023
Solved

netcentric yaml startup hook vs installation hook

  • August 16, 2023
  • 1 reply
  • 1674 views

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.

 

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

 

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Rohan_Garg

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

 

Thanks,

Rohan Garg

1 reply

aem_noobAuthor
Level 4
August 17, 2023

could this be because of incorrect netcentric installation @rohan_garg?

Package installation error

 

Rohan_Garg
Community Advisor
Rohan_GargCommunity AdvisorAccepted solution
Community Advisor
August 17, 2023

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

 

Thanks,

Rohan Garg

aem_noobAuthor
Level 4
August 18, 2023

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