Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Upgrading AEM 6.4 to AEM Cloud Service Commerce Code

Avatar

Avatar
Give Back 10
MVP
shelly-goel
MVP

Likes

174 likes

Total Posts

330 posts

Correct Reply

87 solutions
Top badges earned
Give Back 10
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile

Avatar
Give Back 10
MVP
shelly-goel
MVP

Likes

174 likes

Total Posts

330 posts

Correct Reply

87 solutions
Top badges earned
Give Back 10
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
shelly-goel
MVP

18-05-2021

Hello,

We've got a requirement to upgrade from AEM 6.4 to AEM as a Cloud Service. Though the environment upgrade is fine, the CIF connector and commerce code does not work as is within the upgraded environment. Please suggest if AEM commerce code can be tweaked as per new project structure to work with AEM cloud Service and if 'Repository Modernizer' can be used for same. OR it would be better to re-write all the customizations (mainly frontend code) based on latest archetype.

 

The venia sample code have two profiles for cloud and classic. Could anyone suggest what's the technical difference between these two profiles and if the same codebase can be built for both cloud & classic then possibly can we also adjust our commerce code from classic to cloud compatible?

Venia Reference Store: https://github.com/adobe/aem-cif-guides-venia

Repository Modernizer: https://experienceleague.adobe.com/docs/experience-manager-cloud-service/moving/refactoring-tools/re...

 

Thanks

Replies

Avatar

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

505 likes

Total Posts

641 posts

Correct Reply

213 solutions
Top badges earned
Boost 500
Give Back 50
Give Back 5
Ignite 10
Ignite 5
View profile

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

505 likes

Total Posts

641 posts

Correct Reply

213 solutions
Top badges earned
Boost 500
Give Back 50
Give Back 5
Ignite 10
Ignite 5
View profile
Vijayalakshmi_S
MVP

19-05-2021

Hi @shelly-goel,

Venia Storefront is a sample reference implementation that supports both AEM as a Cloud Service (cloud profile) and AEM 6.5 (Classic profile)
Now that you are working on upgrading the code base to AEMasCS, we should use cloud profile.

 

  • Steps for setting up venia in our local Cloud Service SDK is documented as video in
    https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content-and-commerce/storef...
    • CIF connector is to be updated as Commerce add on which is available as a Sling Feature Archive(This is used in the above demo video) in Software distribution for AEMasCS and dedicated package for AEM 6.5.
  • You can also try creating new archetype project using version 24 with includeCommerce - y for AEMasCS to arrive at the project structure followed and to know the differences with respect to your custom project code base.

Useful links from Adobe Docs related to this subject: (Ignore, if you have already checked)

Avatar

Avatar
Give Back 10
MVP
shelly-goel
MVP

Likes

174 likes

Total Posts

330 posts

Correct Reply

87 solutions
Top badges earned
Give Back 10
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile

Avatar
Give Back 10
MVP
shelly-goel
MVP

Likes

174 likes

Total Posts

330 posts

Correct Reply

87 solutions
Top badges earned
Give Back 10
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
shelly-goel
MVP

25-05-2021

Thanks Vijaylakshi, I have those details. I was looking for how AEM cloud service upgrade will impact the commerce custom FE code. The sample venia store have same code for both classic and on-premise, just the profile is different. Does that mean only the packaging is different otherwise same code can be used.

Avatar

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

505 likes

Total Posts

641 posts

Correct Reply

213 solutions
Top badges earned
Boost 500
Give Back 50
Give Back 5
Ignite 10
Ignite 5
View profile

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

505 likes

Total Posts

641 posts

Correct Reply

213 solutions
Top badges earned
Boost 500
Give Back 50
Give Back 5
Ignite 10
Ignite 5
View profile
Vijayalakshmi_S
MVP

25-05-2021

Hi @shelly-goel,

Major difference between these profiles is the dependencies. Classic profile uses artifact named "uber-jar" while AEMasCS/cloud profile uses artifact named "aem-sdk-api"

Also with respect to this context, there are some excludes in config specific to profile as evident from ui.config,  ui.content and ui.apps modules.