Skip to content

Commit

Permalink
Version 1.3 - B2B (#17)
Browse files Browse the repository at this point in the history
* SAP 2211 - CLD v1.3.0 - With B2B Support
  • Loading branch information
aleksandar-cloudinary authored Sep 30, 2024
1 parent 6c4c670 commit 81d37a2
Show file tree
Hide file tree
Showing 1,137 changed files with 236,196 additions and 165 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package uk.ptr.cloudinary.controllers.cms;

import atg.taglib.json.util.JSONArray;
import atg.taglib.json.util.JSONException;
import atg.taglib.json.util.JSONObject;
import org.cloudinary.json.JSONArray;
import org.cloudinary.json.JSONException;
import org.cloudinary.json.JSONObject;
import com.cloudinary.Cloudinary;
import de.hybris.platform.addonsupport.controllers.cms.AbstractCMSAddOnComponentController;
import de.hybris.platform.cms2.model.contents.ContentCatalogModel;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@

import com.cloudinary.Cloudinary;
import com.google.common.collect.Maps;
import de.hybris.platform.acceleratorfacades.futurestock.FutureStockFacade;
import de.hybris.platform.commercefacades.futurestock.FutureStockFacade;
import de.hybris.platform.commercefacades.futurestock.impl.DefaultFutureStockFacade;
import de.hybris.platform.acceleratorservices.controllers.page.PageType;
import de.hybris.platform.acceleratorstorefrontcommons.breadcrumb.impl.ProductBreadcrumbBuilder;
import de.hybris.platform.acceleratorstorefrontcommons.constants.WebConstants;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Wed, 20 Jan 2021 15:30:24 +0000
#Mon, 23 Sep 2024 14:25:33 +0100
# -----------------------------------------------------------------------
# Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
# -----------------------------------------------------------------------
Expand All @@ -10,11 +10,13 @@ cloudinarymediab2baddon.key=value
# Specifies the location of the spring context file added automatically to the global platform application context.
cloudinarymediab2baddon.application-context=cloudinarymediab2baddon-spring.xml

yb2bacceleratorstorefront.additionalWebSpringConfigs.cloudinarymediab2baddon=classpath\:/cloudinarymediab2baddon/web/spring/cloudinarymediab2baddon-web-spring.xml




cloudinarymediab2baddon.javascript.paths.responsive=/responsive/common/js/cloudinarymediab2baddon.js
cloudinarymediab2baddon.css.paths.responsive=/responsive/common/css/cloudinarymediab2baddon.css

yb2bacceleratorstorefront.additionalWebSpringConfigs.cloudinarymediab2baddon=classpath\:/cloudinarymediab2baddon/web/spring/cloudinarymediab2baddon-web-spring.xml

yb2bacceleratorstorefront.wro4jconfigscan.cloudinarymediab2baddon=true
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@
</property>
</bean>
<bean class="de.hybris.platform.yb2bacceleratorstorefront.interceptors.beforeview.UiExperienceMetadataViewHandler" />
<bean class="de.hybris.platform.yb2bacceleratorstorefront.interceptors.beforeview.AnalyticsPropertiesBeforeViewHandler" />
<bean class="de.hybris.platform.yb2bacceleratorstorefront.interceptors.beforeview.AnalyticsPropertiesBeforeViewHandler" >
<property name="hostConfigService" ref="hostConfigService" />
</bean>
<bean class="de.hybris.platform.yb2bacceleratorstorefront.interceptors.beforeview.ConfigWro4jBeforeViewHandler" >
<property name="siteConfigService" ref="siteConfigService"/>
</bean>
Expand Down
45 changes: 45 additions & 0 deletions ext-config/backup/1727082105994.local.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#Generated by hybris installer
#Thu Aug 08 08:10:32 BST 2024
initialpassword.admin=nimda
\#mykey=\#myvalue
\#hac.webroot=/hac
recaptcha.publickey=
recaptcha.privatekey=
googleApiKey=
website.electronics.http=http\://electronics.local\:9001/yacceleratorstorefront
website.electronics.https=https\://electronics.local\:9002/yacceleratorstorefront
website.apparel-de.http=http\://apparel-de.local\:9001/yacceleratorstorefront
website.apparel-de.https=https\://apparel-de.local\:9002/yacceleratorstorefront
website.apparel-uk.http=http\://apparel-uk.local\:9001/yacceleratorstorefront
website.apparel-uk.https=https\://apparel-uk.local\:9002/yacceleratorstorefront
occ.rewrite.overlapping.paths.enabled=true
backoffice.solr.search.index.autoinit=false
db.url=jdbc\:mysql\://localhost\:3306/cloudinary?useConfigs\=maxPerformance&characterEncoding\=utf8&useSSL\=false&allowPublicKeyRetrieval\=true
db.driver=com.mysql.jdbc.Driver
db.username=cloudinary
db.password=cloudinary
db.tableprefix=
mysql.optional.tabledefs=CHARSET\=utf8 COLLATE\=utf8_general_ci
mysql.tabletype=InnoDB
backoffice.cockpitng.additionalResourceLoader.enabled=true
backoffice.cockpitng.uifactory.cache.enabled=false
backoffice.cockpitng.widgetclassloader.resourcecache.enabled=false
backoffice.cockpitng.resourceloader.resourcecache.enabled=false


// Cross-Origin Resource Sharing (CORS) settings that you can configure to use with a trusted third-party web application (Spartacus)
// These should be adjusted to be more restrictive in a production environment
property 'corsfilter.acceleratorservices.allowedOrigins', '*'
property 'corsfilter.assistedservicewebservices.allowedHeaders', 'origin content-type accept authorization cache-control x-anonymous-consents x-profile-tag-debug x-consent-reference'
property 'corsfilter.assistedservicewebservices.allowedOrigins', '*'
property 'corsfilter.assistedservicewebservices.exposedHeaders', 'x-anonymous-consents'
property 'corsfilter.commercewebservices.allowedHeaders', 'origin content-type accept authorization cache-control x-anonymous-consents x-profile-tag-debug x-consent-reference occ-personalization-id occ-personalization-time'
property 'corsfilter.commercewebservices.allowedOrigins', '*'
property 'corsfilter.commercewebservices.exposedHeaders', 'x-anonymous-consents occ-personalization-id occ-personalization-time'
property 'corsfilter.default.allowedOrigins', '*'
property 'corsfilter.permissionswebservices.allowedOrigins', '*'
property 'corsfilter.ycommercewebservices.allowedHeaders', 'origin content-type accept authorization cache-control x-anonymous-consents x-profile-tag-debug x-consent-reference'
property 'corsfilter.ycommercewebservices.allowedOrigins', '*'
property 'corsfilter.ycommercewebservices.exposedHeaders', 'x-anonymous-consents'


251 changes: 251 additions & 0 deletions ext-config/backup/1727082105998.localextensions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,251 @@
<hybrisconfig xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:noNamespaceSchemaLocation='../bin/platform/resources/schemas/extensions.xsd'>
<extensions>
<path dir='${HYBRIS_BIN_DIR}' autoload='false' />
<extension name='adaptivesearch' />
<extension name='adaptivesearchbackoffice' />
<extension name='adaptivesearchfacades' />
<extension name='adaptivesearchsamplesaddon' />
<extension name='adaptivesearchsolr' />
<extension name='adaptivesearchwebservices' />
<extension name='apiregistrybackoffice' />
<extension name='apiregistryservices' />
<extension name='assistedservicecustomerinterestsaddon' />
<extension name='assistedservicecustomerinterestsfacades' />
<extension name='assistedservicefacades' />
<extension name='assistedservicepromotionaddon' />
<extension name='assistedservicepromotionfacades' />
<extension name='assistedserviceservices' />
<extension name='assistedservicestorefront' />
<extension name='assistedservicewebservices' />
<extension name='assistedserviceyprofileaddon' />
<extension name='assistedserviceyprofilefacades' />
<extension name='yaasyprofileconnect' />
<extension name='b2bacceleratoraddon' />
<extension name='b2bacceleratorfacades' />
<extension name='b2bacceleratorservices' />
<extension name='commerceorgaddon' />
<extension name='commerceorgsamplesaddon' />
<extension name='powertoolsstore' />
<extension name='accountsummaryaddon' />
<extension name='b2bpunchout' />
<extension name='b2bpunchoutaddon' />
<extension name='savedorderforms' />
<extension name='b2bapprovalprocess' />
<extension name='b2bapprovalprocessfacades' />
<extension name='b2bcommerce' />
<extension name='b2bcommercebackoffice' />
<extension name='b2bcommercefacades' />
<extension name='apparelstore' />
<extension name='electronicsstore' />
<extension name='captchaaddon' />
<extension name='multicountrysampledataaddon' />
<extension name='wishlist' />
<extension name='pcmbackofficesamplesaddon' />
<extension name='pcmbackoffice' />
<extension name='backoffice' />
<extension name='backofficesolrsearch' />
<extension name='platformbackoffice' />
<extension name='ybackoffice' />
<extension name='yacceleratorbackoffice' />
<extension name='yacceleratorcore' />
<extension name='yacceleratorfacades' />
<extension name='yacceleratorinitialdata' />
<extension name='yacceleratorstorefront' />
<extension name='yaddon' />
<extension name='basecommerce' />
<extension name='basecommercebackoffice' />
<extension name='customerreview' />
<extension name='payment' />
<extension name='promotions' />
<extension name='promotionsbackoffice' />
<extension name='voucher' />
<extension name='voucherbackoffice' />
<extension name='profileservices' />
<extension name='profiletagaddon' />
<extension name='merchandisingaddon' />
<extension name='merchandisingcmswebservices' />
<extension name='merchandisingservices' />
<extension name='merchandisingservicesbackoffice' />
<extension name='merchandisingsmartedit' />
<extension name='merchandisingstorefrontsampledataaddon' />
<extension name='commercefacades' />
<extension name='commerceservices' />
<extension name='commerceservicesbackoffice' />
<extension name='configurablebundleaddon' />
<extension name='configurablebundlebackoffice' />
<extension name='configurablebundlefacades' />
<extension name='configurablebundleservices' />
<extension name='sapproductconfigb2baddon' />
<extension name='sapproductconfigb2bservices' />
<extension name='sapproductconfigfacades' />
<extension name='sapproductconfigrules' />
<extension name='sapproductconfigrulesbackoffice' />
<extension name='sapproductconfigruntimeinterface' />
<extension name='sapproductconfigruntimemock' />
<extension name='sapproductconfigservices' />
<extension name='ysapproductconfigaddon' />
<extension name='consignmenttrackingaddon' />
<extension name='consignmenttrackingbackoffice' />
<extension name='consignmenttrackingfacades' />
<extension name='consignmenttrackingmock' />
<extension name='consignmenttrackingservices' />
<extension name='acceleratorbackoffice' />
<extension name='acceleratorcms' />
<extension name='acceleratorfacades' />
<extension name='acceleratorservices' />
<extension name='acceleratorstorefrontcommons' />
<extension name='addonsupport' />
<extension name='couponbackoffice' />
<extension name='couponfacades' />
<extension name='couponservices' />
<extension name='couponwebservices' />
<extension name='customercouponaddon' />
<extension name='customercouponbackoffice' />
<extension name='customercouponfacades' />
<extension name='customercouponsamplesaddon' />
<extension name='customercouponservices' />
<extension name='customerinterestsaddon' />
<extension name='customerinterestsfacades' />
<extension name='customerinterestsservices' />
<extension name='customersupportbackoffice' />
<extension name='customerticketingaddon' />
<extension name='customerticketingfacades' />
<extension name='ticketsystem' />
<extension name='ticketsystembackoffice' />
<extension name='datahubadapter' />
<extension name='datahubclient' />
<extension name='dataimportcommons' />
<extension name='entitlementbackoffice' />
<extension name='entitlementfacades' />
<extension name='entitlementservices' />
<extension name='eventtrackingmodel' />
<extension name='eventtrackingpublisher' />
<extension name='eventtrackingservices' />
<extension name='eventtrackingwsaddon' />
<extension name='inboundservices' />
<extension name='integrationbackoffice' />
<extension name='integrationbackofficetest' />
<extension name='integrationmonitoringbackoffice' />
<extension name='integrationservices' />
<extension name='odata2services' />
<extension name='odata2webservices' />
<extension name='outboundservices' />
<extension name='outboundsync' />
<extension name='outboundsyncbackoffice' />
<extension name='messagecentercsfacades' />
<extension name='messagecentercsservices' />
<extension name='notificationaddon' />
<extension name='notificationfacades' />
<extension name='notificationservices' />
<extension name='npmancillary' />
<extension name='b2bordermanagementfacades' />
<extension name='b2bordermanagementwebservices' />
<extension name='ordermanagementaddon' />
<extension name='ordermanagementfacades' />
<extension name='ordermanagementwebservices' />
<extension name='orderselfserviceaddon' />
<extension name='warehousing' />
<extension name='warehousingbackoffice' />
<extension name='warehousingfacades' />
<extension name='warehousingwebservices' />
<extension name='yacceleratorordermanagement' />
<extension name='personalizationcms' />
<extension name='personalizationcmsbackoffice' />
<extension name='personalizationcmsweb' />
<extension name='personalizationfacades' />
<extension name='personalizationsampledataaddon' />
<extension name='personalizationservices' />
<extension name='personalizationservicesbackoffice' />
<extension name='personalizationsmartedit' />
<extension name='personalizationwebservices' />
<extension name='previewpersonalizationweb' />
<extension name='personalizationaddon' />
<extension name='personalizationintegration' />
<extension name='personalizationintegrationbackoffice' />
<extension name='personalizationyprofile' />
<extension name='personalizationyprofilesampledataaddon' />
<extension name='personalizationpromotions' />
<extension name='personalizationpromotionsbackoffice' />
<extension name='personalizationpromotionssampledataaddon' />
<extension name='personalizationpromotionssmartedit' />
<extension name='personalizationpromotionsweb' />
<extension name='personalizationsearch' />
<extension name='personalizationsearchbackoffice' />
<extension name='personalizationsearchsamplesaddon' />
<extension name='personalizationsearchsmartedit' />
<extension name='personalizationsearchweb' />
<extension name='adminapi' />
<extension name='auditreportservices' />
<extension name='deltadetection' />
<extension name='embeddedserver' />
<extension name='groovynature' />
<extension name='springintegrationlibs' />
<extension name='tomcatembeddedserver' />
<extension name='yempty' />
<extension name='yvoid' />
<extension name='promotionenginebackoffice' />
<extension name='promotionenginesamplesaddon' />
<extension name='promotionengineservices' />
<extension name='droolsruleengineservices' />
<extension name='ordercalculation' />
<extension name='rulebuilderbackoffice' />
<extension name='ruledefinitions' />
<extension name='ruleengine' />
<extension name='ruleenginebackoffice' />
<extension name='ruleengineservices' />
<extension name='kymaintegrationbackoffice' />
<extension name='kymaintegrationservices' />
<extension name='solrfacetsearch' />
<extension name='solrfacetsearchbackoffice' />
<extension name='solrserver' />
<extension name='selectivecartfacades' />
<extension name='selectivecartservices' />
<extension name='selectivecartsplitlistaddon' />
<extension name='cmssmartedit' />
<extension name='cmssmarteditwebservices' />
<extension name='smartedit' />
<extension name='smarteditaddon' />
<extension name='smarteditwebservices' />
<extension name='stocknotificationaddon' />
<extension name='stocknotificationfacades' />
<extension name='stocknotificationservices' />
<extension name='textfieldconfiguratortemplateaddon' />
<extension name='textfieldconfiguratortemplatebackoffice' />
<extension name='textfieldconfiguratortemplatefacades' />
<extension name='textfieldconfiguratortemplateservices' />
<extension name='timedaccesspromotionengineaddon' />
<extension name='timedaccesspromotionenginebackoffice' />
<extension name='timedaccesspromotionenginefacades' />
<extension name='timedaccesspromotionenginesamplesaddon' />
<extension name='timedaccesspromotionengineservices' />
<extension name='cms2' />
<extension name='cms2lib' />
<extension name='cmsbackoffice' />
<extension name='cmscockpit' />
<extension name='cmsfacades' />
<extension name='cmsocc' />
<extension name='cmswebservices' />
<extension name='previewwebservices' />
<extension name='permissionsfacades' />
<extension name='permissionswebservices' />
<extension name='webservicescommons' />
<extension name='orbeonweb' />
<extension name='xyformsbackoffice' />
<extension name='xyformsfacades' />
<extension name='xyformssamples' />
<extension name='xyformsservices' />
<extension name='xyformsstorefrontcommons' />
<extension name='xyformsweb' />
<extension name='mediaconversion' />
<extension name='mediaconversionbackoffice' />
<extension name='cloudinarymediacore' />
<extension name='cloudinarymediabackoffice' />
<extension name='cloudinarymediasmartedit' />
<extension name='cloudinarymediawebservices' />
<extension name='cloudinarymediafacades' />
<extension name='cloudinarymediab2baddon' />
<extension name='cloudinarymediaocc'/>
<extension name='spartacussampledata'/>
<extension name="swaggerintegration" />
</extensions>
</hybrisconfig>
31 changes: 31 additions & 0 deletions ext-config/backup/1727082188225.local.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#Generated by hybris installer
#Mon Sep 23 10:01:51 BST 2024
initialpassword.admin=nimda
\#mykey=\#myvalue
\#hac.webroot=/hac
recaptcha.publickey=
recaptcha.privatekey=
googleApiKey=
website.electronics.http=http\://electronics.local\:9001/yacceleratorstorefront
website.electronics.https=https\://electronics.local\:9002/yacceleratorstorefront
website.apparel-de.http=http\://apparel-de.local\:9001/yacceleratorstorefront
website.apparel-de.https=https\://apparel-de.local\:9002/yacceleratorstorefront
website.apparel-uk.http=http\://apparel-uk.local\:9001/yacceleratorstorefront
website.apparel-uk.https=https\://apparel-uk.local\:9002/yacceleratorstorefront
website.powertools.http=http\://powertools.local\:9001/yb2bacceleratorstorefront
website.powertools.https=https\://powertools.local\:9002/yb2bacceleratorstorefront
yb2bacceleratorstorefront.illegalrequirementstest.excluded=true
multicountrysampledataaddon.import.active=false
occ.rewrite.overlapping.paths.enabled=true
backoffice.solr.search.index.autoinit=false
db.url=jdbc\:mysql\://localhost\:3306/cloudinary?useConfigs\=maxPerformance&characterEncoding\=utf8&useSSL\=false
db.driver=com.mysql.jdbc.Driver
db.username=cloudinary
db.password=cloudinary
db.tableprefix=
mysql.optional.tabledefs=CHARSET\=utf8 COLLATE\=utf8_general_ci
mysql.tabletype=InnoDB
backoffice.cockpitng.additionalResourceLoader.enabled=true
backoffice.cockpitng.uifactory.cache.enabled=false
backoffice.cockpitng.widgetclassloader.resourcecache.enabled=false
backoffice.cockpitng.resourceloader.resourcecache.enabled=false
Loading

0 comments on commit 81d37a2

Please sign in to comment.