Skip to Content

Auto Composition in Dynamic Publication mode of Data Hub

Hello all,

In the documentation of Dynamic Publication it is suggested to disable the auto-publication feature of sapcoreconfiguration by removing any configured sapcoreconfiguration auto-compose target pools, and auto-publish target systems by pool. But if we remove sapcoreconfiguration.autocompose.pools property, which defines auto-compose target pools, then we have to trigger composition process by sending POST request to Data Hub. But I think the documentation is wrong since we can disable auto-publication feature by removing only sapcoreconfiguration.autopublish.targetsystemsbypools property (which corresponds to auto-publish target systems by pool). My question is that do we need to remove the both properties as stated in documentation? If yes, is there any suggestion about how to activate auto-composition feature?

Dynamic Publication Documentation: https://help.hybris.com/6.4.0/hcd/7cb1b38932bd4da0a4f02c5ccdaad0ce.html

Regards,

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Aug 19, 2017 at 12:42 AM

    In a manual mode, the user has to start two processes by sending POST requests after loading data in order to publish the data: COMPOSE and PUBLISH. I'm not familiar with SAP auto publication feature but my understanding is that sapcoreconfiguration.autocompose.pools controls need for manual COMPOSE requests. Pools listed in the property will be composed automatically, which leave only a need to trigger their publication by sending a corresponding REST request. Or alternatively, sapcoreconfiguration.autopublish.targetsystemsbypools can be configured to trigger publication automatically. So, in other words here are the example scenarios:

    1)

     sapcoreconfiguration.autocompose.pools=GLOBAL
     sapcoreconfiguration.autopublish.targetsystemsbypools=GLOBAL:HybrisCore
    

    When data loaded into GLOBAL pool, it automatically composed and published.

    2)

     sapcoreconfiguration.autocompose.pools=GLOBAL
     sapcoreconfiguration.autopublish.targetsystemsbypools=
    

    When data loaded into GLOBAL pool, it automatically composed but not published. Publication must be triggered manually.

    3)

     sapcoreconfiguration.autocompose.pools=
     sapcoreconfiguration.autopublish.targetsystemsbypools=GLOBAL:HybrisCore
    

    When data loaded into GLOBAL pool, it's not automatically composed. Composition must be triggered manually but once it's complete the data will be automatically published.

    4)

     sapcoreconfiguration.autocompose.pools=
     sapcoreconfiguration.autopublish.targetsystemsbypools=
    

    The auto compostion/publication is fully disabled. Both Composition and Publication must be triggered manually.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.