Expand my Community achievements bar.

Google Cloud Platform to receive assets from AEM.

Avatar

Level 2

Hi All,

To push the asset from AEM to a Google cloud bucket, I'm attempting to develop a custom workflow logic. To set the service account, project key, and bucket name, I have made an osgi service configuration. I also updated the pom.xml file with the dependencies. However, I am still having trouble in resolving the dependecy issues.

Please suggest the approach to push the asset from the AEM to the GCP bucket? It would be useful to know how to fix this dependency issue.

Attached below screenshot for your reference.

Mano4_0-1710406678186.png

Mano4_0-1710427343655.png

 


Regards,

Prabha

 

5 Replies

Avatar

Level 4

Hi @Mano4 ,

 

Seems like the issue is with downloading the proper dependencies,

1. Can you rebuild the project on intellij

2. Check your local .m2 folder if all the required  dependencies are downloaded ? 

Avatar

Community Advisor

HI @Mano4 
Could you please check your google bundle is active or not in the osgi bundle console.

It seems the dependency , you added is a JAR but not an osgi bundle.

 

you may need to convert jar to osgi bundle and then try.

https://experienceleague.adobe.com/en/docs/experience-cloud-kcs/kbarticles/ka-17475 



Arun Patidar

Avatar

Community Advisor

Hi @Mano4 
You need to convert those jars into bundle and then deploy to AEM



Arun Patidar

Avatar

Administrator

@Mano4 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni