Data Hub with ERP Commerce Cloud Manifest Example

This Commerce Cloud build manifest example outlines the configuration requirements that allow Data Hub to communicate with your ERP system.

Commerce Cloud Build Manifest with Data Hub and ERP

Copy this example into your Commerce Cloud manifest.json file and save the file in the root directory of your code repository.

{
"commerceSuiteVersion": "2205",
    "extensions": [
  
        "datahubbackoffice",

        "sapcoreaddon",
        "sapcoreconfigurationbackoffice",	
        "sapmodelbackoffice",
        
        "sappricingbackoffice",		
            
        "sapproductavailabilitybackoffice",
                 
        "sapcoretest",  
    ],
    "storefrontAddons": [
        {
            "addon": "sapcoreaddon",
            "storefront": "albinostorefront",
            "template": "albinostorefront"
        }
    ],
    "properties": [
        {
            "key": "lang.packs",
            "value": "de,en,es,es_CO,fr,it,ja,ko,pt,ru,zh,zh_TW,hi,id,cs,cy"
        },
        
        { "key": "datahubadapter.security.https.enabled", "value" : "false"} ,
        { "key": "datahubadapter.datahuboutbound.url", "value" : "http://datahub:8080/datahub-webapp/v1"} ,
        { "key": "datahubadapter.datahuboutbound.user", "value":"admin"},
        { "key": "datahubadapter.datahuboutbound.password", "value":"nimda"},
        { "key": "datahub.backoffice.rest.client.username.admin", "value":"admin"},
        { "key": "datahub.backoffice.rest.client.password.admin", "value":"nimda"},
        { "key": "datahub.backoffice.rest.client.username.developer", "value":"admin"},
        { "key": "datahub.backoffice.rest.client.password.developer", "value":"nimda"},
        { "key": "keygen.customer.sap_customer_id.start", "value" : "0000490000"} ,
        { "key": "keygen.customer.sap_contact_id.start", "value" : "0000490000"} ,
        { "key": "keygen.order.code.start", "value" : "0006200000"} ,
        { "key": "keygen.returnorder.code.start", "value" : "6782001"} ,
        { "key": "sapcustomerexchange.outbound.datahub.feed", "value" : "SAPCONSUMER_OUTBOUND_FEED"} ,
        { "key": "sapcoreconfiguration.datahuboutbound.enabled", "value" : "true"} ,
        { "key": "numberseries.cache.size.order_code", "value" : "1"} ,
        { "key": "saporderexchange.orderoutbound.maxRetries", "value" : "3"} ,
        { "key": "log4j.logger.de.hybris.platform.sap.orderexchange", "value" : "debug"} 
    ],
    "aspects": [
        {
            "name": "backoffice",
            "properties": [
                {
                    "key": "test.property.1",
                    "value": "test.property-1-value-prod-backoffice",
                    "persona": "production"
                },
                {
                    "key": "test.property.2",
                    "value": "test.property-2-value-backoffice"
                }
            ],
            "webapps": [
                {
                    "name": "hac",
                    "contextPath": "/hac"
                },
                {
                    "name": "mediaweb",
                    "contextPath": "/medias"
                },
                {
                    "name": "datahubadapter",
                    "contextPath": "/datahubadapter"
                },
                {
                    "name": "oauth2",
                    "contextPath": "/authorizationserver"
                }
            ]
        },
        {
            "name": "accstorefront",
            "properties": [
                {
                    "key": "spring.session.enabled",
                    "value": "true"
                },
                {
                    "key": "spring.session.albinostorefront.save",
                    "value": "async"
                },
                {
                    "key": "spring.session.albinostorefront.cookie.name",
                    "value": "JSESSIONID"
                },
                {
                    "key": "spring.session.albinostorefront.cookie.path",
                    "value": "/"
                },
                {
                    "key": "storefrontContextRoot",
                    "value": ""
                }
            ],
            "webapps": [
                {
                    "name": "mediaweb",
                    "contextPath": "/medias"
                },
                {
                    "name": "yacceleratorstorefront",
                    "contextPath": ""
                },
                {
                    "name": "acceleratorservices",
                    "contextPath": "/acceleratorservices"
                }
            ]
        },
        {
            "name": "backgroundProcessing",
            "properties": [
                {
                    "key": "cluster.node.groups",
                    "value": "integration,yHotfolderCandidate"
                }
            ],
            "webapps": [
                {
                    "name": "hac",
                    "contextPath": ""
                },
                {
                    "name": "mediaweb",
                    "contextPath": "/medias"
                }
            ]
        }
    ],
    "tests": {
        "extensions": [
            "kiwi",
            "tiger",
            "albinoaddon"
        ],
        "annotations": [
            "UnitTests",
            "IntegrationTests"
        ],
        "packages": [
            "com.example.*"
        ]
    },
    "webTests": {
        "extensions": [
            "albinostorefront"
        ],
        "excludedPackages": [
            "de.hybris.*"
        ]
    }
}