‎2019 Jul 09 10:26 PM - edited ‎2024 Feb 04 6:50 AM
Hi Experts,
Need help on creating custom data hub feed and pool and use them instead of GLOBAL pool. Can anyone help with steps to achieve this?
Regards Rahul
Request clarification before answering.
Not sure you tried with above configuration or not, have a look for the image for Named pool strategy. you can get the details in logs as soon as you see the relevant info in logs.
019-07-15 17:47:41,967 [INFO] [c.h.d.s.e.AutoComposeEventListener] Initiate composition for pool: ADVISEMENTS
I hope this will help you !!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
this is a jar in datahub war file called sapcoreconfiguration-18.11.0-RC4.jar
WRT to that u can configure named pool using these properties sapcoreconfiguration.autocompose.pools=ADVISEMENTS sapcoreconfiguration.autopublish.targetsystemsbypools=ADVISEMENTS.HybrisAdvisementsCoreInstallation
where HybrisAdvisementsCoreInstallation is TargetSystem Name.
make sure to install sapcoreconfiguration-18.11.0-RC4.jar in .m2 repository.
Let me know if you still stuck !!
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is described in the following documentation:
See the following statements in the document above:
You create a new data feed using either the Data Hub API, the Backoffice Data Hub Cockpit, or a REST call.
Also:
With the named pool strategy, all loaded data enters the pool specified by a poolingCondition parameter. This parameter contains the pool name. If the poolingCondition refers to a data pool that does not exist such as, LongSleeveShirts, a new data pool by that name is automatically created.
And:
Data Hub does not support manual creation of pools through the API. On start-up, Data Hub, by default, creates the GLOBAL pool. The NAMED_POOL strategy creates pools during the initial load of data using the data feed configuration.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Generally feeds and pools are not associated or restricted to certain types. Any type can be loaded into any pool. Feed is specified in the URL of the data load request. Pool is derived from the feed. You can play with the Quick Upload in the DataHub Backoffice and see that you can pick any feed for uploading your data.
As to iDocs - they may be special because they are handled by a separate extension providing its own REST endpoint to handle them. I don't know the URL format of that endpoint and whether feed can be specified in there. They may enforce certain business rules about how items of different types are placed into pools. I wonder if team Griffin could answer this question.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.