Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#681 Updated index name to match Cloud Manager new standards #682

Conversation

diogopedreira
Copy link

Following #681, the existing index has been renamed in order to be compliant with Adobe's guidelines - https://docs.mktossl.com/docs/experience-manager-cloud-service/content/operations/indexing.html?lang=en#index-names.

Changes:

@kwin
Copy link
Member

kwin commented Dec 22, 2023

According to https://docs.mktossl.com/docs/experience-manager-cloud-service/content/operations/indexing.html?lang=en#index-names the pattern needs to be

<prefix>.<indexName>-<productVersion>-custom-<customVersion>

@diogopedreira
Copy link
Author

diogopedreira commented Dec 22, 2023

According to https://docs.mktossl.com/docs/experience-manager-cloud-service/content/operations/indexing.html?lang=en#index-names the pattern needs to be

<prefix>.<indexName>-<productVersion>-custom-<customVersion>

@kwin I've followed the pattern that was on the error log and it seems that there are some discrepancies on the standard, on the build result I get

2023-12-22T13:55:26.399Z,Netcentric:accesscontroltool-oakindex-package:3.0.10,0,"Index definition detected at /oak:index/repACL-custom-1. Fully custom index names need to follow the pattern .-custom-, e.g. /oak:index/acme.indexName-custom-1, to be compliant with AEM as a Cloud Service",Code Smell,Minor,,IndexValidFullyCustomName,"aem,cloud-service-compatibility",https://www.adobe.com/go/aem_cmcq_indexvalidfullycusto_en

The URL that they present is now returning a 404 and in here we have a different definition:
https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/operations/indexing.html?lang=en#index-management-without-rolling-deployments

In any case I will take the one you mentioned as it seems to be the new one.

@kwin
Copy link
Member

kwin commented Dec 22, 2023

The pattern without product version makes a lot more sense to me. Thanks for pointing out the discrepancies in the documentation. If this version does not emit any warning in Cloud Manager I am fine with that

@kwin
Copy link
Member

kwin commented Mar 15, 2024

@diogopedreira Have you tried to deploy with the node name as proposed in this PR? Does it emit any warnings in CloudManager?

@kwin
Copy link
Member

kwin commented May 6, 2024

The unmodified index definition does no longer emit any issue in the code checks in Cloud Manager, therefore no need to change it right now.

@kwin kwin closed this May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants