I am trying to push changes in yaml file for AC Tool from git repo to aem rde instance.
the build is stable and compiling on local successfully.
the changes in yaml are reflecting fine on local.
when i use the aio:aem:install to push all module's target zip it is uploading correctly.
in packmgr at rde one can see the installation with the correct time but the changes in yaml are not promoted to the cloud instance.
why would this behave this way?
filter rules are correct - target package is building correctly - its deploying on cloud but changes are not there.
Solved! Go to Solution.
Views
Replies
Total Likes
Please send the build logs too.
Also once reconfigure the AEM plugin for RDE by using the below commands -
$ aio config:set cloudmanager_orgid <org-id>
$ aio config:set cloudmanager_programid <program-id>
$ aio config:set cloudmanager_environmentid <env-id>
You can verify the current config values by running the following command.
$ aio config:list
The optional parameter for <accessControlHandling> is not defined
should i add merge_preserve to it?
Try pushing only the ui.apps target artifact once to see if the changes are being reflected.
If yes then you might want to look at all module's pom.xml
If not, then try unzipping the target and see if your changes are there.
deploying ui.apps is also not working, when i look at the target zip file it doesn't have the changes!
Then the issue is not with RDE or using AIO CLI to push changes to RDE.
Can you send the pom.xml for ui.apps once?
As @Himanshu_Jain has suggested, you want to look at the
filevault-package-maven-plugin
This plugin should have the below dependency -
<!-- Netcentric ACL Tool -->
<dependency>
<groupId>biz.netcentric.cq.tools.accesscontroltool</groupId>
<artifactId>accesscontroltool-package</artifactId>
<classifier>cloud</classifier>
<type>content-package</type>
<scope>provided</scope>
</dependency>
<!--Oak Index for Netcentric ACL Tool -->
<dependency>
<groupId>biz.netcentric.cq.tools.accesscontroltool</groupId>
<artifactId>accesscontroltool-oakindex-package</artifactId>
<classifier>cloud</classifier>
<type>zip</type>
</dependency>
I have already declared this dependency in the pom.xml for ui.apps
Please send the build logs and pom.xml once.
We will review it once.
yes, here is parent pom
<modules>
<module>all</module>
<module>core</module>
<module>ui.apps</module>
<module>ui.apps.structure</module>
<module>ui.config</module>
<module>ui.content</module>
<module>it.tests</module>
<module>dispatcher</module>
<module>ui.tests</module>
</modules>
Please send the build logs too.
Also once reconfigure the AEM plugin for RDE by using the below commands -
$ aio config:set cloudmanager_orgid <org-id>
$ aio config:set cloudmanager_programid <program-id>
$ aio config:set cloudmanager_environmentid <env-id>
You can verify the current config values by running the following command.
$ aio config:list
this worked, but why was this an issue?
I am not exactly sure why this would have happened.
It should not have pushed the packages in that case altogether.
Is it possible you are using multiple environments ? Can you check the other environments just to see if packages got promoted to another environment?
Ideally the combination of Org ID + Program ID + Env ID narrows down the instance uniquely.