netcentric yaml startup hook vs installation hook | Adobe Higher Education
Skip to main content
Level 4
August 16, 2023
해결됨

netcentric yaml startup hook vs installation hook

  • August 16, 2023
  • 1 답변
  • 1680 조회

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!

이 주제는 답변이 닫혔습니다.
최고의 답변: 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 답변

aem_noob작성자
Level 4
August 17, 2023

could this be because of incorrect netcentric installation @rohan_garg?

Package installation error

 

Rohan_Garg
Community Advisor
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_noob작성자
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