cancel
Showing results for 
Search instead for 
Did you mean: 

Datahub set issue hybris 6.1.4

Former Member
0 Kudos
194

Hi expert

We are trying to proceed integration scenarios between Hybris commerce and SAP ERP using Rapid deployment solution. https://rapid.sap.com/bp/#/RDS_HYB_INT Before that we have installed Datahub, however it was not successful. We have followed following procedure and Basic Prerequisites. https://help.hybris.com/6.1.0/hcd/d4f38c211baf4d209dd548f2d9b0afce.html We didn't face any error message from step 1 to 9. However I couldn't access following URL. http://localhost:8080/datahub-webapp/v1/data-feeds/DEFAULT_FEED/pools Do we need additional step to activate Dtatahub?

When we have accessed following URL, attached message were shown. http://localhost:8080/datahub

Best regards, Ichimura

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member623616
Contributor
0 Kudos

You might have to create one active DataHub instance in Backoffice.

https://help.hybris.com/6.1.0/hcd/56e0615de849440fb015e8cacedfd4ad.html

Hope this would help.

Thanks, Yaten

Former Member
0 Kudos

And here you'll find the hybris' properties file. link text

Former Member
0 Kudos

Dear Trikaliotis

Thank you for your reply and share properties file. I have standalone data hub installation same as you. I have created properties file on datahub local referring from your sample file. I have succeeded to expand war file. However I couldn't access following URL yet. http://localhost:8080/datahub-webapp/v1/data-feeds/DEFAULT_FEED/pools

Can you also share encryption.key.txt, datahub-webapp.xml.txt and tomcat-users.xml.txt on your server? Do I need to create same proprieties file on hybris local and datahub local?

Best regards, Ichimura

Former Member
0 Kudos

Hi Yoshihito,

I can provide an working encryptionkey.txt file and the tomcat-users.xml. But I don't have a modified datahub-webapp.xml file. This is in the jar files which are not modified.

You should habe 2 different local.properties files, a described before. One in hybris/config folder for the hybris server and another one for the datahub. [1]: /storage/temp/7418-encryptionkey.txt

Former Member
0 Kudos

In the next post, I send you a screenshot for the call of the data hub from Postman. Do you provide there credentials? There you should provide the credentials that you defined in the data hub local.properties file:

datahub.security.basic.admin.user=hybris datahub.security.basic.admin.password=hybris

Former Member
0 Kudos

Hi Yoshihito,

I'm not sure, but in your screenshot I see a closing ; in the URL. Please try it without.

Do you have a standalone data hub installation? I installed a tomcat version 1.7.x and named the root folder datahub6.2 In the folder classes there should be an own local.properties and you can store there your encryptionkey. Here your find a sample for the data hub's local.properties local.properties data hub

If you want to use another data base than mysql you have to change the data base parameters in both files.

In the next post I will provide a local.properties file for the hybris server.

Former Member
0 Kudos

Dear Trikaliotis

Thank you for your reply. I have applied your changes, however I still couldn't access http://localhost:8080/datahub-webapp/v1 . I have doubt why datahub-webapp-6.1.0.4-RC1.war file was not expanded after executed /bin/startup.bat .

Best regards, Ichimura

Former Member
0 Kudos

Please try, if this is working for you:

You need some additinal entries in the local.properties of hybris datahubadapter.datahuboutbound.url=http://localhost:8080/datahub-webapp/v1 datahub.backoffice.rest.client.username=hybris

datahub.backoffice.rest.client.password=hybris

Please check the local.properties file of the data hub if you find the following entries: datahub.security.basic.admin.user=hybris

datahub.security.basic.admin.password=hybris

datahub.security.basic.read_only.user=rohybris

datahub.security.basic.read_only.password=hybris

As I had some problems, I added the following entries to the tomcat-users.xml of the data hub tomcat: At least I imported an impex to create a data hub instance: INSERT_UPDATE DataHubInstanceModel;instanceName[unique = true];instanceLocation ;localhost;http://localhost:8080/datahub-webapp/v1;